6 references to ERR_AttributeCtorInParameter
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Attributes.cs (1)
254
Error(diagnostics, ErrorCode.
ERR_AttributeCtorInParameter
, node, attributeConstructor.ToDisplayString(SymbolDisplayFormat.CSharpErrorMessageFormat));
Errors\ErrorFacts.cs (1)
1872
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)
24876
Diagnostic(ErrorCode.
ERR_AttributeCtorInParameter
, "A(1)").WithArguments("A.A(in int)").WithLocation(2, 2),
24879
Diagnostic(ErrorCode.
ERR_AttributeCtorInParameter
, "B()").WithArguments("B.B(in int)").WithLocation(7, 2)