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