32 references to ERR_RefReadOnlyWrongOrdering
Microsoft.CodeAnalysis.CSharp (3)
Errors\ErrorFacts.cs (1)
2407
or ErrorCode.
ERR_RefReadOnlyWrongOrdering
Parser\DocumentationCommentParser.cs (1)
1332
var misplacedToken = AddErrorAsWarning(EatToken(), ErrorCode.
ERR_RefReadOnlyWrongOrdering
);
Symbols\Source\ParameterHelpers.cs (1)
793
diagnostics.Add(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, modifier);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (19)
RefReadonlyParameterTests.cs (17)
1689
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 23));
1708
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 15));
1756
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 12),
1759
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 21)
1779
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 12),
1788
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 12)
1808
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 12),
1811
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 21)
1866
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 12)
1887
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 12)
1957
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 15)
2006
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 16)
2055
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 31)
2094
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 35)
2160
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 37)
2181
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 26),
2220
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 33)
Semantics\ExtensionTests.cs (2)
3907
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 15),
3910
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(4, 24));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\SimpleLambdaParametersWithModifiersTests.cs (1)
1322
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(7, 16));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (8)
DocumentationComments\CrefTests.cs (3)
6793
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 12),
6835
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 12),
6847
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 12),
Symbols\FunctionPointerTypeSymbolTests.cs (1)
549
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(7, 19),
Symbols\Source\ModifierTests.cs (4)
195
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 19));
208
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 19));
223
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(5, 18));
250
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(5, 18));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Parsing\RefReadonlyTests.cs (1)
415
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(4, 12));