52 writes to Annotation
System.Private.DataContractSerialization (9)
System\Runtime\Serialization\SchemaExporter.cs (9)
151element.Annotation = GetSchemaAnnotation(actualTypeElement, ExportSurrogateData(dataMember), ExportEmitDefaultValue(dataMember)); 173type.Annotation = GetSchemaAnnotation(genericInfoElement, ExportSurrogateData(classDataContract), isValueTypeElement); 371type.Annotation = GetSchemaAnnotation(isDictionaryElement, genericInfoElement, ExportSurrogateData(collectionDataContract)); 392keyValueElement.Annotation = GetSchemaAnnotation(ExportSurrogateData(dataMember)); 428type.Annotation = GetSchemaAnnotation(actualTypeElement, ExportSurrogateData(enumDataContract)); 441facet.Annotation = GetSchemaAnnotation(EnumerationValueAnnotationName, enumDataContract.GetStringFromEnumValue(enumDataContract.Values[i]), schema); 488type.Annotation = GetSchemaAnnotation(genericInfoElement, ExportSurrogateData(dataContract), isValueTypeElement); 541xsdType.Annotation = GetSchemaAnnotation( 663providerXsdType.Annotation = GetSchemaAnnotation(ExportActualType(xmlName, new XmlDocument()));
System.Private.Xml (4)
System\Xml\Schema\Inference\Infer.cs (1)
2386newElement.Annotation = copyElement.Annotation;
System\Xml\Schema\XmlSchemaAnyAttribute.cs (2)
85anyAttribute.Annotation = o1.Annotation; 103anyAttribute.Annotation = o1.Annotation;
System\Xml\Serialization\XmlSchemaExporter.cs (1)
1196type.Annotation = annotation;
System.Web.Services.Description (39)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (39)
8584o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 8692o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 9024o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 9128o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 9216o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 9316o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 9408o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 9616o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 9700o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 9784o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 9868o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 9952o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 10036o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 10120o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 10204o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 10288o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 10372o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 10456o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 10540o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 10620o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 10793o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 10916o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 11010o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 11091o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 11186o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 11297o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 11430o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 11525o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 11663o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 11748o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 11890o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 11966o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 12055o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 12161o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 12389o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 12478o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 12599o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 12719o.@Annotation = Read11_XmlSchemaAnnotation(false, true); 12819o.@Annotation = Read11_XmlSchemaAnnotation(false, true);
100 references to Annotation
System.Data.Common (2)
System\Data\XMLSchema.cs (2)
949if (el.Annotation != null) 950HandleRelations(el.Annotation, true);
System.Private.DataContractSerialization (18)
System\Runtime\Serialization\DataContractSet.cs (1)
550xmlName = SchemaImporter.ImportActualType(xmlDataContract.XsdType?.Annotation, xmlName, dataContract.XmlName);
System\Runtime\Serialization\SchemaImporter.cs (17)
430dataContract = ImportFlagsEnum(typeName, (XmlSchemaSimpleTypeList)content, simpleType.Annotation); 435dataContract = ImportEnum(typeName, restriction, false /*isFlags*/, simpleType.Annotation); 452dataContract = ImportType(typeName, complexType.Particle, complexType.Attributes, complexType.AnyAttribute, null /* baseTypeName */, complexType.Annotation); 466dataContract = ImportType(typeName, extension.Particle, extension.Attributes, extension.AnyAttribute, extension.BaseTypeName, complexType.Annotation); 472dataContract = ImportType(typeName, restriction.Particle, restriction.Attributes, restriction.AnyAttribute, null /* baseTypeName */, complexType.Annotation); 504|| (string.IsNullOrEmpty(type.Name) && _dataContractSet.TryGetReferencedType(ImportActualType(type.Annotation, typeName, typeName), dataContract, out referencedType))) 713xmlDataContract.IsValueType = IsValueType(typeName, xsdType.Annotation); 982XmlQualifiedName memberTypeName = ImportActualType(element.Annotation, element.SchemaTypeName, typeName); 987bool? emitDefaultValueFromAnnotation = ImportEmitDefaultValue(element.Annotation, typeName); 1016_dataContractSet.SetSurrogateData(dataMember, ImportSurrogateData(ImportAnnotation(element.Annotation, surrogateDataAnnotationName), surrogateDataAnnotationName.Name, surrogateDataAnnotationName.Namespace)); 1212string? valueInnerText = GetInnerText(typeName, ImportAnnotation(enumFacet.Annotation, SchemaExporter.EnumerationValueAnnotationName)); 1242if (type.Annotation == null || type.Annotation.Items == null) 1244foreach (XmlSchemaObject schemaObject in type.Annotation.Items) 1264if (type.Annotation == null || type.Annotation.Items == null) 1266foreach (XmlSchemaObject schemaObject in type.Annotation.Items)
System.Private.Xml (40)
System\Xml\Schema\Inference\Infer.cs (1)
2386newElement.Annotation = copyElement.Annotation;
System\Xml\Schema\Preprocessor.cs (1)
2165annotation = annotated.Annotation;
System\Xml\Schema\SchemaCollectionpreProcessor.cs (5)
1783if (annotated.Annotation != null) 1785annotated.Annotation.Parent = schemaObject; 1786for (int i = 0; i < annotated.Annotation.Items.Count; ++i) 1788annotated.Annotation.Items[i].Parent = annotated.Annotation; //Can be documentation or appInfo
System\Xml\Schema\XmlSchemaAnyAttribute.cs (2)
85anyAttribute.Annotation = o1.Annotation; 103anyAttribute.Annotation = o1.Annotation;
System\Xml\Serialization\SchemaObjectWriter.cs (27)
328Write5_XmlSchemaAnnotation((XmlSchemaAnnotation?)o.@Annotation); 564Write5_XmlSchemaAnnotation((XmlSchemaAnnotation?)o.@Annotation); 612Write5_XmlSchemaAnnotation((XmlSchemaAnnotation?)o.@Annotation); 628Write5_XmlSchemaAnnotation((XmlSchemaAnnotation?)o.@Annotation); 643Write5_XmlSchemaAnnotation((XmlSchemaAnnotation?)o.@Annotation); 725Write5_XmlSchemaAnnotation((XmlSchemaAnnotation?)o.@Annotation); 750Write5_XmlSchemaAnnotation((XmlSchemaAnnotation?)o.@Annotation); 768Write5_XmlSchemaAnnotation((XmlSchemaAnnotation?)o.@Annotation); 782Write5_XmlSchemaAnnotation((XmlSchemaAnnotation?)o.@Annotation); 817Write5_XmlSchemaAnnotation((XmlSchemaAnnotation?)o.@Annotation); 854Write5_XmlSchemaAnnotation((XmlSchemaAnnotation?)o.@Annotation); 877Write5_XmlSchemaAnnotation((XmlSchemaAnnotation?)o.@Annotation); 893Write5_XmlSchemaAnnotation((XmlSchemaAnnotation?)o.@Annotation); 909Write5_XmlSchemaAnnotation((XmlSchemaAnnotation?)o.@Annotation); 932Write5_XmlSchemaAnnotation((XmlSchemaAnnotation?)o.@Annotation); 963Write5_XmlSchemaAnnotation((XmlSchemaAnnotation?)o.@Annotation); 1016Write5_XmlSchemaAnnotation(o.Annotation); 1036Write5_XmlSchemaAnnotation((XmlSchemaAnnotation?)o.@Annotation); 1079Write5_XmlSchemaAnnotation((XmlSchemaAnnotation?)o.@Annotation); 1093Write5_XmlSchemaAnnotation((XmlSchemaAnnotation?)o.@Annotation); 1116Write5_XmlSchemaAnnotation((XmlSchemaAnnotation?)o.@Annotation); 1138Write5_XmlSchemaAnnotation((XmlSchemaAnnotation?)o.@Annotation); 1155Write5_XmlSchemaAnnotation((XmlSchemaAnnotation?)o.@Annotation); 1168Write5_XmlSchemaAnnotation((XmlSchemaAnnotation?)o.@Annotation); 1214Write5_XmlSchemaAnnotation((XmlSchemaAnnotation?)o.@Annotation); 1231Write5_XmlSchemaAnnotation((XmlSchemaAnnotation?)o.@Annotation); 1261Write5_XmlSchemaAnnotation((XmlSchemaAnnotation?)o.@Annotation);
System\Xml\Serialization\XmlSchemaImporter.cs (4)
1511if (type.Annotation == null) 1513if (type.Annotation.Items == null || type.Annotation.Items.Count == 0) 1516foreach (XmlSchemaObject o in type.Annotation.Items)
System.Runtime.Serialization.Schema (1)
System\Runtime\Serialization\Schema\CodeExporter.cs (1)
1307? XsdDataContractImporter.ImportActualType(xmlDataContract.XsdType?.Annotation, xmlDataContract.XmlName, xmlDataContract.XmlName)
System.Web.Services.Description (39)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (39)
2444Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 2500Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 2574Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 2648Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 2724Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 2774Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 2813Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 2862Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 2913Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 2968Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3008Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3102Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3144Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3186Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3228Write11_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); 3312Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3354Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3396Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3438Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3480Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3522Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3564Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3620Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3706Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3802Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3851Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3912Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3953Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 3993Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 4041Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 4110Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 4162Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 4242Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 4321Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 4373Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 4486Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 4549Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false); 4588Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAnnotation)o.@Annotation), false, false);