15 writes to ContentValidator
dotnet-svcutil-lib (15)
FrameworkFork\Microsoft.Xml\Xml\schema\DtdParser.cs (4)
977
elementDecl.
ContentValidator
= ContentValidator.Empty;
980
elementDecl.
ContentValidator
= ContentValidator.Any;
994
elementDecl.
ContentValidator
= pcv.Finish(true);
1006
elementDecl.
ContentValidator
= pcv.Finish(true);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (2)
613
decl.
ContentValidator
= ContentValidator.TextOnly;
762
decl.
ContentValidator
= CompileComplexContent(complexType);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (2)
698
decl.
ContentValidator
= ContentValidator.TextOnly;
834
decl.
ContentValidator
= CompileComplexContent(complexType);
FrameworkFork\Microsoft.Xml\Xml\schema\XdrBuilder.cs (5)
861
builder._ElementDef._ElementDecl.
ContentValidator
= ContentValidator.TextOnly;
876
builder._ElementDef._ElementDecl.
ContentValidator
= ContentValidator.Empty;
964
builder._ElementDef._ElementDecl.
ContentValidator
= ContentValidator.Any;
1002
builder._ElementDef._ElementDecl.
ContentValidator
= builder._contentValidator.Finish(true);
1450
builder._ElementDef._ElementDecl.
ContentValidator
= ContentValidator.TextOnly;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaComplexType.cs (2)
59
s_untypedAnyType.ElementDecl.
ContentValidator
= AnyTypeContentValidator;
90
localAnyType.ElementDecl.
ContentValidator
= anyContentValidator;
48 references to ContentValidator
dotnet-svcutil-lib (48)
FrameworkFork\Microsoft.Xml\Xml\schema\basevalidator.cs (2)
174
ContentValidator contentValidator = context.ElementDecl.
ContentValidator
;
204
XmlSchemaContentType contentType = context.ElementDecl.
ContentValidator
.ContentType;
FrameworkFork\Microsoft.Xml\Xml\schema\DtdParser.cs (2)
805
if (elementDecl.
ContentValidator
!= null &&
806
elementDecl.
ContentValidator
.ContentType == XmlSchemaContentType.Empty &&
FrameworkFork\Microsoft.Xml\Xml\schema\dtdvalidator.cs (6)
108
context.ElementDecl.
ContentValidator
.ContentType == XmlSchemaContentType.ElementOnly)
121
if (context.ElementDecl.
ContentValidator
== ContentValidator.Empty)
150
context.ElementDecl.
ContentValidator
.ValidateElement(elementName, context, out errorCode);
246
elementDecl.
ContentValidator
.InitValidation(context);
273
if (!context.ElementDecl.
ContentValidator
.CompleteValidation(context))
293
get { return context.ElementDecl != null ? context.ElementDecl.
ContentValidator
.PreserveWhitespace : false; }
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (7)
867
else if (baseType.ContentType == XmlSchemaContentType.Mixed && baseType.ElementDecl.
ContentValidator
.IsEmptiable)
1020
Debug.Assert(baseType.ElementDecl.
ContentValidator
!= null);
1022
if (baseType.ElementDecl != null && !baseType.ElementDecl.
ContentValidator
.IsEmptiable)
2371
if (decl.
ContentValidator
!= null)
2373
if (decl.
ContentValidator
.ContentType == XmlSchemaContentType.TextOnly)
2390
else if (decl.
ContentValidator
.ContentType != XmlSchemaContentType.Mixed || !decl.
ContentValidator
.IsEmptiable)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaInfo.cs (1)
210
if (!ed.
ContentValidator
.IsOpen || qname.Namespace.Length == 0)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (6)
945
else if (baseType.ContentType == XmlSchemaContentType.Mixed && baseType.ElementDecl.
ContentValidator
.IsEmptiable)
1090
if (baseType.ElementDecl != null && !baseType.ElementDecl.
ContentValidator
.IsEmptiable)
2803
if (decl.
ContentValidator
!= null)
2805
if (decl.
ContentValidator
.ContentType == XmlSchemaContentType.TextOnly || (decl.
ContentValidator
.ContentType == XmlSchemaContentType.Mixed && decl.
ContentValidator
.IsEmptiable))
FrameworkFork\Microsoft.Xml\Xml\schema\xdrvalidator.cs (4)
112
context.ElementDecl.
ContentValidator
.ValidateElement(elementName, context, out errorCode);
160
context.ElementDecl.
ContentValidator
.InitValidation(context);
174
if (!context.ElementDecl.
ContentValidator
.CompleteValidation(context))
406
get { return context.ElementDecl != null ? context.ElementDecl.
ContentValidator
.PreserveWhitespace : false; }
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaComplexType.cs (1)
131
return s_anyTypeLax.ElementDecl.
ContentValidator
;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (15)
481
elementDecl.
ContentValidator
.InitValidation(_context);
797
XmlSchemaContentType contentType = _context.ElementDecl.
ContentValidator
.ContentType;
821
ArrayList names = _context.ElementDecl.
ContentValidator
.ExpectedParticles(_context, false, _schemaSet);
879
XmlSchemaContentType contentType = _context.ElementDecl.
ContentValidator
.ContentType;
1004
ArrayList expected = _context.ElementDecl.
ContentValidator
.ExpectedParticles(_context, false, _schemaSet);
1150
return _context.ElementDecl.
ContentValidator
.ContentType;
1222
XmlSchemaContentType contentType = contextElementDecl.
ContentValidator
.ContentType;
1258
if (!contextElementDecl.
ContentValidator
.CompleteValidation(_context))
1346
ContentValidator contentValidator = _context.ElementDecl.
ContentValidator
;
1358
particle = _context.ElementDecl.
ContentValidator
.ValidateElement(head, _context, out errorCode);
1837
Debug.Assert(elementDecl.
ContentValidator
.ContentType == XmlSchemaContentType.Mixed && elementDecl.DefaultValueTyped != null);
2287
if (currentElementDecl.Datatype == null || currentElementDecl.
ContentValidator
.ContentType == XmlSchemaContentType.Mixed)
2530
ContentValidator contentValidator = context.ElementDecl.
ContentValidator
;
2591
names = context.ElementDecl.
ContentValidator
.ExpectedParticles(context, true, schemaSet);
2595
names = context.ElementDecl.
ContentValidator
.ExpectedElements(context, true);
FrameworkFork\Microsoft.Xml\Xml\schema\xsdvalidator.cs (4)
201
particle = context.ElementDecl.
ContentValidator
.ValidateElement(elementName, context, out errorCode);
252
context.ElementDecl.
ContentValidator
.InitValidation(context);
340
if (!context.ElementDecl.
ContentValidator
.CompleteValidation(context))
666
get { return context.ElementDecl != null ? context.ElementDecl.
ContentValidator
.PreserveWhitespace : false; }