4 references to ERR_AttributeCtorInParameter
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Attributes.cs (1)
241
Error(diagnostics, ErrorCode.
ERR_AttributeCtorInParameter
, node, attributeConstructor.ToDisplayString(SymbolDisplayFormat.CSharpErrorMessageFormat));
Errors\ErrorFacts.cs (1)
1814
case ErrorCode.
ERR_AttributeCtorInParameter
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\SemanticErrorTests.cs (2)
24575
Diagnostic(ErrorCode.
ERR_AttributeCtorInParameter
, "A(1)").WithArguments("A.A(in int)").WithLocation(2, 2),
24578
Diagnostic(ErrorCode.
ERR_AttributeCtorInParameter
, "B()").WithArguments("B.B(in int)").WithLocation(7, 2)