78 references to XmlSchemaContentProcessing
dotnet-svcutil-lib (78)
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentSchemaValidator.cs (2)
650
if (_validator.CurrentProcessContents ==
XmlSchemaContentProcessing
.Skip)
657
else if (_validator.CurrentProcessContents ==
XmlSchemaContentProcessing
.Lax)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaInfo.cs (2)
243
else if (any.ProcessContentsCorrect !=
XmlSchemaContentProcessing
.Skip)
256
else if (any.ProcessContentsCorrect ==
XmlSchemaContentProcessing
.Lax)
FrameworkFork\Microsoft.Xml\Xml\schema\validationstate.cs (1)
29
public
XmlSchemaContentProcessing
ProcessContents;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaAny.cs (7)
22
private
XmlSchemaContentProcessing
_processContents =
XmlSchemaContentProcessing
.None;
40
[XmlAttribute("processContents"), DefaultValue(
XmlSchemaContentProcessing
.None)]
41
public
XmlSchemaContentProcessing
ProcessContents
67
internal
XmlSchemaContentProcessing
ProcessContentsCorrect
69
get { return _processContents ==
XmlSchemaContentProcessing
.None ?
XmlSchemaContentProcessing
.Strict : _processContents; }
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaAnyAttribute.cs (7)
22
private
XmlSchemaContentProcessing
_processContents =
XmlSchemaContentProcessing
.None;
40
[XmlAttribute("processContents"), DefaultValue(
XmlSchemaContentProcessing
.None)]
41
public
XmlSchemaContentProcessing
ProcessContents
55
internal
XmlSchemaContentProcessing
ProcessContentsCorrect
57
get { return _processContents ==
XmlSchemaContentProcessing
.None ?
XmlSchemaContentProcessing
.Strict : _processContents; }
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaComplexType.cs (3)
47
s_anyTypeLax = CreateAnyType(
XmlSchemaContentProcessing
.Lax);
48
s_anyTypeSkip = CreateAnyType(
XmlSchemaContentProcessing
.Skip);
62
private static XmlSchemaComplexType CreateAnyType(
XmlSchemaContentProcessing
processContents)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (17)
127
private
XmlSchemaContentProcessing
_processContents =
XmlSchemaContentProcessing
.Strict;
455
if (_processContents !=
XmlSchemaContentProcessing
.Skip)
479
_context.NeedValidateChildren = _processContents !=
XmlSchemaContentProcessing
.Skip;
579
&& _processContents ==
XmlSchemaContentProcessing
.Strict
587
else if (_processContents !=
XmlSchemaContentProcessing
.Skip)
1154
internal
XmlSchemaContentProcessing
CurrentProcessContents
1172
return (_processContents ==
XmlSchemaContentProcessing
.Strict || _processContents ==
XmlSchemaContentProcessing
.Lax) && _context.ElementDecl != null && !_context.ValidationSkipped;
1367
_processContents = _context.ProcessContents =
XmlSchemaContentProcessing
.Skip;
1395
_processContents = _context.ProcessContents =
XmlSchemaContentProcessing
.Skip;
1407
_processContents = _context.ProcessContents =
XmlSchemaContentProcessing
.Skip;
1623
if (elementDecl == null && _processContents !=
XmlSchemaContentProcessing
.Skip)
1705
if (HasSchema && _processContents ==
XmlSchemaContentProcessing
.Strict)
1761
_processContents = _context.ProcessContents =
XmlSchemaContentProcessing
.Skip;
1764
else if (HasSchema && _processContents ==
XmlSchemaContentProcessing
.Strict)
1766
_processContents = _context.ProcessContents =
XmlSchemaContentProcessing
.Skip;
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (2)
1889
builder._anyAttribute.ProcessContents = (
XmlSchemaContentProcessing
)builder.ParseEnum(value, "processContents", s_processContentsStringValues);
2020
builder._anyElement.ProcessContents = (
XmlSchemaContentProcessing
)builder.ParseEnum(value, "processContents", s_processContentsStringValues);
FrameworkFork\Microsoft.Xml\Xml\schema\xsdvalidator.cs (8)
33
private
XmlSchemaContentProcessing
_processContents;
73
_processContents =
XmlSchemaContentProcessing
.Strict;
204
_processContents = context.ProcessContents =
XmlSchemaContentProcessing
.Skip;
226
if (_processContents !=
XmlSchemaContentProcessing
.Skip)
234
if (HasSchema && _processContents ==
XmlSchemaContentProcessing
.Strict)
251
context.NeedValidateChildren = _processContents !=
XmlSchemaContentProcessing
.Skip;
493
bool skipContents = (_processContents ==
XmlSchemaContentProcessing
.Skip);
518
&& _processContents ==
XmlSchemaContentProcessing
.Strict
FrameworkFork\Microsoft.Xml\Xml\Serialization\SchemaObjectWriter.cs (10)
780
XmlSchemaContentProcessing
process = o.@ProcessContents ==
XmlSchemaContentProcessing
.@None ?
XmlSchemaContentProcessing
.Strict : o.@ProcessContents;
787
private string Write34_XmlSchemaContentProcessing(
XmlSchemaContentProcessing
v)
792
case
XmlSchemaContentProcessing
.@Skip: s = @"skip"; break;
793
case
XmlSchemaContentProcessing
.@Lax: s = @"lax"; break;
794
case
XmlSchemaContentProcessing
.@Strict: s = @"strict"; break;
1158
XmlSchemaContentProcessing
process = o.@ProcessContents ==
XmlSchemaContentProcessing
.@None ?
XmlSchemaContentProcessing
.Strict : o.@ProcessContents;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (1)
490
any.ProcessContents =
XmlSchemaContentProcessing
.Lax;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaExporter.cs (3)
94
any.ProcessContents =
XmlSchemaContentProcessing
.Lax;
107
any.ProcessContents =
XmlSchemaContentProcessing
.Lax;
149
iSerializableWildcardElement.ProcessContents =
XmlSchemaContentProcessing
.Skip;
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (15)
2787
if (((Microsoft.Xml.Schema.
XmlSchemaContentProcessing
)o.@ProcessContents) != Microsoft.Xml.Schema.
XmlSchemaContentProcessing
.@None)
2789
WriteAttribute(@"processContents", @"", Write38_XmlSchemaContentProcessing(((Microsoft.Xml.Schema.
XmlSchemaContentProcessing
)o.@ProcessContents)));
2795
private string Write38_XmlSchemaContentProcessing(Microsoft.Xml.Schema.
XmlSchemaContentProcessing
v)
2800
case Microsoft.Xml.Schema.
XmlSchemaContentProcessing
.@Skip: s = @"skip"; break;
2801
case Microsoft.Xml.Schema.
XmlSchemaContentProcessing
.@Lax: s = @"lax"; break;
2802
case Microsoft.Xml.Schema.
XmlSchemaContentProcessing
.@Strict: s = @"strict"; break;
4077
if (((Microsoft.Xml.Schema.
XmlSchemaContentProcessing
)o.@ProcessContents) != Microsoft.Xml.Schema.
XmlSchemaContentProcessing
.@None)
4079
WriteAttribute(@"processContents", @"", Write38_XmlSchemaContentProcessing(((Microsoft.Xml.Schema.
XmlSchemaContentProcessing
)o.@ProcessContents)));
9039
private Microsoft.Xml.Schema.
XmlSchemaContentProcessing
Read38_XmlSchemaContentProcessing(string s)
9043
case @"skip": return Microsoft.Xml.Schema.
XmlSchemaContentProcessing
.@Skip;
9044
case @"lax": return Microsoft.Xml.Schema.
XmlSchemaContentProcessing
.@Lax;
9045
case @"strict": return Microsoft.Xml.Schema.
XmlSchemaContentProcessing
.@Strict;
9046
default: throw CreateUnknownConstantException(s, typeof(Microsoft.Xml.Schema.
XmlSchemaContentProcessing
));