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