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