1 write to _getSchemaMethod
dotnet-svcutil-lib (1)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Mappings.cs (1)
1128
_getSchemaMethod
= getSchemaMethod;
15 references to _getSchemaMethod
dotnet-svcutil-lib (15)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Mappings.cs (15)
1163
if (
_getSchemaMethod
== null)
1165
if (_needSchema && typeof(XmlSchemaType).IsAssignableFrom(
_getSchemaMethod
.ReturnType))
1254
if (
_getSchemaMethod
== null)
1256
if (typeof(XmlSchemaType).IsAssignableFrom(
_getSchemaMethod
.ReturnType))
1309
throw new InvalidOperationException(string.Format(ResXml.XmlSerializableRootDupName,
_getSchemaMethod
.DeclaringType.FullName, e.Name, elementNs));
1342
if (
_getSchemaMethod
!= null)
1347
object typeInfo =
_getSchemaMethod
.Invoke(null, new object[] { _schemas });
1352
if (typeof(XmlSchemaType).IsAssignableFrom(
_getSchemaMethod
.ReturnType))
1358
else if (typeof(XmlQualifiedName).IsAssignableFrom(
_getSchemaMethod
.ReturnType))
1363
throw new InvalidOperationException(string.Format(ResXml.XmlGetSchemaEmptyTypeName, _type.FullName,
_getSchemaMethod
.Name));
1368
throw new InvalidOperationException(string.Format(ResXml.XmlGetSchemaMethodReturnType, _type.Name,
_getSchemaMethod
.Name, typeof(XmlSchemaProviderAttribute).Name, typeof(XmlQualifiedName).FullName));
1395
throw new InvalidOperationException(string.Format(ResXml.XmlGetSchemaInclude, _xsiType.Namespace,
_getSchemaMethod
.DeclaringType.FullName,
_getSchemaMethod
.Name));
1405
throw new InvalidOperationException(string.Format(ResXml.XmlGetSchemaTypeMissing,
_getSchemaMethod
.DeclaringType.FullName,
_getSchemaMethod
.Name, _xsiType.Name, _xsiType.Namespace));