14 references to ERR_UnsupportedCallingConvention
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2079
or ErrorCode.
ERR_UnsupportedCallingConvention
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (1)
781
MergeUseSiteInfo(ref info, new UseSiteInfo<AssemblySymbol>(new CSDiagnosticInfo(ErrorCode.
ERR_UnsupportedCallingConvention
, this)));
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (12)
CodeGen\CodeGenFunctionPointersTests.cs (12)
948
Diagnostic(ErrorCode.
ERR_UnsupportedCallingConvention
, "c.Field(__arglist(1, 2))").WithArguments("delegate* unmanaged[]<void>").WithLocation(6, 9),
951
Diagnostic(ErrorCode.
ERR_UnsupportedCallingConvention
, "Field").WithArguments("delegate* unmanaged[]<void>").WithLocation(6, 11),
954
Diagnostic(ErrorCode.
ERR_UnsupportedCallingConvention
, "c.Field(1, 2, 3)").WithArguments("delegate* unmanaged[]<void>").WithLocation(7, 9),
957
Diagnostic(ErrorCode.
ERR_UnsupportedCallingConvention
, "Field").WithArguments("delegate* unmanaged[]<void>").WithLocation(7, 11),
960
Diagnostic(ErrorCode.
ERR_UnsupportedCallingConvention
, "c.Field()").WithArguments("delegate* unmanaged[]<void>").WithLocation(8, 9),
963
Diagnostic(ErrorCode.
ERR_UnsupportedCallingConvention
, "Field").WithArguments("delegate* unmanaged[]<void>").WithLocation(8, 11),
966
Diagnostic(ErrorCode.
ERR_UnsupportedCallingConvention
, "Field").WithArguments("delegate* unmanaged[]<void>").WithLocation(9, 11),
969
Diagnostic(ErrorCode.
ERR_UnsupportedCallingConvention
, "Field").WithArguments("delegate* unmanaged[]<void>").WithLocation(9, 21),
972
Diagnostic(ErrorCode.
ERR_UnsupportedCallingConvention
, "c.Prop()").WithArguments("delegate* unmanaged[]<void>").WithLocation(10, 9),
975
Diagnostic(ErrorCode.
ERR_UnsupportedCallingConvention
, "Prop").WithArguments("delegate* unmanaged[]<void>").WithLocation(10, 11),
978
Diagnostic(ErrorCode.
ERR_UnsupportedCallingConvention
, "Prop").WithArguments("delegate* unmanaged[]<void>").WithLocation(11, 11),
981
Diagnostic(ErrorCode.
ERR_UnsupportedCallingConvention
, "Prop").WithArguments("delegate* unmanaged[]<void>").WithLocation(11, 20)