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