Target type | .NET Framework 4.6 | ASP.NET 5 1.0 | Mono 4.5 | Recommended changes |
System.Type | | | | .GetTypeInfo().IsSubclassOf |
IsSubclassOf(System.Type) | | | | .GetTypeInfo().IsSubclassOf |
get_IsSealed | | | | .GetTypeInfo().IsSealed |
get_IsGenericType | | | | .GetTypeInfo().IsGenericType |
get_IsClass | | | | .GetTypeInfo().IsClass |
GetConstructor(System.Reflection.BindingFlags,System.Reflection.Binder,System.Type[],System.Reflection.ParameterModifier[]) | | | | Use GetConstructor(Type[]) to search for public constructors by parameter type or filter the results of GetConstructors(BindingFlags) using LINQ for other queries. |
get_IsInterface | | | | .GetTypeInfo().IsInterface |
get_IsValueType | | | | .GetTypeInfo().IsValueType |
  |   |   |   |   |
System.Security.Permissions.ReflectionPermissionAttribute | | | | |
  |   |   |   |   |
System.Runtime.Serialization.FormatterConverter | | | | |
#ctor | | | | |
  |   |   |   |   |
System.Security.Permissions.UIPermissionAttribute | | | | |
  |   |   |   |   |
System.Runtime.Serialization.StreamingContextStates | | | | |
  |   |   |   |   |
System.Security.Permissions.PermissionSetAttribute | | | | Remove usage |
  |   |   |   |   |
System.Security.Permissions.SecurityPermissionAttribute | | | | Remove usage |
  |   |   |   |   |
System.Reflection.Binder | | | | Use an overload that does not take a Binder. |
  |   |   |   |   |
System.Reflection.PropertyInfo | | | | Use PropertyInfo.SetMethod property |
GetSetMethod | | | | Use PropertyInfo.SetMethod property |
GetGetMethod | | | | Use PropertyInfo.GetMethod property |
  |   |   |   |   |
System.Runtime.Serialization.StreamingContext | | | | |
#ctor(System.Runtime.Serialization.StreamingContextStates) | | | | |
  |   |   |   |   |
System.Converter`2 | | | | Remove usage. Implement conversion code yourself if needed. |
#ctor(System.Object,System.IntPtr) | | | | Remove usage. Implement conversion code yourself if needed. |
  |   |   |   |   |
System.Runtime.Serialization.IFormatterConverter | | | | |
  |   |   |   |   |
System.Reflection.EventInfo | | | | |
GetAddMethod | | | | |
GetRemoveMethod | | | | |
  |   |   |   |   |
System.Reflection.ParameterModifier | | | | Use an overload that does not take a ParameterModifier array. |
  |   |   |   |   |
System.Runtime.Serialization.SerializationInfo | | | | |
#ctor(System.Type,System.Runtime.Serialization.IFormatterConverter) | | | | |
  |   |   |   |   |
System.Array | | | | Use foreach statement with custom conversion code to handle conversion. |
ConvertAll``2(``0[],System.Converter{``0,``1}) | | | | Use foreach statement with custom conversion code to handle conversion. |
  |   |   |   |   |
System.Exception | | | | Remove. Getting rid of other usage of SerializationInfo will remove the need for this method. |
GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) | | | | Remove. Getting rid of other usage of SerializationInfo will remove the need for this method. |
#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) | | | | Remove. Ctor overload taking SerializationInfo is not applicable in new surface area |
  |   |   |   |   |
System.Reflection.ParameterInfo | | | | |
IsDefined(System.Type,System.Boolean) | | | | |
  |   |   |   |   |