Base:
property
CallingConvention
Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol.CallingConvention
4 writes to CallingConvention
Microsoft.CodeAnalysis.CSharp (4)
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (4)
454
CallingConvention
= callingConvention;
501
CallingConvention
= callingConvention;
529
CallingConvention
= callingConvention;
551
CallingConvention
= callingConvention;
32 references to CallingConvention
Microsoft.CodeAnalysis.CSharp (32)
Binder\Semantics\Conversions\Conversions.cs (2)
120
new CallingConventionInfo(destination.Signature.
CallingConvention
, destination.Signature.GetCallingConventionModifiers()),
277
return (signature, true, new CallingConventionInfo(signature.
CallingConvention
, signature.GetCallingConventionModifiers()));
Binder\Semantics\Conversions\ConversionsBase.cs (3)
3385
sourceSig.
CallingConvention
!= destinationSig.
CallingConvention
)
3390
if (sourceSig.
CallingConvention
== Cci.CallingConvention.Unmanaged &&
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (2)
1888
if (sourceSignature.
CallingConvention
!= targetSignature.
CallingConvention
)
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (25)
113
return
CallingConvention
.Default;
121
return
CallingConvention
.Default;
146
return
CallingConvention
.Unmanaged;
152
{ ValueText: "Cdecl" } =>
CallingConvention
.CDecl,
153
{ ValueText: "Stdcall" } =>
CallingConvention
.Standard,
154
{ ValueText: "Thiscall" } =>
CallingConvention
.ThisCall,
155
{ ValueText: "Fastcall" } =>
CallingConvention
.FastCall,
168
return
CallingConvention
.Default;
182
return
CallingConvention
.Unmanaged;
197
return
CallingConvention
.Unmanaged;
280
Debug.Assert(callingConvention ==
CallingConvention
.Unmanaged);
339
this.
CallingConvention
,
643
if (!
CallingConvention
.IsCallingConvention(
CallingConvention
.Unmanaged))
672
if (modifiersToSearch.IsEmpty ||
CallingConvention
!=
CallingConvention
.Unmanaged)
723
if (
CallingConvention
!= other.
CallingConvention
736
if (
CallingConvention
.IsCallingConvention(
CallingConvention
.Unmanaged)
761
=> Hash.Combine(ReturnType, Hash.Combine(((int)
CallingConvention
).GetHashCode(), ((int)FunctionPointerTypeSymbol.GetRefKindForHashCode(RefKind)).GetHashCode()));
779
if (
CallingConvention
.IsCallingConvention(
CallingConvention
.ExtraArguments))
811
var isVararg =
CallingConvention
.IsCallingConvention(
CallingConvention
.ExtraArguments);