5 instantiations of XmlSchemaAnnotation
System.Runtime.Serialization (2)
System\Runtime\Serialization\SchemaExporter.cs (2)
807XmlSchemaAnnotation annotation = new XmlSchemaAnnotation(); 829XmlSchemaAnnotation annotation = new XmlSchemaAnnotation();
System.Web.Services (1)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (1)
7090o = new global::System.Xml.Schema.XmlSchemaAnnotation();
System.Xml (2)
System\Xml\Schema\XsdBuilder.cs (1)
2070builder.xso = builder.annotation = new XmlSchemaAnnotation();
System\Xml\Serialization\XmlSchemaExporter.cs (1)
1044XmlSchemaAnnotation annotation = new XmlSchemaAnnotation();
129 references to XmlSchemaAnnotation
System.Data (4)
fx\src\data\System\Data\XMLSchema.cs (4)
169if (item is XmlSchemaAnnotation) { 170annotations.Add((XmlSchemaAnnotation)item); 687foreach (XmlSchemaAnnotation annotation in annotations) { 737private void HandleRelations(XmlSchemaAnnotation ann, bool fNested) {
System.Runtime.Serialization (15)
System\Runtime\Serialization\SchemaExporter.cs (4)
805XmlSchemaAnnotation GetSchemaAnnotation(XmlQualifiedName annotationQualifiedName, string innerText, XmlSchema schema) 807XmlSchemaAnnotation annotation = new XmlSchemaAnnotation(); 815static XmlSchemaAnnotation GetSchemaAnnotation(params XmlNode[] nodes) 829XmlSchemaAnnotation annotation = new XmlSchemaAnnotation();
System\Runtime\Serialization\SchemaImporter.cs (11)
629DataContract ImportType(XmlQualifiedName typeName, XmlSchemaParticle rootParticle, XmlSchemaObjectCollection attributes, XmlSchemaAnyAttribute anyAttribute, XmlQualifiedName baseTypeName, XmlSchemaAnnotation annotation) 662ClassDataContract ImportClass(XmlQualifiedName typeName, XmlSchemaSequence rootSequence, XmlQualifiedName baseTypeName, XmlSchemaAnnotation annotation, bool isReference) 822bool IsValueType(XmlQualifiedName typeName, XmlSchemaAnnotation annotation) 842ClassDataContract ImportISerializable(XmlQualifiedName typeName, XmlSchemaSequence rootSequence, XmlQualifiedName baseTypeName, XmlSchemaObjectCollection attributes, XmlSchemaAnnotation annotation) 1034private bool? ImportEmitDefaultValue(XmlSchemaAnnotation annotation, XmlQualifiedName typeName) 1046internal static XmlQualifiedName ImportActualType(XmlSchemaAnnotation annotation, XmlQualifiedName defaultTypeName, XmlQualifiedName typeName) 1066CollectionDataContract ImportCollection(XmlQualifiedName typeName, XmlSchemaSequence rootSequence, XmlSchemaObjectCollection attributes, XmlSchemaAnnotation annotation, bool isReference) 1158bool IsDictionary(XmlQualifiedName typeName, XmlSchemaAnnotation annotation) 1175EnumDataContract ImportFlagsEnum(XmlQualifiedName typeName, XmlSchemaSimpleTypeList list, XmlSchemaAnnotation annotation) 1200EnumDataContract ImportEnum(XmlQualifiedName typeName, XmlSchemaSimpleTypeRestriction restriction, bool isFlags, XmlSchemaAnnotation annotation) 1438static XmlElement ImportAnnotation(XmlSchemaAnnotation annotation, XmlQualifiedName annotationQualifiedName)
System.Web.Extensions (4)
Compilation\WCFModel\SchemaMerger.cs (1)
56typeof(XmlSchemaAnnotation),
Script\Services\WebServiceTypeData.cs (3)
254internal static XmlQualifiedName ImportActualType(XmlSchemaAnnotation annotation, XmlQualifiedName defaultTypeName, XmlQualifiedName typeName) { 274static XmlElement ImportAnnotation(XmlSchemaAnnotation annotation, XmlQualifiedName annotationQualifiedName) { 291static WebServiceEnumData ImportEnum(string typeName, string typeNamespace, XmlQualifiedName typeQualifiedName, XmlSchemaSimpleTypeRestriction restriction, XmlSchemaAnnotation annotation) {
System.Web.Services (50)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (49)
1888else if (ai is global::System.Xml.Schema.XmlSchemaAnnotation) { 1889Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)ai), false, false); 1903void Write11_XmlSchemaAnnotation(string n, string ns, global::System.Xml.Schema.XmlSchemaAnnotation o, bool isNullable, bool needType) { 1910if (t == typeof(global::System.Xml.Schema.XmlSchemaAnnotation)) { 2075Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 2123Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 2189Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 2255Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 2323Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 2365Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 2396Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 2437Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 2480Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 2527Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 2559Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 2645Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 2679Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 2713Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 2747Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 2781Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 2815Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 2849Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 2883Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 2917Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 2951Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 2985Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3019Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3063Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3141Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3229Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3270Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3323Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3356Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3388Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3428Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3489Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3533Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3605Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3676Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3720Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3825Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3880Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3911Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3964Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3996Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 4045else if (ai is global::System.Xml.Schema.XmlSchemaAnnotation) { 4046Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)ai), false, false); 7077global::System.Xml.Schema.XmlSchemaAnnotation Read11_XmlSchemaAnnotation(bool isNullable, bool checkType) { 7089global::System.Xml.Schema.XmlSchemaAnnotation o;
System\Web\Services\Description\WebServicesInteroperability.cs (1)
311if (!(o is XmlSchemaAnnotation)) {
System.Xml (56)
System\Xml\Schema\Preprocessor.cs (5)
624if (!(redefine.Items[j] is XmlSchemaAnnotation)) { 674else if (schemaItems[i] is XmlSchemaAnnotation) { 675PreprocessAnnotation(schemaItems[i] as XmlSchemaAnnotation); 1770XmlSchemaAnnotation annotation; 1781private void PreprocessAnnotation(XmlSchemaAnnotation annotation) {
System\Xml\Schema\SchemaCollectionpreProcessor.cs (2)
406if (!(redefine.Items[j] is XmlSchemaAnnotation)) { 476else if(!(schema.Items[i] is XmlSchemaAnnotation)) {
System\Xml\Schema\XmlSchema.cs (2)
334[XmlElement("annotation", typeof(XmlSchemaAnnotation)), 597internal override void AddAnnotation(XmlSchemaAnnotation annotation) {
System\Xml\Schema\XmlSchemaAnnotated.cs (4)
19XmlSchemaAnnotation annotation; 36[XmlElement("annotation", typeof(XmlSchemaAnnotation))] 37public XmlSchemaAnnotation Annotation { 61internal override void AddAnnotation(XmlSchemaAnnotation annotation) {
System\Xml\Schema\XmlSchemaImport.cs (4)
18XmlSchemaAnnotation annotation; 33[XmlElement("annotation", typeof(XmlSchemaAnnotation))] 34public XmlSchemaAnnotation Annotation { 39internal override void AddAnnotation(XmlSchemaAnnotation annotation) {
System\Xml\Schema\XmlSchemaInclude.cs (4)
17XmlSchemaAnnotation annotation; 24[XmlElement("annotation", typeof(XmlSchemaAnnotation))] 25public XmlSchemaAnnotation Annotation { 30internal override void AddAnnotation(XmlSchemaAnnotation annotation) {
System\Xml\Schema\XmlSchemaObject.cs (1)
91internal virtual void AddAnnotation(XmlSchemaAnnotation annotation) {}
System\Xml\Schema\XmlSchemaRedefine.cs (2)
35[XmlElement("annotation", typeof(XmlSchemaAnnotation)), 71internal override void AddAnnotation(XmlSchemaAnnotation annotation) {
System\Xml\Schema\XsdBuilder.cs (2)
664private XmlSchemaAnnotation annotation; 944this.annotation = (XmlSchemaAnnotation)container;
System\Xml\Serialization\SchemaObjectWriter.cs (29)
273Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o.@Annotation); 302else if (t == typeof(XmlSchemaAnnotation)) { 303Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o); 404void Write5_XmlSchemaAnnotation(XmlSchemaAnnotation o) { 466Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o.@Annotation); 506Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o.@Annotation); 520Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o.@Annotation); 533Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o.@Annotation); 598Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o.@Annotation); 620Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o.@Annotation); 636Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o.@Annotation); 649Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o.@Annotation); 679Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o.@Annotation); 709Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o.@Annotation); 728Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o.@Annotation); 742Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o.@Annotation); 757Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o.@Annotation); 776Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o.@Annotation); 802Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o.@Annotation); 864Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o.@Annotation); 899Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o.@Annotation); 913Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o.@Annotation); 933Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o.@Annotation); 953Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o.@Annotation); 969Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o.@Annotation); 981Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o.@Annotation); 1018Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o.@Annotation); 1033Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o.@Annotation); 1058Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o.@Annotation);
System\Xml\Serialization\XmlSchemaExporter.cs (1)
1044XmlSchemaAnnotation annotation = new XmlSchemaAnnotation();