3 references to UnsafeTypeForwardingEnabled
System.Runtime.Serialization (3)
System\Runtime\Serialization\SurrogateDataContract.cs (1)
41
SerializationInfo serInfo = new SerializationInfo(UnderlyingType, XmlObjectSerializer.FormatterConverter, !context.
UnsafeTypeForwardingEnabled
);
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (2)
505
SerializationInfo serInfo = new SerializationInfo(objType, XmlObjectSerializer.FormatterConverter, !this.
UnsafeTypeForwardingEnabled
);
508
if (!this.
UnsafeTypeForwardingEnabled
&& serInfo.AssemblyName == Globals.MscorlibAssemblyName)