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