Source/NFX/Serialization/SerializationUtils.cs
/// <summary>
/// Returns .ctor(SerializationInfo, StreamingContext) that complies with ISerializable concept, or null.
/// </summary>
Returns .ctor(SerializationInfo, StreamingContext) that complies with ISerializable concept, or null.
Returns . ctor ( SerializationInfo StreamingContext ) that complies with ISerializable concept or null .
public static ConstructorInfo GetISerializableCtorInfo(Type type)
        {
           return type.GetConstructor(BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance,
                                             null,
                                             new Type[] { typeof(SerializationInfo), typeof(StreamingContext)},
                                             null);
        }
public static ConstructorInfo GetISerializableCtorInfo ( Type type ) { return type . GetConstructor ( BindingFlags . NonPublic | BindingFlags . Public | BindingFlags . Instance , null , new Type [ ] { typeof ( SerializationInfo ) , typeof ( StreamingContext ) } , null ) ; }
Returns .ctor(SerializationInfo, StreamingContext) that complies with ISerializable concept, or null.
Returns . ctor ( SerializationInfo StreamingContext ) that complies with ISerializable concept or null .
type
Type