3 instantiations of CallingConventionInfo
Microsoft.CodeAnalysis.CSharp (3)
Binder\Semantics\Conversions\Conversions.cs (2)
122new CallingConventionInfo(destination.Signature.CallingConvention, destination.Signature.GetCallingConventionModifiers()), 282return (signature, true, new CallingConventionInfo(signature.CallingConvention, signature.GetCallingConventionModifiers()));
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (1)
1488? new CallingConventionInfo(method.CallingConvention, ((FunctionPointerMethodSymbol)method).GetCallingConventionModifiers())
15 references to CallingConventionInfo
Microsoft.CodeAnalysis.CSharp (15)
Binder\Binder_Expressions.cs (7)
8524in CallingConventionInfo callingConvention = default) 8610CallingConventionInfo callingConvention, 8714in CallingConventionInfo callingConvention, 10634in CallingConventionInfo callingConventionInfo = default) 10658in CallingConventionInfo callingConventionInfo = default) 10690in CallingConventionInfo callingConvention = default) 10761in CallingConventionInfo callingConvention = default)
Binder\Semantics\Conversions\Conversions.cs (2)
251private static MethodGroupResolution ResolveDelegateOrFunctionPointerMethodGroup(Binder binder, BoundMethodGroup source, MethodSymbol delegateInvokeMethodOpt, bool isFunctionPointer, in CallingConventionInfo callingConventionInfo, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo) 278private static (MethodSymbol, bool isFunctionPointer, CallingConventionInfo callingConventionInfo) GetDelegateInvokeOrFunctionPointerMethodIfAvailable(TypeSymbol type)
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (2)
1487CallingConventionInfo callingConventionInfo = isFunctionPointerResolution 1508in 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