20 references to ERR_FunctionPointerTypesInAttributeNotSupported
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2164
or ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
Errors\MessageProvider.cs (1)
254
public override int ERR_FunctionPointerTypesInAttributeNotSupported => (int)ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
;
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (18)
CodeGen\CodeGenFunctionPointersTests.cs (18)
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)
11532
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(default(B<delegate*<void>[]>.E))").WithLocation(11, 2));
11584
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, @"A(null, ""abc"", default(B<delegate*<void>[]>.E))").WithLocation(11, 2));
11609
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(P = default(B<delegate*<void>[]>.E))").WithLocation(11, 2));
11760
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(P = default)").WithLocation(11, 2));
11822
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(P = default(B<delegate*<void>[]>.E))").WithLocation(11, 2));
11934
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(B<delegate*<void>[]>.C)").WithLocation(12, 2));
11959
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(new B<delegate*<void>[]>.E[]{})").WithLocation(11, 2));
11986
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(new object[] { new B<delegate*<void>[]>.E() })").WithLocation(11, 2));
12036
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, $"A(new B<delegate*<void>[]>.E{initializer})").WithLocation(11, 2));
12093
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A<object>(B<delegate*<void>[]>.C)").WithLocation(12, 2));
12158
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(y: 1, x: B<delegate*<void>[]>.C)").WithLocation(12, 2));
12184
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(P = B<delegate*<void>[]>.C)").WithLocation(12, 2));
12209
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(P = new B<delegate*<void>[]>.E[]{})").WithLocation(11, 2));
12236
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(P = new object[] { new B<delegate*<void>[]>.E() })").WithLocation(11, 2));
12396
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(P = B<delegate*<void>[]>.C)").WithLocation(12, 2));