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