9 references to MethodName
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\SchemaExporter.cs (1)
623
string? methodName = provider.
MethodName
;
System.Private.Xml (8)
System\Xml\Serialization\XmlReflectionImporter.cs (8)
494
ArgumentNullException.ThrowIfNull(provider.
MethodName
, nameof(provider.
MethodName
));
495
if (!CSharpHelpers.IsValidLanguageIndependentIdentifier(provider.
MethodName
))
496
throw new ArgumentException(SR.Format(SR.XmlGetSchemaMethodName, provider.
MethodName
), nameof(provider.
MethodName
));
498
MethodInfo? getMethod = getMethod = type.GetMethod(provider.
MethodName
, /* BindingFlags.DeclaredOnly | */ BindingFlags.Static | BindingFlags.Public, new Type[] { typeof(XmlSchemaSet) });
500
throw new InvalidOperationException(SR.Format(SR.XmlGetSchemaMethodMissing, provider.
MethodName
, nameof(XmlSchemaSet), type.FullName));
503
throw new InvalidOperationException(SR.Format(SR.XmlGetSchemaMethodReturnType, type.Name, provider.
MethodName
, nameof(XmlSchemaProviderAttribute), typeof(XmlQualifiedName).FullName, typeof(XmlSchemaType).FullName));