95 if (!schemas.
Contains(
"http://www.w3.org/2001/XMLSchema"))
100 if (!schemas.
Contains(
"http://www.w3.org/XML/1998/namespace"))
184 if (!(name.Namespace ==
"http://www.w3.org/2001/XMLSchema"))
static string Format(string resourceFormat, object p1)
static string XmlInvalidBaseType
static string MakeValid(string identifier)
void AddReserved(string identifier)
string AddUnique(string identifier, object? value)
CodeIdentifiers TypeIdentifiers
SchemaImporter(XmlSchemas schemas, CodeGenerationOptions options, ImportContext context)
void MakeDerived(StructMapping structMapping, Type baseType, bool baseTypeCanBeIndirect)
void RemoveReference(XmlQualifiedName name, NameTable references)
readonly CodeGenerationOptions _options
StructMapping CreateRootMapping()
void ImportDerivedTypes(XmlQualifiedName baseName)
CodeIdentifiers TypeIdentifiers
StructMapping GetRootMapping()
Hashtable ImportedMappings
void AddReference(XmlQualifiedName name, NameTable references, string error)
void AddReservedIdentifiersForDataBinding(CodeIdentifiers scope)
string GenerateUniqueTypeName(string typeName)
StructMapping ImportRootMapping()
Hashtable ImportedElements
CodeGenerationOptions Options
TypeDesc(string name, string fullName, XmlSchemaType dataType, TypeKind kind, TypeDesc baseTypeDesc, TypeFlags flags, string formatterName)
TypeDesc GetTypeDesc(string name, string ns)
void SetCache(SchemaObjectCache cache, bool shareTypes)
bool Contains(XmlSchema schema)
void AddReference(XmlSchema schema)
static XmlSchema?? XmlSchema
static XmlSchema XsdSchema
static readonly XmlQualifiedName Empty