10 writes to DefaultValueTyped
System.Private.Xml (10)
System\Xml\Schema\DtdValidator.cs (1)
543attdef.DefaultValueTyped = dtype.ParseValue(value, readerAdapter.NameTable, readerAdapter.NamespaceResolver);
System\Xml\Schema\SchemaCollectionCompiler.cs (4)
2019decl.DefaultValueTyped = decl.Datatype.ParseValue(decl.DefaultValueRaw, NameTable, new SchemaNamespaceManager(xa), true); 2028decl.DefaultValueTyped = decl.Datatype.ParseValue(decl.DefaultValueRaw, NameTable, new SchemaNamespaceManager(xa), true); 2080decl.DefaultValueTyped = decl.Datatype.ParseValue(decl.DefaultValueRaw, NameTable, new SchemaNamespaceManager(xa), true); 2302decl.DefaultValueTyped = decl.Datatype.ParseValue(decl.DefaultValueRaw, NameTable, new SchemaNamespaceManager(xe), true);
System\Xml\Schema\SchemaSetCompiler.cs (3)
2551decl.DefaultValueTyped = decl.Datatype.ParseValue(decl.DefaultValueRaw, NameTable, new SchemaNamespaceManager(xa), true); 2767decl.DefaultValueTyped = decl.Datatype.ParseValue(decl.DefaultValueRaw, NameTable, new SchemaNamespaceManager(xe), true); 2772decl.DefaultValueTyped = DatatypeImplementation.AnySimpleType.Datatype!.ParseValue(decl.DefaultValueRaw, NameTable, new SchemaNamespaceManager(xe));
System\Xml\Schema\XdrValidator.cs (1)
616attdef.DefaultValueTyped = typedValue;
System\Xml\Schema\XmlSchemaValidator.cs (1)
1726elementDeclXsi.DefaultValueTyped = elementDecl.DefaultValueTyped;
35 references to DefaultValueTyped
System.Private.Xml (35)
System\Xml\Core\XmlTextReaderImpl.cs (1)
9269attr.typedValue = attrDef.DefaultValueTyped;
System\Xml\Dom\DocumentSchemaValidator.cs (1)
446XsdSimpleValue? simpleValue = attributeDef.DefaultValueTyped as XsdSimpleValue;
System\Xml\Schema\DtdValidator.cs (3)
167if (Reader.IsEmptyElement && context.ElementDecl.DefaultValueTyped != null) 169Reader.TypedValueObject = context.ElementDecl.DefaultValueTyped; 575object? typedValue = attdef.DefaultValueTyped;
System\Xml\Schema\SchemaAttDef.cs (1)
103get { return ((SchemaAttDef)this).DefaultValueTyped; }
System\Xml\Schema\SchemaSetCompiler.cs (4)
2458if (!datatype.IsEqual(decl.DefaultValueTyped!, refFixedValue)) 3084object baseFixedValue = baseDecl.DefaultValueTyped!; 3092object derivedFixedValue = derivedDecl.DefaultValueTyped!; 3108XsdSimpleValue simpleFixedValue = (baseDecl.DefaultValueTyped as XsdSimpleValue)!;
System\Xml\Schema\XdrBuilder.cs (3)
1684if (decl._Default != null || pAttdef.DefaultValueTyped != null) 1703if (pAttdef.DefaultValueTyped != null) 1708else if (pAttdef.DefaultValueTyped != null)
System\Xml\Schema\XdrValidator.cs (2)
250if (reader.IsEmptyElement && !context.IsNill && context.ElementDecl.DefaultValueTyped != null) 252reader.TypedValueObject = context.ElementDecl.DefaultValueTyped;
System\Xml\Schema\XmlSchemaInfo.cs (1)
158return _schemaElement != null && _schemaElement.ElementDecl!.DefaultValueTyped != null;
System\Xml\Schema\XmlSchemaValidator.cs (14)
788if (_context.ElementDecl.DefaultValueTyped != null) 849if (_context.ElementDecl.DefaultValueTyped != null) 1029if (attdef.DefaultValueTyped == null) 1062XsdSimpleValue simpleValue = (attdef.DefaultValueTyped as XsdSimpleValue)!; 1069attrValidInfo.typedAttributeValue = attdef.DefaultValueTyped; 1086CheckTokenizedTypes(datatype, attdef.DefaultValueTyped, true); 1089AttributeIdentityConstraints(attdef.Name.Name, attdef.Name.Namespace, attdef.DefaultValueTyped, attdef.DefaultValueRaw, datatype); 1209if (contextElementDecl.DefaultValueTyped != null) 1424if (stringValue.Length == 0 && currentElementDecl.DefaultValueTyped != null) 1443typedVal = currentElementDecl.DefaultValueTyped; 1666Debug.Assert(elementDecl.DefaultValueTyped != null); 1726elementDeclXsi.DefaultValueTyped = elementDecl.DefaultValueTyped; 1818Debug.Assert(elementDecl.ContentValidator!.ContentType == XmlSchemaContentType.Mixed && elementDecl.DefaultValueTyped != null); 1826return elementDecl.DefaultValueTyped;
System\Xml\Schema\XsdValidator.cs (5)
344if (!(stringValue.Length == 0 && context.ElementDecl.DefaultValueTyped != null)) 428if (context.IsNill && elementDecl.DefaultValueTyped != null) 453if (reader.IsEmptyElement && !context.IsNill && context.ElementDecl.DefaultValueTyped != null) 455reader.TypedValueObject = UnWrapUnion(context.ElementDecl.DefaultValueTyped); 544AttributeIdentityConstraints(attdef.Name.Name, attdef.Name.Namespace, UnWrapUnion(attdef.DefaultValueTyped), attdef.DefaultValueRaw, attdef);