50 references to InvokeMethod
ILCompiler.Compiler (1)
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\HandleCallAction.cs (1)
1837BindingFlags.InvokeMethod |
illink (1)
ILLink.RoslynAnalyzer (1)
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\HandleCallAction.cs (1)
1837BindingFlags.InvokeMethod |
Microsoft.Build (10)
Evaluation\Expander.Function.cs (9)
92| BindingFlags.InvokeMethod 550catch (MissingMethodException ex) when ((_bindingFlags & BindingFlags.InvokeMethod) == BindingFlags.InvokeMethod) 880functionBuilder.BindingFlags = BindingFlags.IgnoreCase | BindingFlags.Public | BindingFlags.InvokeMethod; 924defaultBindingFlags |= BindingFlags.InvokeMethod; 1107if ((_bindingFlags & BindingFlags.InvokeMethod) == BindingFlags.InvokeMethod) 1120if ((_bindingFlags & BindingFlags.InvokeMethod) == BindingFlags.InvokeMethod)
Evaluation\Expander.ItemExpander.Transforms.cs (1)
745BindingFlags.Public | BindingFlags.InvokeMethod,
Microsoft.Maui (1)
Handlers\HybridWebView\HybridWebViewHandler.cs (1)
240 var dotnetMethod = targetType.GetMethod(requestMethodName, BindingFlags.Public | BindingFlags.Instance | BindingFlags.InvokeMethod);
Microsoft.NET.Build.Containers (2)
src\sdk\src\Common\VSHostObject.cs (1)
76BindingFlags.InvokeMethod,
VSHostObject.cs (1)
68BindingFlags.InvokeMethod,
Microsoft.NET.Sdk.Publish.Tasks (1)
src\sdk\src\Common\VSHostObject.cs (1)
76BindingFlags.InvokeMethod,
Microsoft.VisualBasic.Core (9)
Microsoft\VisualBasic\CompilerServices\Conversions.vb (1)
2622BindingFlags.InvokeMethod)
Microsoft\VisualBasic\CompilerServices\LateBinding.vb (7)
67BindingFlags.InvokeMethod Or 140BindingFlags.InvokeMethod Or 553BindingFlags.InvokeMethod Or 636retValue = InvokeMemberOnIReflect(objIReflect, method, BindingFlags.InvokeMethod, o, args) 882InvokeMemberOnIReflect(objIReflect, method, BindingFlags.InvokeMethod, o, args) 947BindingFlags.InvokeMethod Or 1098Return InvokeMemberOnIReflect(objIReflect, method, BindingFlags.InvokeMethod, o, args)
Microsoft\VisualBasic\CompilerServices\VBBinder.vb (1)
2022res = InvokeMemberOnIReflect(objIReflect, Method, BindingFlags.InvokeMethod, target, args)
PresentationCore (2)
System\Windows\CultureInfoConverter.cs (1)
132BindingFlags.Static | BindingFlags.InvokeMethod | BindingFlags.Public,
System\Windows\Markup\XmlLanguageConverter.cs (1)
125BindingFlags.Static | BindingFlags.InvokeMethod | BindingFlags.Public,
PresentationFramework (1)
System\Windows\Data\ObjectDataProvider.cs (1)
666BindingFlags.InvokeMethod |
System.DirectoryServices (1)
System\DirectoryServices\DirectoryEntry.cs (1)
781result = type.InvokeMember(methodName, BindingFlags.InvokeMethod, null, target, args, CultureInfo.InvariantCulture);
System.Private.CoreLib (6)
System\Reflection\Runtime\BindingFlagSupport\Shared.cs (2)
50if ((bindingFlags & (BindingFlags.InvokeMethod | BindingFlags.CreateInstance | BindingFlags.GetProperty | BindingFlags.SetProperty)) == 0) 125if ((bindingFlags & (BindingFlags.InvokeMethod)) == 0)
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.InvokeMember.cs (4)
26const BindingFlags BinderNonCreateInstance = BindingFlags.InvokeMethod | BinderGetSetField | BinderGetSetProperty; 133if ((bindingFlags & BindingFlags.InvokeMethod) != 0) 254if ((bindingFlags & BindingFlags.InvokeMethod) != 0) 265if ((bindingFlags & BindingFlags.InvokeMethod) != 0)
System.Reflection.MetadataLoadContext (2)
System\Reflection\Runtime\BindingFlagSupport\Shared.cs (2)
47if ((bindingFlags & (BindingFlags.InvokeMethod | BindingFlags.CreateInstance | BindingFlags.GetProperty | BindingFlags.SetProperty)) == 0) 63if ((bindingFlags & (BindingFlags.InvokeMethod)) == 0)
System.Speech (2)
Internal\SrgsCompiler\AppDomainGrammarProxy.cs (1)
239return type.InvokeMember("Parse", BindingFlags.InvokeMethod, null, null, new object[] { value }, CultureInfo.InvariantCulture)!;
Recognition\Grammar.cs (1)
817return type.InvokeMember("Parse", BindingFlags.InvokeMethod, null, null, new object[] { value }, CultureInfo.InvariantCulture);
System.Windows.Forms.Design (9)
System\ComponentModel\Design\DesignerActionList.cs (4)
30typeof(DesignerActionList).GetMethods(BindingFlags.InvokeMethod | BindingFlags.Instance | BindingFlags.DeclaredOnly | BindingFlags.Public)); 32typeof(DesignerActionList).GetProperties(BindingFlags.InvokeMethod | BindingFlags.Instance | BindingFlags.DeclaredOnly | BindingFlags.Public)); 35MethodInfo[] methods = GetType().GetMethods(BindingFlags.InvokeMethod | BindingFlags.Instance | BindingFlags.DeclaredOnly | BindingFlags.Public); 52PropertyInfo[] properties = GetType().GetProperties(BindingFlags.InvokeMethod | BindingFlags.Instance | BindingFlags.DeclaredOnly | BindingFlags.Public);
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (3)
867result = GetReflectionTypeFromTypeHelper(manager, t).InvokeMember(methodInvokeEx.Method.MethodName, BindingFlags.InvokeMethod | BindingFlags.Public | BindingFlags.Static, null, null, parameters, null, null, null); 875result = GetReflectionTypeHelper(manager, targetObject).InvokeMember(methodInvokeEx.Method.MethodName, BindingFlags.InvokeMethod | BindingFlags.Public | BindingFlags.Instance, null, targetObject, parameters, null, null, null); 888result = GetReflectionTypeFromTypeHelper(manager, castType).InvokeMember(methodInvokeEx.Method.MethodName, BindingFlags.InvokeMethod | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance, null, targetObject, parameters, null, null, null);
System\Windows\Forms\Design\DocumentDesigner.AxToolboxItem.cs (2)
83BindingFlags.InvokeMethod | BindingFlags.Public | BindingFlags.Instance, 93BindingFlags.InvokeMethod | BindingFlags.Public | BindingFlags.Instance,
System.Xaml (1)
System\Xaml\Runtime\DynamicMethodRuntime.cs (1)
302helperFlags | BindingFlags.InvokeMethod, 1, 0, 2);