5 instantiations of XmlSchemaAnnotation
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\SchemaExporter.cs (2)
805
XmlSchemaAnnotation annotation = new
XmlSchemaAnnotation
();
827
XmlSchemaAnnotation annotation = new
XmlSchemaAnnotation
();
System.Private.Xml (2)
System\Xml\Schema\XsdBuilder.cs (1)
2256
builder._xso = builder._annotation = new
XmlSchemaAnnotation
();
System\Xml\Serialization\XmlSchemaExporter.cs (1)
1187
XmlSchemaAnnotation annotation = new
XmlSchemaAnnotation
();
System.Web.Services.Description (1)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (1)
8733
o = new global::System.Xml.Schema.
XmlSchemaAnnotation
();
128 references to XmlSchemaAnnotation
netstandard (1)
netstandard.cs (1)
2300
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.
XmlSchemaAnnotation
))]
System.Data.Common (4)
System\Data\XMLSchema.cs (4)
185
if (item is
XmlSchemaAnnotation
)
187
_annotations!.Add((
XmlSchemaAnnotation
)item);
798
foreach (
XmlSchemaAnnotation
annotation in _annotations)
861
private void HandleRelations(
XmlSchemaAnnotation
ann, bool fNested)
System.Private.DataContractSerialization (15)
System\Runtime\Serialization\SchemaExporter.cs (4)
803
private
XmlSchemaAnnotation
GetSchemaAnnotation(XmlQualifiedName annotationQualifiedName, string innerText, XmlSchema schema)
805
XmlSchemaAnnotation
annotation = new XmlSchemaAnnotation();
813
private static
XmlSchemaAnnotation
? GetSchemaAnnotation(params XmlNode?[]? nodes)
827
XmlSchemaAnnotation
annotation = new XmlSchemaAnnotation();
System\Runtime\Serialization\SchemaImporter.cs (11)
622
private DataContract? ImportType(XmlQualifiedName typeName, XmlSchemaParticle? rootParticle, XmlSchemaObjectCollection attributes, XmlSchemaAnyAttribute? anyAttribute, XmlQualifiedName? baseTypeName,
XmlSchemaAnnotation
? annotation)
653
private ClassDataContract ImportClass(XmlQualifiedName typeName, XmlSchemaSequence rootSequence, XmlQualifiedName? baseTypeName,
XmlSchemaAnnotation
? annotation, bool isReference)
804
private static bool IsValueType(XmlQualifiedName typeName,
XmlSchemaAnnotation
? annotation)
823
private ClassDataContract ImportISerializable(XmlQualifiedName typeName, XmlSchemaSequence rootSequence, XmlQualifiedName? baseTypeName, XmlSchemaObjectCollection attributes,
XmlSchemaAnnotation
? annotation)
1021
private static bool? ImportEmitDefaultValue(
XmlSchemaAnnotation
? annotation, XmlQualifiedName typeName)
1032
internal static XmlQualifiedName ImportActualType(
XmlSchemaAnnotation
? annotation, XmlQualifiedName defaultTypeName, XmlQualifiedName typeName)
1049
private CollectionDataContract ImportCollection(XmlQualifiedName typeName, XmlSchemaSequence rootSequence,
XmlSchemaAnnotation
? annotation, bool isReference)
1151
private static bool IsDictionary(XmlQualifiedName typeName,
XmlSchemaAnnotation
? annotation)
1170
private EnumDataContract? ImportFlagsEnum(XmlQualifiedName typeName, XmlSchemaSimpleTypeList list,
XmlSchemaAnnotation
? annotation)
1193
private EnumDataContract ImportEnum(XmlQualifiedName typeName, XmlSchemaSimpleTypeRestriction restriction, bool isFlags,
XmlSchemaAnnotation
? annotation)
1426
private static XmlElement? ImportAnnotation(
XmlSchemaAnnotation
? annotation, XmlQualifiedName annotationQualifiedName)
System.Private.Xml (55)
System\Xml\Schema\Preprocessor.cs (4)
715
if (!(redefine.Items[j] is
XmlSchemaAnnotation
))
767
else if (schemaItems[i] is
XmlSchemaAnnotation
schemaAnnotation)
2162
XmlSchemaAnnotation
? annotation;
2174
private void PreprocessAnnotation(
XmlSchemaAnnotation
annotation)
System\Xml\Schema\SchemaCollectionpreProcessor.cs (2)
490
if (!(redefine.Items[j] is
XmlSchemaAnnotation
))
574
else if (!(schema.Items[i] is
XmlSchemaAnnotation
))
System\Xml\Schema\XmlSchema.cs (2)
288
[XmlElement("annotation", typeof(
XmlSchemaAnnotation
)),
516
internal override void AddAnnotation(
XmlSchemaAnnotation
annotation)
System\Xml\Schema\XmlSchemaAnnotated.cs (4)
12
private
XmlSchemaAnnotation
? _annotation;
22
[XmlElement("annotation", typeof(
XmlSchemaAnnotation
))]
23
public
XmlSchemaAnnotation
? Annotation
47
internal override void AddAnnotation(
XmlSchemaAnnotation
annotation)
System\Xml\Schema\XmlSchemaImport.cs (4)
11
private
XmlSchemaAnnotation
? _annotation;
25
[XmlElement("annotation", typeof(
XmlSchemaAnnotation
))]
26
public
XmlSchemaAnnotation
? Annotation
32
internal override void AddAnnotation(
XmlSchemaAnnotation
annotation)
System\Xml\Schema\XmlSchemaInclude.cs (4)
10
private
XmlSchemaAnnotation
? _annotation;
17
[XmlElement("annotation", typeof(
XmlSchemaAnnotation
))]
18
public
XmlSchemaAnnotation
? Annotation
24
internal override void AddAnnotation(
XmlSchemaAnnotation
annotation)
System\Xml\Schema\XmlSchemaObject.cs (1)
67
internal virtual void AddAnnotation(
XmlSchemaAnnotation
annotation) { }
System\Xml\Schema\XmlSchemaRedefine.cs (2)
20
[XmlElement("annotation", typeof(
XmlSchemaAnnotation
)),
48
internal override void AddAnnotation(
XmlSchemaAnnotation
annotation)
System\Xml\Schema\XsdBuilder.cs (2)
666
private
XmlSchemaAnnotation
? _annotation;
982
_annotation = (
XmlSchemaAnnotation
)container;
System\Xml\Serialization\SchemaObjectWriter.cs (29)
328
Write5_XmlSchemaAnnotation((
XmlSchemaAnnotation
?)o.@Annotation);
363
else if (t == typeof(
XmlSchemaAnnotation
))
365
Write5_XmlSchemaAnnotation((
XmlSchemaAnnotation
)o);
490
private void Write5_XmlSchemaAnnotation(
XmlSchemaAnnotation
? o)
564
Write5_XmlSchemaAnnotation((
XmlSchemaAnnotation
?)o.@Annotation);
612
Write5_XmlSchemaAnnotation((
XmlSchemaAnnotation
?)o.@Annotation);
628
Write5_XmlSchemaAnnotation((
XmlSchemaAnnotation
?)o.@Annotation);
643
Write5_XmlSchemaAnnotation((
XmlSchemaAnnotation
?)o.@Annotation);
725
Write5_XmlSchemaAnnotation((
XmlSchemaAnnotation
?)o.@Annotation);
750
Write5_XmlSchemaAnnotation((
XmlSchemaAnnotation
?)o.@Annotation);
768
Write5_XmlSchemaAnnotation((
XmlSchemaAnnotation
?)o.@Annotation);
782
Write5_XmlSchemaAnnotation((
XmlSchemaAnnotation
?)o.@Annotation);
817
Write5_XmlSchemaAnnotation((
XmlSchemaAnnotation
?)o.@Annotation);
854
Write5_XmlSchemaAnnotation((
XmlSchemaAnnotation
?)o.@Annotation);
877
Write5_XmlSchemaAnnotation((
XmlSchemaAnnotation
?)o.@Annotation);
893
Write5_XmlSchemaAnnotation((
XmlSchemaAnnotation
?)o.@Annotation);
909
Write5_XmlSchemaAnnotation((
XmlSchemaAnnotation
?)o.@Annotation);
932
Write5_XmlSchemaAnnotation((
XmlSchemaAnnotation
?)o.@Annotation);
963
Write5_XmlSchemaAnnotation((
XmlSchemaAnnotation
?)o.@Annotation);
1036
Write5_XmlSchemaAnnotation((
XmlSchemaAnnotation
?)o.@Annotation);
1079
Write5_XmlSchemaAnnotation((
XmlSchemaAnnotation
?)o.@Annotation);
1093
Write5_XmlSchemaAnnotation((
XmlSchemaAnnotation
?)o.@Annotation);
1116
Write5_XmlSchemaAnnotation((
XmlSchemaAnnotation
?)o.@Annotation);
1138
Write5_XmlSchemaAnnotation((
XmlSchemaAnnotation
?)o.@Annotation);
1155
Write5_XmlSchemaAnnotation((
XmlSchemaAnnotation
?)o.@Annotation);
1168
Write5_XmlSchemaAnnotation((
XmlSchemaAnnotation
?)o.@Annotation);
1214
Write5_XmlSchemaAnnotation((
XmlSchemaAnnotation
?)o.@Annotation);
1231
Write5_XmlSchemaAnnotation((
XmlSchemaAnnotation
?)o.@Annotation);
1261
Write5_XmlSchemaAnnotation((
XmlSchemaAnnotation
?)o.@Annotation);
System\Xml\Serialization\XmlSchemaExporter.cs (1)
1187
XmlSchemaAnnotation
annotation = new XmlSchemaAnnotation();
System.Runtime.Serialization.Schema (2)
System\Runtime\Serialization\Schema\XsdDataContractImporter.cs (2)
364
internal static XmlQualifiedName ImportActualType(
XmlSchemaAnnotation
? annotation, XmlQualifiedName defaultTypeName, XmlQualifiedName typeName)
379
private static XmlElement? ImportAnnotation(
XmlSchemaAnnotation
? annotation, XmlQualifiedName annotationQualifiedName)
System.Web.Services.Description (49)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (49)
2225
else if (ai is global::System.Xml.Schema.
XmlSchemaAnnotation
) {
2226
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)ai), false, false);
2240
private void Write11_XmlSchemaAnnotation(string n, string ns, global::System.Xml.Schema.
XmlSchemaAnnotation
o, bool isNullable, bool needType) {
2251
if (t == typeof(global::System.Xml.Schema.
XmlSchemaAnnotation
)) {
2444
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
2500
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
2574
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
2648
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
2724
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
2774
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
2813
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
2862
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
2913
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
2968
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
3008
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
3102
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
3144
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
3186
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
3228
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);
3312
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
3354
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
3396
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
3438
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
3480
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
3522
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
3564
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
3620
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
3706
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
3802
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
3851
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
3912
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
3953
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
3993
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
4041
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
4110
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
4162
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
4242
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
4321
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
4373
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
4486
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
4549
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
4588
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
4649
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
4689
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)o.@Annotation), false, false);
4746
else if (ai is global::System.Xml.Schema.
XmlSchemaAnnotation
) {
4747
Write11_XmlSchemaAnnotation(@"annotation", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaAnnotation
)ai), false, false);
8710
private global::System.Xml.Schema.
XmlSchemaAnnotation
Read11_XmlSchemaAnnotation(bool isNullable, bool checkType) {
8732
global::System.Xml.Schema.
XmlSchemaAnnotation
o;
System.Xml (1)
System.Xml.cs (1)
25
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.
XmlSchemaAnnotation
))]
System.Xml.ReaderWriter (1)
artifacts\obj\System.Xml.ReaderWriter\Debug\net10.0\System.Xml.ReaderWriter.Forwards.cs (1)
24
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.
XmlSchemaAnnotation
))]