32 references to ERR_RefReadOnlyWrongOrdering
Microsoft.CodeAnalysis.CSharp (3)
Errors\ErrorFacts.cs (1)
2408
or ErrorCode.
ERR_RefReadOnlyWrongOrdering
Parser\DocumentationCommentParser.cs (1)
1334
var misplacedToken = AddErrorAsWarning(EatToken(), ErrorCode.
ERR_RefReadOnlyWrongOrdering
);
Symbols\Source\ParameterHelpers.cs (1)
785
diagnostics.Add(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, modifier);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (19)
RefReadonlyParameterTests.cs (17)
1662
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 23));
1681
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 15));
1729
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 12),
1732
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 21)
1752
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 12),
1761
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 12)
1781
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 12),
1784
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 21)
1839
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 12)
1860
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 12)
1930
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 15)
1979
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 16)
2028
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 31)
2067
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 35)
2133
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 37)
2154
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 26),
2193
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 33)
Semantics\ExtensionTests.cs (2)
3746
Diagnostic(ErrorCode.
ERR_RefReadOnlyWrongOrdering
, "readonly").WithLocation(3, 15),
3749
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));