363 references to GetMethod
Aspire.Hosting.Tests (1)
DebugSupportExtensionsTests.cs (1)
69var inspectionOverload = typeof(DebugSupportExtensions).GetMethod(
Binding.UDS.IntegrationTests (2)
ServiceHelper.cs (2)
20var configureServicesMethod = startupType.GetMethod("ConfigureServices", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, new Type[] { typeof(IServiceCollection) }); 21var configureMethod = startupType.GetMethod("Configure", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, new Type[] { typeof(IHost) });
ConfigurationSchemaGenerator (1)
ConfigSchemaEmitter.cs (1)
372.GetMethod("GetDocumentationComment", BindingFlags.Public | BindingFlags.Static, [typeof(ISymbol), typeof(Compilation), typeof(CultureInfo), typeof(bool), typeof(bool), typeof(CancellationToken)])!;
ILCompiler.Compiler (1)
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\IntrinsicId.cs (1)
98/// <item><see cref="System.Type.GetMethod(string, System.Reflection.BindingFlags, System.Type[])"/></item>
illink (1)
Microsoft.AspNetCore.Http.Extensions (31)
RequestDelegateFactory.cs (5)
55private static readonly MethodInfo GetHeaderSplitMethod = typeof(ParsingHelpers).GetMethod(nameof(ParsingHelpers.GetHeaderSplit), BindingFlags.Public | BindingFlags.Static, [typeof(IHeaderDictionary), typeof(string)])!; 56private static readonly MethodInfo GetRequiredServiceMethod = typeof(ServiceProviderServiceExtensions).GetMethod(nameof(ServiceProviderServiceExtensions.GetRequiredService), BindingFlags.Public | BindingFlags.Static, new Type[] { typeof(IServiceProvider) })!; 57private static readonly MethodInfo GetServiceMethod = typeof(ServiceProviderServiceExtensions).GetMethod(nameof(ServiceProviderServiceExtensions.GetService), BindingFlags.Public | BindingFlags.Static, new Type[] { typeof(IServiceProvider) })!; 58private static readonly MethodInfo GetRequiredKeyedServiceMethod = typeof(ServiceProviderKeyedServiceExtensions).GetMethod(nameof(ServiceProviderKeyedServiceExtensions.GetRequiredKeyedService), BindingFlags.Public | BindingFlags.Static, new Type[] { typeof(IServiceProvider), typeof(object) })!; 59private static readonly MethodInfo GetKeyedServiceMethod = typeof(ServiceProviderKeyedServiceExtensions).GetMethod(nameof(ServiceProviderKeyedServiceExtensions.GetKeyedService), BindingFlags.Public | BindingFlags.Static, new Type[] { typeof(IServiceProvider), typeof(object) })!;
src\aspnetcore\src\Shared\ObjectMethodExecutor\AwaitableInfo.cs (4)
17private static readonly MethodInfo INotifyCompletion_OnCompleted = typeof(INotifyCompletion).GetMethod(nameof(INotifyCompletion.OnCompleted), Everything, new[] { typeof(Action) })!; 18private static readonly MethodInfo ICriticalNotifyCompletion_UnsafeOnCompleted = typeof(ICriticalNotifyCompletion).GetMethod(nameof(ICriticalNotifyCompletion.UnsafeOnCompleted), Everything, new[] { typeof(Action) })!; 54var getAwaiterMethod = type.GetMethod("GetAwaiter", Everything, Type.EmptyTypes); 93var getResultMethod = awaiterType.GetMethod("GetResult", Everything, Type.EmptyTypes);
src\aspnetcore\src\Shared\ParameterBindingMethodCache.cs (22)
27private static readonly MethodInfo UriTryCreateMethod = typeof(Uri).GetMethod(nameof(Uri.TryCreate), BindingFlags.Public | BindingFlags.Static, new[] { typeof(string), typeof(UriKind), typeof(Uri).MakeByRefType() })!; 446var methodInfo = type.GetMethod(name, BindingFlags.Public | BindingFlags.Static | BindingFlags.FlattenHierarchy, parameterTypes); 458var interfaceMethod = implementedInterface.GetMethod(name, BindingFlags.Public | BindingFlags.Static, parameterTypes); 510methodInfo = typeof(Enum).GetMethod( 538methodInfo = typeof(DateTime).GetMethod( 545methodInfo = typeof(DateTimeOffset).GetMethod( 552methodInfo = typeof(DateOnly).GetMethod( 559methodInfo = typeof(TimeOnly).GetMethod( 575method = typeof(long).GetMethod( 582method = typeof(ulong).GetMethod( 589method = typeof(int).GetMethod( 596method = typeof(uint).GetMethod( 603method = typeof(short).GetMethod( 610method = typeof(ushort).GetMethod( 617method = typeof(byte).GetMethod( 624method = typeof(sbyte).GetMethod( 631method = typeof(double).GetMethod( 640method = typeof(float).GetMethod( 649method = typeof(Half).GetMethod( 658method = typeof(decimal).GetMethod( 667method = typeof(IntPtr).GetMethod( 674method = typeof(BigInteger).GetMethod(
Microsoft.AspNetCore.Mvc.Abstractions (22)
src\aspnetcore\src\Shared\ParameterBindingMethodCache.cs (22)
27private static readonly MethodInfo UriTryCreateMethod = typeof(Uri).GetMethod(nameof(Uri.TryCreate), BindingFlags.Public | BindingFlags.Static, new[] { typeof(string), typeof(UriKind), typeof(Uri).MakeByRefType() })!; 446var methodInfo = type.GetMethod(name, BindingFlags.Public | BindingFlags.Static | BindingFlags.FlattenHierarchy, parameterTypes); 458var interfaceMethod = implementedInterface.GetMethod(name, BindingFlags.Public | BindingFlags.Static, parameterTypes); 510methodInfo = typeof(Enum).GetMethod( 538methodInfo = typeof(DateTime).GetMethod( 545methodInfo = typeof(DateTimeOffset).GetMethod( 552methodInfo = typeof(DateOnly).GetMethod( 559methodInfo = typeof(TimeOnly).GetMethod( 575method = typeof(long).GetMethod( 582method = typeof(ulong).GetMethod( 589method = typeof(int).GetMethod( 596method = typeof(uint).GetMethod( 603method = typeof(short).GetMethod( 610method = typeof(ushort).GetMethod( 617method = typeof(byte).GetMethod( 624method = typeof(sbyte).GetMethod( 631method = typeof(double).GetMethod( 640method = typeof(float).GetMethod( 649method = typeof(Half).GetMethod( 658method = typeof(decimal).GetMethod( 667method = typeof(IntPtr).GetMethod( 674method = typeof(BigInteger).GetMethod(
Microsoft.AspNetCore.Mvc.Core (4)
src\aspnetcore\src\Shared\ObjectMethodExecutor\AwaitableInfo.cs (4)
17private static readonly MethodInfo INotifyCompletion_OnCompleted = typeof(INotifyCompletion).GetMethod(nameof(INotifyCompletion.OnCompleted), Everything, new[] { typeof(Action) })!; 18private static readonly MethodInfo ICriticalNotifyCompletion_UnsafeOnCompleted = typeof(ICriticalNotifyCompletion).GetMethod(nameof(ICriticalNotifyCompletion.UnsafeOnCompleted), Everything, new[] { typeof(Action) })!; 54var getAwaiterMethod = type.GetMethod("GetAwaiter", Everything, Type.EmptyTypes); 93var getResultMethod = awaiterType.GetMethod("GetResult", Everything, Type.EmptyTypes);
Microsoft.AspNetCore.Mvc.Testing (1)
WebApplicationFactory.cs (1)
254var method = this.GetType().GetMethod(nameof(ConfigureWebApplicationBuilder), BindingFlags.NonPublic | BindingFlags.Instance, [typeof(IHostApplicationBuilder)]);
Microsoft.AspNetCore.OpenApi (26)
src\aspnetcore\src\Shared\ObjectMethodExecutor\AwaitableInfo.cs (4)
17private static readonly MethodInfo INotifyCompletion_OnCompleted = typeof(INotifyCompletion).GetMethod(nameof(INotifyCompletion.OnCompleted), Everything, new[] { typeof(Action) })!; 18private static readonly MethodInfo ICriticalNotifyCompletion_UnsafeOnCompleted = typeof(ICriticalNotifyCompletion).GetMethod(nameof(ICriticalNotifyCompletion.UnsafeOnCompleted), Everything, new[] { typeof(Action) })!; 54var getAwaiterMethod = type.GetMethod("GetAwaiter", Everything, Type.EmptyTypes); 93var getResultMethod = awaiterType.GetMethod("GetResult", Everything, Type.EmptyTypes);
src\aspnetcore\src\Shared\ParameterBindingMethodCache.cs (22)
27private static readonly MethodInfo UriTryCreateMethod = typeof(Uri).GetMethod(nameof(Uri.TryCreate), BindingFlags.Public | BindingFlags.Static, new[] { typeof(string), typeof(UriKind), typeof(Uri).MakeByRefType() })!; 446var methodInfo = type.GetMethod(name, BindingFlags.Public | BindingFlags.Static | BindingFlags.FlattenHierarchy, parameterTypes); 458var interfaceMethod = implementedInterface.GetMethod(name, BindingFlags.Public | BindingFlags.Static, parameterTypes); 510methodInfo = typeof(Enum).GetMethod( 538methodInfo = typeof(DateTime).GetMethod( 545methodInfo = typeof(DateTimeOffset).GetMethod( 552methodInfo = typeof(DateOnly).GetMethod( 559methodInfo = typeof(TimeOnly).GetMethod( 575method = typeof(long).GetMethod( 582method = typeof(ulong).GetMethod( 589method = typeof(int).GetMethod( 596method = typeof(uint).GetMethod( 603method = typeof(short).GetMethod( 610method = typeof(ushort).GetMethod( 617method = typeof(byte).GetMethod( 624method = typeof(sbyte).GetMethod( 631method = typeof(double).GetMethod( 640method = typeof(float).GetMethod( 649method = typeof(Half).GetMethod( 658method = typeof(decimal).GetMethod( 667method = typeof(IntPtr).GetMethod( 674method = typeof(BigInteger).GetMethod(
Microsoft.AspNetCore.SignalR.Core (4)
src\aspnetcore\src\Shared\ObjectMethodExecutor\AwaitableInfo.cs (4)
17private static readonly MethodInfo INotifyCompletion_OnCompleted = typeof(INotifyCompletion).GetMethod(nameof(INotifyCompletion.OnCompleted), Everything, new[] { typeof(Action) })!; 18private static readonly MethodInfo ICriticalNotifyCompletion_UnsafeOnCompleted = typeof(ICriticalNotifyCompletion).GetMethod(nameof(ICriticalNotifyCompletion.UnsafeOnCompleted), Everything, new[] { typeof(Action) })!; 54var getAwaiterMethod = type.GetMethod("GetAwaiter", Everything, Type.EmptyTypes); 93var getResultMethod = awaiterType.GetMethod("GetResult", Everything, Type.EmptyTypes);
System.Private.DataContractSerialization (42)
System\Runtime\Serialization\CollectionDataContract.cs (4)
861MethodInfo? getCurrentMethod = enumeratorType.GetMethod(Globals.GetCurrentMethodName, BindingFlags.Instance | BindingFlags.Public, Type.EmptyTypes); 1316addMethod = type.GetMethod(Globals.AddMethodName, BindingFlags.Instance | BindingFlags.Public, addMethodTypeArray); 1344addMethod = type.GetMethod(Globals.AddMethodName, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, addMethodTypeArray); 1349getEnumeratorMethod = type.GetMethod(Globals.GetEnumeratorMethodName, BindingFlags.Instance | BindingFlags.Public, Type.EmptyTypes);
System\Runtime\Serialization\DataContract.cs (2)
1075MethodInfo? method = UnderlyingType.GetMethod(Globals.ParseMethodName, BindingFlags.Public | BindingFlags.Static, new Type[] { typeof(string) }); 2009MethodInfo? method = type.GetMethod(methodName, BindingFlags.Static | BindingFlags.NonPublic | BindingFlags.Public, Type.EmptyTypes);
System\Runtime\Serialization\Json\JsonFormatGeneratorStatics.cs (9)
185s_getUninitializedObjectMethod = typeof(XmlFormatReaderGenerator).GetMethod("UnsafeGetUninitializedObject", Globals.ScanAllMembers, new Type[] { typeof(Type) }); 198s_isStartElementMethod0 = typeof(XmlReaderDelegator).GetMethod("IsStartElement", Globals.ScanAllMembers, Type.EmptyTypes); 210s_isStartElementMethod2 = typeof(XmlReaderDelegator).GetMethod("IsStartElement", Globals.ScanAllMembers, new Type[] { typeof(XmlDictionaryString), typeof(XmlDictionaryString) }); 393s_writeAttributeStringMethod = typeof(XmlWriterDelegator).GetMethod("WriteAttributeString", Globals.ScanAllMembers, new Type[] { typeof(string), typeof(string), typeof(string), typeof(string) }); 405s_writeEndElementMethod = typeof(XmlWriterDelegator).GetMethod("WriteEndElement", Globals.ScanAllMembers, Type.EmptyTypes); 455s_writeStartElementMethod = typeof(XmlWriterDelegator).GetMethod("WriteStartElement", Globals.ScanAllMembers, new Type[] { typeof(XmlDictionaryString), typeof(XmlDictionaryString) }); 468s_writeStartElementStringMethod = typeof(XmlWriterDelegator).GetMethod("WriteStartElement", Globals.ScanAllMembers, new Type[] { typeof(string), typeof(string) }); 481s_parseEnumMethod = typeof(Enum).GetMethod("Parse", BindingFlags.Static | BindingFlags.Public, new Type[] { typeof(Type), typeof(string) }); 494s_getJsonMemberNameMethod = typeof(XmlObjectSerializerReadContextComplexJson).GetMethod("GetJsonMemberName", Globals.ScanAllMembers, new Type[] { typeof(XmlReaderDelegator) });
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (3)
381MethodInfo? moveNextMethod = enumeratorType.GetMethod(Globals.MoveNextMethodName, BindingFlags.Instance | BindingFlags.Public, Type.EmptyTypes); 382MethodInfo? getCurrentMethod = enumeratorType.GetMethod(Globals.GetCurrentMethodName, BindingFlags.Instance | BindingFlags.Public, Type.EmptyTypes); 593MethodInfo writeArrayMethodInfo = typeof(JsonWriterDelegator).GetMethod(
System\Runtime\Serialization\PrimitiveDataContract.cs (4)
70_helper.XmlFormatWriterMethod = typeof(XmlWriterDelegator).GetMethod(WriteMethodName, Globals.ScanAllMembers, new Type[] { UnderlyingType, typeof(XmlDictionaryString), typeof(XmlDictionaryString) })!; 72_helper.XmlFormatWriterMethod = typeof(XmlObjectSerializerWriteContext).GetMethod(WriteMethodName, Globals.ScanAllMembers, new Type[] { typeof(XmlWriterDelegator), UnderlyingType, typeof(XmlDictionaryString), typeof(XmlDictionaryString) })!; 86_helper.XmlFormatContentWriterMethod = typeof(XmlWriterDelegator).GetMethod(WriteMethodName, Globals.ScanAllMembers, new Type[] { UnderlyingType })!; 88_helper.XmlFormatContentWriterMethod = typeof(XmlObjectSerializerWriteContext).GetMethod(WriteMethodName, Globals.ScanAllMembers, new Type[] { typeof(XmlWriterDelegator), UnderlyingType })!;
System\Runtime\Serialization\SchemaExporter.cs (1)
629MethodInfo? getMethod = clrType.GetMethod(methodName, /*BindingFlags.DeclaredOnly |*/ BindingFlags.Static | BindingFlags.NonPublic | BindingFlags.Public, new Type[] { typeof(XmlSchemaSet) });
System\Runtime\Serialization\XmlDataContract.cs (1)
308MethodInfo? XName_op_Implicit = xName.GetMethod(
System\Runtime\Serialization\XmlFormatGeneratorStatics.cs (15)
22s_writeStartElementMethod2 = typeof(XmlWriterDelegator).GetMethod("WriteStartElement", Globals.ScanAllMembers, new Type[] { typeof(XmlDictionaryString), typeof(XmlDictionaryString) }); 36s_writeStartElementMethod3 = typeof(XmlWriterDelegator).GetMethod("WriteStartElement", Globals.ScanAllMembers, new Type[] { typeof(string), typeof(XmlDictionaryString), typeof(XmlDictionaryString) }); 50s_writeEndElementMethod = typeof(XmlWriterDelegator).GetMethod("WriteEndElement", Globals.ScanAllMembers, Type.EmptyTypes); 64s_writeNamespaceDeclMethod = typeof(XmlWriterDelegator).GetMethod("WriteNamespaceDecl", Globals.ScanAllMembers, new Type[] { typeof(XmlDictionaryString) }); 139s_isStartElementMethod2 = typeof(XmlReaderDelegator).GetMethod("IsStartElement", Globals.ScanAllMembers, new Type[] { typeof(XmlDictionaryString), typeof(XmlDictionaryString) }); 153s_isStartElementMethod0 = typeof(XmlReaderDelegator).GetMethod("IsStartElement", Globals.ScanAllMembers, Type.EmptyTypes); 168s_getUninitializedObjectMethod = typeof(XmlFormatReaderGenerator).GetMethod("UnsafeGetUninitializedObject", Globals.ScanAllMembers, new Type[] { typeof(int) })!; 260s_storeCollectionMemberInfoMethod = typeof(XmlObjectSerializerReadContext).GetMethod("StoreCollectionMemberInfo", Globals.ScanAllMembers, new Type[] { typeof(object) }); 274s_resetCollectionMemberInfoMethod = typeof(XmlObjectSerializerReadContext).GetMethod("ResetCollectionMemberInfo", Globals.ScanAllMembers, Type.EmptyTypes); 359s_internalDeserializeMethod = typeof(XmlObjectSerializerReadContext).GetMethod("InternalDeserialize", Globals.ScanAllMembers, new Type[] { typeof(XmlReaderDelegator), typeof(int), typeof(RuntimeTypeHandle), typeof(string), typeof(string) }); 446s_readIfNullOrRefMethod = typeof(XmlObjectSerializerReadContext).GetMethod("ReadIfNullOrRef", Globals.ScanAllMembers, new Type[] { typeof(XmlReaderDelegator), typeof(Type), typeof(bool) }); 658s_createUnexpectedStateExceptionMethod = typeof(XmlObjectSerializerReadContext).GetMethod("CreateUnexpectedStateException", Globals.ScanAllMembers, new Type[] { typeof(XmlNodeType), typeof(XmlReaderDelegator) }); 703s_writeNullMethod = typeof(XmlObjectSerializerWriteContext).GetMethod("WriteNull", Globals.ScanAllMembers, new Type[] { typeof(XmlWriterDelegator), typeof(Type), typeof(bool) }); 731s_incrementCollectionCountMethod = typeof(XmlObjectSerializerWriteContext).GetMethod("IncrementCollectionCount", Globals.ScanAllMembers, new Type[] { typeof(XmlWriterDelegator), typeof(ICollection) }); 1047s_throwInvalidDataContractExceptionMethod = typeof(DataContract).GetMethod("ThrowInvalidDataContractException", Globals.ScanAllMembers, new Type[] { typeof(string), typeof(Type) });
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (3)
460MethodInfo? moveNextMethod = enumeratorType.GetMethod(Globals.MoveNextMethodName, BindingFlags.Instance | BindingFlags.Public, Type.EmptyTypes); 461MethodInfo? getCurrentMethod = enumeratorType.GetMethod(Globals.GetCurrentMethodName, BindingFlags.Instance | BindingFlags.Public, Type.EmptyTypes); 628_ilg.Call(typeof(XmlWriterDelegator).GetMethod(writeArrayMethod, Globals.ScanAllMembers, new Type[] { type, typeof(XmlDictionaryString), typeof(XmlDictionaryString) })!);
System.Private.Xml (223)
System\Xml\Serialization\CodeGenerator.cs (2)
301MethodInfo ICollection_get_Count = typeof(ICollection).GetMethod( 774Call(typeof(Type).GetMethod("GetTypeFromHandle", BindingFlags.Static | BindingFlags.Public, new Type[] { typeof(RuntimeTypeHandle) })!);
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (1)
1324MethodInfo? method = typeof(XmlSerializationReader).GetMethod(methodName, BindingFlags.Static | BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, new Type[] { typeof(string) });
System\Xml\Serialization\SourceInfo.cs (2)
106MethodInfo get_Item = varType.GetMethod( 225MethodInfo Nullable_get_Value = nullableType.GetMethod(
System\Xml\Serialization\Types.cs (1)
1361enumerator = type.GetMethod("System.Collections.IEnumerable.GetEnumerator", BindingFlags.Public | BindingFlags.Instance | BindingFlags.NonPublic, Type.EmptyTypes);
System\Xml\Serialization\XmlReflectionImporter.cs (1)
498MethodInfo? getMethod = getMethod = type.GetMethod(provider.MethodName, /* BindingFlags.DeclaredOnly | */ BindingFlags.Static | BindingFlags.Public, new Type[] { typeof(XmlSchemaSet) });
System\Xml\Serialization\XmlSerializationILGen.cs (4)
342MethodInfo XmlReader_IsStartElement = typeof(XmlReader).GetMethod( 367MethodInfo writerType_writeMethod = CreatedTypes[writerClass].GetMethod( 391MethodInfo readerType_readMethod = CreatedTypes[readerClass].GetMethod( 412MethodInfo Hashtable_Add = typeof(Hashtable).GetMethod(
System\Xml\Serialization\XmlSerializationReaderILGen.cs (141)
239MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 244MethodInfo XmlReader_get_NameTable = typeof(XmlReader).GetMethod( 249MethodInfo XmlNameTable_Add = typeof(XmlNameTable).GetMethod( 296MethodInfo AppContext_TryGetSwitch = typeof(AppContext).GetMethod( 359MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 364MethodInfo XmlReader_IsStartElement = typeof(XmlReader).GetMethod( 405MethodInfo method = typeof(XmlSerializationReader).GetMethod( 475MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 480MethodInfo XmlReader_MoveToContent = typeof(XmlReader).GetMethod( 577MethodInfo XmlSerializationReader_set_IsReturnValue = typeof(XmlSerializationReader).GetMethod( 595MethodInfo XmlReader_MoveToElement = typeof(XmlReader).GetMethod( 610MethodInfo XmlReader_get_IsEmptyElement = typeof(XmlReader).GetMethod( 620MethodInfo XmlReader_Skip = typeof(XmlReader).GetMethod( 635MethodInfo XmlReader_ReadStartElement = typeof(XmlReader).GetMethod( 664MethodInfo XmlSerializationReader_ReadEndElement = typeof(XmlSerializationReader).GetMethod( 724MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 729MethodInfo XmlReader_MoveToContent = typeof(XmlReader).GetMethod( 773MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 778MethodInfo XmlReader_ReadXXXString = typeof(XmlReader).GetMethod( 789MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 794MethodInfo XmlReader_get_Value = typeof(XmlReader).GetMethod( 823MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 828MethodInfo XmlReader_ReadXXXString = typeof(XmlReader).GetMethod( 839MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 844MethodInfo XmlReader_get_Value = typeof(XmlReader).GetMethod( 888MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 893MethodInfo XmlReader_method = typeof(XmlReader).GetMethod( 905MethodInfo XmlSerializationReader_CollapseWhitespace = typeof(XmlSerializationReader).GetMethod( 930ToXXX = typeof(XmlSerializationReader).GetMethod( 938ToXXX = typeof(XmlConvert).GetMethod( 946MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 951MethodInfo XmlReader_ReadXXXString = typeof(XmlReader).GetMethod( 962MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 967MethodInfo XmlReader_get_Value = typeof(XmlReader).GetMethod( 1059MethodInfo Hashtable_Add = typeof(Hashtable).GetMethod( 1121MethodInfo XmlSerializationReader_ToEnum = typeof(XmlSerializationReader).GetMethod( 1164MethodInfo String_op_Equality = typeof(string).GetMethod( 1185MethodInfo XmlSerializationReader_CreateUnknownConstantException = typeof(XmlSerializationReader).GetMethod( 1257MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 1262MethodInfo XmlReader_ReadStartElement = typeof(XmlReader).GetMethod( 1282MethodInfo XmlSerializationReader_CollapseWhitespace = typeof(XmlSerializationReader).GetMethod( 1287MethodInfo XmlReader_ReadString = typeof(XmlReader).GetMethod( 1301MethodInfo XmlSerializationReader_ReadEndElement = typeof(XmlSerializationReader).GetMethod( 1366MethodInfo XmlSerializationReader_ReadNull = typeof(XmlSerializationReader).GetMethod( 1424MethodInfo XmlSerializationReader_GetXsiType = typeof(XmlSerializationReader).GetMethod( 1429MethodInfo XmlSerializationReader_ReadNull = typeof(XmlSerializationReader).GetMethod( 1468MethodInfo XmlSerializationReader_ReadTypedNull = typeof(XmlSerializationReader).GetMethod( 1516MethodInfo XmlSerializationReader_ReadTypedPrimitive = typeof(XmlSerializationReader).GetMethod( 1534MethodInfo XmlSerializationReader_ReadTypedPrimitive = typeof(XmlSerializationReader).GetMethod( 1547MethodInfo XmlSerializationReader_CreateUnknownTypeException = typeof(XmlSerializationReader).GetMethod( 1574MethodInfo XmlSerializationReader_CreateAbstractTypeException = typeof(XmlSerializationReader).GetMethod( 1589MethodInfo XmlSerializationReader_set_DecodeName = typeof(XmlSerializationReader).GetMethod( 1688MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 1693MethodInfo XmlReader_MoveToElement = typeof(XmlReader).GetMethod( 1703MethodInfo XmlReader_get_IsEmptyElement = typeof(XmlReader).GetMethod( 1712MethodInfo XmlReader_Skip = typeof(XmlReader).GetMethod( 1726MethodInfo XmlReader_ReadStartElement = typeof(XmlReader).GetMethod( 1742MethodInfo XmlReader_MoveToContent = typeof(XmlReader).GetMethod( 1755MethodInfo XmlSerializationReader_ReadEndElement = typeof(XmlSerializationReader).GetMethod( 1776MethodInfo XmlQualifiedName_get_Name = typeof(XmlQualifiedName).GetMethod( 1781MethodInfo XmlQualifiedName_get_Namespace = typeof(XmlQualifiedName).GetMethod( 1819MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 1824MethodInfo XmlReader_get_LocalName = typeof(XmlReader).GetMethod( 1829MethodInfo XmlReader_get_NamespaceURI = typeof(XmlReader).GetMethod( 1884MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 1889MethodInfo XmlReader_MoveToNextAttribute = typeof(XmlReader).GetMethod( 1943MethodInfo XmlSerializationReader_IsXmlnsAttribute = typeof(XmlSerializationReader).GetMethod( 1948MethodInfo XmlReader_get_Name = typeof(XmlReader).GetMethod( 1953MethodInfo XmlReader_get_LocalName = typeof(XmlReader).GetMethod( 1958MethodInfo XmlReader_get_Value = typeof(XmlReader).GetMethod( 1985MethodInfo Add = xmlnsMember.Mapping.TypeDesc.Type!.GetMethod( 1990MethodInfo String_get_Length = typeof(string).GetMethod( 2018MethodInfo XmlSerializationReader_IsXmlnsAttribute = typeof(XmlSerializationReader).GetMethod( 2023MethodInfo XmlReader_get_Name = typeof(XmlReader).GetMethod( 2039MethodInfo XmlSerializationReader_get_Document = typeof(XmlSerializationReader).GetMethod( 2044MethodInfo XmlDocument_ReadNode = typeof(XmlDocument).GetMethod( 2056MethodInfo XmlSerializationReader_ParseWsdlArrayType = typeof(XmlSerializationReader).GetMethod( 2088MethodInfo elseCallMethod = typeof(XmlSerializationReader).GetMethod( 2150MethodInfo String_Split = typeof(string).GetMethod( 2155MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 2160MethodInfo XmlReader_get_Value = typeof(XmlReader).GetMethod( 2246MethodInfo XmlSerializationReader_CreateReadOnlyCollectionException = typeof(XmlSerializationReader).GetMethod( 2312MethodInfo XmlReader_get_NodeType = typeof(XmlReader).GetMethod( 2317MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 2344MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 2349MethodInfo XmlReader_get_NodeType = typeof(XmlReader).GetMethod( 2400MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 2405MethodInfo XmlReader_ReadString = typeof(XmlReader).GetMethod( 2410MethodInfo XmlSerializationReader_get_Document = typeof(XmlSerializationReader).GetMethod( 2415MethodInfo XmlDocument_CreateTextNode = typeof(XmlDocument).GetMethod( 2442MethodInfo String_Split = typeof(string).GetMethod( 2447MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 2452MethodInfo XmlReader_ReadContentAsString = typeof(XmlReader).GetMethod( 2483MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 2488MethodInfo XmlReader_ReadString = typeof(XmlReader).GetMethod( 2498MethodInfo XmlSerializationReader_CollapseWhitespace = typeof(XmlSerializationReader).GetMethod( 2511MethodInfo XmlSerializationReader_ReadString = typeof(XmlSerializationReader).GetMethod( 2623MethodInfo XmlSerializationReader_get_IsReturnValue = typeof(XmlSerializationReader).GetMethod( 2652MethodInfo XmlSerializationReader_set_IsReturnValue = typeof(XmlSerializationReader).GetMethod( 2752MethodInfo XmlSerializationReader_ShrinkArray = typeof(XmlSerializationReader).GetMethod( 2834MethodInfo XmlSerializationReader_EnsureArrayIndex = typeof(XmlSerializationReader).GetMethod( 2936MethodInfo Add = localA.LocalType.GetMethod( 2970MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 2975MethodInfo XmlReader_get_HasAttributes = typeof(XmlReader).GetMethod( 2980MethodInfo XmlReader_MoveToNextAttribute = typeof(XmlReader).GetMethod( 2985MethodInfo XmlReader_get_Name = typeof(XmlReader).GetMethod( 2990MethodInfo XmlSerializationReader_IsXmlnsAttribute = typeof(XmlSerializationReader).GetMethod( 2995MethodInfo XmlSerializationReader_UnknownNode = typeof(XmlSerializationReader).GetMethod( 3000MethodInfo XmlReader_MoveToElement = typeof(XmlReader).GetMethod( 3050MethodInfo XmlSerializationReader_ReadNull = typeof(XmlSerializationReader).GetMethod( 3091MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 3096MethodInfo XmlReader_get_IsEmptyElement = typeof(XmlReader).GetMethod( 3112MethodInfo XmlReader_Skip = typeof(XmlReader).GetMethod( 3122MethodInfo XmlReader_ReadStartElement = typeof(XmlReader).GetMethod( 3134MethodInfo XmlReader_MoveToContent = typeof(XmlReader).GetMethod( 3145MethodInfo XmlSerializationReader_ReadEndElement = typeof(XmlSerializationReader).GetMethod( 3205MethodInfo XmlSerializationReader_ReadNull = typeof(XmlSerializationReader).GetMethod( 3232MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 3237MethodInfo XmlReader_get_IsEmptyElement = typeof(XmlReader).GetMethod( 3246MethodInfo XmlReader_Skip = typeof(XmlReader).GetMethod( 3264MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 3269MethodInfo XmlReader_get_IsEmptyElement = typeof(XmlReader).GetMethod( 3279MethodInfo XmlReader_Skip = typeof(XmlReader).GetMethod( 3303MethodInfo XmlSerializationReader_ReadElementQualifiedName = typeof(XmlSerializationReader).GetMethod( 3344MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 3349MethodInfo XmlReader_Skip = typeof(XmlReader).GetMethod( 3391MethodInfo XmlSerializationReader_ReadXmlXXX = typeof(XmlSerializationReader).GetMethod( 3409MethodInfo XmlSerializationReader_GetXsiType = typeof(XmlSerializationReader).GetMethod( 3434MethodInfo XmlSerializationReader_ReadSerializable = typeof(XmlSerializationReader).GetMethod( 3507MethodInfo XmlSerializationReader_ReadSerializable = typeof(XmlSerializationReader).GetMethod( 3526MethodInfo XmlSerializationReader_CreateBadDerivationException = typeof(XmlSerializationReader).GetMethod( 3544MethodInfo XmlSerializationReader_CreateMissingIXmlSerializableType = typeof(XmlSerializationReader).GetMethod( 3564MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 3569MethodInfo XmlReader_MoveToContent = typeof(XmlReader).GetMethod( 3589MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 3594MethodInfo XmlReader_get_NodeType = typeof(XmlReader).GetMethod( 3660MethodInfo XmlSerializationReader_CreateInaccessibleConstructorException = typeof(XmlSerializationReader).GetMethod( 3671MethodInfo XmlSerializationReader_CreateCtorHasSecurityException = typeof(XmlSerializationReader).GetMethod( 3723MethodInfo XmlSerializationReader_UnknownNode1 = typeof(XmlSerializationReader).GetMethod( 3728MethodInfo XmlSerializationReader_UnknownNode2 = typeof(XmlSerializationReader).GetMethod( 3811MethodInfo XmlSerializationReader_CreateUnknownNodeException = typeof(XmlSerializationReader).GetMethod(
System\Xml\Serialization\XmlSerializationWriterILGen.cs (71)
113MethodInfo XmlSerializationWriter_WriteXXX = typeof(XmlSerializationWriter).GetMethod( 161MethodInfo XmlConvert_ToString = typeof(XmlConvert).GetMethod( 179MethodInfo FromXXX = typeof(XmlSerializationWriter).GetMethod( 264MethodInfo XmlSerializationWriter_method = typeof(XmlSerializationWriter).GetMethod( 279MethodInfo XmlSerializationWriter_Method = typeof(XmlSerializationWriter).GetMethod( 292MethodInfo XmlSerializationWriter_Method = typeof(XmlSerializationWriter).GetMethod( 312MethodInfo XmlSerializationWriter_WriteEndElement = typeof(XmlSerializationWriter).GetMethod( 322MethodInfo XmlSerializationWriter_WriteEndElement = typeof(XmlSerializationWriter).GetMethod( 365MethodInfo XmlSerializationWriter_WriteStartDocument = typeof(XmlSerializationWriter).GetMethod( 373MethodInfo XmlSerializationWriter_TopLevelElement = typeof(XmlSerializationWriter).GetMethod( 556MethodInfo XmlSerializationWriter_WriteStartDocument = typeof(XmlSerializationWriter).GetMethod( 576MethodInfo XmlSerializationWriter_TopLevelElement = typeof(XmlSerializationWriter).GetMethod( 680MethodInfo XmlSerializationWriter_FromEnum = typeof(XmlSerializationWriter).GetMethod( 700MethodInfo CultureInfo_get_InvariantCulture = typeof(CultureInfo).GetMethod( 705MethodInfo Int64_ToString = typeof(long).GetMethod( 710MethodInfo XmlSerializationWriter_CreateInvalidEnumValueException = typeof(XmlSerializationWriter).GetMethod( 801MethodInfo XmlSerializationWriter_get_Writer = typeof(XmlSerializationWriter).GetMethod( 806MethodInfo XmlWriter_WriteStartElement = typeof(XmlWriter).GetMethod( 816MethodInfo XmlSerializationWriter_WriteXsiType = typeof(XmlSerializationWriter).GetMethod( 831MethodInfo XmlWriter_WriteString = typeof(XmlWriter).GetMethod( 844MethodInfo XmlWriter_WriteEndElement = typeof(XmlWriter).GetMethod( 867MethodInfo XmlSerializationWriter_get_Writer = typeof(XmlSerializationWriter).GetMethod( 872MethodInfo XmlWriter_WriteStartElement = typeof(XmlWriter).GetMethod( 882MethodInfo XmlSerializationWriter_WriteXsiType = typeof(XmlSerializationWriter).GetMethod( 894MethodInfo XmlWriter_WriteEndElement = typeof(XmlWriter).GetMethod( 941MethodInfo XmlSerializationWriter_WriteNullTagLiteral = typeof(XmlSerializationWriter).GetMethod( 959MethodInfo Object_GetType = typeof(object).GetMethod( 978MethodInfo XmlSerializationWriter_WriteTypedPrimitive = typeof(XmlSerializationWriter).GetMethod( 993MethodInfo XmlSerializationWriter_CreateUnknownTypeException = typeof(XmlSerializationWriter).GetMethod( 1011MethodInfo XmlSerializationWriter_set_EscapeName = typeof(XmlSerializationWriter).GetMethod( 1046MethodInfo XmlSerializationWriter_WriteStartElement = typeof(XmlSerializationWriter).GetMethod( 1056MethodInfo XmlSerializationWriter_WriteXsiType = typeof(XmlSerializationWriter).GetMethod( 1174MethodInfo XmlSerializationWriter_get_Writer = typeof(XmlSerializationWriter).GetMethod( 1179MethodInfo XmlWriter_WriteStartAttribute = typeof(XmlWriter).GetMethod( 1225MethodInfo XmlSerializationWriter_get_Writer = typeof(XmlSerializationWriter).GetMethod( 1230MethodInfo XmlWriter_WriteString = typeof(XmlWriter).GetMethod( 1246MethodInfo StringBuilder_Append = typeof(StringBuilder).GetMethod( 1267MethodInfo method = methodType.GetMethod( 1289MethodInfo XmlSerializationWriter_get_Writer = typeof(XmlSerializationWriter).GetMethod( 1294MethodInfo XmlWriter_WriteEndAttribute = typeof(XmlWriter).GetMethod( 1305MethodInfo StringBuilder_get_Length = typeof(StringBuilder).GetMethod( 1325MethodInfo Object_ToString = typeof(object).GetMethod( 1333MethodInfo XmlSerializationWriter_WriteAttribute = typeof(XmlSerializationWriter).GetMethod( 1363MethodInfo XmlSerializationWriter_WriteXmlAttribute = typeof(XmlSerializationWriter).GetMethod( 1453MethodInfo XmlSerializationWriter_CreateInvalidChoiceIdentifierValueException = typeof(XmlSerializationWriter).GetMethod( 1493getEnumeratorMethod = typeIEnumerable.GetMethod( 1504getEnumeratorMethod = typeIEnumerable.GetMethod( 1548MethodInfo IEnumerator_MoveNext = typeof(IEnumerator).GetMethod( 1597MethodInfo XmlSerializationWriter_WriteValue = typeof(XmlSerializationWriter).GetMethod( 1754MethodInfo XmlNode_get_Name = typeof(XmlNode).GetMethod( 1759MethodInfo XmlNode_get_NamespaceURI = typeof(XmlNode).GetMethod( 1767MethodInfo String_op_Equality = typeof(string).GetMethod( 1790MethodInfo XmlSerializationWriter_CreateChoiceIdentifierValueException = typeof(XmlSerializationWriter).GetMethod( 1817MethodInfo XmlSerializationWriter_CreateUnknownAnyElementException = typeof(XmlSerializationWriter).GetMethod( 1824MethodInfo XmlNode_get_Name = typeof(XmlNode).GetMethod( 1829MethodInfo XmlNode_get_NamespaceURI = typeof(XmlNode).GetMethod( 1875MethodInfo XmlSerializationWriter_CreateUnknownTypeException = typeof(XmlSerializationWriter).GetMethod( 1906MethodInfo XmlSerializationWriter_WriteValue = typeof(XmlSerializationWriter).GetMethod( 1918MethodInfo WriteTo = source.Type!.GetMethod( 1923MethodInfo XmlSerializationWriter_get_Writer = typeof(XmlSerializationWriter).GetMethod( 1947MethodInfo Nullable_get_HasValue = element.Mapping.TypeDesc.Type!.GetMethod( 2088MethodInfo XmlSerializationWriter_CreateInvalidAnyTypeException = typeof(XmlSerializationWriter).GetMethod( 2109MethodInfo XmlSerializationWriter_func = typeof(XmlSerializationWriter).GetMethod( 2138MethodInfo String_get_Length = typeof(string).GetMethod( 2180MethodInfo op_Inequality = valueType.GetMethod( 2210MethodInfo XmlSerializationWriter_CreateMismatchChoiceException = typeof(XmlSerializationWriter).GetMethod( 2237MethodInfo XmlSerializationWriter_WriteNamespaceDeclarations = typeof(XmlSerializationWriter).GetMethod( 2438MethodInfo XName_op_Implicit = xName.GetMethod( 2463MethodInfo getTypeInfoMehod = typeof(IntrospectionExtensions).GetMethod( 2508MethodInfo IEnumeratorMoveNext = typeof(IEnumerator).GetMethod( 2517MethodInfo Activator_CreateInstance = typeof(Activator).GetMethod(
System.Text.RegularExpressions (4)
System\Text\RegularExpressions\RegexCompiler.cs (4)
37private static MethodInfo IsBoundaryMethod => field ??= typeof(RegexRunner).GetMethod("IsBoundary", BindingFlags.NonPublic | BindingFlags.Static, [typeof(ReadOnlySpan<char>), typeof(int)])!; 38private static MethodInfo IsPreWordCharBoundaryMethod => field ??= typeof(RegexRunner).GetMethod("IsPreWordCharBoundary", BindingFlags.NonPublic | BindingFlags.Static, [typeof(ReadOnlySpan<char>), typeof(int)])!; 39private static MethodInfo IsPostWordCharBoundaryMethod => field ??= typeof(RegexRunner).GetMethod("IsPostWordCharBoundary", BindingFlags.NonPublic | BindingFlags.Static, [typeof(ReadOnlySpan<char>), typeof(int)])!; 41private static MethodInfo IsECMABoundaryMethod => field ??= typeof(RegexRunner).GetMethod("IsECMABoundary", BindingFlags.NonPublic | BindingFlags.Static, [typeof(ReadOnlySpan<char>), typeof(int)])!;