43 references to Standard
dotnet-svcutil-lib (1)
FrameworkFork\Microsoft.Xml\External\Extensions.cs (1)
26return GetMethod(type, name, bindingAttr, binder, CallingConventions.Standard, types, modifiers);
Microsoft.AspNetCore.SignalR.Core (2)
Internal\TypedClientBuilder.cs (2)
96var ctor = type.DefineConstructor(MethodAttributes.Public, CallingConventions.Standard, ParameterTypes); 241var method = type.DefineMethod(nameof(Build), MethodAttributes.Public | MethodAttributes.Static, CallingConventions.Standard, typeof(T), ParameterTypes);
Microsoft.Extensions.DependencyInjection (1)
ServiceLookup\ILEmit\ILEmitResolverBuilder.cs (1)
91callingConvention: CallingConventions.Standard,
System.ComponentModel.Composition (2)
Microsoft\Internal\GenerationServices.cs (1)
45CallingConventions.Standard,
System\ComponentModel\Composition\MetadataViewGenerator.cs (1)
195ConstructorBuilder proxyCtor = proxyTypeBuilder.DefineConstructor(MethodAttributes.Public, CallingConventions.Standard, CtorArgumentTypes);
System.Linq.Expressions (1)
System\Linq\Expressions\Compiler\DelegateHelpers.cs (1)
126builder.DefineConstructor(ctorAttributes, CallingConventions.Standard, delegateCtorSignature).SetImplementationFlags(implAttributes);
System.Private.CoreLib (20)
src\libraries\System.Private.CoreLib\src\System\Reflection\CallingConventions.cs (1)
14Any = Standard | VarArgs,
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\DynamicMethod.cs (7)
35CallingConventions.Standard, 52CallingConventions.Standard, 71CallingConventions.Standard, 91CallingConventions.Standard, 132CallingConventions.Standard, 152CallingConventions.Standard, 227if (attributes != (MethodAttributes.Static | MethodAttributes.Public) || callingConvention != CallingConventions.Standard)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\ModuleBuilder.cs (1)
71=> DefineGlobalMethod(name, attributes, CallingConventions.Standard, returnType, null, null, parameterTypes, null, null);
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\TypeBuilder.cs (2)
107=> DefineMethod(name, attributes, CallingConventions.Standard, null, null); 117=> DefineMethod(name, attributes, CallingConventions.Standard, returnType, parameterTypes);
src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBase.cs (1)
27public virtual CallingConventions CallingConvention => CallingConventions.Standard;
src\System\Reflection\Emit\CustomAttributeBuilder.cs (2)
77if ((con.CallingConvention & CallingConventions.Standard) != CallingConventions.Standard)
src\System\Reflection\Emit\RuntimeConstructorBuilder.cs (1)
151return CallingConventions.Standard;
src\System\Reflection\Emit\RuntimeTypeBuilder.cs (2)
1207ConstructorInfo.TypeConstructorName, attr, CallingConventions.Standard, null, m_module, this); 1268constBuilder = (RuntimeConstructorBuilder)DefineConstructor(attributes, CallingConventions.Standard, null);
src\System\Reflection\Emit\SignatureHelper.cs (1)
21return GetMethodSigHelper(mod, CallingConventions.Standard, returnType, null, null, parameterTypes, null, null);
src\System\RuntimeType.CoreCLR.cs (2)
2298if ((callConv & CallingConventions.Standard) != 0 && 2299(methodBase.CallingConvention & CallingConventions.Standard) == 0)
System.Reflection.Context (1)
System\Reflection\Context\Virtual\VirtualMethodBase.cs (1)
23get { return CallingConventions.HasThis | CallingConventions.Standard; }
System.Reflection.DispatchProxy (1)
System\Reflection\DispatchProxyGenerator.cs (1)
427MethodBuilder mdb = _tb.DefineMethod(mi.Name, attributes, CallingConventions.Standard,
System.Reflection.Emit (5)
System\Reflection\Emit\ConstructorBuilderImpl.cs (1)
60return CallingConventions.Standard;
System\Reflection\Emit\TypeBuilderImpl.cs (4)
219ConstructorBuilderImpl constBuilder = (ConstructorBuilderImpl)DefineConstructorCore(attributes, CallingConventions.Standard, null, null, null); 413return new ConstructorBuilderImpl(ConstructorInfo.TypeConstructorName, attr, CallingConventions.Standard, null, null, null, _module, this); 701if ((callConv & CallingConventions.Standard) != 0 && (method.CallingConvention & CallingConventions.Standard) == 0)
System.Reflection.MetadataLoadContext (5)
System\Reflection\Runtime\BindingFlagSupport\Shared.cs (2)
34if ((callConv & CallingConventions.Standard) != 0 && (methodBase.CallingConvention & CallingConventions.Standard) == 0)
System\Reflection\TypeLoading\Constructors\RoSyntheticConstructor.cs (1)
36protected sealed override CallingConventions ComputeCallingConvention() => CallingConventions.Standard | CallingConventions.HasThis;
System\Reflection\TypeLoading\MethodBase\Ecma\EcmaMethodDecoder.cs (1)
58result = CallingConventions.Standard;
System\Reflection\TypeLoading\Methods\RoSyntheticMethod.cs (1)
39protected sealed override CallingConventions ComputeCallingConvention() => CallingConventions.Standard | CallingConventions.HasThis;
System.Runtime.InteropServices (1)
System\Runtime\InteropServices\Marshalling\ComImportInteropInterfaceDetailsStrategy.cs (1)
146CallingConventions.Standard,
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\RegexAssemblyCompiler.cs (2)
76ConstructorBuilder defaultCtorBuilder = regexTypeBuilder.DefineConstructor(MethodAttributes.Public, CallingConventions.Standard, Type.EmptyTypes); 85_ilg = regexTypeBuilder.DefineConstructor(MethodAttributes.Public, CallingConventions.Standard, new Type[] { typeof(TimeSpan) }).GetILGenerator();
System\Text\RegularExpressions\RegexLWCGCompiler.cs (1)
77const CallingConventions Conventions = CallingConventions.Standard;