78 references to ERR_PartialMisplaced
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (1)
832
or ErrorCode.
ERR_PartialMisplaced
Symbols\Source\ModifierUtils.cs (3)
138
diagnostics.Add(ErrorCode.
ERR_PartialMisplaced
, partialToken.GetLocation());
143
diagnostics.Add(ErrorCode.
ERR_PartialMisplaced
, errorLocation);
440
ErrorCode.
ERR_PartialMisplaced
,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (11)
PartialEventsAndConstructorsTests.cs (10)
285
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(3, 5),
288
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(4, 5),
291
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(5, 5),
294
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(6, 5));
669
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(3, 12),
672
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(4, 12),
691
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(3, 5),
694
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(3, 5),
697
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(4, 5),
700
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(4, 5),
Semantics\RecordTests.cs (1)
25910
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(2, 1));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\RecordStructTests.cs (1)
3104
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(2, 1)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (45)
Symbols\DefaultInterfaceImplementationTests.cs (5)
11565
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(13, 5)
44590
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(66, 5),
44593
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(66, 5),
44608
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(74, 5),
44611
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)
848
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(1, 1),
851
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "M").WithLocation(1, 30));
860
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "M").WithLocation(1, 30));
869
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 (14)
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),
906
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(4, 19),
912
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(9, 12),
918
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(14, 12),
921
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(19, 19),
22609
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(52, 12),
22759
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(52, 12),
Symbols\SymbolErrorTests.cs (15)
14169
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(4, 5),
22194
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(3, 5),
22271
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(3, 5),
22274
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(3, 5),
22277
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(3, 5),
22280
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(3, 5),
22283
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(3, 5),
22286
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(3, 5),
22289
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(3, 12),
22292
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(3, 12),
22295
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(3, 12),
22298
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(3, 12),
22301
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(3, 12),
22304
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(3, 19),
22307
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(3, 19),
Symbols\TypeTests.cs (2)
2547
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "").WithLocation(8, 18),
2595
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "").WithLocation(21, 18),
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 (17)
Parsing\DeclarationParsingTests.cs (1)
5762
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "E").WithLocation(1, 14));
Parsing\ExtensionsParsingTests.cs (1)
1698
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "extension").WithLocation(3, 13),
Parsing\FileModifierParsingTests.cs (3)
104
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "C").WithLocation(1, 19)
191
Diagnostic(ErrorCode.
ERR_PartialMisplaced
, "partial").WithLocation(1, 1)
242
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)