296 references to DiagnosticsUtils
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (118)
Semantics\ForLoopErrorTests.cs (1)
200
DiagnosticsUtils
.VerifyErrorCodesNoLineColumn(comp.GetDiagnostics(),
Semantics\InheritanceBindingTests.cs (3)
6575
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text);
6600
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text);
8243
DiagnosticsUtils
.VerifyErrorCodes(actualErrors, expectedErrors);
Semantics\SemanticErrorTests.cs (114)
47
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
66
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
894
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
914
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
967
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
1244
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
1330
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
1439
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
1820
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(template.Replace("System.Int32", t.ToString()),
1846
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text1,
1862
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text2,
2282
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
2341
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
2750
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(test,
2768
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(test,
3426
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
3826
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
3939
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text);
4116
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
4232
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text, new ErrorDescription[]
4822
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
5175
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
5224
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
6077
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
6110
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
6152
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
6439
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
6911
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
6930
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
7427
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
7462
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
7546
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text, new ErrorDescription[]
7668
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
7970
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
8003
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
8560
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
8743
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(
9149
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
9461
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
10636
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
10686
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
10803
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
10860
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
10878
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
10978
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
11491
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
11607
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
11622
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
11801
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
11823
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
12011
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
12179
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text, new[] {
12213
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text, new[] {
12247
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text, new[] {
12393
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
12420
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
12435
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
12450
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
12465
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
12483
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
12552
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
12569
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
12586
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
12627
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text, new[] { LinqAssemblyRef },
12657
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
12674
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
12693
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text);
12708
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
12734
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
12762
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
12955
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text);
13058
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
13474
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
13593
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
13899
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
13923
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text, new ErrorDescription[] {
14058
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
14079
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
14247
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
14307
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
14324
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
14493
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
14696
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text);//,
14806
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
14880
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
14963
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
15023
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text, new ErrorDescription[] {
15097
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text, new ErrorDescription[] {
15217
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
15308
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
15491
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
15530
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
15636
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
15918
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
15936
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
16205
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(test,
16239
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
16273
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
16374
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
16689
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
16704
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
16763
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
16781
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
16822
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
16841
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
16861
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
16878
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
16895
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
16915
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
17711
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
19381
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
22042
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
22259
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
23260
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text, new ErrorDescription[] {
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (175)
Symbols\CompilationCreationTests.cs (1)
2826
DiagnosticsUtils
.VerifyErrorCodes(diagnostics,
Symbols\Source\EnumTests.cs (13)
173
DiagnosticsUtils
.VerifyErrorCodesNoLineColumn(comp.GetDiagnostics(),
185
DiagnosticsUtils
.VerifyErrorCodesNoLineColumn(comp.GetDiagnostics(),
205
DiagnosticsUtils
.VerifyErrorCodesNoLineColumn(comp.GetDiagnostics(), new ErrorDescription { Code = (int)ErrorCode.ERR_IdentifierExpected });
216
DiagnosticsUtils
.VerifyErrorCodesNoLineColumn(comp.GetDiagnostics(), new ErrorDescription { Code = (int)ErrorCode.ERR_DuplicateNameInClass });
290
DiagnosticsUtils
.VerifyErrorCodesNoLineColumn(comp1.GetDiagnostics(), new ErrorDescription { Code = (int)ErrorCode.ERR_IdentifierExpectedKW },
328
DiagnosticsUtils
.VerifyErrorCodes(comp.GetDiagnostics());
398
DiagnosticsUtils
.VerifyErrorCodes(comp.GetDiagnostics());
427
DiagnosticsUtils
.VerifyErrorCodesNoLineColumn(comp.GetDiagnostics(), new ErrorDescription { Code = (int)ErrorCode.ERR_DuplicateCaseLabel });
470
DiagnosticsUtils
.VerifyErrorCodesNoLineColumn(comp.GetDiagnostics(), new ErrorDescription { Code = (int)ErrorCode.ERR_NonInterfaceInInterfaceList },
490
DiagnosticsUtils
.VerifyErrorCodesNoLineColumn(comp.GetDiagnostics(), new ErrorDescription { Code = (int)ErrorCode.ERR_EOFExpected },
710
DiagnosticsUtils
.VerifyErrorCodes(comp.GetDiagnostics(),
723
DiagnosticsUtils
.VerifyErrorCodes(comp.GetDiagnostics()); // ok
731
DiagnosticsUtils
.VerifyErrorCodes(comp.GetDiagnostics(),
Symbols\Source\PropertyTests.cs (1)
624
DiagnosticsUtils
.VerifyErrorCodes(actualErrors,
Symbols\SymbolErrorTests.cs (159)
194
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
216
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
234
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
292
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
490
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
562
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
617
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
638
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
666
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
683
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
700
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text);
723
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
783
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
1492
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
1513
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
1531
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
1546
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text);
1857
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
1955
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
2211
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
2232
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
2293
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
2367
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
2452
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
2578
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
2613
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text);
2626
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text);
2641
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text);
3085
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
3108
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
3222
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
3263
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
3312
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
3355
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
3451
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
3573
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
3596
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
3655
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
3691
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
3728
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
4308
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
4338
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text3,
4369
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
4701
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
4722
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
4947
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
4967
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
5469
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
5552
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text, new List<MetadataReference> { ref1, ref2 },
8039
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
8196
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
8252
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
8269
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
8300
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
8464
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
8483
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
8504
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
8662
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
9210
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
9233
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
9257
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
9282
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
9332
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
9409
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
9632
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
9648
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
9730
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
9760
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
9777
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
10193
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
10216
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
10270
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
10316
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
10338
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
10361
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
10386
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
10456
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
10479
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
10980
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
11162
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
11255
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
11279
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
11372
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
11382
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
11409
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
11431
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
11451
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
11499
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
11548
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
11687
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
11768
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
11821
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
11844
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
12118
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
12188
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
12394
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
12598
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
12650
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
12671
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
12720
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
12777
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
12793
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
12809
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text);
13080
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
13108
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
13132
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
13471
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
13541
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
13873
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
13897
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
13915
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
13934
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
14074
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
14145
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
14209
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
14522
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
14678
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
14694
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
14708
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
14722
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text, new ErrorDescription { Code = (int)ErrorCode.ERR_ProtectedInStatic });
14837
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
15042
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
15051
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
15060
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
15443
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
15856
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
15937
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
15961
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
16098
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
16115
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
16225
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
16240
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
16484
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
17042
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
17132
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
17532
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
17555
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
18021
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
18097
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
18117
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
18349
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
18369
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
18390
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
18789
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
19331
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
19358
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
19373
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text, new ErrorDescription { Code = (int)ErrorCode.ERR_SingleTypeNameNotFound, Line = 3, Column = 22 });
19405
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text);
19419
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
19535
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
19549
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
20012
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
20060
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
20088
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
20117
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text); // no errors
20156
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
20196
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text);
20256
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
20273
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
Symbols\TypeUnificationTests.cs (1)
420
DiagnosticsUtils
.VerifyErrorCodes(comp.GetDiagnostics(),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Diagnostics\DiagnosticTest.cs (2)
170
var comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
185
comp =
DiagnosticsUtils
.VerifyErrorsAndGetCompilationWithMscorlib(text,
Parsing\ScriptParsingTests.cs (1)
49
DiagnosticsUtils
.VerifyErrorCodes(actualErrors, errors);