28 references to ERR_WrongFuncPtrCallingConvention
Microsoft.CodeAnalysis.CSharp (2)
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
578
ErrorCode.
ERR_WrongFuncPtrCallingConvention
,
Errors\ErrorFacts.cs (1)
2002
case ErrorCode.
ERR_WrongFuncPtrCallingConvention
:
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (26)
CodeGen\CodeGenFunctionPointersTests.cs (26)
3271
Diagnostic(ErrorCode.
ERR_WrongFuncPtrCallingConvention
, "M1").WithArguments("C.M1()", callingConvention).WithLocation(7, 33 + callingConventionKeyword.Length));
4077
Diagnostic(ErrorCode.
ERR_WrongFuncPtrCallingConvention
, "Program.M").WithArguments("ConsoleApplication.Program.M()", "Default").WithLocation(7, 32)
8571
Diagnostic(ErrorCode.
ERR_WrongFuncPtrCallingConvention
, "M1", isSuppressed: false).WithArguments("C.M1()", "Default").WithLocation(11, 31)
8604
Diagnostic(ErrorCode.
ERR_WrongFuncPtrCallingConvention
, "E.M1", isSuppressed: false).WithArguments("D.M1()", "Default").WithLocation(9, 31)
8637
Diagnostic(ErrorCode.
ERR_WrongFuncPtrCallingConvention
, "M1", isSuppressed: false).WithArguments("D.M1()", "Default").WithLocation(9, 31)
8676
Diagnostic(ErrorCode.
ERR_WrongFuncPtrCallingConvention
, "C.M1", isSuppressed: false).WithArguments("C.M1()", "Default").WithLocation(7, 31),
10168
Diagnostic(ErrorCode.
ERR_WrongFuncPtrCallingConvention
, "C.M1").WithArguments("C.M1()", "Standard").WithLocation(27, 51)
10177
Diagnostic(ErrorCode.
ERR_WrongFuncPtrCallingConvention
, "C.M1").WithArguments("C.M1()", "Standard").WithLocation(6, 51)
10222
Diagnostic(ErrorCode.
ERR_WrongFuncPtrCallingConvention
, "C.M1").WithArguments("C.M1()", "Standard").WithLocation(27, 51)
10231
Diagnostic(ErrorCode.
ERR_WrongFuncPtrCallingConvention
, "C.M1").WithArguments("C.M1()", "Standard").WithLocation(6, 51)
10273
Diagnostic(ErrorCode.
ERR_WrongFuncPtrCallingConvention
, "C.M").WithArguments("C.M()", "CDecl").WithLocation(28, 50)
10284
Diagnostic(ErrorCode.
ERR_WrongFuncPtrCallingConvention
, "C.M").WithArguments("C.M()", "CDecl").WithLocation(7, 50)
10335
Diagnostic(ErrorCode.
ERR_WrongFuncPtrCallingConvention
, "C.M").WithArguments("C.M()", "Unmanaged").WithLocation(26, 43),
10338
Diagnostic(ErrorCode.
ERR_WrongFuncPtrCallingConvention
, "C.M").WithArguments("C.M()", "CDecl").WithLocation(27, 50)
10349
Diagnostic(ErrorCode.
ERR_WrongFuncPtrCallingConvention
, "C.M").WithArguments("C.M()", "Unmanaged").WithLocation(6, 43),
10352
Diagnostic(ErrorCode.
ERR_WrongFuncPtrCallingConvention
, "C.M").WithArguments("C.M()", "CDecl").WithLocation(7, 50)
10463
Diagnostic(ErrorCode.
ERR_WrongFuncPtrCallingConvention
, "C.M").WithArguments("C.M()", "Standard").WithLocation(9, 52),
10508
Diagnostic(ErrorCode.
ERR_WrongFuncPtrCallingConvention
, "F", isSuppressed: false).WithArguments("A.F()", "Unmanaged").WithLocation(9, 43)
10552
Diagnostic(ErrorCode.
ERR_WrongFuncPtrCallingConvention
, "M", isSuppressed: false).WithArguments("C.M()", "Default").WithLocation(10, 39)
10560
Diagnostic(ErrorCode.
ERR_WrongFuncPtrCallingConvention
, "M", isSuppressed: false).WithArguments("C.M()", "Unmanaged").WithLocation(11, 51)
10569
Diagnostic(ErrorCode.
ERR_WrongFuncPtrCallingConvention
, "M", isSuppressed: false).WithArguments("C.M()", "CDecl").WithLocation(12, 54)
10578
Diagnostic(ErrorCode.
ERR_WrongFuncPtrCallingConvention
, "M", isSuppressed: false).WithArguments("C.M()", "ThisCall").WithLocation(13, 60)
10587
Diagnostic(ErrorCode.
ERR_WrongFuncPtrCallingConvention
, "M", isSuppressed: false).WithArguments("C.M()", "Standard").WithLocation(14, 58)
10596
Diagnostic(ErrorCode.
ERR_WrongFuncPtrCallingConvention
, "M", isSuppressed: false).WithArguments("C.M()", "FastCall").WithLocation(15, 60)
10605
Diagnostic(ErrorCode.
ERR_WrongFuncPtrCallingConvention
, "M", isSuppressed: false).WithArguments("C.M()", "Unmanaged").WithLocation(16, 72)
10748
Diagnostic(ErrorCode.
ERR_WrongFuncPtrCallingConvention
, "M1", isSuppressed: false).WithArguments("C.M1(int)", "Default").WithLocation(11, 48),