27 references to CallingConvention
Microsoft.CodeAnalysis (27)
CodeGen\ArrayMembers.cs (2)
334
public Cci.
CallingConvention
CallingConvention => Cci.
CallingConvention
.HasThis;
Emit\EditAndContinue\DeletedPEMethodDefinition.cs (1)
146
public Cci.
CallingConvention
CallingConvention
Emit\EditAndContinue\DeletedSourceMethodDefinition.cs (1)
91
public
CallingConvention
CallingConvention => OldDefinition.CallingConvention;
Emit\NoPia\CommonEmbeddedMethod.cs (1)
283
Cci.
CallingConvention
Cci.ISignature.CallingConvention => UnderlyingMethodSignature.CallingConvention;
Emit\NoPia\CommonEmbeddedProperty.cs (1)
129
Cci.
CallingConvention
Cci.ISignature.CallingConvention
Emit\NoPia\VtblGap.cs (3)
224
Cci.
CallingConvention
Cci.ISignature.CallingConvention
226
get { return Cci.
CallingConvention
.Default | Cci.
CallingConvention
.HasThis; }
MetadataReader\SymbolFactory.cs (1)
43
internal abstract TypeSymbol MakeFunctionPointerTypeSymbol(ModuleSymbol moduleSymbol, Cci.
CallingConvention
callingConvention, ImmutableArray<ParamInfo<TypeSymbol>> returnAndParamTypes);
MetadataReader\TypeNameDecoder.cs (1)
80
protected TypeSymbol MakeFunctionPointerTypeSymbol(Cci.
CallingConvention
callingConvention, ImmutableArray<ParamInfo<TypeSymbol>> retAndParamInfos)
PEWriter\Members.cs (11)
95
internal static
CallingConvention
FromSignatureConvention(this SignatureCallingConvention convention)
102
return (
CallingConvention
)(convention & SignatureCallingConventionMask);
108
internal static SignatureCallingConvention ToSignatureConvention(this
CallingConvention
convention)
114
internal static bool IsCallingConvention(this
CallingConvention
original,
CallingConvention
compare)
116
Debug.Assert((compare & ~(
CallingConvention
)SignatureCallingConventionMask) == 0);
117
return ((original & (
CallingConvention
)SignatureCallingConventionMask)) == compare;
120
internal static bool HasUnknownCallingConventionAttributeBits(this
CallingConvention
convention)
121
=> (convention & ~((
CallingConvention
)SignatureCallingConventionMask
122
| (
CallingConvention
)SignatureAttributesMask))
793
CallingConvention
CallingConvention { get; }
PEWriter\MetadataWriter.cs (3)
1131
Debug.Assert((methodReference.CallingConvention &
CallingConvention
.Generic) != 0 == (methodReference.GenericParameterCount > 0));
1138
isInstanceMethod: (methodReference.CallingConvention &
CallingConvention
.HasThis) != 0);
1283
isInstanceProperty: (propertyDef.CallingConvention &
CallingConvention
.HasThis) != 0);
PEWriter\RootModuleStaticConstructor.cs (2)
96
public
CallingConvention
CallingConvention =>
CallingConvention
.Default;