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)
16
internal
FormatterTypeStyle
_typeFormat =
FormatterTypeStyle
.TypesAlways; // For version resiliency, always put out types
21
public
FormatterTypeStyle
TypeFormat { get { return _typeFormat; } set { _typeFormat = value; } }
System\Runtime\Serialization\Formatters\Binary\BinaryFormatterWriter.cs (2)
19
private readonly
FormatterTypeStyle
_formatterTypeStyle;
38
internal BinaryFormatterWriter(Stream outputStream, ObjectWriter objectWriter,
FormatterTypeStyle
formatterTypeStyle)
System\Runtime\Serialization\Formatters\Binary\BinaryObjectWriter.cs (7)
138
if (objectInfo._isSi || CheckTypeFormat(_formatterEnums._typeFormat,
FormatterTypeStyle
.TypesAlways))
306
if (CheckTypeFormat(_formatterEnums._typeFormat,
FormatterTypeStyle
.TypesAlways) || (objectInfo._isSi))
483
if (CheckTypeFormat(_formatterEnums._typeFormat,
FormatterTypeStyle
.TypesAlways))
843
if (!CheckTypeFormat(_formatterEnums._typeFormat,
FormatterTypeStyle
.XsdString))
871
(CheckTypeFormat(_formatterEnums._typeFormat,
FormatterTypeStyle
.TypesAlways))))
1026
private bool CheckTypeFormat(
FormatterTypeStyle
test,
FormatterTypeStyle
want) => (test & want) == want;
System\Runtime\Serialization\Formatters\Binary\BinaryUtilClasses.cs (1)
431
internal
FormatterTypeStyle
_typeFormat;