18 references to Any
System.Private.CoreLib (13)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Module.cs (2)
43
return GetMethodImpl(name, DefaultLookup, null, CallingConventions.
Any
, null, null);
47
public MethodInfo? GetMethod(string name, Type[] types) => GetMethod(name, DefaultLookup, null, CallingConventions.
Any
, types, null);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Type.cs (5)
156
get => GetConstructorImpl(BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic, null, CallingConventions.
Any
, [], null);
184
public ConstructorInfo? GetConstructor(BindingFlags bindingAttr, Binder? binder, Type[] types, ParameterModifier[]? modifiers) => GetConstructor(bindingAttr, binder, CallingConventions.
Any
, types, modifiers);
302
return GetMethodImpl(name, bindingAttr, null, CallingConventions.
Any
, null, null);
330
public MethodInfo? GetMethod(string name, BindingFlags bindingAttr, Binder? binder, Type[] types, ParameterModifier[]? modifiers) => GetMethod(name, bindingAttr, binder, CallingConventions.
Any
, types, modifiers);
374
public MethodInfo? GetMethod(string name, int genericParameterCount, BindingFlags bindingAttr, Binder? binder, Type[] types, ParameterModifier[]? modifiers) => GetMethod(name, genericParameterCount, bindingAttr, binder, CallingConventions.
Any
, types, modifiers);
System\ActivatorImplementation.cs (2)
29
ConstructorInfo? constructor = type.GetConstructor(bindingFlags, null, CallingConventions.
Any
, Array.Empty<Type>(), null);
80
if (candidates[i].QualifiesBasedOnParameterCount(bindingAttr, CallingConventions.
Any
, argTypes))
System\Reflection\Runtime\BindingFlagSupport\Shared.cs (1)
33
if ((callConv & CallingConventions.
Any
) == 0)
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.BindingFlags.cs (1)
64
Debug.Assert(callConvention == CallingConventions.
Any
);
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.InvokeMember.cs (2)
276
if (!semiFinalist.QualifiesBasedOnParameterCount(bindingFlags, CallingConventions.
Any
, new Type[argCnt]))
331
if (!semiFinalist.QualifiesBasedOnParameterCount(bindingFlags, CallingConventions.
Any
, new Type[argCnt]))
System.Reflection.Emit (3)
System\Reflection\Emit\TypeBuilderImpl.cs (3)
694
if ((callConv & CallingConventions.
Any
) == 0)
756
if (MatchesTheFilter(con._methodBuilder, GetBindingFlags(con._methodBuilder), bindingAttr, CallingConventions.
Any
, con._methodBuilder.ParameterTypes))
798
if (!method.IsConstructor && MatchesTheFilter(method, GetBindingFlags(method), bindingAttr, CallingConventions.
Any
, method.ParameterTypes))
System.Reflection.MetadataLoadContext (2)
System\Reflection\Runtime\BindingFlagSupport\Shared.cs (1)
29
if ((callConv & CallingConventions.
Any
) == 0)
System\Reflection\TypeLoading\RuntimeTypeInfo.BindingFlags.cs (1)
74
Debug.Assert(callConvention == CallingConventions.
Any
);