20 references to Facets
System.Data.Common (1)
System\Data\SimpleType.cs (1)
91foreach (XmlSchemaFacet facet in content.Facets)
System.Private.DataContractSerialization (4)
System\Runtime\Serialization\SchemaExporter.cs (1)
442restriction.Facets.Add(facet);
System\Runtime\Serialization\SchemaImporter.cs (3)
544foreach (XmlSchemaFacet facet in restriction.Facets) 553return ((restriction.BaseTypeName == expectedBase && restriction.Facets.Count > 0) || ImportType(restriction.BaseTypeName) is EnumDataContract); 1204foreach (XmlSchemaFacet facet in restriction.Facets)
System.Private.Xml (15)
System\Xml\Schema\Preprocessor.cs (4)
446r.Facets.Add(space_default); 449r.Facets.Add(space_preserve); 1552for (int i = 0; i < restriction.Facets.Count; ++i) 1554SetParent(restriction.Facets[i], restriction);
System\Xml\Schema\SchemaCollectionCompiler.cs (1)
599simpleType.SetDatatype(datatype.DeriveByRestriction(restriction.Facets, NameTable, simpleType));
System\Xml\Schema\SchemaCollectionpreProcessor.cs (2)
1219for (int i = 0; i < restriction.Facets.Count; ++i) 1221SetParent(restriction.Facets[i], restriction);
System\Xml\Schema\SchemaSetCompiler.cs (1)
688simpleType.SetDatatype(datatype.DeriveByRestriction(restriction.Facets, NameTable, simpleType));
System\Xml\Schema\XsdBuilder.cs (1)
2105builder._simpleTypeRestriction!.Facets.Add(builder._facet!);
System\Xml\Serialization\SchemaObjectWriter.cs (1)
645WriteFacets(o.Facets);
System\Xml\Serialization\Types.cs (1)
647restriction.Facets.Add(facet);
System\Xml\Serialization\XmlSchemaExporter.cs (1)
1163restriction.Facets.Add(enumeration);
System\Xml\Serialization\XmlSchemaImporter.cs (3)
1674foreach (object o in restriction.Facets) 1755for (int i = 0; i < restriction.Facets.Count; i++) 1757object facet = restriction.Facets[i];