13 references to XmlSchemaProviderAttribute
dotnet-svcutil-lib (13)
CodeDomFixup\ArrayOfXElementTypeHelper.cs (1)
137CodeAttributeDeclaration xmlSchemaProviderAttribute = new CodeAttributeDeclaration(new CodeTypeReference(typeof(Microsoft.Xml.Serialization.XmlSchemaProviderAttribute)),
FrameworkFork\Microsoft.Xml\Xml\Serialization\Mappings.cs (1)
1368throw new InvalidOperationException(string.Format(ResXml.XmlGetSchemaMethodReturnType, _type.Name, _getSchemaMethod.Name, typeof(XmlSchemaProviderAttribute).Name, typeof(XmlQualifiedName).FullName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (8)
455throw new InvalidOperationException(string.Format(ResXml.XmlSerializableAttributes, model.TypeDesc.FullName, typeof(XmlSchemaProviderAttribute).Name)); 477internal static MethodInfo GetMethodFromSchemaProvider(XmlSchemaProviderAttribute provider, Type type) 496throw new InvalidOperationException(string.Format(ResXml.XmlGetSchemaMethodReturnType, type.Name, provider.MethodName, typeof(XmlSchemaProviderAttribute).Name, typeof(XmlQualifiedName).FullName, typeof(XmlSchemaType).FullName)); 517List<XmlSchemaProviderAttribute> attrs = new List<XmlSchemaProviderAttribute>(type.GetTypeInfo().GetCustomAttributes<XmlSchemaProviderAttribute>(false)); 522XmlSchemaProviderAttribute provider = (XmlSchemaProviderAttribute)attrs[0];
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\Globals.cs (1)
517s_typeOfXmlSchemaProviderAttribute = typeof(XmlSchemaProviderAttribute);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaExporter.cs (2)
43XmlSchemaProviderAttribute provider = (XmlSchemaProviderAttribute)attrs[0];