2 writes to FixedValue
System.Private.Xml (2)
System\Xml\Schema\Inference\Infer.cs (1)
2390newElement.FixedValue = copyElement.FixedValue;
System\Xml\Schema\XsdBuilder.cs (1)
1370builder._element!.FixedValue = value;
21 references to FixedValue
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\SchemaImporter.cs (1)
1359if (element.FixedValue != null)
System.Private.Xml (19)
System\Xml\Core\XsdValidatingReader.cs (1)
2785return schemaElem.DefaultValue ?? schemaElem.FixedValue;
System\Xml\Schema\Inference\Infer.cs (1)
2390newElement.FixedValue = copyElement.FixedValue;
System\Xml\Schema\Preprocessor.cs (3)
1340element.FixedValue != null || 1345if (element.DefaultValue != null && element.FixedValue != null) 1421if (element.DefaultValue != null && element.FixedValue != null)
System\Xml\Schema\SchemaCollectionCompiler.cs (5)
1414(baseElement.FixedValue == null || baseElement.FixedValue == derivedElement.FixedValue) && 2284if (xe.DefaultValue != null || xe.FixedValue != null) 2298decl.DefaultValueRaw = xe.FixedValue!;
System\Xml\Schema\SchemaCollectionpreProcessor.cs (3)
1013element.FixedValue != null || 1018if (element.DefaultValue != null && element.FixedValue != null) 1094if (element.DefaultValue != null && element.FixedValue != null)
System\Xml\Schema\SchemaSetCompiler.cs (3)
1670(baseElement.FixedValue == null || IsFixedEqual(baseElement.ElementDecl, derivedElement.ElementDecl)) && 2743if (xe.DefaultValue != null || xe.FixedValue != null) 2757decl.DefaultValueRaw = xe.FixedValue!;
System\Xml\Serialization\SchemaObjectWriter.cs (1)
982WriteAttribute(@"fixed", @"", o.FixedValue);
System\Xml\Serialization\XmlSchemaImporter.cs (2)
289else if (element.FixedValue != null) 291accessor.Default = element.FixedValue;
System.Private.Xml.Linq (1)
System\Xml\Schema\XNodeValidator.cs (1)
149string? s = seCopy.FixedValue;