65 references to ERR_CompilationUnitUnexpected
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2557
or ErrorCode.
ERR_CompilationUnitUnexpected
Symbols\Source\SourceMemberContainerSymbol.cs (1)
5847
? ErrorCode.
ERR_CompilationUnitUnexpected
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (37)
Semantics\OutVarTests.cs (13)
30717
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "b").WithLocation(3, 6),
30723
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "d").WithLocation(7, 6),
30726
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "f").WithLocation(9, 6),
30729
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "h").WithLocation(12, 6),
30735
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "x5").WithLocation(15, 6),
30888
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "b").WithLocation(3, 6),
30894
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "d").WithLocation(7, 6),
30897
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "f").WithLocation(9, 6),
30900
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "h").WithLocation(12, 6),
30906
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "x5").WithLocation(15, 6),
31248
int[] exclude = new int[] { (int)ErrorCode.
ERR_CompilationUnitUnexpected
};
31421
int[] exclude = new int[] { (int)ErrorCode.
ERR_CompilationUnitUnexpected
};
32037
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "a").WithLocation(3, 12),
Semantics\PatternMatchingTests_Global.cs (23)
4940
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "b").WithLocation(3, 6),
4946
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "d").WithLocation(7, 6),
4949
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "f").WithLocation(9, 6),
4952
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "h").WithLocation(12, 6),
4958
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "x5").WithLocation(15, 6),
5106
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "b").WithLocation(3, 6),
5112
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "d").WithLocation(7, 6),
5115
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "f").WithLocation(9, 6),
5118
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "h").WithLocation(12, 6),
5124
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "x5").WithLocation(15, 6),
5437
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "b").WithLocation(3, 21),
5443
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "d").WithLocation(7, 21),
5446
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "f").WithLocation(9, 21),
5449
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "h").WithLocation(12, 21),
5455
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "x5").WithLocation(15, 21),
5458
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "i").WithLocation(18, 21),
5622
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "b").WithLocation(3, 21),
5628
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "d").WithLocation(7, 21),
5631
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "f").WithLocation(9, 21),
5634
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "h").WithLocation(12, 21),
5640
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "x5").WithLocation(15, 21),
5643
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "i").WithLocation(18, 21),
6213
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "a").WithLocation(3, 12),
Semantics\RecordTests.cs (1)
70
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "Point").WithLocation(2, 8),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (26)
Semantics\RefFieldTests.cs (2)
11778
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "A").WithLocation(1, 15),
11823
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "A").WithLocation(1, 15),
Semantics\SemanticErrorTests.cs (1)
2752
new ErrorDescription { Code = (int)ErrorCode.
ERR_CompilationUnitUnexpected
, Line = 10, Column = 5 });
Semantics\TopLevelStatementsTests.cs (23)
742
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "a").WithLocation(2, 12),
751
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "b").WithLocation(4, 15),
2614
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "M").WithLocation(5, 10),
2645
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "F").WithLocation(5, 9),
2670
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "M").WithLocation(5, 10),
4404
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "localA").WithLocation(2, 10),
4416
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "localC").WithLocation(6, 14),
4425
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "localD").WithLocation(8, 13),
4434
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "localE").WithLocation(10, 15),
4446
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "localF").WithLocation(12, 15),
4458
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "localG").WithLocation(14, 14),
4821
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "local").WithLocation(4, 5)
4842
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "local").WithLocation(4, 5)
4863
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "local").WithLocation(4, 5)
4884
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "local").WithLocation(4, 21)
4909
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "local").WithLocation(4, 21)
9975
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "f").WithLocation(1, 13)
10007
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "P").WithLocation(1, 5)
10041
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "E").WithLocation(3, 14)
10077
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "E").WithLocation(3, 14)
10111
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "this").WithLocation(1, 5)
10143
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "operator").WithLocation(1, 24),
10181
Diagnostic(ErrorCode.
ERR_CompilationUnitUnexpected
, "operator").WithLocation(1, 19),