5 references to TypesAlways
System.Runtime.Serialization.Formatters (5)
System\Runtime\Serialization\Formatters\Binary\BinaryFormatter.cs (1)
16internal FormatterTypeStyle _typeFormat = FormatterTypeStyle.TypesAlways; // For version resiliency, always put out types
System\Runtime\Serialization\Formatters\Binary\BinaryObjectWriter.cs (4)
138if (objectInfo._isSi || CheckTypeFormat(_formatterEnums._typeFormat, FormatterTypeStyle.TypesAlways)) 306if (CheckTypeFormat(_formatterEnums._typeFormat, FormatterTypeStyle.TypesAlways) || (objectInfo._isSi)) 483if (CheckTypeFormat(_formatterEnums._typeFormat, FormatterTypeStyle.TypesAlways)) 871(CheckTypeFormat(_formatterEnums._typeFormat, FormatterTypeStyle.TypesAlways))))