7 references to MethodName
System.Runtime.Serialization (1)
System\Runtime\Serialization\SchemaExporter.cs (1)
625
string methodName = provider.
MethodName
;
System.Xml (6)
System\Xml\Serialization\XmlReflectionImporter.cs (6)
428
else if (provider.
MethodName
== null) {
431
if (!CodeGenerator.IsValidLanguageIndependentIdentifier(provider.
MethodName
))
432
throw new ArgumentException(Res.GetString(Res.XmlGetSchemaMethodName, provider.
MethodName
), "MethodName");
434
MethodInfo getMethod = getMethod = type.GetMethod(provider.
MethodName
, /* BindingFlags.DeclaredOnly | */ BindingFlags.Static | BindingFlags.Public, null, new Type[] {typeof(XmlSchemaSet)}, null);
436
throw new InvalidOperationException(Res.GetString(Res.XmlGetSchemaMethodMissing, provider.
MethodName
, typeof(XmlSchemaSet).Name, type.FullName));
439
throw new InvalidOperationException(Res.GetString(Res.XmlGetSchemaMethodReturnType, type.Name, provider.
MethodName
, typeof(XmlSchemaProviderAttribute).Name, typeof(XmlQualifiedName).FullName, typeof(XmlSchemaType).FullName));