16 overrides of CallingConvention
System.Private.CoreLib (9)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\ConstructorOnTypeBuilderInstantiation.cs (1)
58public override CallingConventions CallingConvention => _ctor.CallingConvention;
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\DynamicMethod.cs (1)
328public override CallingConventions CallingConvention => _callingConvention;
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodBuilderInstantiation.cs (1)
62public override CallingConventions CallingConvention => _method.CallingConvention;
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodOnTypeBuilderInstantiation.cs (1)
70public override CallingConventions CallingConvention => _method.CallingConvention;
src\System\Reflection\Emit\RuntimeConstructorBuilder.cs (1)
144public override CallingConventions CallingConvention
src\System\Reflection\Emit\RuntimeMethodBuilder.cs (1)
438public override CallingConventions CallingConvention => m_callingConvention;
src\System\Reflection\Emit\SymbolMethod.cs (1)
94public override CallingConventions CallingConvention => m_callingConvention;
src\System\Reflection\RuntimeConstructorInfo.CoreCLR.cs (1)
198public override CallingConventions CallingConvention => Signature.CallingConvention;
src\System\Reflection\RuntimeMethodInfo.CoreCLR.cs (1)
269public override CallingConventions CallingConvention => Signature.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\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)
50public sealed override CallingConventions CallingConvention => (_lazyCallingConventions == CallingConventionsSentinel) ? (_lazyCallingConventions = ComputeCallingConvention()) : _lazyCallingConventions;
System\Reflection\TypeLoading\Methods\RoMethod.cs (1)
58public sealed override CallingConventions CallingConvention => (_lazyCallingConventions == CallingConventionsSentinel) ? (_lazyCallingConventions = ComputeCallingConvention()) : _lazyCallingConventions;
35 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;
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 (19)
src\libraries\System.Private.CoreLib\src\System\DefaultBinder.cs (3)
115if ((candidates[i]!.CallingConvention & CallingConventions.VarArgs) == 0) 351if ((candidates[0]!.CallingConvention & CallingConventions.VarArgs) == 0) 436if ((bestMatch.CallingConvention & CallingConventions.VarArgs) == 0)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\ConstructorOnTypeBuilderInstantiation.cs (1)
58public override CallingConventions CallingConvention => _ctor.CallingConvention;
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodBuilderInstantiation.cs (1)
62public override CallingConventions CallingConvention => _method.CallingConvention;
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodOnTypeBuilderInstantiation.cs (1)
70public override CallingConventions CallingConvention => _method.CallingConvention;
src\System\Reflection\Emit\CustomAttributeBuilder.cs (1)
77if ((con.CallingConvention & CallingConventions.Standard) != CallingConventions.Standard)
src\System\Reflection\Emit\DynamicILGenerator.cs (2)
402if (optionalParameterTypes != null && (methodInfo.CallingConvention & CallingConventions.VarArgs) == 0) 432SignatureHelper sig = GetMethodSigHelper(methodInfo.CallingConvention,
src\System\Reflection\Emit\RuntimeModuleBuilder.cs (6)
276SignatureHelper sigHelp = SignatureHelper.GetMethodSigHelper(this, constructor.CallingConvention, null, null, null, parameterTypes, requiredCustomModifiers, optionalCustomModifiers); 322if ((method.CallingConvention & CallingConventions.VarArgs) == 0) 472SignatureHelper sigHelp = SignatureHelper.GetMethodSigHelper(this, method.CallingConvention, cGenericParameters, returnParameter?.ParameterType, returnParameter?.GetRequiredCustomModifiers(), returnParameter?.GetOptionalCustomModifiers(), parameterTypes, requiredCustomModifiers, optionalCustomModifiers); 1008return GetArrayMethodToken(declaringType, method.Name, method.CallingConvention, method.ReturnType, tt); 1039this, method.CallingConvention, method.ReturnType, 1101if (((method.CallingConvention & CallingConventions.VarArgs) == 0) &&
src\System\RuntimeType.CoreCLR.cs (4)
2268(methodBase.CallingConvention & CallingConventions.VarArgs) == 0) 2272(methodBase.CallingConvention & CallingConventions.Standard) == 0) 2296if ((methodBase.CallingConvention & CallingConventions.VarArgs) == 0) 3924Debug.Assert((invokeMethod.CallingConvention & CallingConventions.VarArgs) ==
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\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodBuilderInstantiation.cs (1)
62public override CallingConventions CallingConvention => _method.CallingConvention;
System\Reflection\Emit\ModuleBuilderImpl.cs (2)
795GetSignatureConvention(method.CallingConvention), method.GetGenericArguments().Length, !method.IsStatic, optionalParameterTypes); 1199if ((method.CallingConvention & CallingConventions.VarArgs) == 0)
System\Reflection\Emit\TypeBuilderImpl.cs (1)
1277MethodInfo? 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)