3 instantiations of CallingConventionInfo
Microsoft.CodeAnalysis.CSharp (3)
Binder\Semantics\Conversions\Conversions.cs (2)
122new CallingConventionInfo(destination.Signature.CallingConvention, destination.Signature.GetCallingConventionModifiers()), 283return (signature, true, new CallingConventionInfo(signature.CallingConvention, signature.GetCallingConventionModifiers()));
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (1)
1490? new CallingConventionInfo(method.CallingConvention, ((FunctionPointerMethodSymbol)method).GetCallingConventionModifiers())
15 references to CallingConventionInfo
Microsoft.CodeAnalysis.CSharp (15)
Binder\Binder_Expressions.cs (7)
8757in CallingConventionInfo callingConvention = default) 8843CallingConventionInfo callingConvention, 8950in CallingConventionInfo callingConvention, 10870in CallingConventionInfo callingConventionInfo = default) 10894in CallingConventionInfo callingConventionInfo = default) 10926in CallingConventionInfo callingConvention = default) 10997in CallingConventionInfo callingConvention = default)
Binder\Semantics\Conversions\Conversions.cs (2)
252private static MethodGroupResolution ResolveDelegateOrFunctionPointerMethodGroup(Binder binder, BoundMethodGroup source, MethodSymbol delegateInvokeMethodOpt, bool isFunctionPointer, in CallingConventionInfo callingConventionInfo, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo) 279private static (MethodSymbol, bool isFunctionPointer, CallingConventionInfo callingConventionInfo) GetDelegateInvokeOrFunctionPointerMethodIfAvailable(TypeSymbol type)
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (2)
1489CallingConventionInfo callingConventionInfo = isFunctionPointerResolution 1510in CallingConventionInfo callingConventionInfo)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (4)
147in CallingConventionInfo callingConventionInfo = default) 195in CallingConventionInfo callingConventionInfo = default) 436in CallingConventionInfo callingConventionInfo, 663private void RemoveCallingConventionMismatches<TMember>(ArrayBuilder<MemberResolutionResult<TMember>> results, in CallingConventionInfo expectedConvention) where TMember : Symbol