10 writes to DefaultValueTyped
System.Xml (10)
System\Xml\Schema\DtdValidator.cs (1)
449
attdef.
DefaultValueTyped
= dtype.ParseValue(value, readerAdapter.NameTable, readerAdapter.NamespaceResolver);
System\Xml\Schema\SchemaCollectionCompiler.cs (4)
1660
decl.
DefaultValueTyped
= decl.Datatype.ParseValue(decl.DefaultValueRaw, NameTable, new SchemaNamespaceManager(xa), true);
1667
decl.
DefaultValueTyped
= decl.Datatype.ParseValue(decl.DefaultValueRaw, NameTable, new SchemaNamespaceManager(xa), true);
1711
decl.
DefaultValueTyped
= decl.Datatype.ParseValue(decl.DefaultValueRaw, NameTable, new SchemaNamespaceManager(xa), true);
1891
decl.
DefaultValueTyped
= decl.Datatype.ParseValue(decl.DefaultValueRaw, NameTable, new SchemaNamespaceManager(xe), true);
System\Xml\Schema\SchemaSetCompiler.cs (3)
2069
decl.
DefaultValueTyped
= decl.Datatype.ParseValue(decl.DefaultValueRaw, NameTable, new SchemaNamespaceManager(xa), true);
2242
decl.
DefaultValueTyped
= decl.Datatype.ParseValue(decl.DefaultValueRaw, NameTable, new SchemaNamespaceManager(xe), true);
2246
decl.
DefaultValueTyped
= DatatypeImplementation.AnySimpleType.Datatype.ParseValue(decl.DefaultValueRaw, NameTable, new SchemaNamespaceManager(xe));
System\Xml\Schema\XdrValidator.cs (1)
503
attdef.
DefaultValueTyped
= typedValue;
System\Xml\Schema\XmlSchemaValidator.cs (1)
1450
elementDeclXsi.
DefaultValueTyped
= elementDecl.DefaultValueTyped;
35 references to DefaultValueTyped
System.Xml (35)
System\Xml\Core\XmlTextReaderImpl.cs (1)
8276
attr.typedValue = attrDef.
DefaultValueTyped
;
System\Xml\Dom\DocumentSchemaValidator.cs (1)
409
XsdSimpleValue simpleValue = attributeDef.
DefaultValueTyped
as XsdSimpleValue;
System\Xml\Schema\DtdValidator.cs (3)
143
if (Reader.IsEmptyElement && context.ElementDecl.
DefaultValueTyped
!= null) {
144
Reader.TypedValueObject = context.ElementDecl.
DefaultValueTyped
;
479
object typedValue = attdef.
DefaultValueTyped
;
System\Xml\Schema\SchemaAttDef.cs (1)
105
get { return ((SchemaAttDef)this).
DefaultValueTyped
; }
System\Xml\Schema\SchemaSetCompiler.cs (4)
1995
if ( !datatype.IsEqual(decl.
DefaultValueTyped
, refFixedValue)) {
2569
object baseFixedValue = baseDecl.
DefaultValueTyped
;
2570
object derivedFixedValue = derivedDecl.
DefaultValueTyped
;
2587
XsdSimpleValue simpleFixedValue = baseDecl.
DefaultValueTyped
as XsdSimpleValue;
System\Xml\Schema\XdrBuilder.cs (3)
1477
if (decl._Default != null || pAttdef.
DefaultValueTyped
!= null) {
1491
if (pAttdef.
DefaultValueTyped
!= null)
1496
else if (pAttdef.
DefaultValueTyped
!= null) {
System\Xml\Schema\XdrValidator.cs (2)
206
if (reader.IsEmptyElement && !context.IsNill && context.ElementDecl.
DefaultValueTyped
!= null) {
207
reader.TypedValueObject = context.ElementDecl.
DefaultValueTyped
;
System\Xml\Schema\XmlSchemaInfo.cs (1)
127
return schemaElement != null && schemaElement.ElementDecl.
DefaultValueTyped
!= null;
System\Xml\Schema\XmlSchemaValidator.cs (14)
716
if (context.ElementDecl.
DefaultValueTyped
!= null) {
767
if (context.ElementDecl.
DefaultValueTyped
!= null) {
895
if (attdef.
DefaultValueTyped
== null) { //Invalid attribute default in the schema
922
XsdSimpleValue simpleValue = attdef.
DefaultValueTyped
as XsdSimpleValue;
928
attrValidInfo.typedAttributeValue = attdef.
DefaultValueTyped
;
942
CheckTokenizedTypes(datatype, attdef.
DefaultValueTyped
, true);
944
AttributeIdentityConstraints(attdef.Name.Name, attdef.Name.Namespace, attdef.
DefaultValueTyped
, attdef.DefaultValueRaw, datatype);
1038
if (contextElementDecl.
DefaultValueTyped
!= null) {
1213
if (stringValue.Length == 0 && currentElementDecl.
DefaultValueTyped
!= null) { //default value maybe present
1227
typedVal = currentElementDecl.
DefaultValueTyped
;
1400
Debug.Assert(elementDecl.
DefaultValueTyped
!= null);
1450
elementDeclXsi.DefaultValueTyped = elementDecl.
DefaultValueTyped
;
1527
Debug.Assert(elementDecl.ContentValidator.ContentType == XmlSchemaContentType.Mixed && elementDecl.
DefaultValueTyped
!= null);
1533
return elementDecl.
DefaultValueTyped
;
System\Xml\Schema\XsdValidator.cs (5)
290
if(!(stringValue.Length == 0 && context.ElementDecl.
DefaultValueTyped
!= null)) {
358
if (context.IsNill && elementDecl.
DefaultValueTyped
!= null) {
378
if (reader.IsEmptyElement && !context.IsNill && context.ElementDecl.
DefaultValueTyped
!= null) {
379
reader.TypedValueObject = UnWrapUnion(context.ElementDecl.
DefaultValueTyped
);
450
AttributeIdentityConstraints(attdef.Name.Name, attdef.Name.Namespace, UnWrapUnion(attdef.
DefaultValueTyped
), attdef.DefaultValueRaw, attdef);