13 overrides of CallingConvention
System.Private.CoreLib (6)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\ConstructorOnTypeBuilderInstantiation.cs (1)
58
public override CallingConventions
CallingConvention
=> _ctor.CallingConvention;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodBuilderInstantiation.cs (1)
62
public override CallingConventions
CallingConvention
=> _method.CallingConvention;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodOnTypeBuilderInstantiation.cs (1)
70
public override CallingConventions
CallingConvention
=> _method.CallingConvention;
System\Reflection\Emit\DynamicMethod.cs (1)
67
public override CallingConventions
CallingConvention
System\Reflection\Runtime\MethodInfos\RuntimeConstructorInfo.cs (1)
21
public abstract override CallingConventions
CallingConvention
{ get; }
System\Reflection\Runtime\MethodInfos\RuntimeMethodInfo.cs (1)
31
public abstract override CallingConventions
CallingConvention
System.Reflection.Context (3)
System\Reflection\Context\Delegation\DelegatingConstructorInfo.cs (1)
24
public override CallingConventions
CallingConvention
System\Reflection\Context\Delegation\DelegatingMethodInfo.cs (1)
26
public override CallingConventions
CallingConvention
System\Reflection\Context\Virtual\VirtualMethodBase.cs (1)
21
public sealed override CallingConventions
CallingConvention
System.Reflection.Emit (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodBuilderInstantiation.cs (1)
62
public override CallingConventions
CallingConvention
=> _method.CallingConvention;
System\Reflection\Emit\ArrayMethod.cs (1)
66
public override CallingConventions
CallingConvention
=> _callingConvention;
System.Reflection.MetadataLoadContext (2)
System\Reflection\TypeLoading\Constructors\RoConstructor.cs (1)
49
public sealed override CallingConventions
CallingConvention
=> (_lazyCallingConventions == CallingConventionsSentinel) ? (_lazyCallingConventions = ComputeCallingConvention()) : _lazyCallingConventions;
System\Reflection\TypeLoading\Methods\RoMethod.cs (1)
57
public sealed override CallingConventions
CallingConvention
=> (_lazyCallingConventions == CallingConventionsSentinel) ? (_lazyCallingConventions = ComputeCallingConvention()) : _lazyCallingConventions;
27 references to CallingConvention
Microsoft.CSharp (5)
Microsoft\CSharp\RuntimeBinder\RuntimeBinderExtensions.cs (4)
54
&& method1.
CallingConvention
== method2.
CallingConvention
65
&& ctor1.
CallingConvention
== ctor2.
CallingConvention
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (1)
1641
bool isVarArg = associatedInfo is MethodBase mb && (mb.
CallingConvention
& CallingConventions.VarArgs) != 0;
Mono.Cecil (1)
Mono.Cecil\Import.cs (1)
466
return (method.
CallingConvention
& conventions) != 0;
System.Linq.Expressions (3)
System\Linq\Expressions\Compiler\LambdaCompiler.Expressions.cs (2)
419
if (mi.
CallingConvention
== CallingConventions.VarArgs)
453
if (method.
CallingConvention
== CallingConventions.VarArgs)
System\Linq\Expressions\IndexExpression.cs (1)
463
if ((method.
CallingConvention
& CallingConventions.VarArgs) != 0)
System.Private.CoreLib (10)
src\runtime\src\libraries\System.Private.CoreLib\src\System\DefaultBinder.cs (3)
117
if ((candidates[i]!.
CallingConvention
& CallingConventions.VarArgs) == 0)
353
if ((candidates[0]!.
CallingConvention
& CallingConventions.VarArgs) == 0)
438
if ((bestMatch.
CallingConvention
& CallingConventions.VarArgs) == 0)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\ConstructorOnTypeBuilderInstantiation.cs (1)
58
public override CallingConventions CallingConvention => _ctor.
CallingConvention
;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodBuilderInstantiation.cs (1)
62
public override CallingConventions CallingConvention => _method.
CallingConvention
;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodOnTypeBuilderInstantiation.cs (1)
70
public override CallingConventions CallingConvention => _method.
CallingConvention
;
System\ActivatorImplementation.cs (1)
125
Debug.Assert((invokeMethod.
CallingConvention
& CallingConventions.VarArgs) == CallingConventions.VarArgs);
System\Reflection\Runtime\BindingFlagSupport\Shared.cs (3)
34
if ((callConv & CallingConventions.VarArgs) != 0 && (methodBase.
CallingConvention
& CallingConventions.VarArgs) == 0)
37
if ((callConv & CallingConventions.Standard) != 0 && (methodBase.
CallingConvention
& CallingConventions.Standard) == 0)
60
if ((methodBase.
CallingConvention
& CallingConventions.VarArgs) == 0)
System.Reflection.Context (2)
System\Reflection\Context\Delegation\DelegatingConstructorInfo.cs (1)
26
get { return UnderlyingConstructor.
CallingConvention
; }
System\Reflection\Context\Delegation\DelegatingMethodInfo.cs (1)
28
get { return UnderlyingMethod.
CallingConvention
; }
System.Reflection.Emit (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodBuilderInstantiation.cs (1)
62
public override CallingConventions CallingConvention => _method.
CallingConvention
;
System\Reflection\Emit\ModuleBuilderImpl.cs (2)
799
GetSignatureConvention(method.
CallingConvention
), method.GetGenericArguments().Length, !method.IsStatic, optionalParameterTypes);
1199
if ((method.
CallingConvention
& CallingConventions.VarArgs) == 0)
System\Reflection\Emit\TypeBuilderImpl.cs (1)
1266
MethodInfo? targetMethod = GetMethodImpl(interfaceMethod.Name, GetBindingFlags(interfaceMethod), null, interfaceMethod.
CallingConvention
, GetParameterTypes(interfaceMethod.GetParameters()), null);
System.Reflection.MetadataLoadContext (2)
System\Reflection\Runtime\BindingFlagSupport\Shared.cs (2)
31
if ((callConv & CallingConventions.VarArgs) != 0 && (methodBase.
CallingConvention
& CallingConventions.VarArgs) == 0)
34
if ((callConv & CallingConventions.Standard) != 0 && (methodBase.
CallingConvention
& CallingConventions.Standard) == 0)