5 references to Always
System.Runtime.Serialization (5)
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (4)
75
EmitTypeInformation emitTypeInformation = alwaysEmitTypeInformation ? EmitTypeInformation.
Always
: EmitTypeInformation.AsNeeded;
86
EmitTypeInformation emitTypeInformation = alwaysEmitTypeInformation ? EmitTypeInformation.
Always
: EmitTypeInformation.AsNeeded;
98
EmitTypeInformation emitTypeInformation = alwaysEmitTypeInformation ? EmitTypeInformation.
Always
: EmitTypeInformation.AsNeeded;
168
return emitTypeInformation == EmitTypeInformation.
Always
;
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (1)
196
if (emitXsiType == EmitTypeInformation.
Always
&& !perCallXsiTypeAlreadyEmitted && RequiresJsonTypeInfo(dataContract))