15 references to FormatterTypeStyle
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
745[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.Serialization.Formatters.FormatterTypeStyle))]
netstandard (1)
netstandard.cs (1)
1764[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.Serialization.Formatters.FormatterTypeStyle))]
System.Runtime.Serialization.Formatters (13)
System\Runtime\Serialization\Formatters\Binary\BinaryFormatter.cs (3)
16internal FormatterTypeStyle _typeFormat = FormatterTypeStyle.TypesAlways; // For version resiliency, always put out types 21public FormatterTypeStyle TypeFormat { get { return _typeFormat; } set { _typeFormat = value; } }
System\Runtime\Serialization\Formatters\Binary\BinaryFormatterWriter.cs (2)
19private readonly FormatterTypeStyle _formatterTypeStyle; 38internal BinaryFormatterWriter(Stream outputStream, ObjectWriter objectWriter, FormatterTypeStyle formatterTypeStyle)
System\Runtime\Serialization\Formatters\Binary\BinaryObjectWriter.cs (7)
138if (objectInfo._isSi || CheckTypeFormat(_formatterEnums._typeFormat, FormatterTypeStyle.TypesAlways)) 306if (CheckTypeFormat(_formatterEnums._typeFormat, FormatterTypeStyle.TypesAlways) || (objectInfo._isSi)) 483if (CheckTypeFormat(_formatterEnums._typeFormat, FormatterTypeStyle.TypesAlways)) 843if (!CheckTypeFormat(_formatterEnums._typeFormat, FormatterTypeStyle.XsdString)) 871(CheckTypeFormat(_formatterEnums._typeFormat, FormatterTypeStyle.TypesAlways)))) 1026private bool CheckTypeFormat(FormatterTypeStyle test, FormatterTypeStyle want) => (test & want) == want;
System\Runtime\Serialization\Formatters\Binary\BinaryUtilClasses.cs (1)
431internal FormatterTypeStyle _typeFormat;