.NET Portability Report

Summary

Assembly.NET Framework 4.6ASP.NET 5 1.0Mono 4.5
NSubstitute100%94.31%100%

NSubstitute

Missing assemblies
Castle.Core, Version=3.3.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc
System.Threading, Version=1.0.2838.102, Culture=neutral, PublicKeyToken=31bf3856ad364e35
 
Target type.NET Framework 4.6ASP.NET 5 1.0Mono 4.5Recommended 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.PermissionSetAttributeRemove usage
     
System.Security.Permissions.SecurityPermissionAttributeRemove usage
     
System.Reflection.BinderUse an overload that does not take a Binder.
     
System.Reflection.PropertyInfoUse PropertyInfo.SetMethod property
GetSetMethodUse PropertyInfo.SetMethod property
GetGetMethodUse PropertyInfo.GetMethod property
     
System.Runtime.Serialization.StreamingContext
#ctor(System.Runtime.Serialization.StreamingContextStates)
     
System.Converter`2Remove 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.ParameterModifierUse an overload that does not take a ParameterModifier array.
     
System.Runtime.Serialization.SerializationInfo
#ctor(System.Type,System.Runtime.Serialization.IFormatterConverter)
     
System.ArrayUse 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.ExceptionRemove. 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)
     
Back to summary