61 references to ERR_PartialMisplaced
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (1)
771
case ErrorCode.
ERR_PartialMisplaced
:
Symbols\Source\ModifierUtils.cs (3)
137
diagnostics.Add(ErrorCode.
ERR_PartialMisplaced
, partialToken.GetLocation());
142
diagnostics.Add(ErrorCode.
ERR_PartialMisplaced
, errorLocation);
415
ErrorCode.
ERR_PartialMisplaced
,
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\RecordStructTests.cs (1)
3032
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(2, 1)
Semantics\RecordTests.cs (1)
25816
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(2, 1));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (39)
Symbols\DefaultInterfaceImplementationTests.cs (5)
11380
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(13, 5)
44405
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(66, 5),
44408
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(66, 5),
44420
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(74, 5),
44423
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(74, 5),
Symbols\EnumTests.cs (2)
409
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(1, 1),
412
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "E").WithLocation(1, 21));
Symbols\Source\DelegateTests.cs (4)
849
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(1, 1),
852
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "M").WithLocation(1, 30));
861
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "M").WithLocation(1, 30));
870
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "M").WithLocation(1, 30));
Symbols\Source\RecordTests.cs (1)
1202
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(2, 1)
Symbols\StaticAbstractMembersInInterfacesTests.cs (10)
824
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(9, 5),
827
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(9, 5),
833
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(14, 5),
836
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(14, 5),
842
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(19, 5),
845
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(19, 5),
848
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(24, 5),
851
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(24, 5),
22095
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(52, 12),
22245
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(52, 12),
Symbols\SymbolErrorTests.cs (15)
14021
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(4, 5),
14024
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(5, 5),
14027
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(6, 5),
22036
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(3, 5),
22039
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(3, 5),
22116
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(3, 5),
22119
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(3, 5),
22122
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(3, 5),
22125
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(3, 5),
22128
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(3, 5),
22131
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(3, 5),
22134
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(3, 12),
22137
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(3, 12),
22140
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(3, 12),
22143
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(3, 12),
Symbols\UserDefinedOperatorErrorTests.cs (2)
200
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(4, 5),
203
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(4, 5),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (16)
Parsing\DeclarationParsingTests.cs (1)
5762
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "E").WithLocation(1, 14));
Parsing\FileModifierParsingTests.cs (3)
103
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "C").WithLocation(1, 19)
190
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(1, 1)
241
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(1, 1)
Parsing\ParserErrorMessageTests.cs (4)
614
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(2, 1));
627
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "E").WithLocation(2, 14));
656
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "").WithLocation(2, 20),
672
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "E").WithLocation(2, 23));
Parsing\ParserRegressionTests.cs (4)
46
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(4, 5),
49
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(5, 5),
64
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(10, 5),
67
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(11, 5),
Parsing\ScriptParsingTests.cs (3)
1047
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(1, 5),
1076
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(1, 12),
1983
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "@en").WithLocation(2, 14));
Parsing\TopLevelStatementsParsingTests.cs (1)
992
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "").WithLocation(2, 20)