FrameworkFork\Microsoft.Xml\Xml\schema\BaseProcessor.cs (17)
69protected void AddToTable(XmlSchemaObjectTable table, XmlQualifiedName qname, XmlSchemaObject item)
75XmlSchemaObject existingObject = (XmlSchemaObject)table[qname];
90XmlSchemaObject builtInAttributeGroup = schemaForXmlNS.AttributeGroups[qname];
113XmlSchemaObject builtInAttribute = schemaForXmlNS.Attributes[qname];
170private bool IsValidAttributeGroupRedefine(XmlSchemaObject existingObject, XmlSchemaObject item, XmlSchemaObjectTable table)
189private bool IsValidGroupRedefine(XmlSchemaObject existingObject, XmlSchemaObject item, XmlSchemaObjectTable table)
208private bool IsValidTypeRedefine(XmlSchemaObject existingObject, XmlSchemaObject item, XmlSchemaObjectTable table)
227protected void SendValidationEvent(string code, XmlSchemaObject source)
232protected void SendValidationEvent(string code, string msg, XmlSchemaObject source)
237protected void SendValidationEvent(string code, string msg1, string msg2, XmlSchemaObject source)
242protected void SendValidationEvent(string code, string[] args, Exception innerException, XmlSchemaObject source)
252protected void SendValidationEvent(string code, XmlSchemaObject source, XmlSeverityType severity)
262protected void SendValidationEvent(string code, string msg, XmlSchemaObject source, XmlSeverityType severity)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaException.cs (8)
26private XmlSchemaObject _sourceSchemaObject;
76internal XmlSchemaException(string res, XmlSchemaObject source) :
80internal XmlSchemaException(string res, string arg, XmlSchemaObject source) :
84internal XmlSchemaException(string res, string[] args, XmlSchemaObject source) :
88internal XmlSchemaException(string res, string[] args, Exception innerException, string sourceUri, int lineNumber, int linePosition, XmlSchemaObject source) :
146public XmlSchemaObject SourceSchemaObject
162internal void SetSchemaObject(XmlSchemaObject source)
167internal void SetSource(XmlSchemaObject source)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Advanced\SchemaImporterExtension.cs (4)
25public virtual string ImportSchemaType(string name, string ns, XmlSchemaObject context, XmlSchemas schemas, XmlSchemaImporter importer,
32public virtual string ImportSchemaType(XmlSchemaType type, XmlSchemaObject context, XmlSchemas schemas, XmlSchemaImporter importer,
160private XmlSchemaObject _context;
167internal MappedTypeDesc(string clrType, string name, string ns, XmlSchemaType xsdType, XmlSchemaObject context, SchemaImporterExtension extension, CodeNamespace code, StringCollection references)
FrameworkFork\Microsoft.Xml\Xml\Serialization\ImportContext.cs (19)
145internal XmlSchemaObject AddItem(XmlSchemaObject item, XmlQualifiedName qname, XmlSchemas schemas)
162XmlSchemaObject cachedItem = (XmlSchemaObject)list[i];
181internal bool Match(XmlSchemaObject o1, XmlSchemaObject o2, bool shareTypes)
199private ArrayList GetDependencies(XmlSchemaObject o, ArrayList deps, Hashtable refs)
210GetDependencies((XmlSchemaObject)list[i], deps, refs);
217private int CompositeHash(XmlSchemaObject o, int hash)
239GetHash((XmlSchemaObject)items[i]);
243private int GetHash(XmlSchemaObject o)
248if (hash is XmlSchemaObject)
264private string ToString(XmlSchemaObject o, SchemaObjectWriter writer)
286foreach (XmlSchemaObject item in s.Items)
298internal void AddRef(ArrayList list, XmlSchemaObject o)
315internal ArrayList Depends(XmlSchemaObject item)
330internal void Depends(XmlSchemaObject item, ArrayList refs)
485foreach (XmlSchemaObject o in ((XmlSchemaGroupBase)item).Items)
497foreach (XmlSchemaObject o in ((XmlSchemaAttributeGroup)item).Attributes)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (8)
221XmlSchemaObject xso = Schemas.SchemaSet.GlobalTypes[typeName];
380XmlSchemaObject parent = element;
420private void RunSchemaExtensions(TypeMapping mapping, XmlQualifiedName qname, XmlSchemaType type, XmlSchemaObject context, TypeFlags flags)
1620foreach (XmlSchemaObject o in type.Annotation.Items)
2074XmlSchemaObject parent = element;
2113internal string FindExtendedType(string name, string ns, XmlSchemaObject context, CodeCompileUnit compileUnit, CodeNamespace mainNamespace, out SchemaImporterExtension extension)
2128internal string FindExtendedType(XmlSchemaType type, XmlSchemaObject context, CodeCompileUnit compileUnit, CodeNamespace mainNamespace, out SchemaImporterExtension extension)
2147XmlSchemaObject parent = attribute;