27 references to VarArgs
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (1)
1641bool isVarArg = associatedInfo is MethodBase mb && (mb.CallingConvention & CallingConventions.VarArgs) != 0;
Mono.Cecil (1)
Mono.Cecil\Import.cs (1)
403 if (HasCallingConvention (method, SR.CallingConventions.VarArgs))
System.Linq.Expressions (3)
System\Linq\Expressions\Compiler\LambdaCompiler.Expressions.cs (2)
419if (mi.CallingConvention == CallingConventions.VarArgs) 453if (method.CallingConvention == CallingConventions.VarArgs)
System\Linq\Expressions\IndexExpression.cs (1)
463if ((method.CallingConvention & CallingConventions.VarArgs) != 0)
System.Private.CoreLib (12)
src\runtime\src\libraries\System.Private.CoreLib\src\System\DefaultBinder.cs (3)
117if ((candidates[i]!.CallingConvention & CallingConventions.VarArgs) == 0) 353if ((candidates[0]!.CallingConvention & CallingConventions.VarArgs) == 0) 438if ((bestMatch.CallingConvention & CallingConventions.VarArgs) == 0)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\CallingConventions.cs (1)
14Any = Standard | VarArgs,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBase.cs (2)
119if ((callingConvention & CallingConventions.VarArgs) == CallingConventions.VarArgs)
System\ActivatorImplementation.cs (2)
124Debug.Assert((invokeMethod.CallingConvention & CallingConventions.VarArgs) == CallingConventions.VarArgs);
System\Reflection\Runtime\BindingFlagSupport\Shared.cs (4)
35if ((callConv & CallingConventions.VarArgs) != 0 && (methodBase.CallingConvention & CallingConventions.VarArgs) == 0) 61if ((methodBase.CallingConvention & CallingConventions.VarArgs) == 0) 69Debug.Assert((callConv & CallingConventions.VarArgs) != 0);
System.Reflection.Context (2)
System\Reflection\Context\Virtual\VirtualMethodBase.cs (2)
155if ((CallingConvention & CallingConventions.VarArgs) == CallingConventions.VarArgs)
System.Reflection.Emit (5)
System\Reflection\Emit\ILGeneratorImpl.cs (1)
688if ((callingConvention & CallingConventions.VarArgs) == 0)
System\Reflection\Emit\ModuleBuilderImpl.cs (2)
811if ((callingConventions & CallingConventions.VarArgs) != 0) 1199if ((method.CallingConvention & CallingConventions.VarArgs) == 0)
System\Reflection\Emit\TypeBuilderImpl.cs (2)
696if ((callConv & CallingConventions.VarArgs) != 0 && (method.CallingConvention & CallingConventions.VarArgs) == 0)
System.Reflection.MetadataLoadContext (3)
System\Reflection\Runtime\BindingFlagSupport\Shared.cs (2)
31if ((callConv & CallingConventions.VarArgs) != 0 && (methodBase.CallingConvention & CallingConventions.VarArgs) == 0)
System\Reflection\TypeLoading\MethodBase\Ecma\EcmaMethodDecoder.cs (1)
56result = CallingConventions.VarArgs;