8 types derived from XmlSchemaFacet
System.Private.Xml (8)
System\Xml\Schema\XmlSchemaFacet.cs (8)
65
public abstract class XmlSchemaNumericFacet :
XmlSchemaFacet
{ }
91
public class XmlSchemaPatternFacet :
XmlSchemaFacet
99
public class XmlSchemaEnumerationFacet :
XmlSchemaFacet
107
public class XmlSchemaMinExclusiveFacet :
XmlSchemaFacet
115
public class XmlSchemaMinInclusiveFacet :
XmlSchemaFacet
123
public class XmlSchemaMaxExclusiveFacet :
XmlSchemaFacet
131
public class XmlSchemaMaxInclusiveFacet :
XmlSchemaFacet
155
public class XmlSchemaWhiteSpaceFacet :
XmlSchemaFacet
50 references to XmlSchemaFacet
netstandard (1)
netstandard.cs (1)
2327
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.
XmlSchemaFacet
))]
System.Data.Common (1)
System\Data\SimpleType.cs (1)
91
foreach (
XmlSchemaFacet
facet in content.Facets)
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\SchemaImporter.cs (2)
544
foreach (
XmlSchemaFacet
facet in restriction.Facets)
1204
foreach (
XmlSchemaFacet
facet in restriction.Facets)
System.Private.Xml (44)
System\Xml\Schema\FacetChecker.cs (18)
53
internal void CompileLengthFacet(
XmlSchemaFacet
facet)
92
internal void CompileMinLengthFacet(
XmlSchemaFacet
facet)
122
internal void CompileMaxLengthFacet(
XmlSchemaFacet
facet)
171
internal void CompileEnumerationFacet(
XmlSchemaFacet
facet, IXmlNamespaceResolver nsmgr, XmlNameTable nameTable)
179
internal void CompileWhitespaceFacet(
XmlSchemaFacet
facet)
231
internal void CompileMaxInclusiveFacet(
XmlSchemaFacet
facet)
248
internal void CompileMaxExclusiveFacet(
XmlSchemaFacet
facet)
265
internal void CompileMinInclusiveFacet(
XmlSchemaFacet
facet)
282
internal void CompileMinExclusiveFacet(
XmlSchemaFacet
facet)
299
internal void CompileTotalDigitsFacet(
XmlSchemaFacet
facet)
323
internal void CompileFractionDigitsFacet(
XmlSchemaFacet
facet)
376
private void CheckValue(object value,
XmlSchemaFacet
facet)
663
private static object ParseFacetValue(XmlSchemaDatatype datatype,
XmlSchemaFacet
facet, string code, IXmlNamespaceResolver? nsmgr, XmlNameTable? nameTable)
742
private void CheckProhibitedFlag(
XmlSchemaFacet
facet, RestrictionFlags flag, string errorCode)
750
private void CheckDupFlag(
XmlSchemaFacet
facet, RestrictionFlags flag, string errorCode)
758
private void SetFlag(
XmlSchemaFacet
facet, RestrictionFlags flag)
899
XmlSchemaFacet
facet = (
XmlSchemaFacet
)facets[i];
System\Xml\Schema\XsdBuilder.cs (2)
669
private
XmlSchemaFacet
? _facet;
1080
_facet = (
XmlSchemaFacet
)container;
System\Xml\Serialization\SchemaObjectWriter.cs (17)
35
XmlSchemaFacet
f1 = (
XmlSchemaFacet
)o1!;
36
XmlSchemaFacet
f2 = (
XmlSchemaFacet
)o2!;
664
Write_XmlSchemaFacet("minExclusive", (
XmlSchemaFacet
)ai);
668
Write_XmlSchemaFacet("maxInclusive", (
XmlSchemaFacet
)ai);
672
Write_XmlSchemaFacet("maxExclusive", (
XmlSchemaFacet
)ai);
676
Write_XmlSchemaFacet("minInclusive", (
XmlSchemaFacet
)ai);
680
Write_XmlSchemaFacet("length", (
XmlSchemaFacet
)ai);
684
Write_XmlSchemaFacet("enumeration", (
XmlSchemaFacet
)ai);
688
Write_XmlSchemaFacet("minLength", (
XmlSchemaFacet
)ai);
692
Write_XmlSchemaFacet("pattern", (
XmlSchemaFacet
)ai);
696
Write_XmlSchemaFacet("totalDigits", (
XmlSchemaFacet
)ai);
700
Write_XmlSchemaFacet("maxLength", (
XmlSchemaFacet
)ai);
704
Write_XmlSchemaFacet("whiteSpace", (
XmlSchemaFacet
)ai);
708
Write_XmlSchemaFacet("fractionDigit", (
XmlSchemaFacet
)ai);
713
private void Write_XmlSchemaFacet(string name,
XmlSchemaFacet
? o)
System\Xml\Serialization\Types.cs (7)
529
AddNonXsdPrimitive(typeof(Guid), "guid", UrtTypes.Namespace, "Guid", new XmlQualifiedName("string", XmlSchema.Namespace), new
XmlSchemaFacet
[] { guidPattern }, TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired | TypeFlags.IgnoreDefault);
530
AddNonXsdPrimitive(typeof(char), "char", UrtTypes.Namespace, "Char", new XmlQualifiedName("unsignedShort", XmlSchema.Namespace), Array.Empty<
XmlSchemaFacet
>(), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.HasCustomFormatter | TypeFlags.IgnoreDefault);
531
AddNonXsdPrimitive(typeof(TimeSpan), "TimeSpan", UrtTypes.Namespace, "TimeSpan", new XmlQualifiedName("duration", XmlSchema.Namespace), Array.Empty<
XmlSchemaFacet
>(), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired);
532
AddNonXsdPrimitive(typeof(DateTimeOffset), "dateTimeOffset", UrtTypes.Namespace, "DateTimeOffset", new XmlQualifiedName("dateTime", XmlSchema.Namespace), Array.Empty<
XmlSchemaFacet
>(), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired);
639
private static void AddNonXsdPrimitive(Type type, string dataTypeName, string ns, string formatterName, XmlQualifiedName baseTypeName,
XmlSchemaFacet
[] facets, TypeFlags flags)
645
foreach (
XmlSchemaFacet
facet in facets)
659
AddNonXsdPrimitive(type, dataTypeName, ns, formatterName, baseTypeName, Array.Empty<
XmlSchemaFacet
>(), flags);
System.Xml (1)
System.Xml.cs (1)
52
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.
XmlSchemaFacet
))]
System.Xml.ReaderWriter (1)
artifacts\obj\System.Xml.ReaderWriter\Debug\net10.0\System.Xml.ReaderWriter.Forwards.cs (1)
51
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.
XmlSchemaFacet
))]