13 overrides of CallingConvention
System.Private.CoreLib (6)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\ConstructorOnTypeBuilderInstantiation.cs (1)
58public override CallingConventions CallingConvention => _ctor.CallingConvention;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodBuilderInstantiation.cs (1)
62public override CallingConventions CallingConvention => _method.CallingConvention;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodOnTypeBuilderInstantiation.cs (1)
70public override CallingConventions CallingConvention => _method.CallingConvention;
System\Reflection\Emit\DynamicMethod.cs (1)
67public override CallingConventions CallingConvention
System\Reflection\Runtime\MethodInfos\RuntimeConstructorInfo.cs (1)
21public abstract override CallingConventions CallingConvention { get; }
System\Reflection\Runtime\MethodInfos\RuntimeMethodInfo.cs (1)
31public abstract override CallingConventions CallingConvention
System.Reflection.Context (3)
System\Reflection\Context\Delegation\DelegatingConstructorInfo.cs (1)
24public override CallingConventions CallingConvention
System\Reflection\Context\Delegation\DelegatingMethodInfo.cs (1)
26public override CallingConventions CallingConvention
System\Reflection\Context\Virtual\VirtualMethodBase.cs (1)
21public sealed override CallingConventions CallingConvention
System.Reflection.Emit (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodBuilderInstantiation.cs (1)
62public override CallingConventions CallingConvention => _method.CallingConvention;
System\Reflection\Emit\ArrayMethod.cs (1)
66public override CallingConventions CallingConvention => _callingConvention;
System.Reflection.MetadataLoadContext (2)
System\Reflection\TypeLoading\Constructors\RoConstructor.cs (1)
49public sealed override CallingConventions CallingConvention => (_lazyCallingConventions == CallingConventionsSentinel) ? (_lazyCallingConventions = ComputeCallingConvention()) : _lazyCallingConventions;
System\Reflection\TypeLoading\Methods\RoMethod.cs (1)
57public 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)
1641bool 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)
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 (10)
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\Emit\ConstructorOnTypeBuilderInstantiation.cs (1)
58public override CallingConventions CallingConvention => _ctor.CallingConvention;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodBuilderInstantiation.cs (1)
62public override CallingConventions CallingConvention => _method.CallingConvention;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodOnTypeBuilderInstantiation.cs (1)
70public override CallingConventions CallingConvention => _method.CallingConvention;
System\ActivatorImplementation.cs (1)
125Debug.Assert((invokeMethod.CallingConvention & CallingConventions.VarArgs) == CallingConventions.VarArgs);
System\Reflection\Runtime\BindingFlagSupport\Shared.cs (3)
34if ((callConv & CallingConventions.VarArgs) != 0 && (methodBase.CallingConvention & CallingConventions.VarArgs) == 0) 37if ((callConv & CallingConventions.Standard) != 0 && (methodBase.CallingConvention & CallingConventions.Standard) == 0) 60if ((methodBase.CallingConvention & CallingConventions.VarArgs) == 0)
System.Reflection.Context (2)
System\Reflection\Context\Delegation\DelegatingConstructorInfo.cs (1)
26get { return UnderlyingConstructor.CallingConvention; }
System\Reflection\Context\Delegation\DelegatingMethodInfo.cs (1)
28get { return UnderlyingMethod.CallingConvention; }
System.Reflection.Emit (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodBuilderInstantiation.cs (1)
62public override CallingConventions CallingConvention => _method.CallingConvention;
System\Reflection\Emit\ModuleBuilderImpl.cs (2)
799GetSignatureConvention(method.CallingConvention), method.GetGenericArguments().Length, !method.IsStatic, optionalParameterTypes); 1199if ((method.CallingConvention & CallingConventions.VarArgs) == 0)
System\Reflection\Emit\TypeBuilderImpl.cs (1)
1266MethodInfo? targetMethod = GetMethodImpl(interfaceMethod.Name, GetBindingFlags(interfaceMethod), null, interfaceMethod.CallingConvention, GetParameterTypes(interfaceMethod.GetParameters()), null);
System.Reflection.MetadataLoadContext (2)
System\Reflection\Runtime\BindingFlagSupport\Shared.cs (2)
31if ((callConv & CallingConventions.VarArgs) != 0 && (methodBase.CallingConvention & CallingConventions.VarArgs) == 0) 34if ((callConv & CallingConventions.Standard) != 0 && (methodBase.CallingConvention & CallingConventions.Standard) == 0)