3 instantiations of CallingConventionInfo
Microsoft.CodeAnalysis.CSharp (3)
Binder\Semantics\Conversions\Conversions.cs (2)
122new CallingConventionInfo(destination.Signature.CallingConvention, destination.Signature.GetCallingConventionModifiers()), 295return (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)
8769in CallingConventionInfo callingConvention = default) 8855CallingConventionInfo callingConvention, 8962in CallingConventionInfo callingConvention, 10902in CallingConventionInfo callingConventionInfo = default) 10926in CallingConventionInfo callingConventionInfo = default) 10958in CallingConventionInfo callingConvention = default) 11029in CallingConventionInfo callingConvention = default)
Binder\Semantics\Conversions\Conversions.cs (2)
264private static MethodGroupResolution ResolveDelegateOrFunctionPointerMethodGroup(Binder binder, BoundMethodGroup source, MethodSymbol delegateInvokeMethodOpt, bool isFunctionPointer, in CallingConventionInfo callingConventionInfo, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo) 291private 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