6 references to ERR_AttributeCtorInParameter
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Attributes.cs (1)
252
Error(diagnostics, ErrorCode.
ERR_AttributeCtorInParameter
, node, attributeConstructor.ToDisplayString(SymbolDisplayFormat.CSharpErrorMessageFormat));
Errors\ErrorFacts.cs (1)
1873
or ErrorCode.
ERR_AttributeCtorInParameter
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
RefReadonlyParameterTests.cs (2)
615
Diagnostic(ErrorCode.
ERR_AttributeCtorInParameter
, "A(1)").WithArguments("A.A(ref readonly int)").WithLocation(1, 2),
621
Diagnostic(ErrorCode.
ERR_AttributeCtorInParameter
, "B()").WithArguments("B.B(ref readonly int)").WithLocation(7, 2),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\SemanticErrorTests.cs (2)
24831
Diagnostic(ErrorCode.
ERR_AttributeCtorInParameter
, "A(1)").WithArguments("A.A(in int)").WithLocation(2, 2),
24834
Diagnostic(ErrorCode.
ERR_AttributeCtorInParameter
, "B()").WithArguments("B.B(in int)").WithLocation(7, 2)