3 writes to DefaultValue
System.Private.Xml (3)
System\Xml\Schema\Inference\Infer.cs (1)
2388newElement.DefaultValue = copyElement.DefaultValue;
System\Xml\Schema\XsdBuilder.cs (1)
1350builder._element!.DefaultValue = value;
System\Xml\Serialization\XmlSchemaExporter.cs (1)
824element.DefaultValue = ExportDefaultValue(accessor.Mapping!, accessor.Default);
22 references to DefaultValue
System.Data.Common (1)
System\Data\XMLSchema.cs (1)
2536string? strDefault = el.DefaultValue;
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\SchemaImporter.cs (1)
1357if (element.DefaultValue != null)
System.Private.Xml (19)
System\Xml\Core\XsdValidatingReader.cs (1)
2785return schemaElem.DefaultValue ?? schemaElem.FixedValue;
System\Xml\Schema\Inference\Infer.cs (1)
2388newElement.DefaultValue = copyElement.DefaultValue;
System\Xml\Schema\Preprocessor.cs (3)
1338element.DefaultValue != null || 1345if (element.DefaultValue != null && element.FixedValue != null) 1421if (element.DefaultValue != null && element.FixedValue != null)
System\Xml\Schema\SchemaCollectionCompiler.cs (3)
2284if (xe.DefaultValue != null || xe.FixedValue != null) 2290if (xe.DefaultValue != null) 2293decl.DefaultValueRaw = xe.DefaultValue;
System\Xml\Schema\SchemaCollectionpreProcessor.cs (3)
1011element.DefaultValue != null || 1018if (element.DefaultValue != null && element.FixedValue != null) 1094if (element.DefaultValue != null && element.FixedValue != null)
System\Xml\Schema\SchemaSetCompiler.cs (3)
2743if (xe.DefaultValue != null || xe.FixedValue != null) 2749if (xe.DefaultValue != null) 2752decl.DefaultValueRaw = xe.DefaultValue;
System\Xml\Serialization\Mappings.cs (2)
1262if (e1.DefaultValue != e2.DefaultValue)
System\Xml\Serialization\SchemaObjectWriter.cs (1)
980WriteAttribute(@"default", @"", o.DefaultValue);
System\Xml\Serialization\XmlSchemaImporter.cs (2)
285if (element.DefaultValue != null) 287accessor.Default = element.DefaultValue;
System.Private.Xml.Linq (1)
System\Xml\Schema\XNodeValidator.cs (1)
151return seCopy.DefaultValue;