30 references to GetMethod
dotnet-svcutil-lib (30)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CollectionDataContract.cs (3)
1234
addMethod = type.
GetMethod
(Globals.AddMethodName, BindingFlags.Instance | BindingFlags.Public, addMethodTypeArray);
1258
addMethod = type.
GetMethod
(Globals.AddMethodName, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, addMethodTypeArray);
1265
getEnumeratorMethod = type.
GetMethod
(Globals.GetEnumeratorMethodName, BindingFlags.Instance | BindingFlags.Public, Array.Empty<Type>());
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (2)
1238
MethodInfo method = UnderlyingType.
GetMethod
(Globals.ParseMethodName, BindingFlags.Public | BindingFlags.Static, new Type[] { typeof(string) });
2110
MethodInfo method = type.
GetMethod
(methodName, BindingFlags.Static | BindingFlags.NonPublic | BindingFlags.Public, Array.Empty<Type>());
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\PrimitiveDataContract.cs (4)
100
_helper.XmlFormatWriterMethod = typeof(XmlWriterDelegator).
GetMethod
(WriteMethodName, Globals.ScanAllMembers, new Type[] { UnderlyingType, typeof(XmlDictionaryString), typeof(XmlDictionaryString) });
102
_helper.XmlFormatWriterMethod = typeof(XmlObjectSerializerWriteContext).
GetMethod
(WriteMethodName, Globals.ScanAllMembers, new Type[] { typeof(XmlWriterDelegator), UnderlyingType, typeof(XmlDictionaryString), typeof(XmlDictionaryString) });
120
_helper.XmlFormatContentWriterMethod = typeof(XmlWriterDelegator).
GetMethod
(WriteMethodName, Globals.ScanAllMembers, new Type[] { UnderlyingType });
122
_helper.XmlFormatContentWriterMethod = typeof(XmlObjectSerializerWriteContext).
GetMethod
(WriteMethodName, Globals.ScanAllMembers, new Type[] { typeof(XmlWriterDelegator), UnderlyingType });
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaExporter.cs (1)
58
MethodInfo getMethod = clrType.
GetMethod
(methodName, /*BindingFlags.DeclaredOnly |*/ BindingFlags.Static | BindingFlags.NonPublic | BindingFlags.Public, new Type[] { typeof(XmlSchemaSet) });
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlDataContract.cs (1)
425
MethodInfo XName_op_Implicit = xName.
GetMethod
(
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlFormatGeneratorStatics.cs (16)
33
s_writeStartElementMethod2 = typeof(XmlWriterDelegator).
GetMethod
("WriteStartElement", Globals.ScanAllMembers, new Type[] { typeof(XmlDictionaryString), typeof(XmlDictionaryString) });
49
s_writeStartElementMethod3 = typeof(XmlWriterDelegator).
GetMethod
("WriteStartElement", Globals.ScanAllMembers, new Type[] { typeof(string), typeof(XmlDictionaryString), typeof(XmlDictionaryString) });
65
s_writeEndElementMethod = typeof(XmlWriterDelegator).
GetMethod
("WriteEndElement", Globals.ScanAllMembers, Array.Empty<Type>());
81
s_writeNamespaceDeclMethod = typeof(XmlWriterDelegator).
GetMethod
("WriteNamespaceDecl", Globals.ScanAllMembers, new Type[] { typeof(XmlDictionaryString) });
159
s_isStartElementMethod2 = typeof(XmlReaderDelegator).
GetMethod
("IsStartElement", Globals.ScanAllMembers, new Type[] { typeof(XmlDictionaryString), typeof(XmlDictionaryString) });
175
s_isStartElementMethod0 = typeof(XmlReaderDelegator).
GetMethod
("IsStartElement", Globals.ScanAllMembers, Array.Empty<Type>());
191
s_getUninitializedObjectMethod = typeof(XmlFormatReaderGenerator).
GetMethod
("UnsafeGetUninitializedObject", Globals.ScanAllMembers, new Type[] { typeof(int) });
268
s_storeCollectionMemberInfoMethod = typeof(XmlObjectSerializerReadContext).
GetMethod
("StoreCollectionMemberInfo", Globals.ScanAllMembers, new Type[] { typeof(object) });
348
s_internalDeserializeMethod = typeof(XmlObjectSerializerReadContext).
GetMethod
("InternalDeserialize", Globals.ScanAllMembers, new Type[] { typeof(XmlReaderDelegator), typeof(int), typeof(RuntimeTypeHandle), typeof(string), typeof(string) });
444
s_readIfNullOrRefMethod = typeof(XmlObjectSerializerReadContext).
GetMethod
("ReadIfNullOrRef", Globals.ScanAllMembers, new Type[] { typeof(XmlReaderDelegator), typeof(Type), typeof(bool) });
637
s_createSerializationExceptionMethod = typeof(XmlObjectSerializerReadContext).
GetMethod
("CreateSerializationException", Globals.ScanAllMembers, new Type[] { typeof(string) });
653
s_createUnexpectedStateExceptionMethod = typeof(XmlObjectSerializerReadContext).
GetMethod
("CreateUnexpectedStateException", Globals.ScanAllMembers, new Type[] { typeof(XmlNodeType), typeof(XmlReaderDelegator) });
701
s_writeNullMethod = typeof(XmlObjectSerializerWriteContext).
GetMethod
("WriteNull", Globals.ScanAllMembers, new Type[] { typeof(XmlWriterDelegator), typeof(Type), typeof(bool) });
733
s_incrementCollectionCountMethod = typeof(XmlObjectSerializerWriteContext).
GetMethod
("IncrementCollectionCount", Globals.ScanAllMembers, new Type[] { typeof(XmlWriterDelegator), typeof(ICollection) });
831
s_isMemberTypeSameAsMemberValue = typeof(XmlObjectSerializerWriteContext).
GetMethod
("IsMemberTypeSameAsMemberValue", Globals.ScanAllMembers, new Type[] { typeof(object), typeof(Type) });
1036
s_throwInvalidDataContractExceptionMethod = typeof(DataContract).
GetMethod
("ThrowInvalidDataContractException", Globals.ScanAllMembers, new Type[] { typeof(string), typeof(Type) });
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlFormatWriterGenerator.cs (3)
378
MethodInfo moveNextMethod = enumeratorType.
GetMethod
(Globals.MoveNextMethodName, BindingFlags.Instance | BindingFlags.Public, Array.Empty<Type>());
379
MethodInfo getCurrentMethod = enumeratorType.
GetMethod
(Globals.GetCurrentMethodName, BindingFlags.Instance | BindingFlags.Public, Array.Empty<Type>());
545
_ilg.Call(typeof(XmlWriterDelegator).
GetMethod
(writeArrayMethod, Globals.ScanAllMembers, new Type[] { type, typeof(XmlDictionaryString), typeof(XmlDictionaryString) }));