27 references to ERR_FunctionPointerTypesInAttributeNotSupported
Microsoft.CodeAnalysis.CSharp (3)
Errors\ErrorFacts.cs (2)
648
or ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
2172
or ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
Errors\MessageProvider.cs (1)
254
public override int ERR_FunctionPointerTypesInAttributeNotSupported => (int)ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
;
Microsoft.CodeAnalysis.CSharp.CSharp15.UnitTests (2)
UnsafeEvolutionTests.cs (2)
1931
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
).WithLocation(1, 1),
1986
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
).WithLocation(1, 1),
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (21)
CodeGen\CodeGenFunctionPointersTests.cs (21)
11473
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "Attr(typeof(delegate*<void>))").WithLocation(4, 2),
11476
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "Attr(typeof(delegate*<void>[]))").WithLocation(5, 2),
11479
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "Attr(typeof(C<delegate*<void>[]>))").WithLocation(6, 2)
11513
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(default(B<delegate*<void>[]>.E))").WithLocation(11, 2),
11543
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(default(B<delegate*<void>[]>.E))").WithLocation(11, 2),
11581
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A<object>(default(B<delegate*<void>[]>.E))").WithLocation(11, 2),
11610
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, @"A(null, ""abc"", default(B<delegate*<void>[]>.E))").WithLocation(11, 2));
11635
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(P = default(B<delegate*<void>[]>.E))").WithLocation(11, 2));
11792
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(P = default)").WithLocation(11, 2));
11854
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(P = default(B<delegate*<void>[]>.E))").WithLocation(11, 2));
11966
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(B<delegate*<void>[]>.C)").WithLocation(12, 2));
11991
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(new B<delegate*<void>[]>.E[]{})").WithLocation(11, 2));
12018
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(new object[] { new B<delegate*<void>[]>.E() })").WithLocation(11, 2));
12068
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, $"A(new B<delegate*<void>[]>.E{initializer})").WithLocation(11, 2));
12105
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A<object>(B<delegate*<void>[]>.C)").WithLocation(12, 2),
12135
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A<object>(B<delegate*<void>[]>.C)").WithLocation(12, 2));
12200
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(y: 1, x: B<delegate*<void>[]>.C)").WithLocation(12, 2));
12226
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(P = B<delegate*<void>[]>.C)").WithLocation(12, 2));
12251
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(P = new B<delegate*<void>[]>.E[]{})").WithLocation(11, 2));
12278
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(P = new object[] { new B<delegate*<void>[]>.E() })").WithLocation(11, 2));
12438
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(P = B<delegate*<void>[]>.C)").WithLocation(12, 2));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
3020
case ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
: