8 references to ERR_AddressOfToNonFunctionPointer
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Expressions.cs (1)
2880_ => ErrorCode.ERR_AddressOfToNonFunctionPointer
Binder\Binder_Statements.cs (1)
2500errorCode = ErrorCode.ERR_AddressOfToNonFunctionPointer;
Errors\ErrorFacts.cs (1)
2085or ErrorCode.ERR_AddressOfToNonFunctionPointer
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (4)
CodeGen\CodeGenFunctionPointersTests.cs (4)
3559Diagnostic(ErrorCode.ERR_AddressOfToNonFunctionPointer, "&M").WithArguments("M", "void*").WithLocation(6, 22), 3562Diagnostic(ErrorCode.ERR_AddressOfToNonFunctionPointer, "(void*)&M").WithArguments("M", "void*").WithLocation(7, 22) 3662Diagnostic(ErrorCode.ERR_AddressOfToNonFunctionPointer, "(C)(&M)").WithArguments("M", "C").WithLocation(8, 18), 3665Diagnostic(ErrorCode.ERR_AddressOfToNonFunctionPointer, "&M").WithArguments("M", "C").WithLocation(9, 18)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\UnsafeTests.cs (1)
6700Diagnostic(ErrorCode.ERR_AddressOfToNonFunctionPointer, "&M").WithArguments("M", "int*").WithLocation(41, 13),