20 references to ERR_FunctionPointerTypesInAttributeNotSupported
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2166
or ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
Errors\MessageProvider.cs (1)
253
public override int ERR_FunctionPointerTypesInAttributeNotSupported => (int)ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
;
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (18)
CodeGen\CodeGenFunctionPointersTests.cs (18)
11484
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "Attr(typeof(delegate*<void>))").WithLocation(4, 2),
11487
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "Attr(typeof(delegate*<void>[]))").WithLocation(5, 2),
11490
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "Attr(typeof(C<delegate*<void>[]>))").WithLocation(6, 2)
11543
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(default(B<delegate*<void>[]>.E))").WithLocation(11, 2));
11595
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, @"A(null, ""abc"", default(B<delegate*<void>[]>.E))").WithLocation(11, 2));
11620
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(P = default(B<delegate*<void>[]>.E))").WithLocation(11, 2));
11771
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(P = default)").WithLocation(11, 2));
11833
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(P = default(B<delegate*<void>[]>.E))").WithLocation(11, 2));
11945
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(B<delegate*<void>[]>.C)").WithLocation(12, 2));
11970
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(new B<delegate*<void>[]>.E[]{})").WithLocation(11, 2));
11997
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(new object[] { new B<delegate*<void>[]>.E() })").WithLocation(11, 2));
12047
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, $"A(new B<delegate*<void>[]>.E{initializer})").WithLocation(11, 2));
12104
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A<object>(B<delegate*<void>[]>.C)").WithLocation(12, 2));
12169
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(y: 1, x: B<delegate*<void>[]>.C)").WithLocation(12, 2));
12195
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(P = B<delegate*<void>[]>.C)").WithLocation(12, 2));
12220
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(P = new B<delegate*<void>[]>.E[]{})").WithLocation(11, 2));
12247
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(P = new object[] { new B<delegate*<void>[]>.E() })").WithLocation(11, 2));
12403
Diagnostic(ErrorCode.
ERR_FunctionPointerTypesInAttributeNotSupported
, "A(P = B<delegate*<void>[]>.C)").WithLocation(12, 2));