3 types derived from MethodBase
System.Private.CoreLib (3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\ConstructorInfo.cs (1)
10public abstract partial class ConstructorInfo : MethodBase
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MethodInfo.cs (1)
9public abstract partial class MethodInfo : MethodBase
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MethodInfo.Internal.cs (1)
6public abstract partial class MethodInfo : MethodBase
449 references to MethodBase
dotnet-svcutil-lib (22)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeGenerator.cs (1)
1452private void LoadParam(object arg, int oneBasedArgIndex, MethodBase methodInfo)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\Globals.cs (6)
1019private static MethodBase FilterMethodBases(MethodBase[] methodBases, Type[] parameterTypes, string methodName) 1032var constructorInfo = FilterMethodBases(constructorInfos.Cast<MethodBase>().ToArray(), parameterTypes, ".ctor"); 1039var methodInfo = FilterMethodBases(methodInfos.Cast<MethodBase>().ToArray(), parameterTypes, methodName);
FrameworkFork\System.ServiceModel\Extensions\ReflectionExtensions.cs (1)
183public static RuntimeMethodHandle MethodHandle(this MethodBase mb)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MethodCall.cs (2)
19public MethodCall(MethodBase methodBase, object[] args) : this(args) 25public MethodBase MethodBase { get; private set; }
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannelProxy.cs (9)
56MethodBase method = methodCall.MethodBase; 379MethodBase targetMethod = methodCall.MethodBase; 409public bool TryGetMethodData(MethodBase method, out MethodData methodData) 428private static int FindMethod(MethodData[] methodDatas, MethodBase methodToFind) 432MethodBase method = methodDatas[i].MethodBase; 482private MethodBase _methodBase; 486public MethodData(MethodBase methodBase, MethodType methodType) 491public MethodData(MethodBase methodBase, MethodType methodType, ProxyOperationRuntime operation) 498public MethodBase MethodBase
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\IClientOperationSelector.cs (1)
14string SelectOperation(MethodBase method, object[] parameters);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ImmutableClientRuntime.cs (1)
182internal ProxyOperationRuntime GetOperation(MethodBase methodBase, object[] args, out bool canCacheResult)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\OperationSelectorBehavior.cs (1)
77public string SelectOperation(MethodBase method, object[] parameters)
GenerateDocumentationAndConfigFiles (1)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ReflectionUtilities.cs (1)
68where T : MethodBase
ILCompiler.Compiler (4)
Compiler\DynamicInvokeThunkGenerationPolicy.cs (1)
10/// <see cref="System.Reflection.MethodBase.Invoke(object, object[])"/>
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\IntrinsicId.cs (3)
43/// <item><see cref="System.Reflection.MethodBase.GetMethodFromHandle(System.RuntimeMethodHandle)"/></item> 44/// <item><see cref="System.Reflection.MethodBase.GetMethodFromHandle(System.RuntimeMethodHandle, System.RuntimeTypeHandle)"/></item> 49/// <see cref="System.Reflection.MethodBase.MethodHandle"/>
illink (3)
ILLink.RoslynAnalyzer (3)
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\IntrinsicId.cs (3)
43/// <item><see cref="System.Reflection.MethodBase.GetMethodFromHandle(System.RuntimeMethodHandle)"/></item> 44/// <item><see cref="System.Reflection.MethodBase.GetMethodFromHandle(System.RuntimeMethodHandle, System.RuntimeTypeHandle)"/></item> 49/// <see cref="System.Reflection.MethodBase.MethodHandle"/>
Microsoft.AspNetCore.Diagnostics (4)
src\aspnetcore\src\Shared\StackTrace\StackFrame\StackTraceHelper.cs (4)
46var method = frame.GetMethod(); 75internal static MethodDisplayInfo? GetMethodDisplayString(MethodBase? method) 152private static bool ShowInStackTrace(MethodBase method) 196private static bool TryResolveStateMachineMethod(ref MethodBase method, out Type? declaringType)
Microsoft.AspNetCore.Hosting (4)
src\aspnetcore\src\Shared\StackTrace\StackFrame\StackTraceHelper.cs (4)
46var method = frame.GetMethod(); 75internal static MethodDisplayInfo? GetMethodDisplayString(MethodBase? method) 152private static bool ShowInStackTrace(MethodBase method) 196private static bool TryResolveStateMachineMethod(ref MethodBase method, out Type? declaringType)
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\ParameterDefaultValues.cs (1)
12public static object?[] GetParameterDefaultValues(MethodBase methodInfo)
Microsoft.Build (6)
Evaluation\Expander.cs (6)
4792MethodBase memberInfo; 4807IEnumerable<MethodBase> members; 4820members = foundMembers.Cast<MethodBase>(); 4827foreach (MethodBase member in members) 4902MethodBase? method = member as MethodBase;
Microsoft.Build.Tasks.CodeAnalysis (1)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ReflectionUtilities.cs (1)
68where T : MethodBase
Microsoft.CodeAnalysis (3)
InternalSpecialType.cs (2)
45/// Indicates that the type is <see cref="System.Reflection.MethodBase"/> from the COR library. 48/// Check for this special type cannot be used to find the "canonical" definition of <see cref="System.Reflection.MethodBase"/>
InternalUtilities\ReflectionUtilities.cs (1)
68where T : MethodBase
Microsoft.CodeAnalysis.Analyzers (1)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ReflectionUtilities.cs (1)
68where T : MethodBase
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ReflectionUtilities.cs (1)
68where T : MethodBase
Microsoft.CodeAnalysis.CodeStyle (1)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ReflectionUtilities.cs (1)
68where T : MethodBase
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ReflectionUtilities.cs (1)
68where T : MethodBase
Microsoft.CodeAnalysis.Scripting (3)
Hosting\CommonMemberFilter.cs (1)
20var method = frame.GetMethod();
Hosting\ObjectFormatter\CommonObjectFormatter.cs (2)
84var method = frame.GetMethod(); 111protected internal virtual string FormatMethodSignature(MethodBase method)
Microsoft.CodeAnalysis.Workspaces (1)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ReflectionUtilities.cs (1)
68where T : MethodBase
Microsoft.CSharp (15)
Microsoft\CSharp\RuntimeBinder\RuntimeBinderExtensions.cs (11)
79private static bool AreParametersEquivalent(this MethodBase method1, MethodBase method2) 99private static bool IsEquivalentTo(this ParameterInfo pi1, ParameterInfo pi2, MethodBase method1, MethodBase method2) 141Debug.Assert(!(member1 is MethodBase) || 142!((MethodBase)member1).IsGenericMethod || 143(((MethodBase)member1).IsGenericMethodDefinition && ((MethodBase)member2).IsGenericMethodDefinition)); 229if (!(member is MethodBase)) 234MethodBase method = (MethodBase)member;
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (4)
131private static void AddParameterConversions(MethodBase method) 762MethodBase methodBase = t.DeclaringMethod; 1362private static MethodSymbol AddMethodToSymbolTable(MethodBase member, AggregateSymbol callingAggregate, MethodKindEnum kind) 1641bool isVarArg = associatedInfo is MethodBase mb && (mb.CallingConvention & CallingConventions.VarArgs) != 0;
Microsoft.DotNet.Build.Tasks.Workloads (1)
EmbeddedTemplates.cs (1)
66string ns = MethodBase.GetCurrentMethod().DeclaringType.Namespace;
Microsoft.Extensions.AI.Abstractions (4)
Utilities\AIJsonSchemaCreateOptions.cs (3)
28/// Gets a callback that is invoked for every parameter in the <see cref="MethodBase"/> provided to 40/// Gets a callback that is invoked for each parameter in the <see cref="MethodBase"/> provided to 46/// the description will be sourced from the <see cref="MethodBase"/> metadata (like <see cref="DescriptionAttribute"/>),
Utilities\AIJsonUtilities.Schema.Create.cs (1)
75MethodBase method,
Microsoft.TestPlatform.AdapterUtilities (16)
Helpers\ReflectionHelpers.MethodBase.cs (3)
11internal static bool IsMethod(MethodBase method) 16internal static Type? GetReflectedType(MethodBase method) 21internal static RuntimeMethodHandle GetMethodHandle(MethodBase method)
Helpers\ReflectionHelpers.Type.cs (1)
16internal static MethodBase? GetDeclaringMethod(Type type)
ManagedNameUtilities\ManagedNameHelper.Reflection.cs (12)
34/// A <see cref="MethodBase" /> instance to get fully qualified managed type and method name. 59public static void GetManagedName(MethodBase method, out string managedTypeName, out string managedMethodName) 66/// A <see cref="MethodBase" /> instance to get fully qualified managed type and method name. 95public static void GetManagedName(MethodBase method, out string managedTypeName, out string managedMethodName, out string?[] hierarchyValues) 115/// A <see cref="MethodBase" /> instance to get default hierarchy values. 129public static string?[] GetManagedHierarchy(MethodBase method) 136private static void GetManagedNameAndHierarchy(MethodBase method, bool useClosedTypes, out string managedTypeName, out string managedMethodName, out string?[] hierarchyValues) 160method = MethodBase.GetMethodFromHandle(methodHandle, semanticType.TypeHandle)!; 244/// Gets the <see cref="MethodBase"/> object with the specified <paramref name="managedTypeName"/> 259/// A <see cref="MethodBase" /> object that represents specified parameters, throws if null. 269public static MethodBase GetMethod(Assembly assembly, string managedTypeName, string managedMethodName) 536private static void AppendGenericMethodParameters(StringBuilder methodBuilder, MethodBase method)
Microsoft.VisualBasic.Core (93)
Microsoft\VisualBasic\CompilerServices\ConversionResolution.vb (2)
648Dim current As MethodBase = item.AsMethod 781Dim current As MethodBase = currentMethod.AsMethod
Microsoft\VisualBasic\CompilerServices\LateBinding.vb (13)
549Dim match As MethodBase() = Nothing 588match = New MethodBase(iNext - 1) {} 591match(i) = CType(members(i), MethodBase) 616Dim method As MethodBase 798Dim match As MethodBase() = Nothing 840match = New MethodBase(iNext - 1) {} 843match(i) = CType(members(i), MethodBase) 863Dim method As MethodBase 994Dim method As MethodBase 1005method = CType(member, MethodBase) 1066ByVal method As MethodBase, 1283Dim Method As MethodBase = TryCast(Member, MethodBase)
Microsoft\VisualBasic\CompilerServices\NewLateBinding.vb (1)
1480Friend Shared Function GetCallTarget(ByVal targetProcedure As Method, ByVal flags As BindingFlags) As MethodBase
Microsoft\VisualBasic\CompilerServices\OverloadResolution.vb (15)
123ByVal leftProcedure As MethodBase, 126ByVal rightProcedure As MethodBase, 269Dim leftProcedure As MethodBase = leftMember.AsMethod 270Dim rightProcedure As MethodBase = rightMember.AsMethod 501Dim newCandidateMethod As MethodBase = TryCast(newCandidate, MethodBase) 547IsRawGeneric(TryCast(newCandidate, MethodBase)) Then 557Dim existingCandidate As MethodBase 704DirectCast(newCandidate, MethodBase), 762Dim currentMethod As MethodBase = DirectCast(candidate, MethodBase) 988ByVal targetProcedure As MethodBase, 1113ByVal targetProcedure As MethodBase, 2158Dim leftMethod As MethodBase 2159Dim rightMethod As MethodBase
Microsoft\VisualBasic\CompilerServices\Symbols.vb (20)
172Friend Shared Function IsUserDefinedOperator(ByVal method As MethodBase) As Boolean 176Friend Shared Function IsNarrowingConversionOperator(ByVal method As MethodBase) As Boolean 180Friend Shared Function MapToUserDefinedOperator(ByVal method As MethodBase) As UserDefinedOperator 489Friend Shared Function IsGeneric(ByVal method As MethodBase) As Boolean 495Dim method As MethodBase = TryCast(member, MethodBase) 501Friend Shared Function IsInstantiatedGeneric(ByVal Method As MethodBase) As Boolean 506Friend Shared Function IsRawGeneric(ByVal method As MethodBase) As Boolean 511Dim method As MethodBase = TryCast(member, MethodBase) 538Friend Shared Function IndexIn(ByVal possibleGenericParameter As Type, ByVal genericMethodDef As MethodBase) As Integer 552Friend Shared Function RefersToGenericParameter(ByVal referringType As Type, ByVal method As MethodBase) As Boolean 625Friend Shared Function AreGenericMethodDefsEqual(ByVal method1 As MethodBase, ByVal method2 As MethodBase) As Boolean 636Friend Shared Function IsShadows(ByVal method As MethodBase) As Boolean 1257Dim callTarget As MethodBase = GetCallTarget(targetProcedure, flags) 1302Private _rawItem As MethodBase 'The unsubstituted raw generic method. 1335ByVal method As MethodBase, 1490Friend Function AsMethod() As MethodBase 1492Return TryCast(_item, MethodBase)
Microsoft\VisualBasic\CompilerServices\Utils.LateBinder.vb (2)
541Friend Shared Function MethodToString(ByVal method As Reflection.MethodBase) As String 713Return MethodToString(DirectCast(member, MethodBase))
Microsoft\VisualBasic\CompilerServices\Utils.vb (22)
153Public Function IsEquivalentTo(mi1 As MethodBase, mi2 As MethodBase) As Boolean 222Private Function IsEquivalentTo(pi1 As ParameterInfo, pi2 As ParameterInfo, method1 As MethodBase, method2 As MethodBase) As Boolean 261Debug.Assert(Not (TypeOf member1 Is MethodBase) OrElse 262Not DirectCast(member1, MethodBase).IsGenericMethod OrElse 263(DirectCast(member1, MethodBase).IsGenericMethodDefinition AndAlso DirectCast(member2, MethodBase).IsGenericMethodDefinition)) 328If Not (TypeOf member Is MethodBase) Then 332Dim method As MethodBase = DirectCast(member, MethodBase) 346Private s_MemberEquivalence As Func(Of MethodBase, MethodBase, Boolean) = 350Dim MemberInfo As Type = GetType(MethodBase) 357Dim memberEquivalence As Func(Of MethodBase, MethodBase, Boolean) = Expression.Lambda(Of Func(Of MethodBase, MethodBase, Boolean))( 375Dim fallbackMemberEquivalence As Func(Of MethodBase, MethodBase, Boolean) = Function(m1param, m2param) m1param.IsEquivalentTo(m2param) 384Public Function HasSameMetadataDefinitionAs(mi1 As MethodBase, mi2 As MethodBase) As Boolean
Microsoft\VisualBasic\CompilerServices\VBBinder.vb (18)
145Public Overrides Function BindToMethod(ByVal bindingAttr As BindingFlags, ByVal match() As MethodBase, ByRef args() As Object, ByVal modifiers() As ParameterModifier, ByVal culture As CultureInfo, ByVal names() As String, ByRef ObjState As Object) As MethodBase 150Dim SelectedMatch As MethodBase 151Dim ThisMethod As MethodBase 175Return DirectCast(m_CachedMember, MethodBase) 1065Dim TmpMatch As MethodBase 1256Private Function GetMostSpecific(ByVal match0 As MethodBase, ByVal ThisMethod As MethodBase, ByVal ArgIndexes() As Integer, ByVal ParamOrder As Object(), ByVal IsPropertySet As Boolean, ByVal ParamArrayIndex0 As Integer, ByVal ParamArrayIndex1 As Integer, ByVal args As Object()) As Integer 1514Private Function MethodsDifferOnlyByReturnType(ByVal match1 As MethodBase, ByVal match2 As MethodBase) As Boolean 1593Public Overrides Function SelectMethod(ByVal bindingAttr As BindingFlags, ByVal match() As MethodBase, ByVal types() As Type, ByVal modifiers() As ParameterModifier) As MethodBase 1993Dim p As MethodBase() 1994Dim invokeMethod As MethodBase 2057ByVal invokeAttr As BindingFlags) As MethodBase() 2060Dim mb As MethodBase() 2234mb = New MethodBase(NewSize - 1) {} 2238mb(TargetIndex) = CType(mi(Index), MethodBase)
Mono.Cecil (14)
Mono.Cecil\Import.cs (10)
39 MethodReference ImportReference (SR.MethodBase method, IGenericParameterProvider context); 215 static bool ImportOpenGenericMethod (SR.MethodBase method, ImportGenericKind import_kind) 259 static string NormalizeMethodName (SR.MethodBase method) 377 static SR.MethodBase ResolveMethodDefinition (SR.MethodBase method) 382 MethodReference ImportMethod (SR.MethodBase method, ImportGenericContext context, ImportGenericKind import_kind) 437 static bool IsMethodSpecification (SR.MethodBase method) 442 MethodReference ImportMethodSpecification (SR.MethodBase method, ImportGenericContext context) 464 static bool HasCallingConvention (SR.MethodBase method, SR.CallingConventions conventions) 484 public virtual MethodReference ImportReference (SR.MethodBase method, IGenericParameterProvider context)
Mono.Cecil\ModuleDefinition.cs (4)
856 public MethodReference Import (SR.MethodBase method) 862 public MethodReference Import (SR.MethodBase method, IGenericParameterProvider context) 867 public MethodReference ImportReference (SR.MethodBase method) 872 public MethodReference ImportReference (SR.MethodBase method, IGenericParameterProvider context)
mscorlib (1)
src\runtime\src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
473[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Reflection.MethodBase))]
netstandard (1)
netstandard.cs (1)
1441[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Reflection.MethodBase))]
Roslyn.Diagnostics.Analyzers (1)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ReflectionUtilities.cs (1)
68where T : MethodBase
System.Linq.Expressions (33)
System\Dynamic\Utils\ExpressionUtils.cs (4)
100public static void ValidateArgumentTypes(MethodBase method, ExpressionType nodeKind, ref ReadOnlyCollection<Expression> arguments, string? methodParamName) 131public static void ValidateArgumentCount(MethodBase method, ExpressionType nodeKind, int count, ParameterInfo[] pis) 151public static Expression ValidateOneArgument(MethodBase method, ExpressionType nodeKind, Expression arguments, ParameterInfo pi, string? methodParamName, string argumentParamName, int index = -1) 232internal static ParameterInfo[] GetParametersForValidation(MethodBase method, ExpressionType nodeKind)
System\Dynamic\Utils\TypeExtensions.cs (5)
13private static readonly CacheDict<MethodBase, ParameterInfo[]> s_paramInfoCache = new CacheDict<MethodBase, ParameterInfo[]>(75); 65public static Type GetReturnType(this MethodBase mi) => mi.IsConstructor ? mi.DeclaringType! : ((MethodInfo)mi).ReturnType; 68internal static ParameterInfo[] GetParametersCached(this MethodBase method) 70CacheDict<MethodBase, ParameterInfo[]> pic = s_paramInfoCache;
System\Linq\Expressions\Common\CachedReflectionInfo.cs (4)
24public static MethodInfo MethodBase_GetMethodFromHandle_RuntimeMethodHandle => field ??= typeof(MethodBase).GetMethod(nameof(MethodBase.GetMethodFromHandle), new[] { typeof(RuntimeMethodHandle) })!; 25public static MethodInfo MethodBase_GetMethodFromHandle_RuntimeMethodHandle_RuntimeTypeHandle => field ??= typeof(MethodBase).GetMethod(nameof(MethodBase.GetMethodFromHandle), new[] { typeof(RuntimeMethodHandle), typeof(RuntimeTypeHandle) })!;
System\Linq\Expressions\Compiler\ILGen.cs (5)
19internal static void Emit(this ILGenerator il, OpCode opcode, MethodBase methodBase) 373return value is MethodBase mb && ShouldLdtoken(mb); 438if (value is MethodBase mb && ShouldLdtoken(mb)) 452if (type != typeof(MethodBase)) 470internal static bool ShouldLdtoken(MethodBase mb)
System\Linq\Expressions\Compiler\LambdaCompiler.Expressions.cs (2)
503private List<WriteBack>? EmitArguments(MethodBase method, IArgumentProvider args) 513private List<WriteBack>? EmitArguments(MethodBase method, IArgumentProvider args, int skipParameters)
System\Linq\Expressions\Compiler\StackSpiller.ChildRewriter.cs (1)
331internal void MarkRefArgs(MethodBase method, int startIndex)
System\Linq\Expressions\Compiler\StackSpiller.cs (1)
1058private static void RequireNoRefArgs(MethodBase? method)
System\Linq\Expressions\Interpreter\InterpretedFrame.cs (1)
127public static bool IsInterpretedFrame(MethodBase method)
System\Linq\Expressions\MethodCallExpression.cs (5)
1269private static void ValidateArgumentTypes(MethodBase method, ExpressionType nodeKind, ref ReadOnlyCollection<Expression> arguments, string methodParamName) 1274private static ParameterInfo[] GetParametersForValidation(MethodBase method, ExpressionType nodeKind) 1279private static void ValidateArgumentCount(MethodBase method, ExpressionType nodeKind, int count, ParameterInfo[] pis) 1284private static Expression ValidateOneArgument(MethodBase method, ExpressionType nodeKind, Expression arg, ParameterInfo pi, string methodParamName, string argumentParamName) 1347private static bool IsCompatible(MethodBase m, Expression[] arguments)
System\Runtime\CompilerServices\CallSiteHelpers.cs (4)
17/// Checks if a <see cref="MethodBase"/> is internally used by DLR and should not 20/// <param name="mb">The input <see cref="MethodBase"/></param> 22/// True if the input <see cref="MethodBase"/> is internally used by DLR and should not 25public static bool IsInternalFrame(MethodBase mb)
System\Runtime\CompilerServices\DebugInfoGenerator.cs (1)
35internal virtual void MarkSequencePoint(LambdaExpression method, MethodBase methodBase, ILGenerator ilg, DebugInfoExpression sequencePoint)
System.Private.CoreLib (108)
Internal\Reflection\Augments\ReflectionAugments.cs (6)
113public static MethodBase GetMethodFromHandle(RuntimeMethodHandle runtimeMethodHandle) 122MethodBase methodBase = ExecutionDomain.GetMethod(declaringTypeHandle, methodHandle, genericMethodTypeArgumentHandles); 131public static MethodBase GetMethodFromHandle(RuntimeMethodHandle runtimeMethodHandle, RuntimeTypeHandle declaringTypeHandle) 148MethodBase methodBase = ExecutionDomain.GetMethod(declaringTypeHandle, methodHandle, genericMethodTypeArgumentHandles); 385MethodBase method = GetMethodFromHandle(runtimeMethodHandle, declaringTypeHandle); 494public static MethodBase GetMethodBaseFromStartAddressIfAvailable(IntPtr methodStartAddress)
Internal\Reflection\Core\Execution\ExecutionDomain.cs (1)
32public static MethodBase GetMethod(RuntimeTypeHandle declaringTypeHandle, QMethodDefinition methodHandle, RuntimeTypeHandle[] genericMethodTypeArgumentHandles)
Internal\Reflection\Core\Execution\ExecutionEnvironment.cs (1)
83public abstract MethodBase GetMethodBaseFromStartAddressIfAvailable(IntPtr methodStartAddress);
Internal\Runtime\CompilerHelpers\ReflectionHelpers.cs (4)
37public static MethodBase GetCurrentMethodNonGeneric(RuntimeMethodHandle methodHandle) 39return MethodBase.GetMethodFromHandle(methodHandle); 43public static MethodBase GetCurrentMethodGeneric(RuntimeMethodHandle methodHandle, RuntimeTypeHandle typeHandle) 45return MethodBase.GetMethodFromHandle(methodHandle, typeHandle);
src\runtime\src\libraries\System.Private.CoreLib\src\System\DefaultBinder.cs (21)
33public sealed override MethodBase BindToMethod( 34BindingFlags bindingAttr, MethodBase[] match, ref object?[] args, 40MethodBase?[] candidates = (MethodBase[])match.Clone(); 388MethodBase bestMatch = candidates[currentMin]!; 542public sealed override MethodBase? SelectMethod(BindingFlags bindingAttr, MethodBase[] match, Type[] types, ParameterModifier[]? modifiers) 560MethodBase[] candidates = (MethodBase[])match.Clone(); 628MethodBase bestMatch = candidates[currentMin]; 793public static MethodBase? ExactBinding(MethodBase[] match, Type[] types) 797MethodBase[] aExactMatches = new MethodBase[match.Length]; 1016private static int FindMostSpecificMethod(MethodBase m1, int[] paramOrder1, Type? paramArrayType1, 1017MethodBase m2, int[] paramOrder2, Type? paramArrayType2, 1099public static bool CompareMethodSig(MethodBase m1, MethodBase m2) 1131internal static MethodBase? FindMostDerivedNewSlotMeth(MethodBase[] match, int cMatches) 1134MethodBase? methWithDeepestHierarchy = null;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\DiagnosticMethodInfo.cs (1)
11/// provided by <see cref="MethodBase"/> but it's meant for logging and tracing purposes.
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\StackFrame.cs (1)
19private MethodBase? _method;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\StackTrace.cs (2)
375private static bool ShowInStackTrace(MethodBase mb) 435private static bool TryResolveStateMachineMethod(ref MethodBase method, out Type declaringType)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Binder.cs (4)
12public abstract MethodBase BindToMethod(BindingFlags bindingAttr, MethodBase[] match, ref object?[] args, ParameterModifier[]? modifiers, CultureInfo? culture, string[]? names, out object? state); 15public abstract MethodBase? SelectMethod(BindingFlags bindingAttr, MethodBase[] match, Type[] types, ParameterModifier[]? modifiers);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\TypeBuilderInstantiation.cs (1)
250public override MethodBase? DeclaringMethod => null;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBase.cs (4)
69public static bool operator ==(MethodBase? left, MethodBase? right) 87public static bool operator !=(MethodBase? left, MethodBase? right) => !(left == right);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Module.cs (2)
127public MethodBase? ResolveMethod(int metadataToken) => ResolveMethod(metadataToken, null, null); 129public virtual MethodBase? ResolveMethod(int metadataToken, Type[]? genericTypeArguments, Type[]? genericMethodArguments) { throw NotImplemented.ByDesign; }
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\NullabilityInfoContext.cs (3)
73NullableAttributeStateParser parser = parameterInfo.Member is MethodBase method && IsPrivateOrInternalMethodAndAnnotationDisabled(method) 116private static ParameterInfo? GetMetaParameter(MethodBase metaMethod, ParameterInfo parameter) 225private bool IsPrivateOrInternalMethodAndAnnotationDisabled(MethodBase method)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\ParameterInfo.cs (1)
82args = ((MethodBase)MemberImpl).GetParametersAsSpan();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\SignatureType.cs (1)
98public sealed override MethodBase DeclaringMethod => throw new NotSupportedException(SR.NotSupported_SignatureType);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Type.cs (1)
44public virtual MethodBase? DeclaringMethod => null;
System\ActivatorImplementation.cs (3)
78ListBuilder<MethodBase> matches = new ListBuilder<MethodBase>(candidates.Length); 101MethodBase? invokeMethod;
System\Diagnostics\StackFrame.NativeAot.cs (1)
57public virtual MethodBase? GetMethod()
System\Exception.NativeAot.cs (2)
13using MethodBase = System.Reflection.MethodBase; 19public MethodBase? TargetSite
System\Reflection\DynamicInvokeInfo.cs (2)
18public MethodBase Method { get; } 57public unsafe DynamicInvokeInfo(MethodBase method, IntPtr invokeThunk)
System\Reflection\MethodBase.NativeAot.cs (4)
12public static MethodBase GetMethodFromHandle(RuntimeMethodHandle handle) => ReflectionAugments.GetMethodFromHandle(handle); 13public static MethodBase GetMethodFromHandle(RuntimeMethodHandle handle, RuntimeTypeHandle declaringType) => ReflectionAugments.GetMethodFromHandle(handle, declaringType); 17public static MethodBase GetCurrentMethod() { throw NotImplemented.ByDesign; } //Implemented by toolchain. 38internal virtual MethodBase MetadataDefinitionMethod { get { throw NotImplemented.ByDesign; } }
System\Reflection\MethodInvoker.cs (1)
30public static MethodInvoker Create(MethodBase method)
System\Reflection\Runtime\BindingFlagSupport\Shared.cs (1)
23public static bool QualifiesBasedOnParameterCount(this MethodBase methodBase, BindingFlags bindingFlags, CallingConventions callConv, Type?[] argumentTypes)
System\Reflection\Runtime\General\Dispensers.cs (1)
169internal static RuntimeThinMethodParameterInfo GetRuntimeThinMethodParameterInfo(MethodBase member, int position, QSignatureTypeHandle qualifiedParameterType, TypeContext typeContext)
System\Reflection\Runtime\General\Dispensers.NativeFormat.cs (1)
166internal static NativeFormatMethodParameterInfo GetNativeFormatMethodParameterInfo(MethodBase member, int position, ParameterHandle parameterHandle, QSignatureTypeHandle qualifiedParameterType, TypeContext typeContext)
System\Reflection\Runtime\MethodInfos\CustomMethodMapper.cs (5)
17public static MethodBaseInvoker GetCustomMethodInvokerIfNeeded(this MethodBase methodBase) 22Dictionary<MethodBase, CustomMethodInvokerAction> map; 44private static void AddConstructor(this Dictionary<MethodBase, CustomMethodInvokerAction> map, Type declaringType, Type[] parameterTypes, CustomMethodInvokerAction action) 51private static void AddMethod(this Dictionary<MethodBase, CustomMethodInvokerAction> map, Type declaringType, string name, Type[] parameterTypes, CustomMethodInvokerAction action) 55MethodBase? methodBase;
System\Reflection\Runtime\MethodInfos\CustomMethodMapper.Nullable.cs (4)
18public static Dictionary<MethodBase, CustomMethodInvokerAction> Map 24Dictionary<MethodBase, CustomMethodInvokerAction> map = new Dictionary<MethodBase, CustomMethodInvokerAction>(); 107private static volatile Dictionary<MethodBase, CustomMethodInvokerAction> s_lazyMap;
System\Reflection\Runtime\MethodInfos\CustomMethodMapper.String.cs (4)
16public static Dictionary<MethodBase, CustomMethodInvokerAction> Map 22Dictionary<MethodBase, CustomMethodInvokerAction> map = new Dictionary<MethodBase, CustomMethodInvokerAction>(); 91private static volatile Dictionary<MethodBase, CustomMethodInvokerAction> s_lazyMap;
System\Reflection\Runtime\MethodInfos\IRuntimeMethodCommon.cs (1)
44void FillInMetadataDescribedParameters(ref VirtualRuntimeParameterInfoArray result, QSignatureTypeHandle[] parameterTypes, MethodBase contextMethod, TypeContext typeContext);
System\Reflection\Runtime\MethodInfos\NativeFormat\NativeFormatMethodCommon.cs (1)
59public void FillInMetadataDescribedParameters(ref VirtualRuntimeParameterInfoArray result, QSignatureTypeHandle[] typeSignatures, MethodBase contextMethod, TypeContext typeContext)
System\Reflection\Runtime\MethodInfos\RuntimeConstructedGenericMethodInfo.cs (1)
119internal sealed override MethodBase MetadataDefinitionMethod
System\Reflection\Runtime\MethodInfos\RuntimeConstructorInfo.cs (1)
95internal abstract override MethodBase MetadataDefinitionMethod { get; }
System\Reflection\Runtime\MethodInfos\RuntimeDummyMethodInfo.cs (1)
39internal sealed override MethodBase MetadataDefinitionMethod { get { throw NotImplemented.ByDesign; } }
System\Reflection\Runtime\MethodInfos\RuntimeMethodHelpers.cs (3)
30internal static RuntimeParameterInfo[] GetRuntimeParameters<TRuntimeMethodCommon>(ref TRuntimeMethodCommon runtimeMethodCommon, MethodBase contextMethod, RuntimeTypeInfo[] methodTypeArguments, out RuntimeParameterInfo returnParameter) 59internal static string ComputeToString<TRuntimeMethodCommon>(ref TRuntimeMethodCommon runtimeMethodCommon, MethodBase contextMethod, RuntimeTypeInfo[] methodTypeArguments) 94internal static string ComputeToString(MethodBase contextMethod, RuntimeTypeInfo[] methodTypeArguments, RuntimeParameterInfo[] parameters, RuntimeParameterInfo returnParameter)
System\Reflection\Runtime\MethodInfos\RuntimeMethodInfo.cs (1)
188internal abstract override MethodBase MetadataDefinitionMethod { get; }
System\Reflection\Runtime\MethodInfos\RuntimeNamedMethodInfo.cs (1)
153internal sealed override MethodBase MetadataDefinitionMethod
System\Reflection\Runtime\MethodInfos\RuntimePlainConstructorInfo.cs (1)
86internal sealed override MethodBase MetadataDefinitionMethod
System\Reflection\Runtime\MethodInfos\RuntimeSyntheticConstructorInfo.cs (1)
63internal sealed override MethodBase MetadataDefinitionMethod
System\Reflection\Runtime\MethodInfos\RuntimeSyntheticMethodInfo.cs (1)
119internal sealed override MethodBase MetadataDefinitionMethod
System\Reflection\Runtime\Modules\RuntimeModule.cs (1)
91public sealed override MethodBase ResolveMethod(int metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments) { throw new PlatformNotSupportedException(); }
System\Reflection\Runtime\ParameterInfos\NativeFormat\NativeFormatMethodParameterInfo.cs (1)
23private NativeFormatMethodParameterInfo(MethodBase member, int position, ParameterHandle parameterHandle, QSignatureTypeHandle qualifiedParameterTypeHandle, TypeContext typeContext)
System\Reflection\Runtime\ParameterInfos\RuntimeFatMethodParameterInfo.cs (1)
18protected RuntimeFatMethodParameterInfo(MethodBase member, int position, QSignatureTypeHandle qualifiedParameterTypeHandle, TypeContext typeContext)
System\Reflection\Runtime\ParameterInfos\RuntimeMethodParameterInfo.cs (1)
20protected RuntimeMethodParameterInfo(MethodBase member, int position, QSignatureTypeHandle qualifiedParameterTypeHandle, TypeContext typeContext)
System\Reflection\Runtime\ParameterInfos\RuntimeThinMethodParameterInfo.cs (1)
20private RuntimeThinMethodParameterInfo(MethodBase member, int position, QSignatureTypeHandle qualifiedParameterTypeHandle, TypeContext typeContext)
System\Reflection\Runtime\TypeInfos\NativeFormat\NativeFormatRuntimeGenericParameterTypeInfoForMethods.cs (1)
29public sealed override MethodBase DeclaringMethod
System\Reflection\Runtime\TypeInfos\NativeFormat\NativeFormatRuntimeGenericParameterTypeInfoForTypes.cs (1)
26public sealed override MethodBase DeclaringMethod
System\Reflection\Runtime\TypeInfos\RuntimeGenericParameterTypeInfo.cs (1)
43public abstract override MethodBase DeclaringMethod { get; }
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.cs (1)
110public virtual MethodBase DeclaringMethod
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.GetMember.cs (1)
71results = (type == (MemberTypes.Method | MemberTypes.Constructor)) ? new MethodBase[numMatches] : new MemberInfo[numMatches];
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.InvokeMember.cs (1)
378MethodBase? invokeMethod = null;
System\RuntimeType.NativeAot.cs (1)
680public override MethodBase? DeclaringMethod => GetRuntimeTypeInfo().DeclaringMethod;
System.Private.Reflection.Execution (9)
Internal\Reflection\Execution\ExecutionEnvironmentImplementation.MappingTables.cs (2)
228MethodBase methodInfo = ExecutionDomain.GetMethod(declaringTypeHandle, methodHandle, genericMethodTypeArgumentHandles); 295MethodBase methodInfo)
Internal\Reflection\Execution\ExecutionEnvironmentImplementation.Runtime.cs (3)
41MethodBase methodBase = ReflectionExecution.GetMethodBaseFromOriginalLdftnResult(classRtMethodHandle, instanceType.TypeHandle); 109public override MethodBase GetMethodBaseFromStartAddressIfAvailable(IntPtr methodStartAddress) 131if (pertainant is MethodBase methodBase)
Internal\Reflection\Execution\MethodInvokeInfo.cs (1)
11public MethodInvokeInfo(MethodBase method, IntPtr invokeThunk)
Internal\Reflection\Execution\PayForPlayExperience\MissingMetadataExceptionCreator.cs (1)
23if (memberInfo is MethodBase method)
Internal\Reflection\Execution\ReflectionExecution.cs (2)
84public static MethodBase GetMethodBaseFromStartAddressIfAvailable(IntPtr methodStartAddress) 97public static MethodBase GetMethodBaseFromOriginalLdftnResult(IntPtr methodStartAddress, RuntimeTypeHandle declaringTypeHandle)
System.Private.Xml (3)
System\Xml\Xsl\IlGen\GenerateHelper.cs (2)
479private MethodBase? _methInfo; 521public void MethodBegin(MethodBase methInfo, ISourceLineInfo? sourceInfo, bool initWriters)
System\Xml\Xsl\IlGen\XmlILModule.cs (1)
185public static ILGenerator DefineMethodBody(MethodBase methInfo)
System.Reflection (1)
System.Reflection.cs (1)
24[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Reflection.MethodBase))]
System.Reflection.Context (8)
System\Reflection\Context\CustomReflectionContext.Projector.cs (2)
127public override MethodBase? ProjectMethodBase(MethodBase? value)
System\Reflection\Context\Delegation\DelegatingModule.cs (1)
149public override MethodBase? ResolveMethod(int metadataToken, Type[]? genericTypeArguments, Type[]? genericMethodArguments)
System\Reflection\Context\Delegation\DelegatingType.cs (1)
52public override MethodBase? DeclaringMethod
System\Reflection\Context\Projection\ProjectingModule.cs (1)
95public override MethodBase? ResolveMethod(int metadataToken, Type[]? genericTypeArguments, Type[]? genericMethodArguments)
System\Reflection\Context\Projection\ProjectingType.cs (1)
39public override MethodBase? DeclaringMethod
System\Reflection\Context\Projection\Projector.cs (2)
60public abstract MethodBase? ProjectMethodBase(MethodBase? value);
System.Reflection.Emit (2)
System\Reflection\Emit\GenericTypeParameterBuilderImpl.cs (1)
87public override MethodBase? DeclaringMethod => _type.DeclaringMethod;
System\Reflection\Emit\TypeBuilderImpl.cs (1)
1234new MethodBase[totalCount] : new MemberInfo[totalCount];
System.Reflection.MetadataLoadContext (36)
System\CoreRtBridge.cs (1)
60internal static ParameterInfo[] GetParametersNoCopy(this MethodBase m)
System\Reflection\DefaultBinder.cs (18)
37public sealed override MethodBase BindToMethod( 38BindingFlags bindingAttr, MethodBase[] match, ref object?[] args, 47public sealed override MethodBase? SelectMethod(BindingFlags bindingAttr, MethodBase[] match, Type[] types, ParameterModifier[]? modifiers) 65MethodBase[] candidates = (MethodBase[])match.Clone(); 140MethodBase bestMatch = candidates[currentMin]; 274public static MethodBase? ExactBinding(MethodBase[] match, Type[] types) 278MethodBase[] aExactMatches = new MethodBase[match.Length]; 498private static int FindMostSpecificMethod(MethodBase m1, int[] paramOrder1, Type? paramArrayType1, 499MethodBase m2, int[] paramOrder2, Type? paramArrayType2, 558public static bool CompareMethodSig(MethodBase m1, MethodBase m2) 590internal static MethodBase? FindMostDerivedNewSlotMeth(MethodBase[] match, int cMatches) 593MethodBase? methWithDeepestHierarchy = null;
System\Reflection\Runtime\BindingFlagSupport\Shared.cs (1)
23public static bool QualifiesBasedOnParameterCount(this MethodBase methodBase, BindingFlags bindingFlags, CallingConventions callConv, Type[] argumentTypes)
System\Reflection\TypeLoading\Constructors\RoConstructor.cs (1)
83MethodBase IRoMethodBase.MethodBase => this;
System\Reflection\TypeLoading\General\Ecma\EcmaResolver.cs (1)
180public static T ResolveMethod<T>(this MethodDefinitionHandle handle, EcmaModule module, in TypeContext typeContext) where T : MethodBase
System\Reflection\TypeLoading\MethodBase\IRoMethodBase.cs (1)
10MethodBase MethodBase { get; }
System\Reflection\TypeLoading\Methods\RoMethod.cs (1)
127MethodBase IRoMethodBase.MethodBase => this;
System\Reflection\TypeLoading\Modules\RoModule.cs (1)
88public sealed override MethodBase ResolveMethod(int metadataToken, Type[]? genericTypeArguments, Type[]? genericMethodArguments) => throw new NotSupportedException(SR.NotSupported_ResolvingTokens);
System\Reflection\TypeLoading\RuntimeTypeInfo.GetMember.cs (1)
62results = (type == (MemberTypes.Method | MemberTypes.Constructor)) ? new MethodBase[numMatches] : new MemberInfo[numMatches];
System\Reflection\TypeLoading\Types\Ecma\EcmaGenericMethodParameterType.cs (1)
25public sealed override MethodBase DeclaringMethod => GetRoDeclaringMethod();
System\Reflection\TypeLoading\Types\Ecma\EcmaGenericParameterType.cs (1)
69public abstract override MethodBase? DeclaringMethod { get; }
System\Reflection\TypeLoading\Types\Ecma\EcmaGenericTypeParameterType.cs (1)
28public sealed override MethodBase? DeclaringMethod => null;
System\Reflection\TypeLoading\Types\RoConstructedGenericType.cs (1)
103public sealed override MethodBase DeclaringMethod => throw new InvalidOperationException(SR.Arg_NotGenericParameter);
System\Reflection\TypeLoading\Types\RoDefinitionType.cs (1)
233public sealed override MethodBase DeclaringMethod => throw new InvalidOperationException(SR.Arg_NotGenericParameter);
System\Reflection\TypeLoading\Types\RoFunctionPointerType.cs (1)
172public sealed override MethodBase DeclaringMethod => throw new InvalidOperationException(SR.Arg_NotGenericParameter);
System\Reflection\TypeLoading\Types\RoHasElementType.cs (1)
51public sealed override MethodBase DeclaringMethod => throw new InvalidOperationException(SR.Arg_NotGenericParameter);
System\Reflection\TypeLoading\Types\RoModifiedType.cs (1)
150public override MethodBase? DeclaringMethod => throw new NotSupportedException(SR.NotSupported_ModifiedType);
System\Reflection\TypeLoading\Types\RoStubType.cs (1)
45public sealed override MethodBase DeclaringMethod => throw null!;
System\Reflection\TypeLoading\Types\RoType.cs (1)
141public abstract override MethodBase? DeclaringMethod { get; }
System.Runtime (1)
src\runtime\artifacts\obj\System.Runtime\Release\net11.0\System.Runtime.Forwards.cs (1)
482[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Reflection.MethodBase))]
System.Runtime.InteropServices.JavaScript (1)
System\Runtime\InteropServices\JavaScript\JSHostImplementation.cs (1)
214MethodInfo? method = MethodBase.GetMethodFromHandle(methodHandle) as MethodInfo;
System.Security.Cryptography (4)
System\Security\Cryptography\CryptoConfig.cs (4)
441MethodBase[] cons = retvalType.GetConstructors(ConstructorDefault); 449List<MethodBase> candidates = new List<MethodBase>(); 452MethodBase con = cons[i];
System.ServiceModel.Primitives (14)
Extensions\ReflectionExtensions.cs (1)
222public static RuntimeMethodHandle MethodHandle(this MethodBase mb)
System\ServiceModel\Channels\MethodCall.cs (2)
24public MethodCall(MethodBase methodBase, object[] args) : this(args) 31public MethodBase MethodBase { get; private set; }
System\ServiceModel\Channels\ServiceChannelProxy.cs (8)
56MethodBase method = methodCall.MethodBase; 397MethodBase targetMethod = methodCall.MethodBase; 427public bool TryGetMethodData(MethodBase method, out MethodData methodData) 446private static int FindMethod(MethodData[] methodDatas, MethodBase methodToFind) 450MethodBase method = methodDatas[i].MethodBase; 502public MethodData(MethodBase methodBase, MethodType methodType) 507public MethodData(MethodBase methodBase, MethodType methodType, ProxyOperationRuntime operation) 514public MethodBase MethodBase { get; }
System\ServiceModel\Dispatcher\IClientOperationSelector.cs (1)
13string SelectOperation(MethodBase method, object[] parameters);
System\ServiceModel\Dispatcher\ImmutableClientRuntime.cs (1)
167internal ProxyOperationRuntime GetOperation(MethodBase methodBase, object[] args, out bool canCacheResult)
System\ServiceModel\Dispatcher\OperationSelectorBehavior.cs (1)
82public string SelectOperation(MethodBase method, object[] parameters)
System.Text.Json (3)
System\ReflectionExtensions.cs (2)
125var genericMethod = (MethodBase)parameter.Member.GetGenericMemberDefinition()!;
System\Text\Json\Serialization\Metadata\JsonParameterInfo.cs (1)
100if (parameterInfo is null && MatchingProperty.DeclaringTypeInfo.ConstructorAttributeProvider is MethodBase ctorInfo)
System.Windows.Forms.Design (1)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
1944if (descriptor.MemberInfo is MethodBase mi)
System.Xaml (12)
System\Xaml\Runtime\ClrObjectRuntime.cs (4)
126if (members is not MethodBase[] methods) 128methods = new MethodBase[members.Length]; 139protected MethodBase BindToMethod(BindingFlags bindingFlags, MethodBase[] candidates, object[] args)
System\Xaml\Runtime\DynamicMethodRuntime.cs (4)
58private Dictionary<MethodBase, FactoryDelegate> _factoryDelegates; 89private Dictionary<MethodBase, FactoryDelegate> FactoryDelegates 95_factoryDelegates = new Dictionary<MethodBase, FactoryDelegate>(); 357private LocalBuilder[] LoadArguments(ILGenerator ilGenerator, MethodBase method)
System\Xaml\Schema\TypeReflector.cs (1)
162internal static bool IsPublicOrInternal(MethodBase method)
System\Xaml\XamlObjectReader.cs (2)
1214MethodBase method = memberInfo as MethodBase;
System\Xaml\XamlType.cs (1)
674MethodBase result = Type.DefaultBinder.SelectMethod(ConstructorBindingFlags, ctorArray, paramTypes, null);
testhost (2)
src\vstest\src\testhost.x86\TestHostTraceListener.cs (2)
51MethodBase? method = null; 55var m = f?.GetMethod();
testhost.arm64 (2)
src\vstest\src\testhost.x86\TestHostTraceListener.cs (2)
51MethodBase? method = null; 55var m = f?.GetMethod();
testhost.x86 (2)
TestHostTraceListener.cs (2)
51MethodBase? method = null; 55var m = f?.GetMethod();
UIAutomationClient (1)
MS\Internal\Automation\ProxyManager.cs (1)
345MethodBase mb = sf.GetMethod();