52 writes to Annotation
System.Runtime.Serialization (9)
System\Runtime\Serialization\SchemaExporter.cs (9)
157
element.
Annotation
= GetSchemaAnnotation(actualTypeElement, ExportSurrogateData(dataMember), ExportEmitDefaultValue(dataMember));
179
type.
Annotation
= GetSchemaAnnotation(genericInfoElement, ExportSurrogateData(classDataContract), isValueTypeElement);
370
type.
Annotation
= GetSchemaAnnotation(isDictionaryElement, genericInfoElement, ExportSurrogateData(collectionDataContract));
391
keyValueElement.
Annotation
= GetSchemaAnnotation(ExportSurrogateData(dataMember));
425
type.
Annotation
= GetSchemaAnnotation(actualTypeElement, ExportSurrogateData(enumDataContract));
438
facet.
Annotation
= GetSchemaAnnotation(EnumerationValueAnnotationName, enumDataContract.GetStringFromEnumValue(enumDataContract.Values[i]), schema);
483
type.
Annotation
= GetSchemaAnnotation(genericInfoElement, ExportSurrogateData(dataContract), isValueTypeElement);
533
xsdType.
Annotation
= GetSchemaAnnotation(
666
providerXsdType.
Annotation
= GetSchemaAnnotation(ExportActualType(stableName, new XmlDocument()));
System.Web.Services (39)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (39)
6977
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
7059
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
7329
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
7421
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
7497
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
7585
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
7658
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
7770
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
7842
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
7914
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
7986
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
8058
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
8130
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
8202
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
8274
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
8346
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
8418
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
8490
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
8562
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
8630
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
8791
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
8881
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
8956
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
9025
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
9101
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
9193
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
9300
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
9376
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
9467
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
9540
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
9635
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
9699
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
9776
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
9856
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
9974
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
10051
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
10146
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
10240
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
10328
o.
@Annotation
= Read11_XmlSchemaAnnotation(false, true);
System.Xml (4)
System\Xml\Schema\Inference\Infer.cs (1)
2367
newElement.
Annotation
= copyElement.Annotation;
System\Xml\Schema\XmlSchemaAnyAttribute.cs (2)
86
anyAttribute.
Annotation
= o1.Annotation;
101
anyAttribute.
Annotation
= o1.Annotation;
System\Xml\Serialization\XmlSchemaExporter.cs (1)
1053
type.
Annotation
= annotation;
102 references to Annotation
System.Data (2)
fx\src\data\System\Data\XMLSchema.cs (2)
809
if (el.
Annotation
!= null)
810
HandleRelations(el.
Annotation
, true);
System.Runtime.Serialization (19)
System\Runtime\Serialization\CodeExporter.cs (2)
255
stableName = SchemaImporter.ImportActualType(xmlDataContract.XsdType.
Annotation
, stableName, dataContract.StableName);
1291
? SchemaImporter.ImportActualType(xmlDataContract.XsdType.
Annotation
, xmlDataContract.StableName, xmlDataContract.StableName)
System\Runtime\Serialization\SchemaImporter.cs (17)
433
dataContract = ImportFlagsEnum(typeName, (XmlSchemaSimpleTypeList)content, simpleType.
Annotation
);
439
dataContract = ImportEnum(typeName, restriction, false /*isFlags*/, simpleType.
Annotation
);
457
dataContract = ImportType(typeName, complexType.Particle, complexType.Attributes, complexType.AnyAttribute, null /* baseTypeName */, complexType.
Annotation
);
473
dataContract = ImportType(typeName, extension.Particle, extension.Attributes, extension.AnyAttribute, extension.BaseTypeName, complexType.
Annotation
);
480
dataContract = ImportType(typeName, restriction.Particle, restriction.Attributes, restriction.AnyAttribute, null /* baseTypeName */, complexType.
Annotation
);
511
|| (string.IsNullOrEmpty(type.Name) && dataContractSet.TryGetReferencedType(ImportActualType(type.
Annotation
, typeName, typeName), dataContract, out referencedType)))
722
xmlDataContract.IsValueType = IsValueType(typeName, xsdType.
Annotation
);
998
XmlQualifiedName memberTypeName = ImportActualType(element.
Annotation
, element.SchemaTypeName, typeName);
1003
bool? emitDefaultValueFromAnnotation = ImportEmitDefaultValue(element.
Annotation
, typeName);
1029
dataContractSet.SetSurrogateData(dataMember, ImportSurrogateData(ImportAnnotation(element.
Annotation
, surrogateDataAnnotationName), surrogateDataAnnotationName.Name, surrogateDataAnnotationName.Namespace));
1219
string valueInnerText = GetInnerText(typeName, ImportAnnotation(enumFacet.
Annotation
, SchemaExporter.EnumerationValueAnnotationName));
1246
if (type.
Annotation
== null || type.
Annotation
.Items == null)
1248
foreach (XmlSchemaObject schemaObject in type.
Annotation
.Items)
1274
if (type.
Annotation
== null || type.
Annotation
.Items == null)
1276
foreach (XmlSchemaObject schemaObject in type.
Annotation
.Items)
System.Web.Extensions (2)
Script\Services\WebServiceTypeData.cs (2)
219
knownTypeData = ImportEnum(XmlConvert.DecodeName(schemaType.Name), schemaTargetNamespace, schemaType.QualifiedName, simpleTypeRestriction, schemaType.
Annotation
);
303
string valueInnerText = GetInnerText(typeQualifiedName, ImportAnnotation(enumFacet.
Annotation
, EnumerationValueAnnotationName));
System.Web.Services (39)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (39)
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);
System.Xml (40)
System\Xml\Schema\Inference\Infer.cs (1)
2367
newElement.Annotation = copyElement.
Annotation
;
System\Xml\Schema\Preprocessor.cs (1)
1773
annotation = annotated.
Annotation
;
System\Xml\Schema\SchemaCollectionpreProcessor.cs (5)
1421
if (annotated.
Annotation
!= null) {
1422
annotated.
Annotation
.Parent = schemaObject;
1423
for (int i = 0; i < annotated.
Annotation
.Items.Count; ++i) {
1424
annotated.
Annotation
.Items[i].Parent = annotated.
Annotation
; //Can be documentation or appInfo
System\Xml\Schema\XmlSchemaAnyAttribute.cs (2)
86
anyAttribute.Annotation = o1.
Annotation
;
101
anyAttribute.Annotation = o1.
Annotation
;
System\Xml\Serialization\SchemaObjectWriter.cs (27)
273
Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o.
@Annotation
);
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
);
846
Write5_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\XmlSchemaImporter.cs (4)
1410
if (type.
Annotation
== null)
1412
if (type.
Annotation
.Items == null || type.
Annotation
.Items.Count == 0)
1415
foreach(XmlSchemaObject o in type.
Annotation
.Items) {