System\Xml\Schema\BaseProcessor.cs (17)
59protected void AddToTable(XmlSchemaObjectTable table, XmlQualifiedName qname, XmlSchemaObject item) {
63XmlSchemaObject existingObject = (XmlSchemaObject)table[qname];
74XmlSchemaObject builtInAttributeGroup = schemaForXmlNS.AttributeGroups[qname];
92XmlSchemaObject builtInAttribute = schemaForXmlNS.Attributes[qname];
137private bool IsValidAttributeGroupRedefine(XmlSchemaObject existingObject, XmlSchemaObject item, XmlSchemaObjectTable table) {
152private bool IsValidGroupRedefine(XmlSchemaObject existingObject, XmlSchemaObject item, XmlSchemaObjectTable table) {
167private bool IsValidTypeRedefine(XmlSchemaObject existingObject, XmlSchemaObject item, XmlSchemaObjectTable table) {
182protected void SendValidationEvent(string code, XmlSchemaObject source) {
186protected void SendValidationEvent(string code, string msg, XmlSchemaObject source) {
190protected void SendValidationEvent(string code, string msg1, string msg2, XmlSchemaObject source) {
194protected void SendValidationEvent(string code, string[] args, Exception innerException, XmlSchemaObject source) {
202protected void SendValidationEvent(string code, XmlSchemaObject source, XmlSeverityType severity) {
210protected void SendValidationEvent(string code, string msg, XmlSchemaObject source, XmlSeverityType severity) {
System\Xml\Schema\XmlSchemaException.cs (8)
28XmlSchemaObject sourceSchemaObject;
109internal XmlSchemaException(string res, XmlSchemaObject source) :
112internal XmlSchemaException(string res, string arg, XmlSchemaObject source) :
115internal XmlSchemaException(string res, string[] args, XmlSchemaObject source) :
118internal XmlSchemaException(string res, string[] args, Exception innerException, string sourceUri, int lineNumber, int linePosition, XmlSchemaObject source) :
166public XmlSchemaObject SourceSchemaObject {
180internal void SetSchemaObject(XmlSchemaObject source) {
184internal void SetSource(XmlSchemaObject source) {
System\Xml\Serialization\Advanced\SchemaImporterExtension.cs (4)
25public virtual string ImportSchemaType(string name, string ns, XmlSchemaObject context, XmlSchemas schemas, XmlSchemaImporter importer,
31public virtual string ImportSchemaType(XmlSchemaType type, XmlSchemaObject context, XmlSchemas schemas, XmlSchemaImporter importer,
134XmlSchemaObject context;
141internal MappedTypeDesc(string clrType, string name, string ns, XmlSchemaType xsdType, XmlSchemaObject context, SchemaImporterExtension extension, CodeNamespace code, StringCollection references) {
System\Xml\Serialization\ImportContext.cs (19)
126internal XmlSchemaObject AddItem(XmlSchemaObject item, XmlQualifiedName qname, XmlSchemas schemas) {
140XmlSchemaObject cachedItem = (XmlSchemaObject)list[i];
157internal bool Match(XmlSchemaObject o1, XmlSchemaObject o2, bool shareTypes) {
174private ArrayList GetDependencies(XmlSchemaObject o, ArrayList deps, Hashtable refs) {
181GetDependencies((XmlSchemaObject)list[i], deps, refs);
188private int CompositeHash(XmlSchemaObject o, int hash) {
205GetHash((XmlSchemaObject)items[i]);
209private int GetHash(XmlSchemaObject o) {
212if (hash is XmlSchemaObject) {
226string ToString(XmlSchemaObject o, SchemaObjectWriter writer) {
244foreach (XmlSchemaObject item in s.Items) {
254internal void AddRef(ArrayList list, XmlSchemaObject o) {
269internal ArrayList Depends(XmlSchemaObject item) {
283internal void Depends(XmlSchemaObject item, ArrayList refs) {
406foreach (XmlSchemaObject o in ((XmlSchemaGroupBase)item).Items) {
415foreach (XmlSchemaObject o in ((XmlSchemaAttributeGroup)item).Attributes) {
System\Xml\Serialization\XmlSchemaImporter.cs (8)
204XmlSchemaObject xso = Schemas.SchemaSet.GlobalTypes[typeName];
343XmlSchemaObject parent = element;
377void RunSchemaExtensions(TypeMapping mapping, XmlQualifiedName qname, XmlSchemaType type, XmlSchemaObject context, TypeFlags flags) {
1415foreach(XmlSchemaObject o in type.Annotation.Items) {
1801XmlSchemaObject parent = element;
1833internal string FindExtendedType(string name, string ns, XmlSchemaObject context, CodeCompileUnit compileUnit, CodeNamespace mainNamespace, out SchemaImporterExtension extension ) {
1845internal string FindExtendedType(XmlSchemaType type, XmlSchemaObject context, CodeCompileUnit compileUnit, CodeNamespace mainNamespace, out SchemaImporterExtension extension) {
1859XmlSchemaObject parent = attribute;