17 references to SerializationOption
System.Private.DataContractSerialization (17)
System\Runtime\Serialization\DataContractSerializer.cs (5)
33
private static
SerializationOption
s_option = IsReflectionBackupAllowed() ?
SerializationOption
.ReflectionAsBackup :
SerializationOption
.CodeGenOnly;
47
internal static
SerializationOption
Option
49
get { return RuntimeFeature.IsDynamicCodeSupported ? s_option :
SerializationOption
.ReflectionOnly; }
System\Runtime\Serialization\Json\JsonClassDataContract.cs (2)
39
if (DataContractSerializer.Option ==
SerializationOption
.ReflectionOnly)
70
if (DataContractSerializer.Option ==
SerializationOption
.ReflectionOnly)
System\Runtime\Serialization\Json\JsonCollectionDataContract.cs (3)
39
if (DataContractSerializer.Option ==
SerializationOption
.ReflectionOnly)
76
if (DataContractSerializer.Option ==
SerializationOption
.ReflectionOnly)
107
if (DataContractSerializer.Option ==
SerializationOption
.ReflectionOnly)
System\Runtime\Serialization\XmlDataContract.cs (2)
98
if (DataContractSerializer.Option ==
SerializationOption
.CodeGenOnly || DataContractSerializer.Option ==
SerializationOption
.ReflectionAsBackup)
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (3)
82
if (DataContractSerializer.Option ==
SerializationOption
.ReflectionOnly)
174
if (DataContractSerializer.Option ==
SerializationOption
.ReflectionOnly)
199
if (DataContractSerializer.Option ==
SerializationOption
.ReflectionOnly)
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (2)
76
if (DataContractSerializer.Option ==
SerializationOption
.ReflectionOnly)
120
if (DataContractSerializer.Option ==
SerializationOption
.ReflectionOnly)