Target type |
.NET CORE,Version=v5.0 |
.NET Framework,Version=v4.6.2 |
.NETPlatform,Version=v1.0 |
Recommended changes |
System.Activator |
|
|
|
|
CreateInstance(System.Type,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object[],System.Globalization.CultureInfo) |
|
|
|
|
|
|
|
|
|
System.ArgumentException |
|
|
|
|
#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) |
|
|
|
|
|
|
|
|
|
System.ComponentModel.InvalidEnumArgumentException |
|
|
|
Use a different Exception type such as System.ArgumentOutOfRangeException. |
#ctor |
|
|
|
Use a different Exception type such as System.ArgumentOutOfRangeException. |
|
|
|
|
|
System.Configuration.ConfigurationCollectionAttribute |
|
|
|
Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type. |
#ctor(System.Type) |
|
|
|
Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type. |
|
|
|
|
|
System.Configuration.ConfigurationElement |
|
|
|
Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type. |
#ctor |
|
|
|
Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type. |
get_ElementInformation |
|
|
|
Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type. |
get_Item(System.String) |
|
|
|
Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type. |
set_Item(System.String,System.Object) |
|
|
|
Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type. |
|
|
|
|
|
System.Configuration.ConfigurationElementCollection |
|
|
|
Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type. |
#ctor |
|
|
|
Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type. |
|
|
|
|
|
System.Configuration.ConfigurationManager |
|
|
|
Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type. |
GetSection(System.String) |
|
|
|
Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type. |
|
|
|
|
|
System.Configuration.ConfigurationPropertyAttribute |
|
|
|
Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type. |
#ctor(System.String) |
|
|
|
Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type. |
|
|
|
|
|
System.Configuration.ConfigurationSection |
|
|
|
Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type. |
#ctor |
|
|
|
Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type. |
|
|
|
|
|
System.Configuration.ElementInformation |
|
|
|
Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type. |
get_IsPresent |
|
|
|
Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type. |
|
|
|
|
|
System.Exception |
|
|
|
|
#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) |
|
|
|
Remove usage. |
|
|
|
|
|
System.ICloneable |
|
|
|
Remove usage. |
|
|
|
|
|
System.IO.MemoryStream |
|
|
|
|
GetBuffer |
|
|
|
Use an overload that supplies a buffer and maintain that buffer outside of memory stream. If you need the internal buffer, create a copy via .ToArray(). |
|
|
|
|
|
System.Net.Dns |
|
|
|
|
GetHostEntry(System.String) |
|
|
|
|
|
|
|
|
|
System.Net.IPHostEntry |
|
|
|
|
get_AddressList |
|
|
|
|
|
|
|
|
|
System.Net.Security.RemoteCertificateValidationCallback |
|
|
|
Not supported for HTTP - use new Handler and ignorable server certificate errors instead. |
#ctor(System.Object,System.IntPtr) |
|
|
|
Not supported for HTTP - use new Handler and ignorable server certificate errors instead. |
|
|
|
|
|
System.Net.Security.SslStream |
|
|
|
|
#ctor(System.IO.Stream,System.Boolean,System.Net.Security.RemoteCertificateValidationCallback) |
|
|
|
|
AuthenticateAsClientAsync(System.String) |
|
|
|
|
|
|
|
|
|
System.Net.ServicePoint |
|
|
|
Use System.Net.Http.HttpClient, System.Net.Http.HttpClientHandler and System.Net.Http.WinHttpHandler instead. |
set_ConnectionLimit(System.Int32) |
|
|
|
Use System.Net.Http.HttpClient, System.Net.Http.HttpClientHandler and System.Net.Http.WinHttpHandler instead. |
set_Expect100Continue(System.Boolean) |
|
|
|
Not supported. Expect: 100-Continue is turned off always. |
set_MaxIdleTime(System.Int32) |
|
|
|
Use System.Net.Http.HttpClient, System.Net.Http.HttpClientHandler and System.Net.Http.WinHttpHandler instead. |
|
|
|
|
|
System.Net.ServicePointManager |
|
|
|
Use System.Net.HttpClient or WinHttpHandler instead. |
FindServicePoint(System.Uri) |
|
|
|
Use System.Net.HttpClient or WinHttpHandler instead. |
get_ServerCertificateValidationCallback |
|
|
|
Use System.Net.HttpClient or WinHttpHandler instead. |
set_ServerCertificateValidationCallback(System.Net.Security.RemoteCertificateValidationCallback) |
|
|
|
Use System.Net.Http.HttpClient, System.Net.Http.HttpClientHandler and System.Net.Http.WinHttpHandler instead. |
|
|
|
|
|
System.Net.Sockets.IOControlCode |
|
|
|
|
|
|
|
|
|
System.Net.Sockets.NetworkStream |
|
|
|
|
#ctor(System.Net.Sockets.Socket) |
|
|
|
|
|
|
|
|
|
System.Net.Sockets.Socket |
|
|
|
|
Close |
|
|
|
Use Dispose() instead. |
Close(System.Int32) |
|
|
|
|
DisconnectAsync(System.Net.Sockets.SocketAsyncEventArgs) |
|
|
|
|
IOControl(System.Net.Sockets.IOControlCode,System.Byte[],System.Byte[]) |
|
|
|
|
Receive(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags) |
|
|
|
|
Send(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags) |
|
|
|
|
|
|
|
|
|
System.Net.Sockets.SocketFlags |
|
|
|
|
|
|
|
|
|
System.NotSupportedException |
|
|
|
|
#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) |
|
|
|
|
|
|
|
|
|
System.Reflection.Assembly |
|
|
|
|
GetExecutingAssembly |
|
|
|
Typeof(CurrentType).GetTypeInfo().Assembly. |
|
|
|
|
|
System.Reflection.Binder |
|
|
|
Use an overload that does not take a Binder. |
|
|
|
|
|
System.Runtime.InteropServices.ExternalException |
|
|
|
Use System.Exception.HResult. |
get_ErrorCode |
|
|
|
Use System.Exception.HResult. |
|
|
|
|
|
System.Runtime.Serialization.Formatters.FormatterAssemblyStyle |
|
|
|
|
|
|
|
|
|
System.Runtime.Serialization.SerializationBinder |
|
|
|
|
|
|
|
|
|
System.Runtime.Serialization.SerializationInfo |
|
|
|
Either 1) Delete Serialization info from exceptions (since this can't be remoted) or 2) Use a different serialization technology if not for exceptions. |
|
|
|
|
|
System.Security.Authentication.AuthenticationException |
|
|
|
|
#ctor(System.String) |
|
|
|
|
|
|
|
|
|
System.Security.Cryptography.DeriveBytes |
|
|
|
|
#ctor |
|
|
|
|
GetBytes(System.Int32) |
|
|
|
|
Reset |
|
|
|
|
|
|
|
|
|
System.Security.Cryptography.HashAlgorithm |
|
|
|
|
#ctor |
|
|
|
|
Clear |
|
|
|
|
ComputeHash(System.Byte[]) |
|
|
|
|
get_Hash |
|
|
|
Use System.Security.Cryptography.HashAlgorithm.ComputeHash() instead. |
Initialize |
|
|
|
|
TransformBlock(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32) |
|
|
|
Use System.Security.Cryptography.HashAlgorithm.ComputeHash() instead. |
TransformFinalBlock(System.Byte[],System.Int32,System.Int32) |
|
|
|
Use System.Security.Cryptography.HashAlgorithm.ComputeHash() instead. |
|
|
|
|
|
System.Security.Cryptography.HMAC |
|
|
|
|
|
|
|
|
|
System.Security.Cryptography.HMACMD5 |
|
|
|
|
#ctor(System.Byte[]) |
|
|
|
|
|
|
|
|
|
System.Security.Cryptography.HMACSHA1 |
|
|
|
Currently there is no workaround, but we are working on it. Please check back. |
#ctor(System.Byte[],System.Boolean) |
|
|
|
Currently there is no workaround, but we are working on it. Please check back. |
|
|
|
|
|
System.Security.Cryptography.KeyedHashAlgorithm |
|
|
|
|
set_Key(System.Byte[]) |
|
|
|
|
|
|
|
|
|
System.Security.Cryptography.MD5 |
|
|
|
|
Create |
|
|
|
|
|
|
|
|
|
System.Security.Cryptography.RandomNumberGenerator |
|
|
|
|
Create |
|
|
|
|
GetBytes(System.Byte[]) |
|
|
|
|
|
|
|
|
|
System.Security.Cryptography.Rfc2898DeriveBytes |
|
|
|
|
#ctor(System.String,System.Byte[],System.Int32) |
|
|
|
|
|
|
|
|
|
System.Security.Cryptography.RNGCryptoServiceProvider |
|
|
|
|
#ctor |
|
|
|
|
|
|
|
|
|
System.Security.Cryptography.SHA1CryptoServiceProvider |
|
|
|
|
#ctor |
|
|
|
|
|
|
|
|
|
System.Security.Cryptography.X509Certificates.X509Certificate |
|
|
|
|
|
|
|
|
|
System.Security.Cryptography.X509Certificates.X509Chain |
|
|
|
|
|
|
|
|
|
System.Security.Permissions.SecurityAction |
|
|
|
Remove usage. |
|
|
|
|
|
System.Security.Permissions.SecurityPermissionAttribute |
|
|
|
Remove usage. |
#ctor(System.Security.Permissions.SecurityAction) |
|
|
|
Remove usage. |
|
|
|
|
|
System.Security.UnverifiableCodeAttribute |
|
|
|
Remove usage. |
#ctor |
|
|
|
Remove usage. |
|
|
|
|
|
System.String |
|
|
|
|
Normalize(System.Text.NormalizationForm) |
|
|
|
|
ToLower(System.Globalization.CultureInfo) |
|
|
|
Use CultureInfo.TextInfo.ToLower(String) instead. |
|
|
|
|
|
System.Threading.Thread |
|
|
|
|
#ctor(System.Threading.ThreadStart) |
|
|
|
|
get_CurrentThread |
|
|
|
|
get_ManagedThreadId |
|
|
|
|
set_IsBackground(System.Boolean) |
|
|
|
|
Sleep(System.Int32) |
|
|
|
|
Start |
|
|
|
|
|
|
|
|
|
System.Threading.ThreadAbortException |
|
|
|
Portable code should not rely on COM apartment semantics, and so should avoid this type. |
|
|
|
|
|
System.Threading.ThreadStart |
|
|
|
|
#ctor(System.Object,System.IntPtr) |
|
|
|
|
|
|
|
|
|
System.Threading.Timer |
|
|
|
|
#ctor(System.Threading.TimerCallback) |
|
|
|
Use Task.Delay, or one of the other Timer .ctor overloads (passing Timeout.Infinite as needed). |
#ctor(System.Threading.TimerCallback,System.Object,System.Int64,System.Int64) |
|
|
|
Use System.Threading.Timer.#ctor(System.Threading.TimerCallback,System.Object,System.Int32,System.Int32). |
Change(System.Int64,System.Int64) |
|
|
|
Use a 32-bit interval. |
|
|
|
|
|
System.Type |
|
|
|
|
get_Assembly |
|
|
|
.GetTypeInfo().Assembly. |
get_BaseType |
|
|
|
.GetTypeInfo().BaseType. |
get_IsGenericType |
|
|
|
.GetTypeInfo().IsGenericType. |
get_IsValueType |
|
|
|
.GetTypeInfo().IsValueType. |
GetTypeCode(System.Type) |
|
|
|
Use Type or RuntimeTypeHandle instead. |
|
|
|
|
|
System.Uri |
|
|
|
|
#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) |
|
|
|
|
|
|
|
|
|