1 write to EmitDefaultValue
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\ClassDataContract.cs (1)
873
memberContract.
EmitDefaultValue
= memberAttribute.EmitDefaultValue;
12 references to EmitDefaultValue
System.Private.DataContractSerialization (10)
System\Runtime\Serialization\DataMember.cs (3)
300
EmitDefaultValue
,
320
&&
EmitDefaultValue
== dataMember.
EmitDefaultValue
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (2)
251
if (!member.
EmitDefaultValue
)
281
if (!member.
EmitDefaultValue
)
System\Runtime\Serialization\Json\ReflectionJsonFormatWriter.cs (1)
228
if (!member.
EmitDefaultValue
)
System\Runtime\Serialization\ReflectionXmlFormatWriter.cs (1)
162
if (!member.
EmitDefaultValue
)
System\Runtime\Serialization\SchemaExporter.cs (1)
219
if (dataMember.
EmitDefaultValue
)
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (2)
321
if (!member.
EmitDefaultValue
)
347
if (!member.
EmitDefaultValue
)
System.Runtime.Serialization.Schema (2)
System\Runtime\Serialization\Schema\CodeExporter.cs (2)
868
if (dataMember.
EmitDefaultValue
!= ImportGlobals.DefaultEmitDefaultValue)
869
dataMemberAttribute.Arguments.Add(new CodeAttributeArgument(ImportGlobals.EmitDefaultValueProperty, new CodePrimitiveExpression(dataMember.
EmitDefaultValue
)));