70 references to XmlSchemaContentProcessing
netstandard (1)
netstandard.cs (1)
2317[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.XmlSchemaContentProcessing))]
System.Data.Common (4)
System\Data\DataSet.cs (2)
3498any.ProcessContents = XmlSchemaContentProcessing.Lax; 3504any.ProcessContents = XmlSchemaContentProcessing.Lax;
System\Data\DataTable.cs (2)
6695any.ProcessContents = XmlSchemaContentProcessing.Lax; 6701any.ProcessContents = XmlSchemaContentProcessing.Lax;
System.Private.DataContractSerialization (3)
System\Runtime\Serialization\SchemaExporter.cs (3)
729any.ProcessContents = XmlSchemaContentProcessing.Lax; 742any.ProcessContents = XmlSchemaContentProcessing.Lax; 869iSerializableWildcardElement.ProcessContents = XmlSchemaContentProcessing.Skip;
System.Private.Xml (60)
System\Xml\Dom\DocumentSchemaValidator.cs (2)
623if (_validator.CurrentProcessContents == XmlSchemaContentProcessing.Skip) 630else if (_validator.CurrentProcessContents == XmlSchemaContentProcessing.Lax)
System\Xml\Schema\SchemaInfo.cs (2)
195else if (any.ProcessContentsCorrect != XmlSchemaContentProcessing.Skip) 208else if (any.ProcessContentsCorrect == XmlSchemaContentProcessing.Lax)
System\Xml\Schema\ValidationState.cs (1)
31public XmlSchemaContentProcessing ProcessContents;
System\Xml\Schema\XmlSchemaAny.cs (7)
13private XmlSchemaContentProcessing _processContents = XmlSchemaContentProcessing.None; 23[XmlAttribute("processContents"), DefaultValue(XmlSchemaContentProcessing.None)] 24public XmlSchemaContentProcessing ProcessContents 50internal XmlSchemaContentProcessing ProcessContentsCorrect 52get { return _processContents == XmlSchemaContentProcessing.None ? XmlSchemaContentProcessing.Strict : _processContents; }
System\Xml\Schema\XmlSchemaAnyAttribute.cs (7)
13private XmlSchemaContentProcessing _processContents = XmlSchemaContentProcessing.None; 23[XmlAttribute("processContents"), DefaultValue(XmlSchemaContentProcessing.None)] 24public XmlSchemaContentProcessing ProcessContents 38internal XmlSchemaContentProcessing ProcessContentsCorrect 40get { return _processContents == XmlSchemaContentProcessing.None ? XmlSchemaContentProcessing.Strict : _processContents; }
System\Xml\Schema\XmlSchemaComplexType.cs (3)
12private static readonly XmlSchemaComplexType s_anyTypeLax = CreateAnyType(XmlSchemaContentProcessing.Lax); 13private static readonly XmlSchemaComplexType s_anyTypeSkip = CreateAnyType(XmlSchemaContentProcessing.Skip); 54private static XmlSchemaComplexType CreateAnyType(XmlSchemaContentProcessing processContents)
System\Xml\Schema\XmlSchemaValidator.cs (17)
123private XmlSchemaContentProcessing _processContents = XmlSchemaContentProcessing.Strict; 426if (_processContents != XmlSchemaContentProcessing.Skip) 450_context.NeedValidateChildren = _processContents != XmlSchemaContentProcessing.Skip; 537&& _processContents == XmlSchemaContentProcessing.Strict 545else if (_processContents != XmlSchemaContentProcessing.Skip) 1124internal XmlSchemaContentProcessing CurrentProcessContents 1142return (_processContents == XmlSchemaContentProcessing.Strict || _processContents == XmlSchemaContentProcessing.Lax) && _context.ElementDecl != null && !_context.ValidationSkipped; 1341_processContents = _context.ProcessContents = XmlSchemaContentProcessing.Skip; 1369_processContents = _context.ProcessContents = XmlSchemaContentProcessing.Skip; 1381_processContents = _context.ProcessContents = XmlSchemaContentProcessing.Skip; 1607if (elementDecl == null && _processContents != XmlSchemaContentProcessing.Skip) 1688if (HasSchema && _processContents == XmlSchemaContentProcessing.Strict) 1741_processContents = _context.ProcessContents = XmlSchemaContentProcessing.Skip; 1744else if (HasSchema && _processContents == XmlSchemaContentProcessing.Strict) 1746_processContents = _context.ProcessContents = XmlSchemaContentProcessing.Skip;
System\Xml\Schema\XsdBuilder.cs (2)
1884builder._anyAttribute!.ProcessContents = (XmlSchemaContentProcessing)builder.ParseEnum(value, "processContents", s_processContentsStringValues); 2015builder._anyElement!.ProcessContents = (XmlSchemaContentProcessing)builder.ParseEnum(value, "processContents", s_processContentsStringValues);
System\Xml\Schema\XsdValidator.cs (8)
29private XmlSchemaContentProcessing _processContents; 82_processContents = XmlSchemaContentProcessing.Strict; 201_processContents = context.ProcessContents = XmlSchemaContentProcessing.Skip; 223if (_processContents != XmlSchemaContentProcessing.Skip) 231if (HasSchema && _processContents == XmlSchemaContentProcessing.Strict) 248context.NeedValidateChildren = _processContents != XmlSchemaContentProcessing.Skip; 485bool skipContents = (_processContents == XmlSchemaContentProcessing.Skip); 510&& _processContents == XmlSchemaContentProcessing.Strict
System\Xml\Serialization\SchemaObjectWriter.cs (10)
779XmlSchemaContentProcessing process = o.@ProcessContents == XmlSchemaContentProcessing.@None ? XmlSchemaContentProcessing.Strict : o.@ProcessContents; 786private static string? Write34_XmlSchemaContentProcessing(XmlSchemaContentProcessing v) 791case XmlSchemaContentProcessing.@Skip: s = @"skip"; break; 792case XmlSchemaContentProcessing.@Lax: s = @"lax"; break; 793case XmlSchemaContentProcessing.@Strict: s = @"strict"; break; 1152XmlSchemaContentProcessing process = o.@ProcessContents == XmlSchemaContentProcessing.@None ? XmlSchemaContentProcessing.Strict : o.@ProcessContents;
System\Xml\Serialization\XmlSchemaExporter.cs (1)
451any.ProcessContents = XmlSchemaContentProcessing.Lax;
System.Xml (1)
System.Xml.cs (1)
42[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.XmlSchemaContentProcessing))]
System.Xml.ReaderWriter (1)
artifacts\obj\System.Xml.ReaderWriter\Debug\net10.0\System.Xml.ReaderWriter.Forwards.cs (1)
41[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.XmlSchemaContentProcessing))]