Definition at line 465 of file XmlSchemaExporter.cs.
466 {
468 {
469 case TypeKind.Node:
470 {
476 {
480 }
483 if (element != null)
484 {
486 }
488 }
489 case TypeKind.Serializable:
490 {
493 {
499 {
503 }
505 {
507 }
510 {
512 {
513 if (
item.TargetNamespace !=
"http://www.w3.org/2001/XMLSchema")
514 {
517 }
518 }
519 }
522 if (element != null)
523 {
525 }
527 }
529 {
532 {
533 if (
item2.TargetNamespace !=
"http://www.w3.org/2001/XMLSchema")
534 {
538 {
540 }
541 }
542 }
543 if (element != null)
544 {
547 {
549 }
550 }
553 }
555 {
565 {
567 }
569 {
571 }
572 if (element != null)
573 {
575 }
578 }
587 if (element != null)
588 {
590 }
592 }
593 default:
595 }
596 }
static string XmlInternalError
static string Format(string resourceFormat, object p1)
static string XmlDuplicateNamespace
XmlQualifiedName SchemaTypeName
void AddSchemaImport(string ns, string referencingNs)
readonly XmlSchemas _schemas
int Add(XmlSchema schema, bool delay)
@ InvalidOperationException
XmlSchemaContentProcessing
References System.Xml.Serialization.XmlSchemaExporter._schemas, System.Xml.Serialization.XmlSchemas.Add(), System.Xml.Serialization.XmlSchemaExporter.AddSchemaImport(), System.Xml.ArgumentException, System.delay, System.Xml.Dictionary, System.SR.Format(), System.Xml.XmlQualifiedName.IsEmpty, System.item, System.Xml.Schema.XmlSchemaElement.SchemaTypeName, System.SR.XmlDuplicateNamespace, and System.SR.XmlInternalError.
Referenced by System.Xml.Serialization.XmlSchemaExporter.ExportElementMapping(), System.Xml.Serialization.XmlSchemaExporter.ExportMapping(), System.Xml.Serialization.XmlSchemaExporter.ExportRootIfNecessary(), and System.Xml.Serialization.XmlSchemaExporter.ExportTypeMapping().