1 write to EmitDefaultValue
System.Runtime.Serialization (1)
System\Runtime\Serialization\ClassDataContract.cs (1)
923
memberContract.
EmitDefaultValue
= memberAttribute.EmitDefaultValue;
10 references to EmitDefaultValue
System.Runtime.Serialization (10)
System\Runtime\Serialization\CodeExporter.cs (2)
892
if (dataMember.
EmitDefaultValue
!= Globals.DefaultEmitDefaultValue)
893
dataMemberAttribute.Arguments.Add(new CodeAttributeArgument(Globals.EmitDefaultValueProperty, new CodePrimitiveExpression(dataMember.
EmitDefaultValue
)));
System\Runtime\Serialization\DataMember.cs (3)
315
this.
EmitDefaultValue
,
334
&&
EmitDefaultValue
== dataMember.
EmitDefaultValue
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (2)
299
if (!member.
EmitDefaultValue
)
325
if (!member.
EmitDefaultValue
)
System\Runtime\Serialization\SchemaExporter.cs (1)
226
if (dataMember.
EmitDefaultValue
)
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (2)
326
if (!member.
EmitDefaultValue
)
348
if (!member.
EmitDefaultValue
)