8276 references to CompilationUtils
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (2)
CommandLineArgumentsTests.vb (2)
252
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source,
268
comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source,
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (1)
SymbolId\SymbolKeyTestBase.vb (1)
115
Dim node =
CompilationUtils
.FindBindingText(Of T)(comp, fileName, i)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (548)
Attributes\AssemblyAttributes.vb (10)
139
CompilationUtils
.AssertTheseDiagnostics(comp,
156
CompilationUtils
.AssertTheseDiagnostics(comp,
173
CompilationUtils
.AssertTheseDiagnostics(comp,
186
CompilationUtils
.AssertTheseDiagnostics(comp,
258
CompilationUtils
.AssertTheseDiagnostics(other,
279
CompilationUtils
.AssertTheseDiagnostics(other,
435
CompilationUtils
.AssertTheseDiagnostics(comp,
458
CompilationUtils
.AssertTheseDiagnostics(comp,
2028
expectedStr =
CompilationUtils
.FilterString(expectedStr)
2030
Dim actualStr =
CompilationUtils
.FilterString(builder.ToString().Trim())
Attributes\AttributeTests.vb (44)
65
CompilationUtils
.AssertNoDiagnostics(comp)
162
CompilationUtils
.AssertNoDiagnostics(comp)
237
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
567
CompilationUtils
.AssertTheseDiagnostics(verifier.Compilation,
2069
CompilationUtils
.AssertTheseDiagnostics(compilation,
2446
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2511
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
2516
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2547
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
2552
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2625
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
2631
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2691
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
2740
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
2838
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2864
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
2869
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2903
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
2908
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2947
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
2952
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2993
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3023
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
3029
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3055
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3267
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, {compWithAAttribute.ToMetadataReference()})
3304
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source)
3342
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source)
3373
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source)
3402
CompilationUtils
.CreateCompilationWithMscorlib40(
3424
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3476
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3502
CompilationUtils
.AssertTheseDiagnostics(comp, <expected>
3511
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3544
CompilationUtils
.AssertTheseDiagnostics(comp, <expected><![CDATA[
3556
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3756
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3839
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(source)
3862
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
3891
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, references:={SystemCoreRef})
3994
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, {sourceLibRef})
3999
comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, {metadataLibRef})
4036
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(
4479
CompilationUtils
.AssertNoDiagnostics(comp)
Attributes\AttributeTests_MarshalAs.vb (2)
1140
CompilationUtils
.AssertTheseDiagnostics(verifier.Compilation,
1168
CompilationUtils
.AssertTheseDiagnostics(c,
Attributes\AttributeTests_ObsoleteAttribute.vb (2)
2378
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2429
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
Attributes\AttributeTests_Synthesized.vb (2)
1016
CompilationUtils
.AssertTheseDiagnostics(compilation,
1229
CompilationUtils
.AssertTheseDiagnostics(comp,
Attributes\AttributeTests_WellKnownAttributes.vb (61)
2452
Dim c =
CompilationUtils
.CreateEmptyCompilationWithReferences(source,
2817
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source)
3125
CompilationUtils
.AssertTheseDiagnostics(CreateCompilationWithMscorlib40(source),
3395
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source)
3428
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, OutputKind.DynamicallyLinkedLibrary)
3494
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, OutputKind.DynamicallyLinkedLibrary)
3495
CompilationUtils
.AssertNoErrors(compilation)
3524
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, OutputKind.DynamicallyLinkedLibrary)
3548
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, OutputKind.DynamicallyLinkedLibrary)
3549
CompilationUtils
.AssertNoErrors(compilation)
3576
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, OutputKind.DynamicallyLinkedLibrary)
3577
CompilationUtils
.AssertTheseDiagnostics(compilation,
3819
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
3876
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
3910
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
3956
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source)
4474
CompilationUtils
.AssertTheseDiagnostics(comp,
4606
CompilationUtils
.AssertTheseDiagnostics(comp,
4845
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
4919
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
4972
CompilationUtils
.AssertTheseDiagnostics(comp,
4996
CompilationUtils
.AssertTheseDiagnostics(comp,
5229
CompilationUtils
.AssertNoErrors(comp)
5245
CompilationUtils
.AssertTheseDiagnostics(comp,
5275
CompilationUtils
.AssertTheseDiagnostics(comp,
5318
CompilationUtils
.AssertTheseDiagnostics(comp,
5369
CompilationUtils
.AssertTheseDiagnostics(comp,
5400
CompilationUtils
.AssertTheseDiagnostics(comp,
5658
CompilationUtils
.AssertTheseDiagnostics(comp,
5689
CompilationUtils
.AssertTheseDiagnostics(comp,
5725
CompilationUtils
.AssertTheseDiagnostics(comp,
5762
CompilationUtils
.AssertTheseDiagnostics(comp,
5791
CompilationUtils
.AssertTheseDiagnostics(comp,
5817
CompilationUtils
.AssertTheseDiagnostics(comp,
5846
CompilationUtils
.AssertTheseDiagnostics(comp,
5877
CompilationUtils
.AssertTheseDiagnostics(comp,
5909
CompilationUtils
.AssertTheseDiagnostics(comp,
5938
CompilationUtils
.AssertTheseDiagnostics(comp,
5966
CompilationUtils
.AssertTheseDiagnostics(comp,
5994
CompilationUtils
.AssertTheseDiagnostics(comp,
6024
CompilationUtils
.AssertTheseDiagnostics(comp,
6053
CompilationUtils
.AssertTheseDiagnostics(comp,
6082
CompilationUtils
.AssertTheseDiagnostics(comp,
6128
CompilationUtils
.AssertTheseDiagnostics(comp,
6181
CompilationUtils
.AssertTheseDiagnostics(comp,
6284
CompilationUtils
.AssertTheseDiagnostics(comp,
6327
CompilationUtils
.AssertTheseDiagnostics(compilation,
6358
CompilationUtils
.AssertNoDiagnostics(comp)
6389
CompilationUtils
.AssertNoDiagnostics(comp)
6421
CompilationUtils
.AssertTheseDiagnostics(comp,
6450
CompilationUtils
.AssertNoDiagnostics(comp)
6471
CompilationUtils
.AssertNoDiagnostics(comp)
6495
CompilationUtils
.AssertNoDiagnostics(comp)
6521
CompilationUtils
.AssertNoDiagnostics(comp)
6545
CompilationUtils
.AssertNoDiagnostics(comp)
6569
CompilationUtils
.AssertNoDiagnostics(comp)
6592
CompilationUtils
.AssertNoDiagnostics(comp)
6615
CompilationUtils
.AssertNoDiagnostics(comp)
6640
CompilationUtils
.AssertNoDiagnostics(comp)
6664
CompilationUtils
.AssertNoDiagnostics(comp)
6688
CompilationUtils
.AssertNoDiagnostics(comp)
Attributes\InternalsVisibleToAndStrongNameTests.vb (15)
295
CompilationUtils
.AssertTheseDeclarationDiagnostics(other,
547
CompilationUtils
.AssertTheseDiagnostics(c, <error>
606
CompilationUtils
.AssertTheseDiagnostics(c, <error>
758
CompilationUtils
.AssertTheseDiagnostics(requestor, <error>BC30389: 'C' is not accessible in this context because it is 'Friend'.
796
CompilationUtils
.AssertTheseDiagnostics(requestor, <error></error>)
826
CompilationUtils
.AssertTheseDiagnostics(requestor, <error>BC30390: 'C.Friend Overloads Sub Goo()' is not accessible in this context because it is 'Friend'.
894
CompilationUtils
.AssertTheseDiagnostics(requestor,
928
CompilationUtils
.AssertTheseDiagnostics(requestor, <errors>BC36957: Friend access was granted by 'Paul, Version=0.0.0.0, Culture=neutral, PublicKeyToken=ce65828c82a341f2', but the public key of the output assembly does not match that specified by the attribute in the granting assembly.</errors>)
1052
CompilationUtils
.AssertTheseDeclarationDiagnostics(other, expectedErrors)
1076
CompilationUtils
.AssertTheseDeclarationDiagnostics(other, expectedErrors)
1176
CompilationUtils
.AssertTheseDiagnostics(emitResult.Diagnostics,
1196
CompilationUtils
.AssertTheseDiagnostics(emitResult.Diagnostics,
1241
CompilationUtils
.AssertTheseDiagnostics(emitResult.Diagnostics, <errors>BC40060: Delay signing was specified and requires a public key, but no public key was specified.</errors>)
2292
CompilationUtils
.AssertTheseDiagnostics(compilation,
2305
CompilationUtils
.AssertTheseDiagnostics(compilation,
BreakingChanges.vb (9)
74
Dim errs =
CompilationUtils
.CreateCompilationWithMscorlib40(
123
Dim errs =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
155
Dim errs =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
185
Dim errs =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
281
Dim errs =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
312
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
346
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation,
360
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
377
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation,
CodeGen\CodeGenAsyncTests.vb (10)
41
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(source, references:=LatestVbReferences)
2416
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
8750
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(source, references:=LatestVbReferences, options:=TestOptions.DebugExe)
8802
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(source, references:=LatestVbReferences, options:=TestOptions.DebugExe)
8856
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(source, references:=LatestVbReferences, options:=TestOptions.DebugExe)
8912
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(source, references:=LatestVbReferences, options:=TestOptions.DebugExe)
8969
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(source, references:=LatestVbReferences, options:=TestOptions.DebugExe)
9094
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(source, references:=LatestVbReferences, options:=TestOptions.DebugExe)
9139
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(source, references:=LatestVbReferences, options:=TestOptions.DebugExe)
9179
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(source, references:=LatestVbReferences, options:=TestOptions.DebugExe)
CodeGen\CodeGenClosureLambdaTests.vb (13)
53
CompilationUtils
.CreateEmptyCompilationWithReferences(
86
CompilationUtils
.AssertTheseDiagnostics(compilation,
541
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
583
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
668
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
718
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
771
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
825
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
881
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1836
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1866
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1901
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2256
CompilationUtils
.CreateCompilationWithMscorlib40(
CodeGen\CodeGenConstLocal.vb (1)
734
Dim verifier =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
CodeGen\CodeGenDelegateCreation.vb (33)
44
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
347
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
433
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
524
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
564
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
566
CompilationUtils
.AssertTheseDiagnostics(c1,
624
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
712
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
831
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
876
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
990
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1091
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1138
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1231
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1277
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1362
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1400
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1435
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1467
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1505
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1550
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1616
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1661
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
2046
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.Custom)).
2079
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
2093
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2431
Dim c =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, options:=TestOptions.ReleaseDll.WithOptionStrict(OptionStrict.Custom))
2433
CompilationUtils
.AssertTheseDiagnostics(c,
2444
CompilationUtils
.AssertTheseDiagnostics(c,
2524
Dim c =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseExe)
2525
CompilationUtils
.AssertNoErrors(c)
2584
Dim c =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseExe)
2585
CompilationUtils
.AssertNoErrors(c)
CodeGen\CodeGenEvents.vb (2)
989
Dim treeA =
CompilationUtils
.GetTree(vbexeCompilation, "")
993
Dim typeVBExeClass =
CompilationUtils
.GetTypeSymbol(vbexeCompilation, bindingsA, "", "VBExeClass")
CodeGen\CodeGenFieldInitTests.vb (6)
481
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
496
CompilationUtils
.AssertTheseDiagnostics(result.Diagnostics,
508
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
523
CompilationUtils
.AssertTheseDiagnostics(result.Diagnostics,
657
CompilationUtils
.AssertTheseDiagnostics(compilation.Emit(New MemoryStream()).Diagnostics,
698
CompilationUtils
.AssertTheseDiagnostics(compilation2.Emit(New MemoryStream()).Diagnostics,
CodeGen\CodeGenIterators.vb (1)
1696
Dim compilation =
CompilationUtils
.CreateEmptyCompilation({Parse(source), Parse(corlib)})
CodeGen\CodeGenLateBound.vb (5)
3778
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3795
CompilationUtils
.AssertTheseDiagnostics(compilation,
3973
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4032
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
4070
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
CodeGen\CodeGenNullable.vb (1)
1753
CompilationUtils
.AssertTheseDiagnostics(compilation,
CodeGen\CodeGenOverridingAndHiding.vb (9)
473
CompilationUtils
.AssertTheseDiagnostics(vb2Compilation, <expected>
483
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
539
CompilationUtils
.AssertTheseDiagnostics(compilation,
561
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
592
CompilationUtils
.AssertTheseDiagnostics(compilation,
602
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
631
CompilationUtils
.AssertTheseDiagnostics(compilation,
644
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
677
CompilationUtils
.AssertTheseDiagnostics(compilation,
CodeGen\CodeGenSelectCase.vb (4)
4593
CompilationUtils
.CreateCompilationWithMscorlib40(
4621
CompilationUtils
.CreateCompilationWithMscorlib40(
4637
CompilationUtils
.CreateCompilationWithMscorlib40(
4677
CompilationUtils
.CreateEmptyCompilationWithReferences(
CodeGen\CodeGenTests.vb (11)
558
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
762
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
5973
CompilationUtils
.CreateCompilationWithMscorlib40(
5992
CompilationUtils
.CreateCompilationWithMscorlib40(
6008
CompilationUtils
.CreateCompilationWithMscorlib40(
6024
CompilationUtils
.CreateCompilationWithMscorlib40(
8302
CompilationUtils
.AssertTheseDiagnostics(vbCompilation,
10323
Dim ref1 = New VisualBasicCompilationReference(
CompilationUtils
.CreateEmptyCompilationWithReferences(
10343
Dim comp =
CompilationUtils
.CreateEmptyCompilationWithReferences(
10376
Dim ref1 = New VisualBasicCompilationReference(
CompilationUtils
.CreateEmptyCompilationWithReferences(
10401
Dim comp =
CompilationUtils
.CreateEmptyCompilationWithReferences(
CodeGen\CodeGenTryCatchThrow.vb (1)
716
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
CodeGen\CodeGenTuples.vb (23)
18853
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
18877
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
18882
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
18904
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
18909
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
18924
CompilationUtils
.AssertNoDiagnostics(compilation1)
18929
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
18958
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
18983
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
19002
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
19028
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
19166
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
19499
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
19536
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
19615
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
19660
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
19692
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
19744
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
19919
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
19946
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
20008
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
22187
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, references:=s_valueTupleRefs)
22286
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, references:=s_valueTupleRefs)
CodeGen\CodeGenUnstructuredErrorHandling.vb (1)
1403
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(source,
CodeGen\CodeGenVBCore.vb (48)
2216
Dim other As VisualBasicCompilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
2237
CompilationUtils
.AssertNoErrors(other)
2239
Dim c As VisualBasicCompilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
2258
CompilationUtils
.AssertTheseDiagnostics(c,
2265
Dim c2 As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
2281
CompilationUtils
.AssertTheseDiagnostics(c2,
2292
Dim other As VisualBasicCompilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
2315
CompilationUtils
.AssertNoErrors(other)
2317
Dim c As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
2335
CompilationUtils
.AssertTheseDiagnostics(c,
2346
Dim other As VisualBasicCompilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
2366
CompilationUtils
.AssertNoErrors(other)
2368
Dim c As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
2386
CompilationUtils
.AssertTheseDiagnostics(c,
2397
Dim other As VisualBasicCompilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
2417
CompilationUtils
.AssertNoErrors(other)
2422
Dim c As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
2439
CompilationUtils
.AssertTheseDiagnostics(c,
2450
Dim other As VisualBasicCompilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
2460
CompilationUtils
.AssertNoErrors(other)
2500
Dim withoutVbCore As VisualBasicCompilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
2517
CompilationUtils
.AssertTheseDiagnostics(withoutVbCore,
2525
CompilationUtils
.AssertNoErrors(withVbCore)
2528
CompilationUtils
.AssertTheseDiagnostics(withoutVbCore2,
2536
CompilationUtils
.AssertNoErrors(withVbCore2)
2590
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
2606
CompilationUtils
.AssertTheseDiagnostics(compilation1,
2616
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
2632
CompilationUtils
.AssertTheseDiagnostics(compilation1,
2642
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
2658
CompilationUtils
.AssertTheseDiagnostics(compilation1,
2668
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
2684
CompilationUtils
.AssertTheseDiagnostics(compilation1,
2694
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
2716
CompilationUtils
.AssertTheseDiagnostics(compilation1,
2729
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
2761
CompilationUtils
.AssertTheseDiagnostics(compilation1,
2777
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
2797
CompilationUtils
.AssertTheseDiagnostics(compilation1,
2814
compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
2832
CompilationUtils
.AssertTheseDiagnostics(compilation1,
2842
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
2850
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors></errors>)
2892
Dim compilation As VisualBasicCompilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
2914
CompilationUtils
.AssertNoErrors(compilation)
2921
Dim compilation As VisualBasicCompilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
2948
Dim compilation As VisualBasicCompilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
2991
Dim compilation As VisualBasicCompilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
CodeGen\CodeGenWinMdDelegates.vb (2)
173
Dim winRtDelegateLibrary =
CompilationUtils
.CreateEmptyCompilationWithReferences(
182
Dim nonWinRtDelegateLibrary =
CompilationUtils
.CreateEmptyCompilationWithReferences(
CodeGen\CodeGenWithBlock.vb (3)
2613
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2654
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2695
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
CodeGen\WinRTCollectionTests.vb (7)
49
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(source, WinRtRefs)
428
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(source, references:=WinRtRefs)
432
CompilationUtils
.AssertTheseDiagnostics(
1298
CompilationUtils
.AssertNoDiagnostics(comp)
4871
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, additionalRefs:=LegacyRefs)
4872
CompilationUtils
.AssertTheseDiagnostics(comp)
6356
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(source, WinRtRefs)
Emit\CompilationEmitTests.vb (22)
27
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
44
CompilationUtils
.AssertTheseDiagnostics(emitResult.Diagnostics,
90
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
123
CompilationUtils
.AssertTheseDiagnostics(compilation.GetDeclarationDiagnostics(),
136
CompilationUtils
.AssertTheseDiagnostics(compilation.GetSemanticModel(
CompilationUtils
.GetTree(compilation, "a.vb")).GetDeclarationDiagnostics(),
143
CompilationUtils
.AssertTheseDiagnostics(compilation.GetSemanticModel(
CompilationUtils
.GetTree(compilation, "b.vb")).GetDeclarationDiagnostics(),
157
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
190
CompilationUtils
.AssertTheseDiagnostics(compilation.GetDiagnostics(),
212
CompilationUtils
.AssertTheseDiagnostics(compilation.GetSemanticModel(
CompilationUtils
.GetTree(compilation, "a.vb")).GetDiagnostics(),
225
CompilationUtils
.AssertTheseDiagnostics(compilation.GetSemanticModel(
CompilationUtils
.GetTree(compilation, "b.vb")).GetDiagnostics(),
241
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
273
CompilationUtils
.AssertNoErrors(emitResult.Diagnostics)
296
CompilationUtils
.AssertNoErrors(emitResult.Diagnostics)
1810
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4446
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4462
CompilationUtils
.AssertTheseDiagnostics(emitResult.Diagnostics,
4472
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib45AndVBRuntime(
4492
CompilationUtils
.AssertTheseDiagnostics(compilation.GetDiagnostics(),
Emit\DynamicAnalysis\DynamicAnalysisResourceTests.vb (9)
75
Dim c =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
192
Dim c =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
292
Dim c =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
360
Dim c =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
454
Dim c =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
559
Dim c =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
649
Dim c =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
746
Dim c =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
807
Dim c =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
Emit\EditAndContinue\EditAndContinueStateMachineTests.vb (20)
45
Dim compilation0 =
CompilationUtils
.CreateEmptyCompilationWithReferences(source0, references:=LatestVbReferences, options:=TestOptions.DebugDll)
46
Dim compilation1 =
CompilationUtils
.CreateEmptyCompilationWithReferences(source1, references:=LatestVbReferences, options:=TestOptions.DebugDll)
396
Dim compilation0 =
CompilationUtils
.CreateEmptyCompilationWithReferences(source0, references:=LatestVbReferences, options:=TestOptions.DebugDll)
397
Dim compilation1 =
CompilationUtils
.CreateEmptyCompilationWithReferences(source1, references:=LatestVbReferences, options:=TestOptions.DebugDll)
718
Dim compilation0 =
CompilationUtils
.CreateEmptyCompilationWithReferences(source0, references:=LatestVbReferences, options:=TestOptions.DebugDll)
719
Dim compilation1 =
CompilationUtils
.CreateEmptyCompilationWithReferences(source1, references:=LatestVbReferences, options:=TestOptions.DebugDll)
826
Dim compilation0 =
CompilationUtils
.CreateEmptyCompilationWithReferences(source0, references:=LatestVbReferences, options:=TestOptions.DebugDll)
827
Dim compilation1 =
CompilationUtils
.CreateEmptyCompilationWithReferences(source1, references:=LatestVbReferences, options:=TestOptions.DebugDll)
905
Dim compilation0 =
CompilationUtils
.CreateEmptyCompilationWithReferences(source0, references:=LatestVbReferences, options:=TestOptions.DebugDll)
906
Dim compilation1 =
CompilationUtils
.CreateEmptyCompilationWithReferences(source1, references:=LatestVbReferences, options:=TestOptions.DebugDll)
953
Dim compilation0 =
CompilationUtils
.CreateEmptyCompilationWithReferences(source0, references:=LatestVbReferences, options:=TestOptions.DebugDll)
954
Dim compilation1 =
CompilationUtils
.CreateEmptyCompilationWithReferences(source1, references:=LatestVbReferences, options:=TestOptions.DebugDll)
1014
Dim compilation0 =
CompilationUtils
.CreateEmptyCompilationWithReferences(source0, references:=LatestVbReferences, options:=TestOptions.DebugDll)
1093
Dim compilation0 =
CompilationUtils
.CreateEmptyCompilationWithReferences(source0, references:=LatestVbReferences, options:=TestOptions.DebugDll)
1094
Dim compilation1 =
CompilationUtils
.CreateEmptyCompilationWithReferences(source1, references:=LatestVbReferences, options:=TestOptions.DebugDll)
1243
Dim compilation0 =
CompilationUtils
.CreateEmptyCompilationWithReferences(source0, references:=LatestVbReferences, options:=TestOptions.DebugDll)
1244
Dim compilation1 =
CompilationUtils
.CreateEmptyCompilationWithReferences(source1, references:=LatestVbReferences, options:=TestOptions.DebugDll)
9077
Dim compilation0 =
CompilationUtils
.CreateEmptyCompilation({source0.Tree}, {TestReferences.NetFx.Minimal.mincorlib, TestReferences.NetFx.Minimal.minasync}, options:=ComSafeDebugDll)
9115
Dim compilation0 =
CompilationUtils
.CreateEmptyCompilation({source0.Tree}, {TestMetadata.Net451.mscorlib}, options:=ComSafeDebugDll)
9154
Dim compilation0 =
CompilationUtils
.CreateEmptyCompilation({source0.Tree}, {TestReferences.NetFx.Minimal.mincorlib, TestReferences.NetFx.Minimal.minasync}, options:=ComSafeDebugDll)
Emit\EditAndContinue\LocalSlotMappingTests.vb (3)
482
Dim compilation0 =
CompilationUtils
.CreateEmptyCompilationWithReferences(source, references:=LatestVbReferences, options:=TestOptions.DebugDll)
587
Dim compilation0 =
CompilationUtils
.CreateEmptyCompilationWithReferences(source, references:=LatestVbReferences, options:=TestOptions.DebugDll)
763
Dim compilation0 =
CompilationUtils
.CreateEmptyCompilationWithReferences(source, references:=LatestVbReferences, options:=TestOptions.DebugDll)
Emit\EmitErrorTests.vb (14)
27
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
61
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
80
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
232
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
257
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
289
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
312
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
337
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
361
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
404
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
424
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
450
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
471
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
497
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
Emit\EmitMetadata.vb (2)
199
Dim comp =
CompilationUtils
.CreateEmptyCompilationWithReferences(
684
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
Emit\EntryPointTests.vb (6)
1518
comp =
CompilationUtils
.CreateCompilationWithMscorlib40(options:=TestOptions.ReleaseExe, source:=
1529
comp =
CompilationUtils
.CreateCompilationWithMscorlib40(options:=TestOptions.ReleaseExe, source:=
1540
comp =
CompilationUtils
.CreateCompilationWithMscorlib40(options:=TestOptions.ReleaseExe, source:=
1551
comp =
CompilationUtils
.CreateCompilationWithMscorlib40(options:=TestOptions.ReleaseExe, source:=
1562
comp =
CompilationUtils
.CreateCompilationWithMscorlib40(options:=TestOptions.ReleaseExe, source:=
1574
comp =
CompilationUtils
.CreateCompilationWithMscorlib40(options:=TestOptions.ReleaseExe, source:=
Emit\FieldInitializerTests.vb (8)
304
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40(source)
350
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
568
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
782
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source)
811
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
841
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1037
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1072
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
Emit\OptionalArgumentsTests.vb (7)
481
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, references:={_classLibrary})
680
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, references:={_classLibrary})
1194
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, references:={_classLibrary})
1247
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, references:={_classLibrary})
1275
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, references:={_classLibrary})
1306
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, references:={_classLibrary})
1330
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, references:={_classLibrary})
ErrorHandling.vb (22)
41
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
64
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
87
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
109
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
141
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
170
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
204
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
241
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
468
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(compilationDef,
502
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(compilationDef,
527
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(compilationDef,
550
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(compilationDef,
575
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(source,
595
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(source,
1036
Dim comp =
CompilationUtils
.CreateEmptyCompilation("
1041
CompilationUtils
.AssertTheseDiagnostics(comp, <expected>
1053
Dim comp =
CompilationUtils
.CreateEmptyCompilation("
1062
CompilationUtils
.AssertTheseDiagnostics(comp, <expected>
1074
Dim comp =
CompilationUtils
.CreateEmptyCompilation("
1083
CompilationUtils
.AssertTheseDiagnostics(comp, <expected>
1095
Dim comp =
CompilationUtils
.CreateEmptyCompilation("
1111
CompilationUtils
.AssertTheseDiagnostics(comp, <expected>
ExpressionTrees\CodeGenExprLambda.vb (3)
1802
CompilationUtils
.CreateEmptyCompilationWithReferences(
1811
CompilationUtils
.AssertTheseDiagnostics(compilation, diagnostics)
6567
CompilationUtils
.AssertTheseDiagnostics(emitResult.Diagnostics, <expected>
PDB\PDBAsyncTests.vb (5)
212
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(source, references:=LatestVbReferences, options:=TestOptions.DebugDll)
442
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
526
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
598
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
677
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
PDB\PDBConstLocalTests.vb (2)
29
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
166
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
PDB\PDBExternalSourceDirectiveTests.vb (4)
600
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
625
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
653
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
677
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
PDB\PDBForEachTests.vb (1)
31
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.DebugDll)
PDB\PDBIteratorTests.vb (5)
109
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.DebugExe)
177
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.DebugExe)
270
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
334
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
508
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.DebugExe)
PDB\PDBLambdaTests.vb (7)
30
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
123
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
245
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseDll)
268
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.DebugExe)
320
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
410
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
500
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
PDB\PDBTests.vb (29)
231
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.DebugDll.WithParseOptions(parseOptions))
626
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.DebugExe)
985
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1040
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.DebugDll)
1079
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.DebugDll)
1703
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.DebugExe)
1838
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.DebugExe)
1947
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2103
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2269
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2363
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2472
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2544
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2602
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.DebugExe)
2657
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.DebugExe)
2896
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.DebugExe)
2962
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.DebugExe)
3031
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.DebugExe)
3100
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.DebugExe)
3164
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.DebugExe)
3225
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.DebugExe)
3283
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.DebugDll)
3324
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.DebugDll)
3395
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3465
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3517
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.DebugDll)
3579
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.DebugDll)
3666
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.DebugDll)
3804
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.DebugDll)
PDB\PDBWinMdExpTests.vb (6)
23
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseDll.WithOutputKind(OutputKind.WindowsRuntimeMetadata))
68
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseDll.WithOutputKind(OutputKind.WindowsRuntimeMetadata))
100
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseDll.WithOutputKind(OutputKind.WindowsRuntimeMetadata))
159
CompilationUtils
.CreateEmptyCompilationWithReferences(
163
CompilationUtils
.AssertNoDiagnostics(compilation)
225
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseDll.WithOutputKind(OutputKind.WindowsRuntimeMetadata))
PDB\PortablePdbTests.vb (1)
35
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
PrivateProtected.vb (30)
32
CompilationUtils
.AssertTheseDiagnostics(compilation,
76
CompilationUtils
.AssertTheseDiagnostics(compilation,
89
CompilationUtils
.AssertTheseDiagnostics(compilation,
129
CompilationUtils
.AssertTheseDiagnostics(baseCompilation,
175
CompilationUtils
.AssertTheseDiagnostics(derivedCompilation,
211
CompilationUtils
.AssertTheseDiagnostics(derivedCompilation,
247
CompilationUtils
.AssertTheseDiagnostics(derivedCompilation,
256
CompilationUtils
.AssertTheseDiagnostics(derivedCompilation,
275
CompilationUtils
.AssertTheseDiagnostics(compilation,
308
CompilationUtils
.AssertTheseDiagnostics(compilation,
352
CompilationUtils
.AssertTheseDiagnostics(compilation,
411
CompilationUtils
.AssertTheseDiagnostics(compilation,
445
CompilationUtils
.AssertTheseDiagnostics(compilation,
470
CompilationUtils
.AssertTheseDiagnostics(compilation,
511
CompilationUtils
.AssertTheseDiagnostics(compilation,
535
CompilationUtils
.AssertTheseDiagnostics(compilation,
567
CompilationUtils
.AssertTheseDiagnostics(compilation,
625
CompilationUtils
.AssertTheseDiagnostics(compilation,
631
CompilationUtils
.AssertTheseDiagnostics(compilation,
696
CompilationUtils
.AssertTheseDiagnostics(compilation,
712
CompilationUtils
.AssertTheseDiagnostics(compilation,
750
CompilationUtils
.AssertTheseDiagnostics(compilation,
780
CompilationUtils
.AssertTheseDiagnostics(compilation,
803
CompilationUtils
.AssertTheseDiagnostics(compilation1,
822
CompilationUtils
.AssertTheseDiagnostics(derivedCompilation,
841
CompilationUtils
.AssertTheseDiagnostics(compilation1,
858
CompilationUtils
.AssertTheseDiagnostics(derivedCompilation,
881
CompilationUtils
.AssertTheseDiagnostics(compilation1,
900
CompilationUtils
.AssertTheseDiagnostics(derivedCompilation,
936
CompilationUtils
.AssertTheseDiagnostics(compilation,
Semantics\StaticLocalsSemanticTests.vb (11)
803
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
862
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
903
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1547
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1555
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
1583
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1591
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
1615
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1623
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
1651
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1659
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
XmlLiteralTests.vb (5)
698
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
722
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
878
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
971
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
4545
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ResultProvider.UnitTests (2)
VisualBasicResultProviderTestBase.vb (2)
30
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40({source}, options:=TestOptions.ReleaseDll)
36
Dim comp =
CompilationUtils
.CreateCompilationWithCustomILSource(sources:=<compilation/>, ilSource:=ilSource, options:=TestOptions.ReleaseDll, ilImage:=ilImage)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (5034)
Binding\BadSymbolReference.vb (22)
23
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
298
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, {cl3}, options:=TestOptions.ReleaseExe)
300
CompilationUtils
.AssertTheseDiagnostics(compilation2, errors)
307
Dim cl3Compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(cl3Source, {cl2})
309
CompilationUtils
.AssertNoErrors(cl3Compilation)
311
Dim compilation3 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, {New VisualBasicCompilationReference(cl3Compilation)}, options:=TestOptions.ReleaseExe)
313
CompilationUtils
.AssertTheseDiagnostics(compilation3, errors)
315
Dim cl3BadCompilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(cl3Source, {cl3})
317
Dim compilation4 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, {New VisualBasicCompilationReference(cl3BadCompilation1)}, options:=TestOptions.ReleaseExe)
370
CompilationUtils
.AssertTheseDiagnostics(compilation4, errors2)
372
Dim cl3BadCompilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40(cl3Source)
411
CompilationUtils
.AssertTheseDiagnostics(cl3BadCompilation2, errors3)
413
Dim compilation5 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, {New VisualBasicCompilationReference(cl3BadCompilation2)}, options:=TestOptions.ReleaseExe)
438
CompilationUtils
.AssertTheseDiagnostics(compilation5, errors5)
502
Dim compilation6 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(cl4Source)
504
CompilationUtils
.AssertTheseDiagnostics(compilation6, errors6)
506
CompilationUtils
.AssertNoErrors(compilation1)
643
Dim cl3BadCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40(cl3Source)
645
Dim compilation4 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, {New VisualBasicCompilationReference(cl3BadCompilation)}, options:=TestOptions.ReleaseExe)
647
CompilationUtils
.AssertTheseDiagnostics(compilation4, errors)
1418
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(compDef, ilSource1.Value, TestOptions.ReleaseDll)
1452
compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(compDef, ilSource2.Value, TestOptions.ReleaseDll)
Binding\Binder_Statements_Tests.vb (142)
122
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
140
CompilationUtils
.AssertTheseDiagnostics(compilation,
150
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
182
CompilationUtils
.AssertTheseDiagnostics(compilation,
202
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
225
CompilationUtils
.AssertNoErrors(compilation)
302
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
314
CompilationUtils
.AssertTheseDiagnostics(compilation,
325
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
343
CompilationUtils
.AssertTheseDiagnostics(compilation,
369
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
383
CompilationUtils
.AssertTheseDiagnostics(compilation,
399
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
414
CompilationUtils
.AssertTheseDiagnostics(compilation,
496
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
519
CompilationUtils
.AssertTheseDiagnostics(compilation,
924
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
943
CompilationUtils
.AssertTheseDiagnostics(compilation,
965
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
982
CompilationUtils
.AssertTheseDiagnostics(compilation,
1044
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1061
CompilationUtils
.AssertTheseDiagnostics(compilation,
1074
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1087
CompilationUtils
.AssertTheseDiagnostics(compilation,
1097
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1111
CompilationUtils
.AssertTheseDiagnostics(compilation,
1124
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1139
CompilationUtils
.AssertTheseDiagnostics(compilation,
1152
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1167
CompilationUtils
.AssertTheseDiagnostics(compilation,
1175
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1186
CompilationUtils
.AssertTheseDiagnostics(compilation,
1197
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1289
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1344
CompilationUtils
.AssertTheseDiagnostics(compilation,
1369
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1382
CompilationUtils
.AssertTheseDiagnostics(compilation,
1390
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1402
CompilationUtils
.AssertTheseDiagnostics(compilation,
1413
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1434
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors>
1475
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1492
CompilationUtils
.AssertTheseDiagnostics(compilation,
1505
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1519
CompilationUtils
.AssertTheseDiagnostics(compilation,
1537
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
1565
CompilationUtils
.AssertTheseDiagnostics(compilation,
1575
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1590
CompilationUtils
.AssertTheseDiagnostics(compilation,
1601
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1615
CompilationUtils
.AssertTheseDiagnostics(compilation,
1625
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1642
CompilationUtils
.AssertTheseDiagnostics(compilation,
1652
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1669
CompilationUtils
.AssertTheseDiagnostics(compilation,
1679
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1699
CompilationUtils
.AssertTheseDiagnostics(compilation,
1712
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1730
CompilationUtils
.AssertTheseDiagnostics(compilation,
1740
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1760
CompilationUtils
.AssertTheseDiagnostics(compilation,
1773
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1793
CompilationUtils
.AssertTheseDiagnostics(compilation,
1806
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1834
CompilationUtils
.AssertTheseDiagnostics(compilation,
1850
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1881
CompilationUtils
.AssertTheseDiagnostics(compilation,
1891
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1929
CompilationUtils
.AssertTheseDiagnostics(compilation,
1961
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1989
CompilationUtils
.AssertTheseDiagnostics(compilation,
1999
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2019
CompilationUtils
.AssertTheseDiagnostics(compilation,
2029
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2060
CompilationUtils
.AssertTheseDiagnostics(compilation,
2076
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2101
CompilationUtils
.AssertTheseDiagnostics(compilation,
2108
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2132
CompilationUtils
.AssertTheseDiagnostics(compilation,
2139
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2171
CompilationUtils
.AssertTheseDiagnostics(compilation,
2181
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2214
CompilationUtils
.AssertTheseDiagnostics(compilation,
2230
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2259
CompilationUtils
.AssertTheseDiagnostics(compilation,
2269
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2293
CompilationUtils
.AssertTheseDiagnostics(compilation,
2303
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2329
CompilationUtils
.AssertTheseDiagnostics(compilation,
2336
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2363
CompilationUtils
.AssertTheseDiagnostics(compilation,
2373
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2398
CompilationUtils
.AssertTheseDiagnostics(compilation,
2408
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2424
CompilationUtils
.AssertTheseDiagnostics(compilation,
2434
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2470
CompilationUtils
.AssertTheseDiagnostics(compilation,
2489
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2517
CompilationUtils
.AssertTheseDiagnostics(compilation,
2772
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
2938
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
2943
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2965
CompilationUtils
.AssertTheseDiagnostics(compilation,
2987
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3006
CompilationUtils
.AssertTheseDiagnostics(compilation,
3016
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3038
CompilationUtils
.AssertTheseDiagnostics(compilation,
3051
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3069
CompilationUtils
.AssertTheseDiagnostics(compilation,
3080
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3102
CompilationUtils
.AssertTheseDiagnostics(compilation,
3115
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3139
CompilationUtils
.AssertTheseDiagnostics(compilation,
3155
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3207
CompilationUtils
.AssertNoErrors(compilation)
3213
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3233
CompilationUtils
.AssertTheseDiagnostics(compilation,
3298
CompilationUtils
.AssertTheseDiagnostics(compilation1,
3317
CompilationUtils
.AssertTheseDiagnostics(compilation1,
3338
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source).VerifyDiagnostics(Diagnostic(ERRID.ERR_ExecutableAsDeclaration, "While (true)"))
3353
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source).VerifyDiagnostics(Diagnostic(ERRID.ERR_ExecutableAsDeclaration, "While (true)"))
3366
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source).VerifyDiagnostics(Diagnostic(ERRID.ERR_ExecutableAsDeclaration, "If (true)"))
3381
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source).VerifyDiagnostics(Diagnostic(ERRID.ERR_ExecutableAsDeclaration, "If (true)"))
3395
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source).VerifyDiagnostics(Diagnostic(ERRID.ERR_ExecutableAsDeclaration, "Try"),
3412
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source).VerifyDiagnostics(Diagnostic(ERRID.ERR_ExecutableAsDeclaration, "Try"),
3426
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source).VerifyDiagnostics(Diagnostic(ERRID.ERR_ExecutableAsDeclaration, "Do"))
3441
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source).VerifyDiagnostics(Diagnostic(ERRID.ERR_ExecutableAsDeclaration, "Do"))
3454
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source).VerifyDiagnostics(Diagnostic(ERRID.ERR_ExecutableAsDeclaration, "Else"))
3469
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source).VerifyDiagnostics(Diagnostic(ERRID.ERR_ExecutableAsDeclaration, "Else"))
3488
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source).VerifyDiagnostics(
3505
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source).VerifyDiagnostics(Diagnostic(ERRID.ERR_InvalidUseOfCustomModifier, "Custom"))
3510
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3532
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3960
CompilationUtils
.AssertTheseDiagnostics(compilation,
4058
CompilationUtils
.AssertTheseDiagnostics(compilation,
4123
CompilationUtils
.AssertTheseDiagnostics(compilation,
4197
CompilationUtils
.AssertTheseDiagnostics(compilation1,
4297
CompilationUtils
.AssertTheseDiagnostics(compilation1,
4397
CompilationUtils
.AssertTheseDiagnostics(compilation1,
4497
CompilationUtils
.AssertTheseDiagnostics(compilation1,
4597
CompilationUtils
.AssertTheseDiagnostics(compilation1,
4697
CompilationUtils
.AssertTheseDiagnostics(compilation1,
Binding\BindingCollectionInitializerTests.vb (9)
1004
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1075
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1486
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1793
Dim node1 As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", 1)
1803
Dim node2 As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", 2)
1844
Dim node1 As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", 1)
1889
Dim node1 As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", 1)
1925
Dim node1 As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", 1)
1964
Dim node1 As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", i)
Binding\BindingDelegateCreationTests.vb (42)
41
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
43
CompilationUtils
.AssertTheseDiagnostics(c1,
149
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
151
CompilationUtils
.AssertTheseDiagnostics(c1,
192
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, {ref}, TestOptions.ReleaseExe)
193
CompilationUtils
.AssertTheseDiagnostics(c1,
250
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
252
CompilationUtils
.AssertTheseDiagnostics(c1,
324
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
326
CompilationUtils
.AssertTheseDiagnostics(c1,
367
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
369
CompilationUtils
.AssertTheseDiagnostics(c1,
403
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
405
CompilationUtils
.AssertTheseDiagnostics(c1,
439
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
441
CompilationUtils
.AssertTheseDiagnostics(c1,
513
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
515
CompilationUtils
.AssertTheseDiagnostics(c1,
656
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
658
CompilationUtils
.AssertTheseDiagnostics(c1,
709
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
713
CompilationUtils
.AssertTheseDiagnostics(c1,
720
CompilationUtils
.AssertNoErrors(c1)
751
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
753
CompilationUtils
.AssertTheseDiagnostics(c1,
806
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
843
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, {ref}, TestOptions.ReleaseExe)
894
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
942
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
976
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
978
CompilationUtils
.AssertTheseDiagnostics(c1,
1025
Dim c =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, options:=TestOptions.ReleaseExe)
1026
CompilationUtils
.AssertNoErrors(c)
1096
Dim c =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseExe)
1097
CompilationUtils
.AssertTheseDiagnostics(c, <errors></errors>)
1160
Dim c =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseExe)
1161
CompilationUtils
.AssertTheseDiagnostics(c,
1193
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, references:={SystemCoreRef})
1195
CompilationUtils
.AssertTheseDiagnostics(c1,
1272
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication))
1308
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication))
1368
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication))
Binding\BindingErrorTests.vb (1307)
22
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
47
CompilationUtils
.AssertNoErrors(compilation)
52
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
70
CompilationUtils
.AssertNoErrors(compilation)
75
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
87
CompilationUtils
.AssertNoErrors(compilation)
92
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
106
CompilationUtils
.AssertNoErrors(compilation)
111
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
125
CompilationUtils
.AssertNoErrors(compilation)
130
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
142
CompilationUtils
.AssertNoErrors(compilation)
147
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
162
CompilationUtils
.AssertNoErrors(compilation)
167
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
185
CompilationUtils
.AssertNoErrors(compilation)
190
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
200
CompilationUtils
.AssertNoErrors(compilation)
205
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
217
CompilationUtils
.AssertNoErrors(compilation)
222
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
237
CompilationUtils
.AssertNoErrors(compilation)
242
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
255
CompilationUtils
.AssertNoErrors(compilation)
260
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
272
CompilationUtils
.AssertNoErrors(compilation)
277
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
296
CompilationUtils
.AssertNoErrors(compilation)
301
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
309
CompilationUtils
.AssertNoErrors(compilation)
314
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
334
CompilationUtils
.AssertNoErrors(compilation)
339
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
352
CompilationUtils
.AssertNoErrors(compilation)
357
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
373
CompilationUtils
.AssertNoErrors(compilation)
378
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
393
CompilationUtils
.AssertNoErrors(compilation)
399
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
421
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
441
CompilationUtils
.AssertTheseDiagnostics(compilation,
460
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
515
CompilationUtils
.AssertTheseDiagnostics(compilation,
528
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
549
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
561
CompilationUtils
.AssertTheseDiagnostics(compilation,
571
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
581
CompilationUtils
.AssertTheseDiagnostics(compilation,
591
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
606
CompilationUtils
.AssertTheseDiagnostics(compilation,
619
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
668
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
695
CompilationUtils
.AssertTheseDiagnostics(compilation,
705
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
724
CompilationUtils
.AssertTheseDiagnostics(compilation,
734
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
759
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
806
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
820
CompilationUtils
.AssertTheseDiagnostics(compilation,
830
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
843
CompilationUtils
.AssertTheseDiagnostics(compilation,
853
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
869
CompilationUtils
.AssertTheseDiagnostics(compilation,
882
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
898
CompilationUtils
.AssertTheseDiagnostics(compilation,
911
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
927
CompilationUtils
.AssertTheseDiagnostics(compilation,
940
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
960
CompilationUtils
.AssertTheseDiagnostics(compilation,
973
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
990
CompilationUtils
.AssertTheseDiagnostics(compilation,
1004
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1029
CompilationUtils
.AssertTheseDiagnostics(compilation,
1040
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1065
CompilationUtils
.AssertTheseDiagnostics(compilation,
1076
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1103
CompilationUtils
.AssertTheseDiagnostics(compilation,
1113
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1126
CompilationUtils
.AssertTheseDiagnostics(compilation,
1195
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1211
CompilationUtils
.AssertTheseDiagnostics(compilation,
1225
CompilationUtils
.CreateCompilationWithMscorlib40(
1239
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1290
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
1295
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1346
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
1351
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1363
CompilationUtils
.AssertTheseDiagnostics(compilation,
1375
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1391
CompilationUtils
.AssertTheseDiagnostics(compilation,
1404
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1417
CompilationUtils
.AssertTheseDiagnostics(compilation,
1430
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1443
CompilationUtils
.AssertTheseDiagnostics(compilation,
1553
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1555
CompilationUtils
.AssertTheseDiagnostics(c1,
1654
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1764
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1766
CompilationUtils
.AssertTheseDiagnostics(c1,
1883
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1885
CompilationUtils
.AssertTheseDiagnostics(c1,
1930
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1932
CompilationUtils
.AssertTheseDiagnostics(c1,
1943
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1972
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
1998
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
2025
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
2121
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
2123
CompilationUtils
.AssertTheseDiagnostics(c1,
2171
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
2173
CompilationUtils
.AssertTheseDiagnostics(c1,
2186
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2215
CompilationUtils
.AssertTheseDiagnostics(compilation,
2231
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
2249
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
2254
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
2271
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
2276
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2295
CompilationUtils
.AssertTheseDiagnostics(compilation,
2339
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2369
CompilationUtils
.AssertTheseDiagnostics(compilation,
2388
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2411
CompilationUtils
.AssertTheseDiagnostics(compilation,
2421
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2437
CompilationUtils
.AssertTheseDiagnostics(compilation,
2447
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2463
CompilationUtils
.AssertTheseDiagnostics(compilation,
2476
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2494
CompilationUtils
.AssertTheseDiagnostics(compilation,
2507
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2533
CompilationUtils
.AssertTheseDiagnostics(compilation,
2549
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2560
CompilationUtils
.AssertTheseDiagnostics(compilation,
2570
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2583
CompilationUtils
.AssertTheseDiagnostics(compilation,
2593
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2606
CompilationUtils
.AssertTheseDiagnostics(compilation,
2616
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2632
CompilationUtils
.AssertTheseDiagnostics(compilation,
2642
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2657
CompilationUtils
.AssertTheseDiagnostics(compilation,
2664
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2694
CompilationUtils
.AssertTheseDiagnostics(compilation,
2701
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2714
CompilationUtils
.AssertTheseDiagnostics(compilation,
2724
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2737
CompilationUtils
.AssertTheseDiagnostics(compilation,
2747
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2760
CompilationUtils
.AssertTheseDiagnostics(compilation,
2770
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2783
CompilationUtils
.AssertTheseDiagnostics(compilation,
2793
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2806
CompilationUtils
.AssertTheseDiagnostics(compilation,
2816
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2838
CompilationUtils
.AssertTheseDiagnostics(compilation,
2848
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2869
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
2874
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2890
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
2895
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2912
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
2917
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2974
CompilationUtils
.AssertTheseDiagnostics(compilation,
3041
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3063
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3088
CompilationUtils
.AssertTheseDiagnostics(compilation,
3107
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3126
CompilationUtils
.AssertTheseDiagnostics(compilation,
3145
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3164
CompilationUtils
.AssertTheseDiagnostics(compilation,
3183
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3223
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3233
CompilationUtils
.AssertTheseDiagnostics(compilation,
3243
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3260
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3273
CompilationUtils
.AssertTheseDiagnostics(compilation,
3286
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3301
CompilationUtils
.AssertTheseDiagnostics(compilation,
3314
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3329
CompilationUtils
.AssertTheseDiagnostics(compilation,
3342
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3354
CompilationUtils
.AssertTheseDiagnostics(compilation,
3364
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3380
CompilationUtils
.AssertTheseDiagnostics(compilation,
3463
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3494
CompilationUtils
.AssertTheseDiagnostics(compilation,
3505
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3526
CompilationUtils
.AssertTheseDiagnostics(compilation,
3536
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3556
CompilationUtils
.AssertTheseDiagnostics(compilation,
3566
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3578
CompilationUtils
.AssertTheseDiagnostics(compilation,
3588
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3607
CompilationUtils
.AssertTheseDiagnostics(compilation,
3620
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
3652
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
3671
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
3676
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
3702
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
3707
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
3721
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
3726
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
3746
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
3751
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
3782
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
3787
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3802
CompilationUtils
.AssertTheseDiagnostics(compilation,
3812
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3842
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3870
CompilationUtils
.AssertTheseDiagnostics(compilation,
3883
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3923
CompilationUtils
.AssertTheseDiagnostics(compilation,
3954
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3969
CompilationUtils
.AssertTheseDiagnostics(compilation,
3980
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3995
CompilationUtils
.AssertTheseDiagnostics(compilation,
4011
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4029
CompilationUtils
.AssertTheseDiagnostics(compilation,
4039
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4053
CompilationUtils
.AssertTheseDiagnostics(compilation,
4063
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4078
CompilationUtils
.AssertTheseDiagnostics(compilation,
4088
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4102
CompilationUtils
.AssertTheseDiagnostics(compilation,
4115
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4129
CompilationUtils
.AssertTheseDiagnostics(compilation,
4139
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4154
CompilationUtils
.AssertTheseDiagnostics(compilation,
4164
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4177
CompilationUtils
.AssertTheseDiagnostics(compilation,
4187
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4200
CompilationUtils
.AssertTheseDiagnostics(compilation,
4210
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4222
CompilationUtils
.AssertTheseDiagnostics(compilation,
4232
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4248
CompilationUtils
.AssertTheseDiagnostics(compilation,
4258
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4270
CompilationUtils
.AssertTheseDiagnostics(compilation,
4283
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4295
CompilationUtils
.AssertTheseDiagnostics(compilation,
4308
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4320
CompilationUtils
.AssertTheseDiagnostics(compilation,
4331
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4342
CompilationUtils
.AssertTheseDiagnostics(compilation,
4355
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
4377
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
4382
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
4418
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
4423
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4437
CompilationUtils
.AssertTheseDiagnostics(compilation,
4450
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4469
CompilationUtils
.AssertTheseDiagnostics(compilation,
4479
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4496
CompilationUtils
.AssertTheseDiagnostics(compilation,
4513
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4542
CompilationUtils
.AssertTheseDiagnostics(compilation,
4573
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4587
CompilationUtils
.AssertTheseDiagnostics(compilation,
4597
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4621
CompilationUtils
.AssertTheseDiagnostics(compilation,
4674
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4720
CompilationUtils
.AssertTheseDiagnostics(compilation,
4796
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4809
CompilationUtils
.AssertTheseDiagnostics(compilation,
4819
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4832
CompilationUtils
.AssertTheseDiagnostics(compilation,
4842
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4856
CompilationUtils
.AssertTheseDiagnostics(compilation,
4866
CompilationUtils
.CreateCompilationWithMscorlib40(
4885
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4897
CompilationUtils
.AssertTheseDiagnostics(compilation,
4907
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4920
CompilationUtils
.AssertTheseDiagnostics(compilation,
4933
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4957
CompilationUtils
.AssertTheseDiagnostics(compilation,
5018
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
5048
CompilationUtils
.AssertTheseDiagnostics(compilation,
5070
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
5085
CompilationUtils
.AssertTheseDiagnostics(compilation,
5104
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
5116
CompilationUtils
.AssertTheseDiagnostics(compilation,
5142
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source).VerifyDiagnostics(Diagnostic(ERRID.ERR_ExpectedEOS, "{"),
5158
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source).VerifyDiagnostics(Diagnostic(ERRID.ERR_TypeMismatch2, "{1, 2, 3}").WithArguments("Integer()", "System.Collections.Generic.List(Of Integer)"))
5163
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
5192
CompilationUtils
.AssertTheseDiagnostics(compilation,
5214
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
5227
CompilationUtils
.AssertTheseDiagnostics(compilation,
5237
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
5261
CompilationUtils
.AssertTheseDiagnostics(compilation,
5277
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5294
CompilationUtils
.AssertTheseDiagnostics(compilation,
5319
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5333
CompilationUtils
.AssertTheseDiagnostics(compilation,
5346
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5364
CompilationUtils
.AssertTheseDiagnostics(compilation,
5377
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5390
CompilationUtils
.AssertTheseDiagnostics(compilation,
5400
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5414
CompilationUtils
.AssertTheseDiagnostics(compilation,
5424
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5442
CompilationUtils
.AssertTheseDiagnostics(compilation,
5458
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5473
CompilationUtils
.AssertTheseDiagnostics(compilation,
5489
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5504
CompilationUtils
.AssertTheseDiagnostics(compilation,
5514
CompilationUtils
.CreateCompilationWithMscorlib40(
5541
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
5554
CompilationUtils
.AssertTheseDiagnostics(compilation,
5568
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
5587
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
5609
CompilationUtils
.AssertTheseDiagnostics(compilation, expected)
5611
CompilationUtils
.AssertTheseDiagnostics(compilation.GetDiagnosticsForSyntaxTree(CompilationStage.Compile, compilation.SyntaxTrees.Single()), expected)
5616
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
5645
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
5650
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
5689
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
5694
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
5719
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
5724
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
5741
CompilationUtils
.AssertTheseDiagnostics(compilation,
5754
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
5784
CompilationUtils
.AssertTheseDiagnostics(compilation,
5795
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
5838
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
5856
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
5861
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5873
CompilationUtils
.AssertTheseDiagnostics(compilation,
5885
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
5913
CompilationUtils
.AssertTheseDiagnostics(compilation,
5923
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5937
CompilationUtils
.AssertTheseDiagnostics(compilation,
5947
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5968
CompilationUtils
.AssertTheseDiagnostics(compilation,
5981
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5996
CompilationUtils
.AssertTheseDiagnostics(compilation,
6006
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
6021
CompilationUtils
.AssertTheseDiagnostics(compilation,
6031
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
6053
CompilationUtils
.AssertTheseDiagnostics(compilation,
6066
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
6084
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors></errors>)
6089
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
6112
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors></errors>)
6152
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
6163
CompilationUtils
.AssertTheseDiagnostics(compilation,
6173
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
6188
CompilationUtils
.AssertTheseDiagnostics(compilation,
6207
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
6220
CompilationUtils
.AssertTheseDiagnostics(compilation,
6233
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
6243
CompilationUtils
.AssertTheseDiagnostics(compilation,
6253
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
6262
CompilationUtils
.AssertTheseDiagnostics(compilation,
6306
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
6308
CompilationUtils
.AssertTheseDiagnostics(c1,
6347
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
6349
CompilationUtils
.AssertTheseDiagnostics(c1,
6365
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
6377
CompilationUtils
.AssertTheseDiagnostics(compilation,
6387
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
6397
CompilationUtils
.AssertTheseDiagnostics(compilation,
6407
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
6423
CompilationUtils
.AssertTheseDiagnostics(compilation,
6433
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
6456
CompilationUtils
.AssertTheseDiagnostics(compilation,
6481
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
6498
CompilationUtils
.AssertTheseDiagnostics(compilation,
6511
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
6526
CompilationUtils
.AssertTheseDiagnostics(compilation,
6536
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
6551
CompilationUtils
.AssertTheseDiagnostics(compilation,
6570
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
6587
CompilationUtils
.AssertTheseDiagnostics(compilation,
6597
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
6616
CompilationUtils
.AssertTheseDiagnostics(compilation,
6626
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
6646
CompilationUtils
.AssertTheseDiagnostics(compilation,
6659
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
6672
CompilationUtils
.AssertTheseDiagnostics(compilation,
6682
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
6691
CompilationUtils
.AssertTheseDiagnostics(compilation,
6701
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
6719
CompilationUtils
.AssertTheseDiagnostics(compilation,
6738
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
6758
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
6772
CompilationUtils
.AssertTheseDiagnostics(compilation,
6785
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
6796
CompilationUtils
.AssertTheseDiagnostics(compilation,
6806
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
6825
CompilationUtils
.AssertTheseDiagnostics(compilation,
6838
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
6855
CompilationUtils
.AssertTheseDiagnostics(compilation,
6865
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
6874
CompilationUtils
.AssertTheseDiagnostics(compilation,
6884
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
6900
CompilationUtils
.AssertTheseDiagnostics(compilation,
6911
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
6922
CompilationUtils
.AssertTheseDiagnostics(compilation,
6932
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
6944
CompilationUtils
.AssertTheseDiagnostics(compilation,
6954
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
6975
CompilationUtils
.AssertTheseDiagnostics(compilation,
6995
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
7009
CompilationUtils
.AssertTheseDiagnostics(compilation,
7019
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
7040
CompilationUtils
.AssertTheseDiagnostics(compilation,
7051
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
7063
CompilationUtils
.AssertTheseDiagnostics(compilation,
7073
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
7089
CompilationUtils
.AssertTheseDiagnostics(compilation,
7099
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
7112
CompilationUtils
.AssertTheseDiagnostics(compilation,
7122
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
7140
CompilationUtils
.AssertTheseDiagnostics(compilation,
7153
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
7173
CompilationUtils
.AssertTheseDiagnostics(compilation,
7186
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
7195
CompilationUtils
.AssertTheseDiagnostics(compilation,
7205
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
7221
CompilationUtils
.AssertTheseDiagnostics(compilation,
7231
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
7243
CompilationUtils
.AssertTheseDiagnostics(compilation,
7253
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
7266
CompilationUtils
.AssertTheseDiagnostics(compilation,
7276
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
7290
CompilationUtils
.AssertTheseDiagnostics(compilation,
7303
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
7330
CompilationUtils
.AssertTheseDiagnostics(compilation,
7346
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
7365
CompilationUtils
.AssertTheseDiagnostics(compilation,
7375
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
7388
CompilationUtils
.AssertTheseDiagnostics(compilation,
7419
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
7421
CompilationUtils
.AssertTheseDiagnostics(c1,
7454
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
7456
CompilationUtils
.AssertTheseDiagnostics(c1,
7467
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
7487
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
7515
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
7542
CompilationUtils
.AssertTheseDiagnostics(compilation,
7573
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
7592
CompilationUtils
.AssertTheseDiagnostics(compilation,
7605
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
7652
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
7672
CompilationUtils
.AssertTheseDiagnostics(compilation,
7691
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
7710
CompilationUtils
.AssertTheseDiagnostics(compilation,
7726
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
7749
CompilationUtils
.AssertTheseDiagnostics(compilation,
7780
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
7792
CompilationUtils
.AssertTheseDiagnostics(compilation,
7817
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
7844
CompilationUtils
.AssertTheseDiagnostics(compilation,
7870
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
7893
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
8012
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
8017
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
8045
CompilationUtils
.AssertTheseDiagnostics(compilation,
8058
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
8073
CompilationUtils
.AssertTheseDiagnostics(compilation,
8083
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
8098
CompilationUtils
.AssertTheseDiagnostics(compilation,
8119
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
8135
CompilationUtils
.AssertTheseDiagnostics(compilation,
8152
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
8180
CompilationUtils
.AssertTheseDiagnostics(compilation,
8193
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
8288
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
8357
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
8398
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
8420
CompilationUtils
.AssertTheseDiagnostics(compilation,
8439
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
8464
CompilationUtils
.AssertTheseDiagnostics(compilation,
8480
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
8496
CompilationUtils
.AssertTheseDiagnostics(compilation,
8555
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
8579
CompilationUtils
.AssertTheseDiagnostics(compilation,
8592
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
8615
CompilationUtils
.AssertTheseDiagnostics(compilation,
8634
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
8661
CompilationUtils
.AssertTheseDiagnostics(compilation,
8677
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
8687
CompilationUtils
.AssertTheseDiagnostics(compilation,
8697
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
8709
CompilationUtils
.AssertTheseDiagnostics(compilation,
8719
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
8730
CompilationUtils
.AssertTheseDiagnostics(compilation,
8740
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
8755
CompilationUtils
.AssertTheseDiagnostics(compilation,
8771
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
8805
CompilationUtils
.AssertTheseDiagnostics(compilation,
8831
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
8860
CompilationUtils
.AssertTheseDiagnostics(compilation,
8870
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
8887
CompilationUtils
.AssertTheseDiagnostics(compilation,
8900
Dim Lib1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
8907
Dim Lib2 =
CompilationUtils
.CreateCompilationWithMscorlib40(
8914
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
8934
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
8939
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
8970
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
8975
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
8988
CompilationUtils
.AssertTheseDiagnostics(compilation,
9054
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
9064
CompilationUtils
.AssertTheseDiagnostics(compilation,
9074
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
9098
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
9108
CompilationUtils
.AssertTheseDiagnostics(compilation,
9118
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
9129
CompilationUtils
.AssertTheseDiagnostics(compilation,
9142
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
9158
CompilationUtils
.AssertTheseDiagnostics(compilation,
9170
CompilationUtils
.AssertTheseDiagnostics(compilation,
9190
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
9204
CompilationUtils
.AssertTheseDiagnostics(compilation,
9214
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
9245
CompilationUtils
.AssertTheseDiagnostics(compilation,
9254
CompilationUtils
.AssertTheseDiagnostics(compilation,
9264
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
9281
CompilationUtils
.AssertTheseDiagnostics(compilation,
9291
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
9302
CompilationUtils
.AssertTheseDiagnostics(compilation,
9312
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
9329
CompilationUtils
.AssertTheseDiagnostics(compilation,
9339
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
9358
CompilationUtils
.AssertTheseDiagnostics(compilation,
9371
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
9398
CompilationUtils
.AssertTheseDiagnostics(compilation,
9420
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
9433
CompilationUtils
.AssertTheseDiagnostics(compilation,
9443
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
9466
CompilationUtils
.AssertTheseDiagnostics(compilation,
9482
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
9492
CompilationUtils
.AssertTheseDiagnostics(compilation,
9502
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
9512
CompilationUtils
.AssertTheseDiagnostics(compilation,
9525
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
9535
CompilationUtils
.AssertTheseDiagnostics(compilation,
9546
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
9557
CompilationUtils
.AssertTheseDiagnostics(compilation,
9567
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
9579
CompilationUtils
.AssertTheseDiagnostics(compilation,
9592
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
9605
CompilationUtils
.AssertTheseDiagnostics(compilation,
9615
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
9632
CompilationUtils
.AssertTheseDiagnostics(compilation,
9642
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
9667
CompilationUtils
.AssertTheseDiagnostics(compilation,
9681
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
9690
CompilationUtils
.AssertTheseDiagnostics(compilation,
9703
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
9719
CompilationUtils
.AssertTheseDiagnostics(compilation,
9734
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
9793
CompilationUtils
.AssertTheseDiagnostics(compilation,
9821
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
9835
CompilationUtils
.AssertTheseDiagnostics(compilation,
9848
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
9862
CompilationUtils
.AssertTheseDiagnostics(compilation,
9872
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
9885
CompilationUtils
.AssertTheseDiagnostics(compilation,
9895
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
9912
CompilationUtils
.AssertTheseDiagnostics(compilation,
9931
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
9943
CompilationUtils
.AssertTheseDiagnostics(compilation,
9956
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
9970
CompilationUtils
.AssertTheseDiagnostics(compilation,
9983
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
10005
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
10010
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
10020
CompilationUtils
.AssertTheseDiagnostics(compilation,
10030
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
10040
CompilationUtils
.AssertTheseDiagnostics(compilation,
10050
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
10063
CompilationUtils
.AssertTheseDiagnostics(compilation,
10073
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
10095
CompilationUtils
.AssertTheseDiagnostics(compilation,
10110
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
10153
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
10171
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
10181
CompilationUtils
.AssertTheseDiagnostics(compilation,
10191
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
10212
CompilationUtils
.AssertTheseDiagnostics(compilation,
10225
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
10239
CompilationUtils
.AssertTheseDiagnostics(compilation,
10249
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
10284
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
10309
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
10311
CompilationUtils
.AssertTheseDiagnostics(c1,
10321
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
10332
CompilationUtils
.AssertTheseDiagnostics(compilation,
10346
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
10358
CompilationUtils
.AssertTheseDiagnostics(compilation,
10371
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
10383
CompilationUtils
.AssertTheseDiagnostics(compilation,
10393
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
10408
CompilationUtils
.AssertTheseDiagnostics(compilation,
10418
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
10433
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
10457
CompilationUtils
.AssertTheseDiagnostics(compilation,
10469
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
10510
CompilationUtils
.AssertTheseDiagnostics(compilation,
10529
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
10548
CompilationUtils
.AssertTheseDiagnostics(compilation,
10561
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
10579
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
10584
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
10615
CompilationUtils
.AssertTheseDiagnostics(compilation,
10626
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
10639
CompilationUtils
.AssertTheseDiagnostics(compilation,
10649
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
10679
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
10705
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
10742
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source).VerifyDiagnostics(Diagnostic(ERRID.ERR_CannotConvertValue2, "Asc(vbnullstring)").WithArguments("", "Integer"))
10748
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
10766
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
10771
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
10795
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
10800
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
10823
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
10829
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
10855
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
10860
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
10879
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
10884
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
10910
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
10915
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
10938
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
10943
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
10970
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
10975
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
11001
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
11006
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
11038
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
11044
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11067
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
11084
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
11089
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
11104
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
11109
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
11124
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
11129
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
11144
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
11149
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
11173
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
11178
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11197
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
11202
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11221
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
11226
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11247
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
11252
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11273
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
11279
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
11343
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
11365
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
11383
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
11388
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11421
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
11427
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
11444
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
11450
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11475
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
11480
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
11493
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
11499
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
11522
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors1)
11528
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
11553
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors1)
11558
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
11578
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11605
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
11610
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11630
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
11635
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11652
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
11658
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11677
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
11683
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11699
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
11704
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
11722
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
11727
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
11780
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
11793
CompilationUtils
.AssertTheseDiagnostics(compilation,
11803
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
11817
CompilationUtils
.AssertTheseDiagnostics(compilation,
11827
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
11840
CompilationUtils
.AssertTheseDiagnostics(compilation,
11850
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
11871
CompilationUtils
.AssertTheseDiagnostics(compilation,
11881
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
11906
CompilationUtils
.AssertTheseDiagnostics(compilation,
11916
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
11926
CompilationUtils
.AssertTheseDiagnostics(compilation,
11936
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
11952
CompilationUtils
.AssertTheseDiagnostics(compilation,
11965
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
11979
CompilationUtils
.AssertTheseDiagnostics(compilation,
11990
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
12000
CompilationUtils
.AssertTheseDiagnostics(compilation,
12011
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
12021
CompilationUtils
.AssertTheseDiagnostics(compilation,
12031
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
12047
CompilationUtils
.AssertTheseDiagnostics(compilation,
12057
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
12073
CompilationUtils
.AssertTheseDiagnostics(compilation,
12083
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
12100
CompilationUtils
.AssertTheseDiagnostics(compilation,
12110
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
12127
CompilationUtils
.AssertTheseDiagnostics(compilation,
12138
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
12156
CompilationUtils
.AssertTheseDiagnostics(compilation,
12167
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
12184
CompilationUtils
.AssertTheseDiagnostics(compilation,
12194
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
12211
CompilationUtils
.AssertTheseDiagnostics(compilation,
12221
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
12241
CompilationUtils
.AssertTheseDiagnostics(compilation,
12252
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
12271
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
12291
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
12317
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
12344
CompilationUtils
.AssertTheseDiagnostics(compilation,
12357
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
12386
CompilationUtils
.AssertTheseDiagnostics(compilation,
12399
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
12413
CompilationUtils
.AssertTheseDiagnostics(compilation,
12921
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
12947
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
13004
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
13025
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
13523
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
13534
CompilationUtils
.AssertTheseDiagnostics(compilation,
13545
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
13559
CompilationUtils
.AssertTheseDiagnostics(compilation,
13576
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
13589
CompilationUtils
.AssertTheseDiagnostics(compilation,
13639
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
13659
CompilationUtils
.AssertTheseDiagnostics(compilation,
13729
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
13741
CompilationUtils
.AssertTheseDiagnostics(compilation,
13751
CompilationUtils
.CreateCompilationWithMscorlib40(
13771
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
13788
CompilationUtils
.AssertTheseDiagnostics(compilation,
13801
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
13856
CompilationUtils
.AssertTheseDiagnostics(compilation,
13870
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
13881
CompilationUtils
.AssertTheseDiagnostics(compilation,
13891
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
13911
CompilationUtils
.AssertTheseDiagnostics(compilation,
13924
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
13934
CompilationUtils
.AssertTheseDiagnostics(compilation,
13944
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
13960
CompilationUtils
.AssertTheseDiagnostics(compilation,
13973
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
13988
CompilationUtils
.AssertTheseDiagnostics(compilation,
13998
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
14014
CompilationUtils
.AssertTheseDiagnostics(compilation,
14053
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
14067
CompilationUtils
.AssertTheseDiagnostics(compilation,
14077
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
14105
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
14117
CompilationUtils
.AssertTheseDiagnostics(compilation,
14127
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
14228
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(
14243
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
14272
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
14285
CompilationUtils
.AssertTheseDiagnostics(compilation,
14295
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
14307
CompilationUtils
.AssertTheseDiagnostics(compilation,
14321
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
14345
CompilationUtils
.AssertTheseDiagnostics(compilation,
14356
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
14380
CompilationUtils
.AssertTheseDiagnostics(compilation,
14390
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
14406
CompilationUtils
.AssertTheseDiagnostics(compilation,
14429
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
14443
CompilationUtils
.AssertTheseDiagnostics(compilation,
14453
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
14469
CompilationUtils
.AssertTheseDiagnostics(compilation,
14482
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
14503
CompilationUtils
.AssertTheseDiagnostics(compilation,
14562
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
14564
CompilationUtils
.AssertTheseDiagnostics(c1,
14619
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
14655
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
14669
CompilationUtils
.AssertTheseDiagnostics(compilation,
14679
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
14692
CompilationUtils
.AssertTheseDiagnostics(compilation,
14702
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
14714
CompilationUtils
.AssertTheseDiagnostics(compilation,
14728
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
14739
CompilationUtils
.AssertTheseDiagnostics(compilation,
14753
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
14765
CompilationUtils
.AssertTheseDiagnostics(compilation,
14775
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
14791
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
14811
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
14835
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
14848
CompilationUtils
.AssertTheseDiagnostics(compilation,
14858
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
14870
CompilationUtils
.AssertTheseDiagnostics(compilation,
14880
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
14913
CompilationUtils
.AssertTheseDiagnostics(compilation,
14923
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
14956
CompilationUtils
.AssertTheseDiagnostics(compilation,
14966
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
14983
CompilationUtils
.AssertTheseDiagnostics(compilation,
14993
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
15019
CompilationUtils
.AssertTheseDiagnostics(compilation,
15041
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
15060
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
15065
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
15086
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
15091
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
15114
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
15119
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
15144
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
15149
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
15174
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
15179
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
15204
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
15209
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
15234
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
15239
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
15264
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
15269
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
15302
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
15307
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
15327
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
15332
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
15388
CompilationUtils
.AssertTheseDiagnostics(compilation,
15425
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
15460
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
15466
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
15489
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
15495
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
15524
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
15529
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
15550
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
15555
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
15576
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
15581
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
15611
CompilationUtils
.AssertTheseDiagnostics(compilation,
15640
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
15656
CompilationUtils
.AssertTheseDiagnostics(compilation,
15670
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
15726
CompilationUtils
.AssertTheseDiagnostics(compilation,
15763
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
15781
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
15806
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
15828
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
15833
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
15855
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
15861
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
15901
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
15906
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
15925
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
15930
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
15962
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
15967
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
16052
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
16077
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
16082
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
16100
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
16105
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
16123
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
16145
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
16150
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
16174
CompilationUtils
.AssertTheseDiagnostics(compilation,
16193
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
16222
CompilationUtils
.AssertTheseDiagnostics(compilation,
16232
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
16257
CompilationUtils
.AssertTheseDiagnostics(compilation,
16267
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
16279
CompilationUtils
.AssertTheseDiagnostics(compilation,
16290
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
16306
CompilationUtils
.AssertTheseDiagnostics(compilation,
16316
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
16333
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
16338
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
16352
CompilationUtils
.AssertTheseDiagnostics(compilation,
16363
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
16376
CompilationUtils
.AssertTheseDiagnostics(compilation,
16387
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
16400
CompilationUtils
.AssertTheseDiagnostics(compilation,
16410
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
16422
CompilationUtils
.AssertTheseDiagnostics(compilation,
16435
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
16452
CompilationUtils
.AssertTheseDiagnostics(compilation,
16462
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
16473
CompilationUtils
.AssertTheseDiagnostics(compilation,
16486
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
16498
CompilationUtils
.AssertTheseDiagnostics(compilation,
16508
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
16518
CompilationUtils
.AssertTheseEmitDiagnostics(compilation,
16528
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
16538
CompilationUtils
.AssertTheseDiagnostics(compilation,
16548
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
16585
CompilationUtils
.AssertTheseDiagnostics(compilation,
16615
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
16630
CompilationUtils
.AssertTheseDiagnostics(compilation,
16640
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
16652
CompilationUtils
.AssertTheseDiagnostics(compilation,
16700
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
16717
CompilationUtils
.AssertTheseDiagnostics(compilation,
16727
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
16747
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
16769
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
16799
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
16819
CompilationUtils
.AssertTheseDiagnostics(compilation,
16833
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
16854
CompilationUtils
.AssertTheseDiagnostics(compilation,
16867
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
16877
CompilationUtils
.AssertTheseDiagnostics(compilation,
16887
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
16900
CompilationUtils
.AssertTheseDiagnostics(compilation,
16910
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
16938
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
16958
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
16989
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
17000
CompilationUtils
.AssertTheseDiagnostics(compilation,
17010
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
17024
CompilationUtils
.AssertTheseDiagnostics(compilation,
17034
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
17048
CompilationUtils
.AssertTheseDiagnostics(compilation,
17058
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
17070
CompilationUtils
.AssertTheseDiagnostics(compilation,
17080
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
17092
CompilationUtils
.AssertTheseDiagnostics(compilation,
17103
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
17113
CompilationUtils
.AssertTheseDiagnostics(compilation,
17136
CompilationUtils
.AssertTheseDiagnostics(compilation,
17172
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
17198
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
17210
CompilationUtils
.AssertTheseDiagnostics(compilation,
17223
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
17237
CompilationUtils
.AssertTheseDiagnostics(compilation,
17253
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
17362
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
17373
CompilationUtils
.AssertTheseDiagnostics(compilation,
17383
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
17398
CompilationUtils
.AssertTheseDiagnostics(compilation,
17411
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
17423
CompilationUtils
.AssertTheseDiagnostics(compilation,
17436
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
17448
CompilationUtils
.AssertTheseDiagnostics(compilation,
17461
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
17472
CompilationUtils
.AssertTheseDiagnostics(compilation,
17482
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
17501
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
17530
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
17552
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
17569
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
17595
CompilationUtils
.AssertTheseDiagnostics(compilation,
17611
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
17627
CompilationUtils
.AssertTheseDiagnostics(compilation,
17661
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
17696
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
17826
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
17834
CompilationUtils
.AssertTheseDiagnostics(compilation,
17844
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
17862
CompilationUtils
.AssertTheseDiagnostics(compilation,
17872
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
17884
CompilationUtils
.AssertTheseDiagnostics(compilation,
17894
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
17913
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
17930
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
17948
CompilationUtils
.AssertTheseDiagnostics(compilation,
17959
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
17977
CompilationUtils
.AssertTheseDiagnostics(compilation,
17988
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
17999
CompilationUtils
.AssertTheseDiagnostics(compilation,
18009
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
18024
CompilationUtils
.AssertTheseDiagnostics(compilation,
18036
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
18056
CompilationUtils
.AssertTheseDiagnostics(compilation,
18066
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
18077
CompilationUtils
.AssertTheseDiagnostics(compilation,
18335
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
18352
CompilationUtils
.AssertTheseDiagnostics(compilation,
18362
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
18373
CompilationUtils
.AssertTheseDiagnostics(compilation,
18383
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
18406
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
18426
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
18437
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
18498
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
18509
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
18544
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors1)
18547
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
18581
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors1)
18584
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
18618
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors1)
18626
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
18660
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors1)
18668
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
18687
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
18692
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
18711
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
18716
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
18737
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
18742
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
18763
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
18768
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
18785
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
18792
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
18824
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors1)
18894
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
18914
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
18919
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
18937
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
18942
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
18958
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
18963
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
18979
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
18984
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19006
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
19011
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19028
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
19033
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19054
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
19059
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
19085
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
19125
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
19143
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19476
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
19481
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19501
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
19506
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
19524
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
19529
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19552
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
19557
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19576
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19621
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
19627
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19648
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
19653
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19674
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
19679
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19699
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
19704
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19728
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
19733
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
19749
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
19755
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19768
CompilationUtils
.AssertTheseDiagnostics(compilation1, <errors></errors>)
19774
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
19794
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
19799
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
19837
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19860
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
19866
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19883
CompilationUtils
.AssertTheseDiagnostics(compilation1,
19894
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19909
CompilationUtils
.AssertTheseDiagnostics(compilation1,
19925
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
19949
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
19975
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
20000
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
20024
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
20062
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
20069
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
20086
CompilationUtils
.AssertTheseDiagnostics(compilation1,
20101
Dim compilation1 =
CompilationUtils
.CreateEmptyCompilationWithReferences(
20150
CompilationUtils
.AssertTheseDiagnostics(compilation1,
20171
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
20193
CompilationUtils
.AssertTheseDiagnostics(compilation1,
20205
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
20259
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
20264
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
20318
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
20324
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
20361
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
20366
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
20384
CompilationUtils
.AssertTheseDiagnostics(compilation1,
20394
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
20413
CompilationUtils
.AssertTheseDiagnostics(compilation1,
20424
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
20464
CompilationUtils
.AssertTheseDiagnostics(compilation1,
20489
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
20510
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
20516
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
20536
CompilationUtils
.AssertTheseDiagnostics(compilation1, <errors></errors>)
20542
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
20574
CompilationUtils
.AssertTheseDiagnostics(compilation1, <errors></errors>)
20582
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
20606
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
20628
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
20661
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
20701
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
20724
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
20763
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
20776
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
20781
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
20796
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
20802
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
20830
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
20856
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
20861
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
20879
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
20898
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
20939
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
20944
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
20981
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
20986
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
20997
CompilationUtils
.AssertTheseDiagnostics(compilation,
21007
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
21018
CompilationUtils
.AssertTheseDiagnostics(compilation,
21028
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
21079
CompilationUtils
.AssertTheseDiagnostics(compilation,
21089
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
21165
CompilationUtils
.AssertTheseDiagnostics(compilation,
21184
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
21206
CompilationUtils
.AssertTheseDiagnostics(compilation,
21219
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
21229
CompilationUtils
.AssertTheseDiagnostics(compilation,
21241
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
21269
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
21303
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
21315
CompilationUtils
.AssertTheseDiagnostics(compilation,
21325
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
21349
CompilationUtils
.AssertTheseDiagnostics(compilation,
21359
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
21369
CompilationUtils
.AssertTheseDiagnostics(compilation,
21379
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
21395
CompilationUtils
.AssertTheseDiagnostics(compilation,
21405
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
21430
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors1)
21435
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
21462
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors1)
21518
Dim c =
CompilationUtils
.CreateEmptyCompilationWithReferences(
21543
Dim c =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
21593
c =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
21643
Dim c =
CompilationUtils
.CreateEmptyCompilationWithReferences(
21673
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
21695
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
21700
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
21718
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
21723
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
21744
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
21749
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
21767
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
21772
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
21788
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
21793
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
21821
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
21827
Dim compilation1 =
CompilationUtils
.CreateEmptyCompilationWithReferences(
21842
CompilationUtils
.AssertTheseDiagnostics(compilation1,
21859
Dim compilation1 =
CompilationUtils
.CreateEmptyCompilationWithReferences(
21869
CompilationUtils
.AssertTheseDiagnostics(compilation1,
21892
Dim compilation1 =
CompilationUtils
.CreateEmptyCompilationWithReferences(
21907
CompilationUtils
.AssertTheseDiagnostics(compilation1,
21933
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
21951
CompilationUtils
.AssertTheseDiagnostics(compilation1,
21965
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
21983
CompilationUtils
.AssertTheseDiagnostics(compilation1,
21997
Dim compilation1 =
CompilationUtils
.CreateEmptyCompilationWithReferences(
22005
CompilationUtils
.AssertTheseDiagnostics(compilation1,
22019
Dim compilation1 =
CompilationUtils
.CreateEmptyCompilationWithReferences(
22028
CompilationUtils
.AssertTheseDiagnostics(compilation1,
22051
Dim compilation1 =
CompilationUtils
.CreateEmptyCompilationWithReferences(
22060
CompilationUtils
.AssertTheseDiagnostics(compilation1,
22077
Dim compilation1 =
CompilationUtils
.CreateEmptyCompilationWithReferences(
22088
CompilationUtils
.AssertTheseDiagnostics(compilation1,
22117
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
22138
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
22164
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
22186
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
22212
CompilationUtils
.AssertTheseDiagnostics(compilation,
22226
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
22248
CompilationUtils
.AssertTheseDiagnostics(compilation,
22261
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
22276
CompilationUtils
.AssertTheseDiagnostics(compilation1,
22286
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
22301
CompilationUtils
.AssertTheseDiagnostics(compilation1,
22311
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
22326
CompilationUtils
.AssertTheseDiagnostics(compilation1,
22336
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
22350
CompilationUtils
.AssertTheseDiagnostics(compilation1,
22360
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
22374
CompilationUtils
.AssertTheseDiagnostics(compilation1,
22384
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
22398
CompilationUtils
.AssertTheseDiagnostics(compilation1,
22408
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
22423
CompilationUtils
.AssertTheseDiagnostics(compilation1,
22433
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
22451
CompilationUtils
.AssertNoDiagnostics(compilation1)
22452
CompilationUtils
.AssertTheseEmitDiagnostics(compilation1,
22462
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
22477
CompilationUtils
.AssertTheseDiagnostics(compilation1,
22487
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
22516
CompilationUtils
.AssertTheseDiagnostics(compilation1,
22535
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
22557
CompilationUtils
.AssertTheseDiagnostics(compilation1,
22576
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
22618
CompilationUtils
.AssertTheseDiagnostics(compilation1,
22634
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
22661
CompilationUtils
.AssertTheseDiagnostics(compilation1,
22674
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
22702
CompilationUtils
.AssertTheseDiagnostics(compilation1,
22715
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
22743
CompilationUtils
.AssertTheseDiagnostics(compilation1,
22753
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
22783
CompilationUtils
.AssertTheseDiagnostics(compilation1,
22805
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
22878
CompilationUtils
.AssertTheseDiagnostics(compilation1,
22891
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
22964
CompilationUtils
.AssertTheseDiagnostics(compilation1,
22974
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
22998
CompilationUtils
.AssertTheseDiagnostics(compilation1,
23017
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
23059
CompilationUtils
.AssertTheseDiagnostics(compilation1,
23069
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
23089
CompilationUtils
.AssertTheseDiagnostics(compilation1,
23102
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
23122
CompilationUtils
.AssertTheseDiagnostics(compilation1,
23132
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
23163
CompilationUtils
.AssertTheseDiagnostics(compilation1,
23194
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
23224
CompilationUtils
.AssertTheseDiagnostics(compilation1,
23246
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
23276
CompilationUtils
.AssertTheseDiagnostics(compilation1,
23301
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
23332
CompilationUtils
.AssertTheseDiagnostics(compilation1,
23348
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
23375
CompilationUtils
.AssertTheseDiagnostics(compilation1,
23391
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
23421
CompilationUtils
.AssertTheseDiagnostics(compilation1,
23456
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
23474
CompilationUtils
.AssertTheseDiagnostics(compilation,
23491
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
23514
CompilationUtils
.AssertTheseDiagnostics(compilation,
23528
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
23554
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
23595
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
23788
CompilationUtils
.AssertTheseDiagnostics(compilation,
23818
CompilationUtils
.AssertTheseDiagnostics(compilation,
23863
CompilationUtils
.AssertTheseDiagnostics(compilation,
23891
CompilationUtils
.AssertTheseDiagnostics(compilation,
23917
CompilationUtils
.AssertTheseDiagnostics(compilation,
23954
CompilationUtils
.AssertTheseDiagnostics(compilation,
23993
CompilationUtils
.AssertTheseDiagnostics(compilation,
24039
CompilationUtils
.AssertTheseDiagnostics(compilation,
24132
CompilationUtils
.AssertTheseDiagnostics(compilation,
24211
Dim c =
CompilationUtils
.CreateEmptyCompilationWithReferences(source,
24600
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, parseOptions:=VisualBasicParseOptions.Default.WithLanguageVersion(LanguageVersion.VisualBasic12))
24602
CompilationUtils
.AssertTheseParseDiagnostics(compilation,
24609
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, parseOptions:=VisualBasicParseOptions.Default.WithLanguageVersion(LanguageVersion.VisualBasic9))
24611
CompilationUtils
.AssertTheseParseDiagnostics(compilation,
24681
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, parseOptions:=VisualBasicParseOptions.Default.WithLanguageVersion(LanguageVersion.VisualBasic12))
24683
CompilationUtils
.AssertTheseParseDiagnostics(compilation,
24812
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, parseOptions:=VisualBasicParseOptions.Default.WithLanguageVersion(LanguageVersion.VisualBasic12))
24814
CompilationUtils
.AssertTheseParseDiagnostics(compilation,
24891
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, parseOptions:=VisualBasicParseOptions.Default.WithLanguageVersion(LanguageVersion.VisualBasic12))
24893
CompilationUtils
.AssertTheseParseDiagnostics(compilation,
24956
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, parseOptions:=VisualBasicParseOptions.Default.WithLanguageVersion(LanguageVersion.VisualBasic12))
24958
CompilationUtils
.AssertTheseParseDiagnostics(compilation,
24976
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, parseOptions:=VisualBasicParseOptions.Default.WithLanguageVersion(LanguageVersion.VisualBasic12))
24978
CompilationUtils
.AssertTheseParseDiagnostics(compilation,
25005
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, parseOptions:=VisualBasicParseOptions.Default.WithLanguageVersion(LanguageVersion.VisualBasic12))
25007
CompilationUtils
.AssertTheseParseDiagnostics(compilation,
25033
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, parseOptions:=VisualBasicParseOptions.Default.WithLanguageVersion(LanguageVersion.VisualBasic12))
25035
CompilationUtils
.AssertTheseParseDiagnostics(compilation,
25059
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, parseOptions:=VisualBasicParseOptions.Default.WithLanguageVersion(LanguageVersion.VisualBasic12))
25061
CompilationUtils
.AssertTheseParseDiagnostics(compilation,
25082
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, parseOptions:=VisualBasicParseOptions.Default.WithLanguageVersion(LanguageVersion.VisualBasic12))
25084
CompilationUtils
.AssertTheseParseDiagnostics(compilation,
25142
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, parseOptions:=VisualBasicParseOptions.Default.WithLanguageVersion(LanguageVersion.VisualBasic12))
25144
CompilationUtils
.AssertTheseParseDiagnostics(compilation,
25211
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, parseOptions:=VisualBasicParseOptions.Default.WithLanguageVersion(LanguageVersion.VisualBasic12))
25213
CompilationUtils
.AssertTheseParseDiagnostics(compilation,
25280
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, parseOptions:=VisualBasicParseOptions.Default.WithLanguageVersion(LanguageVersion.VisualBasic12))
25282
CompilationUtils
.AssertTheseParseDiagnostics(compilation,
25349
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, parseOptions:=VisualBasicParseOptions.Default.WithLanguageVersion(LanguageVersion.VisualBasic12))
25351
CompilationUtils
.AssertTheseParseDiagnostics(compilation,
25418
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, parseOptions:=VisualBasicParseOptions.Default.WithLanguageVersion(LanguageVersion.VisualBasic12))
25420
CompilationUtils
.AssertTheseParseDiagnostics(compilation,
25487
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, parseOptions:=VisualBasicParseOptions.Default.WithLanguageVersion(LanguageVersion.VisualBasic12))
25489
CompilationUtils
.AssertTheseParseDiagnostics(compilation,
25602
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, parseOptions:=VisualBasicParseOptions.Default.WithLanguageVersion(LanguageVersion.VisualBasic12))
25604
CompilationUtils
.AssertTheseParseDiagnostics(compilation,
25733
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, parseOptions:=VisualBasicParseOptions.Default.WithLanguageVersion(LanguageVersion.VisualBasic12))
25735
CompilationUtils
.AssertTheseParseDiagnostics(compilation,
25781
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, parseOptions:=VisualBasicParseOptions.Default.WithLanguageVersion(LanguageVersion.VisualBasic12))
25783
CompilationUtils
.AssertTheseParseDiagnostics(compilation,
25816
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(source, {SystemRef}, parseOptions:=VisualBasicParseOptions.Default.WithLanguageVersion(LanguageVersion.VisualBasic12))
25818
CompilationUtils
.AssertTheseDiagnostics(compilation,
25842
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, parseOptions:=VisualBasicParseOptions.Default.WithLanguageVersion(LanguageVersion.VisualBasic12))
25844
CompilationUtils
.AssertTheseParseDiagnostics(compilation,
25873
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, parseOptions:=VisualBasicParseOptions.Default.WithLanguageVersion(LanguageVersion.VisualBasic12))
25875
CompilationUtils
.AssertTheseParseDiagnostics(compilation,
25885
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, parseOptions:=VisualBasicParseOptions.Default.WithLanguageVersion(LanguageVersion.VisualBasic9))
25887
CompilationUtils
.AssertTheseParseDiagnostics(compilation,
25915
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, parseOptions:=VisualBasicParseOptions.Default.WithLanguageVersion(LanguageVersion.VisualBasic12))
25917
CompilationUtils
.AssertTheseParseDiagnostics(compilation,
25940
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, parseOptions:=VisualBasicParseOptions.Default.WithLanguageVersion(LanguageVersion.VisualBasic12))
25942
CompilationUtils
.AssertTheseParseDiagnostics(compilation,
25967
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, parseOptions:=VisualBasicParseOptions.Default.WithLanguageVersion(LanguageVersion.VisualBasic12))
25969
CompilationUtils
.AssertTheseParseDiagnostics(compilation,
25993
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, parseOptions:=VisualBasicParseOptions.Default.WithLanguageVersion(LanguageVersion.VisualBasic12))
25995
CompilationUtils
.AssertTheseParseDiagnostics(compilation,
26026
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(source, {SystemRef}, parseOptions:=VisualBasicParseOptions.Default.WithLanguageVersion(LanguageVersion.VisualBasic12))
26028
CompilationUtils
.AssertTheseDiagnostics(compilation,
26091
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, {Net40.SystemCore})
26093
CompilationUtils
.AssertTheseDiagnostics(compilation,
Binding\BindingObjectInitializerTests.vb (5)
1418
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1838
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1940
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
2009
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
2072
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, references:=XmlReferences)
Binding\BindingScopeTests.vb (6)
17
Dim tree As SyntaxTree =
CompilationUtils
.GetTree(comp, treeName)
43
Dim comp As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
136
Dim comp As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
183
Dim comp As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
225
Dim comp As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
251
Dim comp As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
Binding\ForEachTests.vb (78)
222
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
359
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
432
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
481
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
545
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
585
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
618
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
656
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
696
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
732
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
799
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
831
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
869
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
910
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
943
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
977
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1008
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1051
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1086
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1117
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, options:=TestOptions.ReleaseDll.WithOptionInfer(True).WithOptionStrict(OptionStrict.Off))
1210
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1236
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1273
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1307
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1348
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1384
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1417
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source).VerifyDiagnostics(
1446
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source).VerifyDiagnostics(
1475
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1518
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1626
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1670
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1714
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1763
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1810
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1868
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1930
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1977
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
2028
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
2096
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
2153
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
2189
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
2224
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
2266
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
2328
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, references:={TestMetadata.Net40.SystemCore})
2378
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, references:={TestMetadata.Net40.SystemCore})
2431
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, references:={TestMetadata.Net40.SystemCore})
2474
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
2529
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
2573
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
2603
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
2685
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
2714
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
2748
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
2785
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
2952
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
2989
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
3050
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
3108
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
3143
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
3209
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
3263
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
3289
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
3341
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
3389
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
3446
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
3494
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
3546
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
3624
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
3675
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
3789
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
3830
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
3853
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source).VerifyDiagnostics(Diagnostic(ERRID.ERR_ExecutableAsDeclaration, "For Each i In """""),
3870
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source).VerifyDiagnostics(Diagnostic(ERRID.ERR_ExecutableAsDeclaration, "For Each i In """""),
3942
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source).VerifyDiagnostics(Diagnostic(ERRID.ERR_ExecutableAsDeclaration, "For i As Integer = 1 To 100"),
3959
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source).VerifyDiagnostics(Diagnostic(ERRID.ERR_ExecutableAsDeclaration, "For i As Integer = 1 To 100"),
3980
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(source, ImmutableArray.Create(Of MetadataReference)().AsEnumerable)
4026
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(source, ImmutableArray.Create(Of MetadataReference)().AsEnumerable)
Binding\GenericsTests.vb (2)
19
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
101
CompilationUtils
.AssertTheseDiagnostics(compilation,
Binding\ImplicitVariableTests.vb (32)
244
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
257
CompilationUtils
.AssertTheseDiagnostics(compilation,
429
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
445
CompilationUtils
.AssertTheseDiagnostics(compilation,
457
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
474
CompilationUtils
.AssertTheseDiagnostics(compilation,
486
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
503
CompilationUtils
.AssertTheseDiagnostics(compilation,
515
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
536
CompilationUtils
.AssertNoErrors(compilation)
541
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
565
CompilationUtils
.AssertTheseDiagnostics(compilation,
576
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
600
CompilationUtils
.AssertTheseDiagnostics(compilation,
611
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
636
CompilationUtils
.AssertTheseDiagnostics(compilation,
650
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
675
CompilationUtils
.AssertTheseDiagnostics(compilation,
689
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
709
CompilationUtils
.AssertTheseDiagnostics(compilation,
730
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
757
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1097
CompilationUtils
.AssertTheseDiagnostics(compilation,
1110
Dim tupleSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
1138
CompilationUtils
.AssertTheseDiagnostics(compilation,
1166
CompilationUtils
.AssertTheseDiagnostics(compilation,
1194
CompilationUtils
.AssertTheseDiagnostics(compilation,
1276
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(GetSourceXElementFromTemplate(code))
1277
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
1284
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(GetSourceXElementFromTemplate(code))
1287
Dim position =
CompilationUtils
.FindPositionFromText(tree, "'BIND")
1298
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(GetSourceXElementFromTemplate(code))
Binding\LookupTests.vb (107)
24
Dim tree As SyntaxTree =
CompilationUtils
.GetTree(compilation, treeName)
25
Dim position =
CompilationUtils
.FindPositionFromText(tree, textToFind)
234
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
385
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
390
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
409
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
416
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
437
CompilationUtils
.AssertTheseDiagnostics(compilation,
447
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
471
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
478
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
502
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
506
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
530
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
537
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
567
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
585
CompilationUtils
.AssertTheseDiagnostics(compilation,
595
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
649
Dim compilation3 =
CompilationUtils
.CreateCompilationWithMscorlib40(
664
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
693
CompilationUtils
.AssertTheseDiagnostics(compilation2,
715
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
743
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40(
759
Dim compilation3 =
CompilationUtils
.CreateCompilationWithMscorlib40(
769
Dim compilation4 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
789
CompilationUtils
.AssertTheseDiagnostics(compilation4,
805
Dim compilation5 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
825
CompilationUtils
.AssertTheseDiagnostics(compilation5,
841
Dim compilation6 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
861
CompilationUtils
.AssertTheseDiagnostics(compilation6,
881
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
908
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
990
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
1002
Dim c2 =
CompilationUtils
.CreateCompilationWithMscorlib40(
1014
Dim c3 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
1044
c3 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
1074
Dim c4 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
1103
c4 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
1137
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1156
CompilationUtils
.AssertTheseDiagnostics(compilation,
1179
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1194
CompilationUtils
.AssertTheseDiagnostics(compilation,
1201
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1230
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1243
CompilationUtils
.AssertTheseDiagnostics(compilation,
1249
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1268
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1291
Dim compilation3 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
1317
Dim compilation4 =
CompilationUtils
.CreateCompilationWithMscorlib40(
1331
compilation3 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
1344
CompilationUtils
.AssertTheseDiagnostics(compilation3,
1351
compilation3 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
1366
CompilationUtils
.AssertTheseDiagnostics(compilation3,
1373
compilation3 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
1401
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1429
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1457
CompilationUtils
.AssertTheseDiagnostics(compilation,
1467
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1534
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
1540
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1568
CompilationUtils
.AssertNoDiagnostics(compilation)
1574
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1587
CompilationUtils
.AssertTheseDiagnostics(compilation,
1597
Dim compilation =
CompilationUtils
.CreateEmptyCompilation(
1611
CompilationUtils
.AssertNoDiagnostics(compilation)
1616
Dim node As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
1636
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
1654
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
1666
Dim node As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
1686
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1721
CompilationUtils
.AssertNoDiagnostics(compilation)
1726
Dim node2 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 2)
1735
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
1755
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1876
CompilationUtils
.AssertTheseDiagnostics(compilation,
1922
nodes(i) =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", i)
1986
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2085
CompilationUtils
.AssertNoDiagnostics(compilation)
2093
nodes(i) =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", i)
2127
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2213
CompilationUtils
.AssertTheseDiagnostics(compilation,
2235
nodes(i) =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", i)
2271
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2340
CompilationUtils
.AssertTheseDiagnostics(compilation,
2350
Dim node3 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 3)
2358
Dim node2 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 2)
2364
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
2381
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2448
CompilationUtils
.AssertNoDiagnostics(compilation)
2453
Dim node3 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 3)
2459
Dim node2 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 2)
2465
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
2482
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2571
CompilationUtils
.AssertTheseDiagnostics(compilation,
2593
nodes(i) =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", i)
2629
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2713
CompilationUtils
.AssertTheseDiagnostics(compilation,
2726
nodes(i) =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", i)
2760
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2782
CompilationUtils
.AssertTheseDiagnostics(compilation,
2871
CompilationUtils
.AssertTheseDiagnostics(vbCompilation,
2904
CompilationUtils
.AssertTheseDiagnostics(vbCompilation,
2937
CompilationUtils
.AssertTheseDiagnostics(vbCompilation,
2959
CompilationUtils
.AssertTheseDiagnostics(vbCompilation1,
2980
CompilationUtils
.AssertTheseDiagnostics(vbCompilation,
3001
CompilationUtils
.AssertTheseDiagnostics(vbCompilation1,
3016
CompilationUtils
.AssertTheseDiagnostics(vbCompilation,
Binding\MethodBodyBindingTests.vb (30)
20
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
142
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
166
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
178
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
223
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
244
CompilationUtils
.AssertTheseDiagnostics(compilation,
263
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
276
CompilationUtils
.AssertTheseDiagnostics(compilation,
289
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
302
CompilationUtils
.AssertNoErrors(compilation)
308
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
328
CompilationUtils
.AssertNoErrors(compilation)
330
Dim node1 =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "try.vb", 1)
331
Dim node2 =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "try.vb", 2)
350
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
382
CompilationUtils
.AssertNoErrors(compilation)
384
Dim node1 =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "catch.vb", 1)
385
Dim node2 =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "catch.vb", 2)
386
Dim node3 =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "catch.vb", 3)
405
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
471
Dim compilation =
CompilationUtils
.CreateEmptyCompilation(
503
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
516
Dim node1 =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", 1)
530
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
569
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
605
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
646
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
665
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
693
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
710
Dim node1 =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", 1)
Binding\UsingTests.vb (23)
604
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
653
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
690
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
726
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
773
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
800
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
902
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
962
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
1017
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
1034
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
1061
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
1092
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
1171
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1202
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1238
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1266
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1294
CompilationUtils
.AssertTheseDiagnostics(compilation1,
1311
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1349
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
1478
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1504
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1578
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1613
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
Compilation\CompilationAPITests.vb (11)
381
comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
916
CompilationUtils
.AssertNoDiagnostics(netModule1)
928
CompilationUtils
.AssertNoDiagnostics(netModule2)
940
CompilationUtils
.AssertNoDiagnostics(netModule3)
954
CompilationUtils
.AssertTheseDiagnostics(assembly,
975
CompilationUtils
.AssertNoDiagnostics(netModule1)
1001
CompilationUtils
.AssertNoDiagnostics(netModule1)
1012
CompilationUtils
.AssertNoDiagnostics(netModule2)
1025
CompilationUtils
.AssertTheseDiagnostics(assembly,
2515
Dim moduleComp =
CompilationUtils
.CreateEmptyCompilation(
2534
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
Compilation\GetSemanticInfoBrokenCodeTests.vb (30)
19
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
37
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
58
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
79
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
99
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
123
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
148
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
167
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
188
AnalyzeExpressionDataFlow(
CompilationUtils
.CreateCompilationWithMscorlib40(
200
AnalyzeExpressionDataFlow(
CompilationUtils
.CreateCompilationWithMscorlib40(
212
AnalyzeExpressionDataFlow(
CompilationUtils
.CreateCompilationWithMscorlib40(
222
AnalyzeExpressionDataFlow(
CompilationUtils
.CreateCompilationWithMscorlib40(
237
AnalyzeExpressionDataFlow(
CompilationUtils
.CreateCompilationWithMscorlib40(
247
AnalyzeExpressionDataFlow(
CompilationUtils
.CreateCompilationWithMscorlib40(
257
AnalyzeExpressionDataFlow(
CompilationUtils
.CreateCompilationWithMscorlib40(
267
AnalyzeExpressionDataFlow(
CompilationUtils
.CreateCompilationWithMscorlib40(
277
AnalyzeExpressionDataFlow(
CompilationUtils
.CreateCompilationWithMscorlib40(
287
AnalyzeExpressionDataFlow(
CompilationUtils
.CreateCompilationWithMscorlib40(
297
AnalyzeExpressionDataFlow(
CompilationUtils
.CreateCompilationWithMscorlib40(
307
AnalyzeExpressionDataFlow(
CompilationUtils
.CreateCompilationWithMscorlib40(
322
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
351
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
379
MustOverrideMemberCore(
CompilationUtils
.CreateCompilationWithMscorlib40({VisualBasicSyntaxTree.ParseText(<![CDATA[
384
MustOverrideMemberCore(
CompilationUtils
.CreateCompilationWithMscorlib40(
393
MustOverrideMemberCore(
CompilationUtils
.CreateCompilationWithMscorlib40(
402
MustOverrideMemberCore(
CompilationUtils
.CreateCompilationWithMscorlib40(
411
MustOverrideMemberCore(
CompilationUtils
.CreateCompilationWithMscorlib40(
431
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
446
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
461
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
Compilation\MyTemplateTests.vb (2)
235
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
290
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
Compilation\ReferenceManagerTests.vb (16)
355
CompilationUtils
.AssertTheseDiagnostics(main,
639
CompilationUtils
.AssertTheseDiagnostics(main,
775
Dim libV1 =
CompilationUtils
.CreateCompilationWithMscorlib40(sourceLibV1, OutputKind.DynamicallyLinkedLibrary)
779
Dim refLibV1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(sourceRefLibV1, {metadataLibV1})
782
Dim main =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(sourceMain,
797
main =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(sourceMain, {
807
main =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(sourceMain, {
818
main =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(sourceMain,
830
main =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(sourceMain, {New VisualBasicCompilationReference(libV1), New VisualBasicCompilationReference(refLibV1), New VisualBasicCompilationReference(libV1)}, TestOptions.ReleaseDll)
880
Dim libV1 =
CompilationUtils
.CreateCompilationWithMscorlib40(sourceLibV1)
881
Dim libV2 =
CompilationUtils
.CreateCompilationWithMscorlib40(sourceLibV2)
883
Dim refLibV1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(sourceRefLibV1,
886
Dim main =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(sourceMain,
919
Dim main =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(sourceMain,
951
Dim main =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(sourceMain,
982
Dim main =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(sourceMain,
Compilation\SemanticModelAPITests.vb (121)
84
CompilationUtils
.AssertNoErrors(compilation)
117
Dim node2 =
CompilationUtils
.FindTokenFromText(tree, "c2").Parent
157
Dim node2 =
CompilationUtils
.FindTokenFromText(tree, "c2").Parent
246
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
269
Dim position As Integer =
CompilationUtils
.FindPositionFromText(tree, "WriteLine")
272
Dim treeForExpression =
CompilationUtils
.CreateParseTree(
281
Dim expression =
CompilationUtils
.FindNodeOfTypeFromText(Of NameSyntax)(treeForExpression, "bInstance")
288
CompilationUtils
.AssertNoErrors(compilation)
293
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
322
Dim position1 =
CompilationUtils
.FindPositionFromText(tree, "WriteLine")
323
Dim position2 =
CompilationUtils
.FindPositionFromText(tree, "zip")
326
Dim treeForExpression =
CompilationUtils
.CreateParseTree(
335
Dim expression =
CompilationUtils
.FindNodeOfTypeFromText(Of ExpressionSyntax)(treeForExpression, "Me")
345
CompilationUtils
.AssertNoErrors(compilation)
350
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
372
Dim position1 =
CompilationUtils
.FindPositionFromText(tree, "WriteLine")
389
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
413
Dim position1 =
CompilationUtils
.FindPositionFromText(tree, "Class C")
444
Dim position2 =
CompilationUtils
.FindPositionFromText(tree, "Class E")
452
Dim position3 =
CompilationUtils
.FindPositionFromText(tree, "Sub Goo")
460
Dim position4 =
CompilationUtils
.FindPositionFromText(tree, "Serializable")
473
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
522
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
569
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
630
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
645
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
660
Dim position1 =
CompilationUtils
.FindPositionFromText(tree, "= 1")
682
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
696
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
712
Dim position1 =
CompilationUtils
.FindPositionFromText(tree, "= 1")
739
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
801
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
857
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
918
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
953
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
989
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1023
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1060
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1105
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1148
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1196
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1220
Dim position1 =
CompilationUtils
.FindPositionFromText(tree, "Class C")
1287
Dim position2 =
CompilationUtils
.FindPositionFromText(tree, "Class E")
1300
Dim position3 =
CompilationUtils
.FindPositionFromText(tree, "Sub Goo")
1324
Dim position4 =
CompilationUtils
.FindPositionFromText(tree, "Serializable")
1386
Dim position As Integer =
CompilationUtils
.FindPositionFromText(tree, "x = a.Goo()")
1405
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1472
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1515
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1564
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1643
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1679
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1758
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1778
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1798
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1841
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1878
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1930
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1963
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1997
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2057
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2272
CompilationUtils
.AssertNoErrors(compilation)
2280
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2307
Dim nodeZero As ExpressionSyntax = DirectCast(
CompilationUtils
.FindNodeFromText(tree, "0"), ExpressionSyntax)
2308
Dim nodeFourteen As ExpressionSyntax = DirectCast(
CompilationUtils
.FindNodeFromText(tree, "14"), ExpressionSyntax)
2309
Dim nodeNothing As ExpressionSyntax = DirectCast(
CompilationUtils
.FindNodeFromText(tree, "Nothing"), ExpressionSyntax)
2310
Dim nodeIntField As ExpressionSyntax = DirectCast(
CompilationUtils
.FindNodeFromText(tree, "anInt"), ExpressionSyntax)
2311
Dim nodeObjField As ExpressionSyntax = DirectCast(
CompilationUtils
.FindNodeFromText(tree, "anObj"), ExpressionSyntax)
2402
CompilationUtils
.AssertNoErrors(compilation)
2409
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2529
CompilationUtils
.AssertNoErrors(compilation)
2536
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2654
CompilationUtils
.AssertNoErrors(compilation)
2661
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2698
Dim argList = DirectCast(
CompilationUtils
.FindNodeFromText(tree, "(P)"), ArgumentListSyntax)
2707
argList = DirectCast(
CompilationUtils
.FindNodeFromText(tree, "(AP)"), ArgumentListSyntax)
2715
CompilationUtils
.AssertNoErrors(compilation)
2721
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2741
Dim node = DirectCast(
CompilationUtils
.FindNodeFromText(tree, "Prop"), IdentifierNameSyntax)
2751
CompilationUtils
.AssertNoErrors(compilation)
2756
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2788
CompilationUtils
.AssertNoErrors(compilation)
2793
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2824
CompilationUtils
.AssertNoErrors(compilation)
2877
CompilationUtils
.AssertNoErrors(compilation)
3000
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3030
Dim positionInB As Integer =
CompilationUtils
.FindPositionFromText(tree, "in B class level")
3031
Dim positionInBGoo As Integer =
CompilationUtils
.FindPositionFromText(tree, "in B.Goo")
3032
Dim positionInCGoo As Integer =
CompilationUtils
.FindPositionFromText(tree, "in C.Goo")
3033
Dim positionInN As Integer =
CompilationUtils
.FindPositionFromText(tree, "in N")
3054
CompilationUtils
.AssertNoErrors(compilation)
3060
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3176
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3645
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3831
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3856
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4009
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
4035
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
4151
Dim semanticModel =
CompilationUtils
.GetSemanticModel(compilation, "a.vb")
4171
Dim semanticModel =
CompilationUtils
.GetSemanticModel(compilation, "a.vb")
4251
CompilationUtils
.AssertTheseDiagnostics(errs, ExpectedErrors)
4256
CompilationUtils
.AssertTheseDiagnostics(errs, ExpectedErrors)
4271
CompilationUtils
.AssertTheseDiagnostics(errs, ExpectedErrors)
4276
CompilationUtils
.AssertTheseDiagnostics(errs, ExpectedErrors)
4294
CompilationUtils
.AssertTheseDiagnostics(errs, ExpectedErrors)
4299
CompilationUtils
.AssertTheseDiagnostics(errs, ExpectedErrors)
4318
CompilationUtils
.AssertTheseDiagnostics(errs, ExpectedErrors)
4323
CompilationUtils
.AssertTheseDiagnostics(errs, ExpectedErrors)
4341
CompilationUtils
.AssertTheseDiagnostics(errs, ExpectedErrors)
4346
CompilationUtils
.AssertTheseDiagnostics(errs, ExpectedErrors)
4385
CompilationUtils
.AssertTheseDiagnostics(errs, ExpectedErrors2)
4390
CompilationUtils
.AssertTheseDiagnostics(errs, ExpectedErrors2)
4417
CompilationUtils
.AssertTheseDiagnostics(errs, ExpectedErrors2)
4422
CompilationUtils
.AssertTheseDiagnostics(errs, ExpectedErrors2)
4449
CompilationUtils
.AssertTheseDiagnostics(errs, ExpectedErrors2)
4454
CompilationUtils
.AssertTheseDiagnostics(errs, ExpectedErrors2)
4477
Dim semanticModel =
CompilationUtils
.GetSemanticModel(compilation, "b.vb")
4491
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4554
Dim semanticModel =
CompilationUtils
.GetSemanticModel(compilation, "a.vb")
4568
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4594
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
Compilation\SemanticModelGetDeclaredSymbolAPITests.vb (156)
38
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(xml)
67
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(xml)
90
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(xml)
112
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(xml, options:=TestOptions.ReleaseDll.WithRootNamespace("Pavement"))
136
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(xml)
164
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40(xml)
165
Dim comp2 =
CompilationUtils
.CreateCompilationWithMscorlib40(xml)
198
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40(xml)
199
Dim comp2 =
CompilationUtils
.CreateCompilationWithMscorlib40(xml)
232
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(xml)
262
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(xml)
291
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40(xml)
292
Dim comp2 =
CompilationUtils
.CreateCompilationWithMscorlib40(xml)
324
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40(xml)
325
Dim comp2 =
CompilationUtils
.CreateCompilationWithMscorlib40(xml)
393
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(xml)
455
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
494
CompilationUtils
.AssertNoErrors(compilation)
501
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
540
CompilationUtils
.AssertNoErrors(compilation)
546
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
573
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
660
Dim treeA =
CompilationUtils
.GetTree(compilation, "a.vb")
663
Dim treeB =
CompilationUtils
.GetTree(compilation, "b.vb")
668
typeSymbol =
CompilationUtils
.GetTypeSymbol(compilation, bindingsA, "a.vb", "C1")
672
typeSymbol =
CompilationUtils
.GetTypeSymbol(compilation, bindingsA, "a.vb", "C2")
676
typeSymbol2 =
CompilationUtils
.GetTypeSymbol(compilation, bindingsB, "b.vb", "C2")
681
typeSymbol =
CompilationUtils
.GetTypeSymbol(compilation, bindingsA, "a.vb", "Q'first")
687
typeSymbol2 =
CompilationUtils
.GetTypeSymbol(compilation, bindingsA, "a.vb", "Q'second")
694
typeSymbol3 =
CompilationUtils
.GetTypeSymbol(compilation, bindingsA, "a.vb", "Q'third")
702
typeSymbol4 =
CompilationUtils
.GetTypeSymbol(compilation, bindingsB, "b.vb", "Q")
711
typeSymbol5 =
CompilationUtils
.GetTypeSymbol(compilation, bindingsA, "a.vb", "Q(Of T)")
721
typeSymbol6 =
CompilationUtils
.GetTypeSymbol(compilation, bindingsB, "b.vb", "C3")
727
Dim typeSymbol7 =
CompilationUtils
.GetTypeSymbol(compilation, bindingsB, "b.vb", "N1'class")
732
Dim typeSymbol8 =
CompilationUtils
.GetTypeSymbol(compilation, bindingsB, "b.vb", "Wack")
737
Dim typeSymbol9 =
CompilationUtils
.GetEnumSymbol(compilation, bindingsB, "b.vb", "Wack2")
742
Dim typeSymbol10 =
CompilationUtils
.GetDelegateSymbol(compilation, bindingsB, "b.vb", "Wack3")
747
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
754
Dim tree As SyntaxTree =
CompilationUtils
.GetTree(compilation, treeName)
755
Dim node =
CompilationUtils
.FindTokenFromText(tree, stringInDecl).Parent
768
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
831
Dim treeA =
CompilationUtils
.GetTree(compilation, "a.vb")
834
Dim treeB =
CompilationUtils
.GetTree(compilation, "b.vb")
884
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
908
Dim tree As SyntaxTree =
CompilationUtils
.GetTree(compilation, treeName)
909
Dim node =
CompilationUtils
.FindTokenFromText(tree, stringInDecl).Parent
923
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1002
Dim treeA =
CompilationUtils
.GetTree(compilation, "a.vb")
1005
Dim treeB =
CompilationUtils
.GetTree(compilation, "b.vb")
1055
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedDeclErrors)
1056
CompilationUtils
.AssertTheseParseDiagnostics(compilation, expectedParseErrors)
1062
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1085
Dim tree =
CompilationUtils
.GetTree(compilation, "c.vb")
1109
CompilationUtils
.AssertNoErrors(compilation)
1116
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1146
Dim tree =
CompilationUtils
.GetTree(compilation, "a.vb")
1164
Dim tree As SyntaxTree =
CompilationUtils
.GetTree(compilation, treeName)
1165
Dim node =
CompilationUtils
.FindTokenFromText(tree, stringInDecl).Parent
1180
Dim tree As SyntaxTree =
CompilationUtils
.GetTree(compilation, treeName)
1181
Dim node =
CompilationUtils
.FindTokenFromText(tree, stringInDecl).Parent
1195
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1244
Dim treeA =
CompilationUtils
.GetTree(compilation, "a.vb")
1247
Dim treeB =
CompilationUtils
.GetTree(compilation, "b.vb")
1295
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
1300
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1313
Dim tree =
CompilationUtils
.GetTree(compilation, "a.vb")
1330
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1362
Dim treeA =
CompilationUtils
.GetTree(compilation, file)
1404
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1418
Dim treeA =
CompilationUtils
.GetTree(compilation, "a.vb")
1431
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1498
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1557
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1619
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1632
Dim treeA =
CompilationUtils
.GetTree(compilation, "a.vb")
1644
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1713
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1785
Dim tree As SyntaxTree =
CompilationUtils
.GetTree(compilation, treeName)
1786
Dim node =
CompilationUtils
.FindTokenFromText(tree, stringInDecl).Parent
1800
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1836
Dim treeA =
CompilationUtils
.GetTree(compilation, "a.vb")
1839
Dim treeB =
CompilationUtils
.GetTree(compilation, "b.vb")
1890
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
1898
Dim tree As SyntaxTree =
CompilationUtils
.GetTree(compilation, treeName)
1899
Dim node =
CompilationUtils
.FindTokenFromText(tree, stringInDecl).Parent
1913
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1925
Dim tree =
CompilationUtils
.GetTree(compilation, "a.vb")
1953
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2008
Dim treeA =
CompilationUtils
.GetTree(compilation, "a.vb")
2011
Dim treeB =
CompilationUtils
.GetTree(compilation, "b.vb")
2097
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
2102
Dim c =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2123
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2132
Dim tree =
CompilationUtils
.GetTree(compilation, "a.vb")
2143
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2171
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb", 0)
2176
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb", 1)
2181
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb", 2)
2186
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb", 3)
2191
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb", 4)
2196
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb", 5)
2201
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb", 6)
2206
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb", 7)
2211
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb", 8)
2216
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb", 9)
2221
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb", 10)
2226
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb", 11)
2231
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb", 12)
2236
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb", 13)
2245
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2272
Dim expressionSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 0)
2279
expressionSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 1)
2285
expressionSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 2)
2291
expressionSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 3)
2297
expressionSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 4)
2303
expressionSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 5)
2309
expressionSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 6)
2315
expressionSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 7)
2321
expressionSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 8)
2327
expressionSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 9)
2333
expressionSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 10)
2339
expressionSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 11)
2353
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2384
CompilationUtils
.AssertNoErrors(compilation)
2390
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2467
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(xml)
2482
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2496
Dim treeA =
CompilationUtils
.GetTree(compilation, "a.vb")
2524
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2538
Dim treeA =
CompilationUtils
.GetTree(compilation, "a.vb")
2565
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(xml)
2577
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2601
Dim treeA =
CompilationUtils
.GetTree(compilation, "a.vb")
2605
Dim treeB =
CompilationUtils
.GetTree(compilation, "b.vb")
2646
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(xml)
2658
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
2684
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2695
CompilationUtils
.AssertTheseDiagnostics(compilation,
2708
Dim tree =
CompilationUtils
.GetTree(compilation, "a.vb")
2720
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2757
Dim expressionSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 0)
2763
expressionSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 1)
2769
expressionSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 2)
2775
expressionSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 3)
2781
expressionSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 4)
2787
expressionSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 5)
2793
expressionSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 6)
2799
expressionSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 7)
2805
expressionSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 8)
2811
expressionSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 9)
2817
expressionSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 10)
2823
expressionSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 11)
2871
CompilationUtils
.AssertNoErrors(compilation)
2877
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2894
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2935
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
Compilation\SemanticModelLookupSymbolsAPITests.vb (66)
22
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
71
CompilationUtils
.AssertNoErrors(compilation)
77
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
99
Dim posInside As Integer =
CompilationUtils
.FindPositionFromText(tree, "WriteLine")
100
Dim posOutside As Integer =
CompilationUtils
.FindPositionFromText(tree, "Sub M")
124
CompilationUtils
.AssertNoErrors(compilation)
130
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
156
Dim posInsideB As Integer =
CompilationUtils
.FindPositionFromText(tree, "in B")
157
Dim posInsideC As Integer =
CompilationUtils
.FindPositionFromText(tree, "in C")
186
CompilationUtils
.AssertNoErrors(compilation)
192
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
216
Dim posInsideM As Integer =
CompilationUtils
.FindPositionFromText(tree, "in M")
232
CompilationUtils
.AssertNoErrors(compilation)
238
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
262
Dim posInsideC As Integer =
CompilationUtils
.FindPositionFromText(tree, "in C")
273
CompilationUtils
.AssertNoErrors(compilation)
278
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
317
Dim position =
CompilationUtils
.FindPositionFromText(tree, "As U")
331
position =
CompilationUtils
.FindPositionFromText(tree, "As V")
345
CompilationUtils
.AssertNoErrors(compilation)
350
CompilationUtils
.CheckSymbols(symbols, descriptions)
355
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
379
Dim posInsideM As Integer =
CompilationUtils
.FindPositionFromText(tree, "in M")
411
CompilationUtils
.AssertNoErrors(compilation)
417
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
433
Dim posInsideB As Integer =
CompilationUtils
.FindPositionFromText(tree, "in B")
435
CompilationUtils
.AssertTheseDiagnostics(compilation,
453
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
498
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
551
CompilationUtils
.AssertTheseDiagnostics(compilation,
566
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
610
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
654
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
699
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
744
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
780
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
816
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
859
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
924
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
962
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1000
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1019
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1071
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
1100
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1136
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1175
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1222
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1269
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1316
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1386
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1458
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1494
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1530
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1566
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1603
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1660
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1713
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1757
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1801
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1834
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1867
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1902
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1937
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1949
CompilationUtils
.CheckSymbols(symbols, "Microsoft", "C", "System")
1954
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1985
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
DeclaringSyntaxNodeTests.vb (14)
144
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
192
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
218
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
253
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
294
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
333
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
367
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
395
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
450
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
605
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
649
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
674
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
696
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
728
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
Diagnostics\DiagnosticAnalyzerTests.vb (2)
295
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
993
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
Diagnostics\GetDiagnosticsTests.vb (9)
237
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors>
250
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors>
261
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors>
272
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors>
296
CompilationUtils
.AssertTheseDiagnostics(diagnostics,
332
CompilationUtils
.AssertTheseDiagnostics(diagnostics,
363
CompilationUtils
.AssertTheseDiagnostics(diagnostics,
390
CompilationUtils
.AssertTheseDiagnostics(options.Errors,
399
CompilationUtils
.AssertTheseDiagnostics(diagnostics,
Diagnostics\OperationAnalyzerTests.vb (35)
46
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
97
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
128
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
233
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
286
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
360
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
426
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
480
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
645
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
723
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
767
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
808
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
857
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
908
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
953
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1072
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1119
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1159
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1212
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1245
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1277
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1323
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1376
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1451
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1482
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1538
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1686
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1747
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1780
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1807
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1838
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1902
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1978
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
2042
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
2120
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
ExtensionMethods\SemanticModelTests.vb (20)
17
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
52
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
83
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
121
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
141
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
179
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
206
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
259
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
309
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
435
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
557
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
684
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
809
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
941
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1068
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1188
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1336
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
1385
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
1405
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
1449
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
FlowAnalysis\FlowDiagnosticTests.vb (82)
38
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
68
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
70
CompilationUtils
.AssertTheseDiagnostics(errs,
107
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
109
CompilationUtils
.AssertTheseDiagnostics(errs,
152
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
154
CompilationUtils
.AssertTheseDiagnostics(errs,
186
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
188
CompilationUtils
.AssertTheseDiagnostics(errs, (<errors></errors>))
208
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
210
CompilationUtils
.AssertTheseDiagnostics(errs,
243
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(program, references:={Net40.SystemCore})
244
CompilationUtils
.AssertTheseDiagnostics(comp,
281
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(program, references:={Net40.SystemCore})
282
CompilationUtils
.AssertTheseDiagnostics(comp, <errors></errors>)
314
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(program, references:={Net40.SystemCore})
315
CompilationUtils
.AssertTheseDiagnostics(comp, <errors></errors>)
347
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(program, references:={Net40.SystemCore})
348
CompilationUtils
.AssertTheseDiagnostics(comp,
387
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(program, references:={Net40.SystemCore})
388
CompilationUtils
.AssertTheseDiagnostics(comp, <errors></errors>)
476
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(program, references:={Net40.SystemCore})
477
CompilationUtils
.AssertTheseDiagnostics(comp,
510
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(program, references:={Net40.SystemCore})
511
CompilationUtils
.AssertTheseDiagnostics(comp, <errors></errors>)
536
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
538
CompilationUtils
.AssertTheseDiagnostics(errs,
568
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
570
CompilationUtils
.AssertTheseDiagnostics(errs,
594
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
596
CompilationUtils
.AssertTheseDiagnostics(errs,
617
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
619
CompilationUtils
.AssertTheseDiagnostics(errs,
645
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
647
CompilationUtils
.AssertTheseDiagnostics(errs,
670
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
672
CompilationUtils
.AssertTheseDiagnostics(errs,
703
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
705
CompilationUtils
.AssertTheseDiagnostics(errs,
735
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
737
CompilationUtils
.AssertTheseDiagnostics(errs,
762
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
764
CompilationUtils
.AssertTheseDiagnostics(errs,
791
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
793
CompilationUtils
.AssertTheseDiagnostics(errs,
826
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
828
CompilationUtils
.AssertTheseDiagnostics(errs,
863
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
895
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
914
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
927
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
929
CompilationUtils
.AssertTheseDiagnostics(errs,
951
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
953
CompilationUtils
.AssertTheseDiagnostics(errs,
984
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
986
CompilationUtils
.AssertTheseDiagnostics(errs,
1018
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
1059
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
1099
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
1118
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
1141
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
1143
CompilationUtils
.AssertTheseDiagnostics(errs,
1174
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
1196
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
1198
CompilationUtils
.AssertTheseDiagnostics(errs,
1226
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
1251
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
1277
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program)
1306
CompilationUtils
.CreateCompilationWithMscorlib40(program).VerifyDiagnostics()
1334
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(program)
1335
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors></errors>)
1354
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(program)
1355
CompilationUtils
.AssertTheseDiagnostics(compilation,
1408
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(program)
1409
CompilationUtils
.AssertTheseDiagnostics(compilation,
1477
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(program, {Net40.SystemCore})
1479
CompilationUtils
.AssertTheseDiagnostics(comp,
1505
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(program)
1507
CompilationUtils
.AssertTheseDiagnostics(comp,
1536
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(program)
1538
CompilationUtils
.AssertTheseDiagnostics(comp)
1561
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(program, options:=TestOptions.DebugDll)
FlowAnalysis\RegionAnalysisTests.vb (5)
7123
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
7202
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
7221
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
7243
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
7264
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
FlowAnalysis\StructureAnalysisTests.vb (67)
21
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
37
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors></errors>)
42
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
61
CompilationUtils
.AssertTheseDiagnostics(compilation,
77
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
97
CompilationUtils
.AssertTheseDiagnostics(compilation,
113
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
134
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors></errors>)
139
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
166
CompilationUtils
.AssertTheseDiagnostics(compilation,
182
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
208
CompilationUtils
.AssertTheseDiagnostics(compilation,
221
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
248
CompilationUtils
.AssertTheseDiagnostics(compilation,
258
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
272
CompilationUtils
.AssertTheseDiagnostics(compilation,
281
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
299
CompilationUtils
.AssertTheseDiagnostics(compilation,
308
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
328
CompilationUtils
.AssertTheseDiagnostics(compilation,
336
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
361
CompilationUtils
.AssertTheseDiagnostics(compilation,
371
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
389
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors></errors>)
395
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
410
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors></errors>)
416
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
435
CompilationUtils
.AssertTheseDiagnostics(diagnostics, <errors></errors>)
440
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
458
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors></errors>)
463
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
481
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors></errors>)
486
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
504
CompilationUtils
.AssertTheseDiagnostics(compilation,
514
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
531
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors></errors>)
536
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
553
CompilationUtils
.AssertTheseDiagnostics(compilation,
563
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
580
CompilationUtils
.AssertTheseDiagnostics(compilation,
590
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
611
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors></errors>)
616
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
637
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors></errors>)
642
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
663
CompilationUtils
.AssertTheseDiagnostics(compilation,
673
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
686
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors></errors>)
691
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
704
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors></errors>)
709
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
721
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors></errors>)
726
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
738
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors></errors>)
743
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
759
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors></errors>)
764
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
780
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors></errors>)
785
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
795
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors></errors>)
800
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
815
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors></errors>)
820
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
836
CompilationUtils
.AssertTheseDiagnostics(compilation,
846
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
868
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors></errors>)
876
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
FlowAnalysis\TryLockUsingStatementTests.vb (2)
1654
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1683
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
Semantics\AccessCheckTests.vb (58)
24
Dim c As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
41
CompilationUtils
.AssertTheseDiagnostics(c,
52
Dim c As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
120
CompilationUtils
.AssertTheseDiagnostics(c,
146
Dim c As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
212
CompilationUtils
.AssertNoErrors(c)
217
Dim c As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
296
CompilationUtils
.AssertTheseDiagnostics(c,
319
Dim c As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
376
CompilationUtils
.AssertTheseDiagnostics(c,
437
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
439
CompilationUtils
.AssertTheseDiagnostics(compilation,
490
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
497
Dim other As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
514
CompilationUtils
.AssertNoErrors(other)
516
Dim c As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
533
CompilationUtils
.AssertTheseDiagnostics(c,
587
Dim other As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
596
CompilationUtils
.AssertNoErrors(other)
598
Dim c As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
611
CompilationUtils
.AssertTheseDiagnostics(c,
621
Dim other As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
631
Dim c As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
644
CompilationUtils
.AssertNoErrors(c)
650
Dim other As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
665
Dim comp As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
681
CompilationUtils
.AssertNoErrors(comp)
686
Dim c As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
825
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
827
CompilationUtils
.AssertTheseDiagnostics(compilation,
876
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
878
CompilationUtils
.AssertTheseDiagnostics(compilation,
922
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
924
CompilationUtils
.AssertTheseDiagnostics(compilation,
950
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
952
CompilationUtils
.AssertTheseDiagnostics(compilation,
979
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
981
CompilationUtils
.AssertTheseDiagnostics(compilation,
1010
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1012
CompilationUtils
.AssertNoErrors(compilation)
1034
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1036
CompilationUtils
.AssertTheseDiagnostics(compilation,
1068
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1070
CompilationUtils
.AssertTheseDiagnostics(compilation,
1674
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1676
CompilationUtils
.AssertTheseDiagnostics(compilation,
1876
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1878
CompilationUtils
.AssertTheseDiagnostics(compilation,
1909
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1911
CompilationUtils
.AssertTheseDiagnostics(compilation,
1943
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1945
CompilationUtils
.AssertTheseDiagnostics(compilation,
1958
Dim assem1 As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1985
Dim assem2 As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
2020
Dim assem3 As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
2044
CompilationUtils
.AssertTheseDiagnostics(assem3,
2167
Dim c As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2206
CompilationUtils
.AssertTheseDiagnostics(c,
Semantics\AnonymousTypesTests.vb (15)
1371
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1372
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
1438
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1439
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
1469
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1470
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
1491
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1495
Dim node2 As ParameterSyntax =
CompilationUtils
.FindBindingText(Of ParameterSyntax)(compilation, "a.vb", 2)
1511
Dim node As InvocationExpressionSyntax =
CompilationUtils
.FindBindingText(Of InvocationExpressionSyntax)(compilation, "a.vb", 1)
1536
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1540
Dim node2 As ParameterSyntax =
CompilationUtils
.FindBindingText(Of ParameterSyntax)(compilation, "a.vb", 2)
1556
Dim node As InvocationExpressionSyntax =
CompilationUtils
.FindBindingText(Of InvocationExpressionSyntax)(compilation, "a.vb", 1)
1581
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1585
Dim node2 As ParameterSyntax =
CompilationUtils
.FindBindingText(Of ParameterSyntax)(compilation, "a.vb", 2)
1598
Dim node As InvocationExpressionSyntax =
CompilationUtils
.FindBindingText(Of InvocationExpressionSyntax)(compilation, "a.vb", 1)
Semantics\ArrayLiteralTests.vb (47)
55
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
90
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
142
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
204
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
239
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
269
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
339
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
375
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
414
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
455
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
498
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
541
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
581
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
619
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
656
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
685
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
719
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
764
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
805
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=strictOffOverflowChecksOff)
847
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=strictOffOverflowChecksOff)
889
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=strictOffOverflowChecksOff)
922
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
960
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
1012
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
1064
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
1113
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
1160
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
1197
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
1232
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
1269
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
1317
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
1359
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
1418
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
1460
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
1494
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of CollectionInitializerSyntax)(compilation, "a.vb")
1574
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1629
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of CollectionInitializerSyntax)(compilation, "a.vb")
1647
Dim node As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb")
1685
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of CollectionInitializerSyntax)(compilation, "a.vb")
1719
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of CollectionInitializerSyntax)(compilation, "a.vb")
1756
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
1791
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
1819
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=_strictOff)
1841
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseExe)
1959
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, XmlReferences, TestOptions.ReleaseExe)
2049
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of CollectionInitializerSyntax)(compilation, "a.vb")
2082
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of CollectionInitializerSyntax)(compilation, "a.vb")
Semantics\AsyncAwait.vb (5)
109
Dim node1 As AwaitExpressionSyntax =
CompilationUtils
.FindBindingText(Of AwaitExpressionSyntax)(compilation, "a.vb", 1)
178
Dim node1 As AwaitExpressionSyntax =
CompilationUtils
.FindBindingText(Of AwaitExpressionSyntax)(compilation, "a.vb", 1)
935
Dim node1 As AwaitExpressionSyntax =
CompilationUtils
.FindBindingText(Of AwaitExpressionSyntax)(compilation, "a.vb", 1)
1416
Dim node1 As AwaitExpressionSyntax =
CompilationUtils
.FindBindingText(Of AwaitExpressionSyntax)(compilation, "a.vb", 1)
1958
Dim node1 As AwaitExpressionSyntax =
CompilationUtils
.FindBindingText(Of AwaitExpressionSyntax)(compilation, "a.vb", 1)
Semantics\BinaryOperators.vb (22)
42
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
48
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe.WithOverflowChecks(False))
222
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
226
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe.WithOverflowChecks(False))
247
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
249
CompilationUtils
.AssertTheseDiagnostics(compilation, SemanticResourceUtil.BinaryOperatorsTestBaseline2)
301
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
314
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe.WithOptionCompareText(True))
339
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
341
CompilationUtils
.AssertTheseDiagnostics(compilation, SemanticResourceUtil.BinaryOperatorsTestBaseline3)
355
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
374
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
378
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe.WithOverflowChecks(False))
490
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
494
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe.WithOverflowChecks(False))
571
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
573
CompilationUtils
.AssertTheseDiagnostics(compilation,
746
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.Custom))
748
CompilationUtils
.AssertTheseDiagnostics(compilation, expected)
781
Dim node As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", 1)
1495
Dim compilation =
CompilationUtils
.CreateCompilation(compilationDef)
1545
Dim compilation =
CompilationUtils
.CreateCompilation(compilationDef, options:=TestOptions.ReleaseExe)
Semantics\CompoundAssignment.vb (53)
68
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
72
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
166
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
168
CompilationUtils
.AssertTheseDiagnostics(compilation,
218
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.Custom))
220
CompilationUtils
.AssertTheseDiagnostics(compilation,
291
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.Custom))
297
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
310
Dim node2 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 2)
392
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
506
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
564
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
680
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(compilationDef, {SystemCoreRef, SystemXmlRef, SystemXmlLinqRef}, TestOptions.ReleaseExe)
696
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
934
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(compilationDef, {SystemCoreRef, SystemXmlRef, SystemXmlLinqRef}, TestOptions.ReleaseExe)
982
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(compilationDef, options:=TestOptions.ReleaseDll)
1014
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(compilationDef, options:=TestOptions.ReleaseDll)
1021
Dim node1 As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", 1)
1038
Dim node1 As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", 2)
1088
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1142
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1169
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.DebugExe)
1245
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1272
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.DebugExe)
1349
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1379
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.DebugExe)
1458
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1496
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.DebugExe)
1587
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1619
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.DebugExe)
1702
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1729
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.DebugExe)
1807
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1834
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.DebugExe)
1910
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1937
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.DebugExe)
2014
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2044
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.DebugExe)
2123
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2161
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.DebugExe)
2252
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2284
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.DebugExe)
2367
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2394
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.DebugExe)
2481
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2489
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.DebugExe)
2553
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2561
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.DebugExe)
2622
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2632
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.DebugExe)
2704
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2714
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.DebugExe)
2771
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
Semantics\ConditionalAccessTests.vb (100)
213
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
644
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
765
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
833
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
876
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
932
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
985
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1030
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1081
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1129
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1165
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1201
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1251
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1304
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1322
Dim node1 As InvocationExpressionSyntax =
CompilationUtils
.FindBindingText(Of InvocationExpressionSyntax)(compilation, "a.vb", 1)
1356
Dim node2 As InvocationExpressionSyntax =
CompilationUtils
.FindBindingText(Of InvocationExpressionSyntax)(compilation, "a.vb", 2)
1391
Dim node3 As InvocationExpressionSyntax =
CompilationUtils
.FindBindingText(Of InvocationExpressionSyntax)(compilation, "a.vb", 3)
1473
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, Net451XmlReferences, TestOptions.ReleaseExe, TestOptions.ReleaseExe.ParseOptions)
1491
Dim node1 As XmlNameSyntax =
CompilationUtils
.FindBindingText(Of XmlNameSyntax)(compilation, "a.vb", 1)
1534
Dim node2 As XmlBracketedNameSyntax =
CompilationUtils
.FindBindingText(Of XmlBracketedNameSyntax)(compilation, "a.vb", 2)
1577
Dim node3 As XmlBracketedNameSyntax =
CompilationUtils
.FindBindingText(Of XmlBracketedNameSyntax)(compilation, "a.vb", 3)
1653
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1751
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1798
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(compilationDef, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe, parseOptions:=TestOptions.ReleaseExe.ParseOptions)
1831
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, Net451XmlReferences, TestOptions.ReleaseExe, TestOptions.ReleaseExe.ParseOptions)
1883
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, Net40XmlReferences, TestOptions.ReleaseExe, TestOptions.ReleaseExe.ParseOptions)
1914
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, Net40XmlReferences, TestOptions.ReleaseExe, TestOptions.ReleaseExe.ParseOptions)
1945
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, Net40XmlReferences, TestOptions.ReleaseExe, TestOptions.ReleaseExe.ParseOptions)
1981
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, Net40XmlReferences, TestOptions.ReleaseExe, TestOptions.ReleaseExe.ParseOptions)
2014
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, Net40XmlReferences, TestOptions.ReleaseExe, TestOptions.ReleaseExe.ParseOptions)
2051
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, Net40XmlReferences, TestOptions.ReleaseExe, TestOptions.ReleaseExe.ParseOptions)
2100
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2151
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2208
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2296
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2321
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, {Net40.SystemCore}, TestOptions.ReleaseExe, TestOptions.ReleaseExe.ParseOptions)
2380
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, Net451XmlReferences, TestOptions.ReleaseExe, TestOptions.ReleaseExe.ParseOptions)
2449
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2501
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2554
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2659
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, {Net40.SystemCore}, TestOptions.ReleaseExe, TestOptions.ReleaseExe.ParseOptions)
2834
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, {Net40.SystemCore}, TestOptions.ReleaseExe, TestOptions.ReleaseExe.ParseOptions)
2966
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, {Net40.SystemCore}, TestOptions.ReleaseExe, TestOptions.ReleaseExe.ParseOptions)
3061
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
3343
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, {Net40.SystemCore},
3986
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, {Net40.SystemCore},
4126
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(compilationDef, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe, parseOptions:=TestOptions.ReleaseExe.ParseOptions)
4251
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(compilationDef, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe, parseOptions:=TestOptions.ReleaseExe.ParseOptions)
4305
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(compilationDef, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe, parseOptions:=TestOptions.ReleaseExe.ParseOptions)
4421
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
4492
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(compilationDef, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe, parseOptions:=TestOptions.ReleaseExe.ParseOptions)
4559
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
4648
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(compilationDef, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe, parseOptions:=TestOptions.ReleaseExe.ParseOptions)
4696
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
4776
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
4866
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(compilationDef, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe, parseOptions:=TestOptions.ReleaseExe.ParseOptions)
4921
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(compilationDef, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe, parseOptions:=TestOptions.ReleaseExe.ParseOptions)
4980
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(compilationDef, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe, parseOptions:=TestOptions.ReleaseExe.ParseOptions)
5035
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(compilationDef, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe, parseOptions:=TestOptions.ReleaseExe.ParseOptions)
5073
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
5128
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
5266
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(compilationDef, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe, parseOptions:=TestOptions.ReleaseExe.ParseOptions)
5674
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
5779
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
5884
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
6043
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
6206
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
6376
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
6508
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
6566
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
6638
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
6743
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
6838
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
6946
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
7054
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
7160
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
7252
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
7343
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
7471
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
7615
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
7732
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
7800
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
7831
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
7868
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
7905
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
7945
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
8226
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(compilationDef, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe, parseOptions:=TestOptions.ReleaseExe.ParseOptions)
8616
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(compilationDef, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe, parseOptions:=TestOptions.ReleaseExe.ParseOptions)
8877
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(compilationDef, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe, parseOptions:=TestOptions.ReleaseExe.ParseOptions)
9054
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(compilationDef, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe, parseOptions:=TestOptions.ReleaseExe.ParseOptions)
9232
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(compilationDef, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe, parseOptions:=TestOptions.ReleaseExe.ParseOptions)
9411
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(compilationDef, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe, parseOptions:=TestOptions.ReleaseExe.ParseOptions)
9594
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(compilationDef, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe, parseOptions:=TestOptions.ReleaseExe.ParseOptions)
9730
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(compilationDef, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe, parseOptions:=TestOptions.ReleaseExe.ParseOptions)
9792
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(compilationDef)
9841
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(compilationDef)
9878
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(compilationDef)
9928
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(compilationDef)
10055
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(compilationDef, options:=TestOptions.DebugExe,
10076
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(compilationDef, options:=TestOptions.ReleaseExe)
Semantics\ConditionalExpressionsTests.vb (16)
355
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseDll.WithOptionStrict(strict))
358
CompilationUtils
.AssertTheseDiagnostics(compilation, errors)
360
CompilationUtils
.AssertNoErrors(compilation)
370
Assert.Equal("System.Boolean",
CompilationUtils
.GetSemanticInfoSummary(model, ifOp.Condition).ConvertedType.ToTestDisplayString())
372
Assert.Equal(expectedType,
CompilationUtils
.GetSemanticInfoSummary(model, ifOp.WhenTrue).ConvertedType.ToTestDisplayString())
373
Assert.Equal(expectedType,
CompilationUtils
.GetSemanticInfoSummary(model, ifOp.WhenFalse).ConvertedType.ToTestDisplayString())
374
Assert.Equal(expectedType,
CompilationUtils
.GetSemanticInfoSummary(model, ifOp).Type.ToTestDisplayString())
383
Assert.Equal(expectedType,
CompilationUtils
.GetSemanticInfoSummary(model, ifOp).Type.ToTestDisplayString())
391
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
439
CompilationUtils
.AssertTheseDiagnostics(compilation,
524
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
579
CompilationUtils
.AssertTheseDiagnostics(compilation, errs)
674
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
739
CompilationUtils
.AssertTheseDiagnostics(compilation, errs)
874
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
923
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
Semantics\Conversions.vb (10)
2761
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.On))
2815
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.Off))
2866
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.Custom))
3032
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.On))
3069
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.Off))
3209
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.On))
3237
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.Off))
4266
CompilationUtils
.AssertTheseDiagnostics(compilation,
4302
CompilationUtils
.AssertTheseDiagnostics(compilation,
4339
CompilationUtils
.AssertTheseDiagnostics(compilation,
Semantics\Conversions_AnonymousDelegates.vb (100)
37
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
47
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
61
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
128
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
138
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
150
CompilationUtils
.AssertTheseDiagnostics(compilation,
185
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
195
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
209
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
273
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
280
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
294
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
361
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
374
CompilationUtils
.AssertTheseDiagnostics(compilation,
385
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
398
CompilationUtils
.AssertTheseDiagnostics(compilation,
422
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
429
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
443
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
510
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
523
CompilationUtils
.AssertTheseDiagnostics(compilation,
540
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
552
CompilationUtils
.AssertTheseDiagnostics(compilation,
580
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
589
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
672
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
681
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
760
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
769
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
848
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
857
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
937
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
947
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
961
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
1024
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1033
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
1045
CompilationUtils
.AssertTheseDiagnostics(compilation,
1076
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1086
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
1100
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
1179
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1188
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
1200
CompilationUtils
.AssertTheseDiagnostics(compilation,
1229
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1236
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
1250
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
1315
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
1329
CompilationUtils
.AssertTheseDiagnostics(compilation,
1346
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
1358
CompilationUtils
.AssertTheseDiagnostics(compilation,
1388
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1398
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
1412
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
1493
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1503
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
1516
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
1579
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1589
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
1600
CompilationUtils
.AssertTheseDiagnostics(compilation,
1629
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1636
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
1650
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
1714
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
1728
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
1737
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
1749
CompilationUtils
.AssertTheseDiagnostics(compilation,
1775
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1785
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
1797
CompilationUtils
.AssertTheseDiagnostics(compilation,
1823
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1833
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
1845
CompilationUtils
.AssertTheseDiagnostics(compilation,
1881
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1888
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
1902
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
1985
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
1999
CompilationUtils
.AssertTheseDiagnostics(compilation,
2016
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
2028
CompilationUtils
.AssertTheseDiagnostics(compilation,
2075
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2076
CompilationUtils
.AssertTheseDiagnostics(compilation,
2113
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2120
CompilationUtils
.AssertTheseDiagnostics(compilation,
2150
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2152
CompilationUtils
.AssertTheseDiagnostics(compilation,
2162
CompilationUtils
.AssertTheseDiagnostics(compilation,
2208
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.Custom))
2210
CompilationUtils
.AssertTheseDiagnostics(compilation,
2285
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.Custom))
2287
CompilationUtils
.AssertTheseDiagnostics(compilation,
2326
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2336
CompilationUtils
.AssertTheseDiagnostics(compilation,
2369
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.Custom))
2371
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
2379
CompilationUtils
.AssertTheseDiagnostics(compilation,
2429
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.Custom))
2431
CompilationUtils
.AssertTheseDiagnostics(compilation,
2484
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.Custom))
2486
CompilationUtils
.AssertTheseDiagnostics(compilation,
2528
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.DebugExe)
Semantics\FieldInitializerBindingTests.vb (25)
440
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source)
499
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source)
564
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source)
614
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source)
630
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
692
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
769
CompilationUtils
.AssertTheseDiagnostics(compilation,
859
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
893
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
926
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
939
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
944
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
961
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
1081
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1142
CompilationUtils
.AssertTheseDiagnostics(compilation,
1212
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1295
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
1402
CompilationUtils
.AssertTheseDiagnostics(compilation,
1431
Dim standardCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, options:=TestOptions.ReleaseDll)
1432
Dim strictCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, options:=TestOptions.ReleaseDll,
1435
CompilationUtils
.AssertTheseDiagnostics(standardCompilation, <expected>
1441
CompilationUtils
.AssertTheseDiagnostics(strictCompilation, <expected>
1490
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(sources)
1496
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(sources)
1520
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(sources)
Semantics\ForLoopTest.vb (5)
556
Dim semanticInfoFrom =
CompilationUtils
.GetSemanticInfoSummary(model, expressionFrom)
557
Dim semanticInfoTo =
CompilationUtils
.GetSemanticInfoSummary(model, expressionTo)
558
Dim semanticInfoStep = If(node.StepClause Is Nothing, Nothing,
CompilationUtils
.GetSemanticInfoSummary(model, expressionStep))
625
Dim semanticInfoFrom =
CompilationUtils
.GetSemanticInfoSummary(model, expressionFrom)
626
Dim semanticInfoTo =
CompilationUtils
.GetSemanticInfoSummary(model, expressionTo)
Semantics\GetExtendedSemanticInfoTests.vb (407)
23
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
39
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
45
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
58
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of PredefinedTypeSyntax)(compilation, "a.vb")
64
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
91
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
97
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
112
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of PredefinedTypeSyntax)(compilation, "a.vb")
131
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
147
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of PredefinedTypeSyntax)(compilation, "a.vb")
166
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
184
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
203
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
224
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
246
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
267
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
289
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
310
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
332
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
358
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
382
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
407
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
431
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
456
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
480
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
498
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
520
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
543
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
564
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
591
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of MemberAccessExpressionSyntax)(compilation, "a.vb")
612
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
639
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of MemberAccessExpressionSyntax)(compilation, "a.vb")
692
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of ObjectCreationExpressionSyntax)(compilation, "a.vb")
744
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
790
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of AttributeSyntax)(compilation, "a.vb")
848
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
905
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of ObjectCreationExpressionSyntax)(compilation, "a.vb")
955
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
999
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of ObjectCreationExpressionSyntax)(compilation, "a.vb")
1050
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of AttributeSyntax)(compilation, "a.vb")
1101
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
1125
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1148
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
1167
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1194
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
1213
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1240
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
1262
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1288
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
1307
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1333
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of MemberAccessExpressionSyntax)(compilation, "a.vb")
1352
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1370
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of BinaryExpressionSyntax)(compilation, "a.vb")
1391
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1413
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
1436
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1451
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of CastExpressionSyntax)(compilation, "a.vb")
1470
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1518
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of QualifiedNameSyntax)(compilation, "a.vb", 1)
1533
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb", 2)
1548
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of QualifiedNameSyntax)(compilation, "a.vb", 3)
1563
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of QualifiedNameSyntax)(compilation, "a.vb", 4)
1578
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb", 5)
1618
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of QualifiedNameSyntax)(compilation, "a.vb")
1662
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of QualifiedNameSyntax)(compilation, "a.vb")
1705
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of QualifiedNameSyntax)(compilation, "a.vb")
1746
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of QualifiedNameSyntax)(compilation, "a.vb")
1794
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of QualifiedNameSyntax)(compilation, "a.vb")
1848
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of QualifiedNameSyntax)(compilation, "a.vb")
1867
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1885
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of QualifiedNameSyntax)(compilation, "a.vb")
1902
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1923
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of GenericNameSyntax)(compilation, "a.vb")
1946
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1958
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
1987
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of UnaryExpressionSyntax)(compilation, "a.vb")
2008
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2022
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
2030
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2042
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of LiteralExpressionSyntax)(compilation, "a.vb")
2063
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2075
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of TupleExpressionSyntax)(compilation, "a.vb")
2094
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2110
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
2130
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2142
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ArrayCreationExpressionSyntax)(compilation, "a.vb")
2162
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2173
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ParenthesizedExpressionSyntax)(compilation, "a.vb")
2193
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2204
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of MeExpressionSyntax)(compilation, "a.vb")
2225
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2246
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
2265
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2278
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
2303
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2321
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
2343
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2359
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
2381
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2398
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
2419
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2436
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
2458
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2469
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
2485
Dim semanticModel = compilation.GetSemanticModel(
CompilationUtils
.GetTree(compilation, "a.vb"))
2494
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2512
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
2533
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2546
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
2553
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2568
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
2577
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2593
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
2616
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2631
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
2693
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2706
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of LiteralExpressionSyntax)(compilation, "a.vb")
2725
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2742
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
2759
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2776
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ObjectCreationExpressionSyntax)(compilation, "a.vb")
2800
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2830
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
2849
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2879
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
2899
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2908
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb")
2917
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2926
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb")
2936
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2945
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb")
2955
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2964
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb")
2974
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2984
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb")
2994
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3016
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3025
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb")
3035
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3048
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb")
3058
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
3069
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb")
3079
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3091
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb")
3102
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3114
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb")
3124
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3140
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
3159
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3176
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
3195
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3212
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of CollectionInitializerSyntax)(compilation, "a.vb")
3230
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
3302
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3313
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb")
3322
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3335
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb")
3345
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3357
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb")
3366
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3380
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb")
3390
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3399
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb")
3410
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3429
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of LiteralExpressionSyntax)(compilation, "a.vb")
3440
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3471
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
3489
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3510
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
3518
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3550
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
3569
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3609
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
3628
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3660
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of LiteralExpressionSyntax)(compilation, "a.vb")
3680
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3713
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
3732
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3763
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
3790
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
3830
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of AttributeSyntax)(compilation, "a.vb")
3861
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3878
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of PredefinedCastExpressionSyntax)(compilation, "a.vb")
3886
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3898
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of MemberAccessExpressionSyntax)(compilation, "a.vb")
3906
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3920
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of MemberAccessExpressionSyntax)(compilation, "a.vb")
3922
CompilationUtils
.CheckSymbol(semanticInfo.Symbol, "Property Dictionary(Of String, Integer).Item(key As String) As Integer")
3928
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3939
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of MemberAccessExpressionSyntax)(compilation, "a.vb")
3947
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3961
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of MemberAccessExpressionSyntax)(compilation, "a.vb")
3963
CompilationUtils
.CheckSymbol(semanticInfo.Symbol, "Property Dictionary(Of String, Integer).Item(key As String) As Integer")
3970
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3981
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
3992
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4013
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
4035
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4054
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
4073
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4092
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
4111
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4124
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
4143
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4157
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
4176
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4190
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of MeExpressionSyntax)(compilation, "a.vb")
4211
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4231
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
4250
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4269
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
4288
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4308
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
4327
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4342
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
4366
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4381
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
4405
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4417
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
4441
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4456
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
4480
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4495
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
4514
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4533
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
4553
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4572
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
4598
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4614
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
4633
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4649
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
4669
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4706
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
4731
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4749
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
4768
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4787
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
4811
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4830
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
4854
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4865
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
4884
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4896
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
4915
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4928
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
4947
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4962
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
4979
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4989
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
5006
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5023
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
5040
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5055
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
5074
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5093
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
5112
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5124
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
5143
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5158
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
5175
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5190
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
5207
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5229
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
5253
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5275
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
5299
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5309
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
5326
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5337
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of LiteralExpressionSyntax)(compilation, "a.vb")
5357
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5368
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of LiteralExpressionSyntax)(compilation, "a.vb")
5388
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5404
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
5423
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5435
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
5455
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5468
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
5487
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5499
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of BinaryExpressionSyntax)(compilation, "a.vb")
5519
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5529
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of BinaryExpressionSyntax)(compilation, "a.vb")
5551
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5567
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ObjectCreationExpressionSyntax)(compilation, "a.vb")
5573
CompilationUtils
.AssertNoErrors(compilation)
5579
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
5596
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ObjectCreationExpressionSyntax)(compilation, "a.vb")
5602
CompilationUtils
.AssertNoErrors(compilation)
5608
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5620
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of LiteralExpressionSyntax)(compilation, "a.vb")
5632
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5647
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of PredefinedCastExpressionSyntax)(compilation, "a.vb")
5667
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5678
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of LiteralExpressionSyntax)(compilation, "a.vb")
5699
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5710
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of LiteralExpressionSyntax)(compilation, "a.vb")
5730
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5741
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
5750
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
5769
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
5807
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
5854
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
5909
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
5968
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
5987
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
6005
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of AttributeSyntax)(compilation, "a.vb")
6051
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of AttributeSyntax)(compilation, "a.vb")
6094
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
6138
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of AttributeSyntax)(compilation, "a.vb")
6176
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
6892
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
6929
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ObjectCreationExpressionSyntax)(compilation, "a.vb")
6967
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
7004
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ObjectCreationExpressionSyntax)(compilation, "a.vb")
7042
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
7079
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ObjectCreationExpressionSyntax)(compilation, "a.vb")
7117
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
7154
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ObjectCreationExpressionSyntax)(compilation, "a.vb")
7195
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of QualifiedNameSyntax)(compilation, "a.vb")
7235
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ObjectCreationExpressionSyntax)(compilation, "a.vb")
7279
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
7319
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ObjectCreationExpressionSyntax)(compilation, "a.vb")
7361
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
7397
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of AttributeSyntax)(compilation, "a.vb")
7435
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
7474
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
7520
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
7522
CompilationUtils
.AssertNoErrors(compilation)
7566
Dim node1 =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
7567
Dim node2 =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 2)
7569
Dim semanticInfo1 =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, node1)
7580
Dim semanticInfo2 =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, node2)
7621
Dim node1 =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
7622
Dim node2 =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 2)
7624
Dim semanticInfo1 =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, node1)
7635
Dim semanticInfo2 =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, node2)
7684
Dim semanticInfo1 =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
7700
Dim semanticInfo2 =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb", 2)
7745
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of GenericNameSyntax)(compilation, "a.vb")
7752
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
7773
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
7776
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
7800
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
7820
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
7856
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of GenericNameSyntax)(compilation, "a.vb")
7891
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of CTypeExpressionSyntax)(compilation, "a.vb")
7927
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
7966
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
8005
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
8044
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
8083
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
8121
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
8159
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
8196
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of MemberAccessExpressionSyntax)(compilation, "a.vb")
8240
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
8280
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
8325
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
8370
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
8415
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
8453
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
8513
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
8553
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
8699
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
8739
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of ObjectCreationExpressionSyntax)(compilation, "a.vb")
8781
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
8819
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of ObjectCreationExpressionSyntax)(compilation, "a.vb")
8858
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
8882
Dim node1 As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", 1)
8904
Dim node1 As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", 1)
8930
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
8966
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of ObjectCreationExpressionSyntax)(compilation, "a.vb")
9003
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
9039
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of ObjectCreationExpressionSyntax)(compilation, "a.vb")
9078
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
9116
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of ObjectCreationExpressionSyntax)(compilation, "a.vb")
9164
Dim creation As ObjectCreationExpressionSyntax =
CompilationUtils
.FindBindingText(Of ObjectCreationExpressionSyntax)(compilation, "a.vb", 1)
9228
Dim creation As ObjectCreationExpressionSyntax =
CompilationUtils
.FindBindingText(Of ObjectCreationExpressionSyntax)(compilation, "a.vb", 1)
9292
Dim creation As ObjectCreationExpressionSyntax =
CompilationUtils
.FindBindingText(Of ObjectCreationExpressionSyntax)(compilation, "a.vb", 1)
9357
Dim creation As ObjectCreationExpressionSyntax =
CompilationUtils
.FindBindingText(Of ObjectCreationExpressionSyntax)(compilation, "a.vb", 1)
9418
Dim creation As ObjectCreationExpressionSyntax =
CompilationUtils
.FindBindingText(Of ObjectCreationExpressionSyntax)(compilation, "a.vb", 1)
9472
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
9509
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of ObjectCreationExpressionSyntax)(compilation, "a.vb")
9543
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
9586
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of ObjectCreationExpressionSyntax)(compilation, "a.vb")
9623
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
9656
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of AttributeSyntax)(compilation, "a.vb")
9691
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
9726
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of AttributeSyntax)(compilation, "a.vb")
9761
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
9809
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
9849
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of QualifiedNameSyntax)(compilation, "a.vb")
9889
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
9932
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of QualifiedNameSyntax)(compilation, "a.vb")
9964
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
9998
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
10043
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
10085
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
10117
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of LiteralExpressionSyntax)(compilation, "a.vb")
10131
semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of VisualBasicSyntaxNode)(compilation, "a.vb")
10145
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of LiteralExpressionSyntax)(compilation, "a.vb")
10156
semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of LiteralExpressionSyntax)(compilation, "a.vb")
10170
semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of LiteralExpressionSyntax)(compilation, "a.vb")
10180
semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of LiteralExpressionSyntax)(compilation, "a.vb")
10187
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
10208
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
10231
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
10253
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
10280
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
Semantics\GetSemanticInfoTests.vb (213)
69
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
125
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
170
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
216
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of MemberAccessExpressionSyntax)(compilation, "a.vb")
262
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of MemberAccessExpressionSyntax)(compilation, "a.vb")
309
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of MemberAccessExpressionSyntax)(compilation, "a.vb")
359
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
409
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
459
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
509
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
559
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
714
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of AttributeSyntax)(compilation, "a.vb")
760
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
798
Dim expressionSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 0)
802
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
835
Dim expressionSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 0)
839
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
872
Dim expressionSyntax =
CompilationUtils
.FindBindingText(Of ParameterSyntax)(compilation, "a.vb", 0)
904
Dim expressionSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 0)
908
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
941
Dim expressionSyntax =
CompilationUtils
.FindBindingText(Of MeExpressionSyntax)(compilation, "a.vb", 0)
945
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of MeExpressionSyntax)(compilation, "a.vb")
974
Dim expressionSyntax =
CompilationUtils
.FindBindingText(Of LabelSyntax)(compilation, "a.vb", 0)
976
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of LabelSyntax)(compilation, "a.vb")
982
expressionSyntax =
CompilationUtils
.FindBindingText(Of LabelSyntax)(compilation, "a.vb", 1)
984
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of LabelSyntax)(compilation, "a.vb", 1)
990
Dim expressionSyntax2 =
CompilationUtils
.FindBindingText(Of LabelStatementSyntax)(compilation, "a.vb", 2)
1018
Dim expressionSyntax =
CompilationUtils
.FindBindingText(Of LabelStatementSyntax)(compilation, "a.vb", 0)
1045
Dim expressionSyntax =
CompilationUtils
.FindBindingText(Of LabelStatementSyntax)(compilation, "a.vb", 0)
1074
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of LabelSyntax)(compilation, "a.vb")
1136
Dim expressionSyntax =
CompilationUtils
.FindBindingText(Of TypeSyntax)(compilation, "a.vb", 0)
1138
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of TypeSyntax)(compilation, "a.vb", 0)
1144
expressionSyntax =
CompilationUtils
.FindBindingText(Of TypeSyntax)(compilation, "a.vb", 1)
1146
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of TypeSyntax)(compilation, "a.vb", 1)
1152
expressionSyntax =
CompilationUtils
.FindBindingText(Of TypeSyntax)(compilation, "a.vb", 2)
1154
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of TypeSyntax)(compilation, "a.vb", 2)
1160
expressionSyntax =
CompilationUtils
.FindBindingText(Of TypeSyntax)(compilation, "a.vb", 3)
1162
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of TypeSyntax)(compilation, "a.vb", 3)
1168
expressionSyntax =
CompilationUtils
.FindBindingText(Of TypeSyntax)(compilation, "a.vb", 4)
1170
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of TypeSyntax)(compilation, "a.vb", 4)
1176
expressionSyntax =
CompilationUtils
.FindBindingText(Of TypeSyntax)(compilation, "a.vb", 5)
1178
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of TypeSyntax)(compilation, "a.vb", 5)
1184
expressionSyntax =
CompilationUtils
.FindBindingText(Of TypeSyntax)(compilation, "a.vb", 6)
1186
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of TypeSyntax)(compilation, "a.vb", 6)
1192
expressionSyntax =
CompilationUtils
.FindBindingText(Of TypeSyntax)(compilation, "a.vb", 7)
1194
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of TypeSyntax)(compilation, "a.vb", 7)
1200
expressionSyntax =
CompilationUtils
.FindBindingText(Of TypeSyntax)(compilation, "a.vb", 8)
1202
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of TypeSyntax)(compilation, "a.vb", 8)
1208
expressionSyntax =
CompilationUtils
.FindBindingText(Of TypeSyntax)(compilation, "a.vb", 9)
1210
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of TypeSyntax)(compilation, "a.vb", 9)
1216
expressionSyntax =
CompilationUtils
.FindBindingText(Of TypeSyntax)(compilation, "a.vb", 10)
1218
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of TypeSyntax)(compilation, "a.vb", 10)
1224
expressionSyntax =
CompilationUtils
.FindBindingText(Of TypeSyntax)(compilation, "a.vb", 11)
1226
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of TypeSyntax)(compilation, "a.vb", 11)
1233
expressionSyntax =
CompilationUtils
.FindBindingText(Of TypeSyntax)(compilation, "a.vb", 12)
1235
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of TypeSyntax)(compilation, "a.vb", 12)
1244
expressionSyntax =
CompilationUtils
.FindBindingText(Of TypeSyntax)(compilation, "a.vb", 13)
1246
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of TypeSyntax)(compilation, "a.vb", 13)
1258
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1280
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1289
Dim ySyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 0)
1293
Dim xSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
1303
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1323
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of MemberAccessExpressionSyntax)(compilation, "a.vb", 0)
1329
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of MemberAccessExpressionSyntax)(compilation, "a.vb", 1)
1335
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb", 2)
1348
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1410
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb", 0)
1415
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb", 1)
1420
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb", 2)
1425
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb", 3)
1430
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb", 4)
1435
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb", 5)
1440
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb", 6)
1445
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb", 7)
1451
Dim accessorSyntax =
CompilationUtils
.FindBindingText(Of AccessorStatementSyntax)(compilation, "a.vb", 8)
1458
accessorSyntax =
CompilationUtils
.FindBindingText(Of AccessorStatementSyntax)(compilation, "a.vb", 9)
1465
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb", 10)
1470
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ExpressionSyntax)(compilation, "a.vb", 11)
1496
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
1533
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of MemberAccessExpressionSyntax)(compilation, "a.vb")
1555
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1637
Dim expressionSyntax =
CompilationUtils
.FindBindingText(Of MemberAccessExpressionSyntax)(compilation, "a.vb", 0)
1644
expressionSyntax =
CompilationUtils
.FindBindingText(Of MemberAccessExpressionSyntax)(compilation, "a.vb", 1)
1650
expressionSyntax =
CompilationUtils
.FindBindingText(Of MemberAccessExpressionSyntax)(compilation, "a.vb", 2)
1656
expressionSyntax =
CompilationUtils
.FindBindingText(Of MemberAccessExpressionSyntax)(compilation, "a.vb", 3)
1664
expressionSyntax =
CompilationUtils
.FindBindingText(Of MemberAccessExpressionSyntax)(compilation, "a.vb", 4)
1670
Dim expressionSyntax2 =
CompilationUtils
.FindBindingText(Of InvocationExpressionSyntax)(compilation, "a.vb", 5)
1678
expressionSyntax =
CompilationUtils
.FindBindingText(Of MemberAccessExpressionSyntax)(compilation, "a.vb", 6)
1684
expressionSyntax =
CompilationUtils
.FindBindingText(Of MemberAccessExpressionSyntax)(compilation, "a.vb", 7)
1691
Dim expressionSyntax3 =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 8)
1698
expressionSyntax3 =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 9)
1705
expressionSyntax3 =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 10)
1712
expressionSyntax3 =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 11)
1719
expressionSyntax3 =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 12)
1726
expressionSyntax3 =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 13)
1733
expressionSyntax =
CompilationUtils
.FindBindingText(Of MemberAccessExpressionSyntax)(compilation, "a.vb", 14)
1739
expressionSyntax =
CompilationUtils
.FindBindingText(Of MemberAccessExpressionSyntax)(compilation, "a.vb", 15)
1746
expressionSyntax =
CompilationUtils
.FindBindingText(Of MemberAccessExpressionSyntax)(compilation, "a.vb", 16)
1753
expressionSyntax =
CompilationUtils
.FindBindingText(Of MemberAccessExpressionSyntax)(compilation, "a.vb", 17)
1764
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1800
expressionSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
1805
expressionSyntax =
CompilationUtils
.FindBindingText(Of GenericNameSyntax)(compilation, "a.vb", 2)
1809
expressionSyntax =
CompilationUtils
.FindBindingText(Of GenericNameSyntax)(compilation, "a.vb", 3)
1813
expressionSyntax =
CompilationUtils
.FindBindingText(Of GenericNameSyntax)(compilation, "a.vb", 4)
1817
expressionSyntax =
CompilationUtils
.FindBindingText(Of GenericNameSyntax)(compilation, "a.vb", 5)
1821
expressionSyntax =
CompilationUtils
.FindBindingText(Of GenericNameSyntax)(compilation, "a.vb", 6)
1843
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
1877
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
1911
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
1949
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
1997
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
2047
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb", 0)
2060
semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of LiteralExpressionSyntax)(compilation, "a.vb", 1)
2074
semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of MemberAccessExpressionSyntax)(compilation, "a.vb", 2)
2087
semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of ObjectCreationExpressionSyntax)(compilation, "a.vb", 3)
2142
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of ObjectCreationExpressionSyntax)(compilation, "a.vb", 0)
2162
semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of ObjectCreationExpressionSyntax)(compilation, "a.vb", 1)
2199
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of CollectionInitializerSyntax)(compilation, "a.vb", 0)
2209
semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of CollectionInitializerSyntax)(compilation, "a.vb", 1)
2238
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of CollectionInitializerSyntax)(compilation, "a.vb")
2293
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb", 0)
2307
semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
2352
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb", 0)
2366
semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
2415
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of ObjectCreationExpressionSyntax)(compilation, "a.vb", 0)
2440
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2469
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2525
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
2567
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of WithEventsEventContainerSyntax)(compilation, "a.vb")
2652
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
2738
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of WithEventsEventContainerSyntax)(compilation, "a.vb")
2781
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
2829
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
2882
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
2943
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
3008
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of WithEventsEventContainerSyntax)(compilation, "a.vb")
3027
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3166
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of WithEventsEventContainerSyntax)(compilation, "a.vb")
3226
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of WithEventsEventContainerSyntax)(compilation, "a.vb")
3286
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
3325
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
3349
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
3377
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
3424
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
3477
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
3531
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of MemberAccessExpressionSyntax)(compilation, "a.vb")
3584
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
3636
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
3681
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of MemberAccessExpressionSyntax)(compilation, "a.vb")
3702
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3727
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3751
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
3805
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3831
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3876
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of LiteralExpressionSyntax)(compilation, "a.vb")
3900
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
3926
Dim treeA =
CompilationUtils
.GetTree(compilation, "a.vb")
4030
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
4039
Dim treeA =
CompilationUtils
.GetTree(compilation, "a.vb")
4057
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4069
Dim treeA =
CompilationUtils
.GetTree(compilation, "a.vb")
4091
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4112
Dim treeA =
CompilationUtils
.GetTree(compilation, "a.vb")
4134
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4158
Dim treeA =
CompilationUtils
.GetTree(compilation, "a.vb")
4160
CompilationUtils
.AssertTheseDiagnostics(semanticModelA.GetDiagnostics(),
4167
Dim treeB =
CompilationUtils
.GetTree(compilation, "b.vb")
4169
CompilationUtils
.AssertTheseDiagnostics(semanticModelB.GetDiagnostics(),
4210
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4230
CompilationUtils
.AssertTheseDiagnostics(compilation,
4242
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4257
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4284
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4358
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4381
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4395
Dim treeA =
CompilationUtils
.GetTree(compilation, "a.vb")
4426
Dim tree As SyntaxTree =
CompilationUtils
.GetTree(compilation, treeName)
4427
Dim node =
CompilationUtils
.FindTokenFromText(tree, stringInDecl).Parent
4467
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
4540
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
4697
Dim treeA As SyntaxTree =
CompilationUtils
.GetTree(compilation, "a.vb")
4730
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4768
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4796
Dim symbolInfo =
CompilationUtils
.GetPreprocessingSymbolInfo(compilation, "a.vb")
4803
Dim symbolInfo2 =
CompilationUtils
.GetPreprocessingSymbolInfo(compilation, "a.vb")
4821
Dim symbolInfo =
CompilationUtils
.GetPreprocessingSymbolInfo(compilation, "a.vb")
4837
Dim symbolInfo =
CompilationUtils
.GetPreprocessingSymbolInfo(compilation, "a.vb")
4857
Dim symbolInfo =
CompilationUtils
.GetPreprocessingSymbolInfo(compilation, "a.vb")
4878
Dim symbolInfo =
CompilationUtils
.GetPreprocessingSymbolInfo(compilation, "a.vb")
4897
Dim symbolInfo =
CompilationUtils
.GetPreprocessingSymbolInfo(compilation, "a.vb")
4915
symbolInfo =
CompilationUtils
.GetPreprocessingSymbolInfo(compilation, "a.vb")
4933
symbolInfo =
CompilationUtils
.GetPreprocessingSymbolInfo(compilation, "a.vb")
4954
Dim symbolInfo =
CompilationUtils
.GetPreprocessingSymbolInfo(compilation, "a.vb")
4961
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4997
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
5022
Dim node2 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 2)
5032
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
5226
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
5347
Dim creation As ObjectCreationExpressionSyntax =
CompilationUtils
.FindBindingText(Of ObjectCreationExpressionSyntax)(compilation, "a.vb", i)
5436
Dim creation As ObjectCreationExpressionSyntax =
CompilationUtils
.FindBindingText(Of ObjectCreationExpressionSyntax)(compilation, "a.vb", i)
5541
Dim creation As ObjectCreationExpressionSyntax =
CompilationUtils
.FindBindingText(Of ObjectCreationExpressionSyntax)(compilation, "a.vb", i)
5603
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
5642
Dim lambdaExpr =
CompilationUtils
.FindBindingText(Of LambdaExpressionSyntax)(compilation, "a.vb")
5679
Dim lambdaExpr =
CompilationUtils
.FindBindingText(Of LambdaExpressionSyntax)(compilation, "a.vb")
6010
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
6067
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
6356
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
6381
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
6407
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
6466
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
6525
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
6587
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
Semantics\GotoTests.vb (9)
202
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Compilation, gotoSyntax.Label)
235
Dim semanticSummary0 =
CompilationUtils
.GetSemanticInfoSummary(Compilation, gotoSyntaxArray(0).Label)
244
Dim semanticSummary1 =
CompilationUtils
.GetSemanticInfoSummary(Compilation, gotoSyntaxArray(1).Label)
276
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Compilation, gotoSyntax.Label)
310
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Compilation, gotoSyntax.Label)
349
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Compilation, gotoSyntax.Label)
385
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Compilation, gotoSyntax.Label)
419
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Compilation, gotoSyntax.Label)
451
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Compilation, gotoSyntax.Label)
Semantics\IsIsNot.vb (1)
423
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
Semantics\IteratorTests.vb (22)
47
CompilationUtils
.AssertNoErrors(compilation)
77
CompilationUtils
.AssertTheseDiagnostics(compilation,
114
CompilationUtils
.AssertTheseDiagnostics(compilation,
153
CompilationUtils
.AssertTheseDiagnostics(compilation,
237
CompilationUtils
.AssertTheseDiagnostics(compilation,
274
CompilationUtils
.AssertTheseDiagnostics(compilation,
311
CompilationUtils
.AssertTheseDiagnostics(compilation,
346
CompilationUtils
.AssertNoErrors(compilation)
370
CompilationUtils
.AssertTheseDiagnostics(compilation,
399
CompilationUtils
.AssertTheseDiagnostics(compilation,
428
CompilationUtils
.AssertTheseDiagnostics(compilation,
461
CompilationUtils
.AssertTheseDiagnostics(compilation,
500
CompilationUtils
.AssertTheseDiagnostics(compilation,
536
CompilationUtils
.AssertTheseDiagnostics(compilation,
574
CompilationUtils
.AssertTheseDiagnostics(compilation,
621
CompilationUtils
.AssertTheseDiagnostics(compilation,
691
CompilationUtils
.AssertTheseDiagnostics(compilation,
724
CompilationUtils
.AssertTheseDiagnostics(compilation,
775
CompilationUtils
.AssertTheseDiagnostics(compilation,
813
CompilationUtils
.AssertTheseDiagnostics(compilation,
848
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors></errors>)
918
CompilationUtils
.AssertTheseDiagnostics(compilation,
Semantics\Lambda_AnonymousDelegateInference.vb (31)
53
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
67
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
83
CompilationUtils
.AssertTheseDiagnostics(compilation,
97
CompilationUtils
.AssertTheseDiagnostics(compilation,
158
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
163
CompilationUtils
.AssertTheseDiagnostics(compilation,
206
Dim node1 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 1)
215
Dim node2 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 2)
224
Dim node3 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 3)
233
Dim node4 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 4)
242
Dim node5 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 5)
251
Dim node6 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 6)
260
Dim node7 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 7)
268
Dim node8 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 8)
320
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
329
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
340
CompilationUtils
.AssertTheseDiagnostics(compilation,
354
CompilationUtils
.AssertTheseDiagnostics(compilation,
390
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
392
CompilationUtils
.AssertTheseDiagnostics(compilation,
432
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
439
Dim node1 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 1)
451
Dim node2 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 2)
463
Dim node3 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 3)
477
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
521
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
551
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
557
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
586
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
616
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
617
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
Semantics\Lambda_Relaxation.vb (109)
33
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
40
Dim node1 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 1)
54
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
114
CompilationUtils
.AssertTheseDiagnostics(compilation,
123
CompilationUtils
.AssertTheseDiagnostics(compilation,
146
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
156
Dim node1 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 1)
169
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
244
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
254
Dim node1 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 1)
267
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
342
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
352
Dim node1 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 1)
365
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
439
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
447
Dim node1 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 1)
461
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
524
Dim node1 =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 1)
537
CompilationUtils
.AssertTheseDiagnostics(compilation,
552
Dim node1 =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 1)
564
CompilationUtils
.AssertTheseDiagnostics(compilation,
590
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
599
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
674
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
683
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
758
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
767
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
843
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
853
Dim node1 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 1)
866
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
919
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
928
Dim node1 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 1)
938
CompilationUtils
.AssertTheseDiagnostics(compilation,
964
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
973
Dim node1 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 1)
984
CompilationUtils
.AssertTheseDiagnostics(compilation,
1017
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1028
Dim node1 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 1)
1041
Dim node2 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 2)
1055
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
1173
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1183
Dim node1 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 1)
1195
Dim node2 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 2)
1207
CompilationUtils
.AssertTheseDiagnostics(compilation,
1236
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1245
Dim node1 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 1)
1256
CompilationUtils
.AssertTheseDiagnostics(compilation,
1288
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1296
Dim node1 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 1)
1308
Dim node2 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 2)
1323
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
1409
Dim node1 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 1)
1421
Dim node2 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 2)
1436
CompilationUtils
.AssertTheseDiagnostics(compilation,
1454
Dim node1 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 1)
1466
Dim node2 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 2)
1479
CompilationUtils
.AssertTheseDiagnostics(compilation,
1510
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1520
Dim node1 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 1)
1534
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
1609
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1619
Dim node1 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 1)
1633
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
1686
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1696
Dim node1 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 1)
1708
CompilationUtils
.AssertTheseDiagnostics(compilation,
1740
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1750
Dim node1 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 1)
1762
Dim node2 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 2)
1776
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
1900
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1910
Dim node1 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 1)
1922
Dim node2 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 2)
1934
Dim node3 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 3)
1946
Dim node4 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 4)
1958
CompilationUtils
.AssertTheseDiagnostics(compilation,
1992
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
2002
Dim node1 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 1)
2014
CompilationUtils
.AssertTheseDiagnostics(compilation,
2048
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2055
Dim node1 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 1)
2069
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
2147
Dim node1 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 1)
2161
CompilationUtils
.AssertTheseDiagnostics(compilation,
2175
Dim node1 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 1)
2187
CompilationUtils
.AssertTheseDiagnostics(compilation,
2220
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
2230
Dim node1 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 1)
2244
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
2362
CompilationUtils
.AssertTheseDiagnostics(compilation,
2439
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2440
CompilationUtils
.AssertTheseDiagnostics(compilation,
2495
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2502
CompilationUtils
.AssertTheseDiagnostics(compilation,
2531
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2533
CompilationUtils
.AssertTheseDiagnostics(compilation,
2543
CompilationUtils
.AssertTheseDiagnostics(compilation,
2608
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.Custom))
2610
CompilationUtils
.AssertTheseDiagnostics(compilation,
2735
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.Custom))
2737
CompilationUtils
.AssertTheseDiagnostics(compilation,
2781
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2787
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
2904
CompilationUtils
.AssertTheseDiagnostics(compilation,
2950
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2952
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
2979
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(compilationDef, {TestMetadata.Net40.SystemCore}, TestOptions.ReleaseDll)
2981
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
3004
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(compilationDef, options:=TestOptions.DebugDll)
Semantics\LambdaSemanticInfoTests.vb (41)
19
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
34
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
53
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
66
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
85
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
100
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
119
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
132
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
151
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
170
Dim semanticInfo As SemanticInfoSummary =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, DirectCast(node, ExpressionSyntax))
178
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, DirectCast(node, ExpressionSyntax))
181
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, DirectCast(node.Parent.Parent, ExpressionSyntax))
189
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
207
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
226
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
242
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
261
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
277
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
296
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
315
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
334
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
350
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
369
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
389
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
408
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
429
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
448
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
464
Dim semanticInfo1 =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, DirectCast(node, ExpressionSyntax))
471
Dim semanticInfo2 =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, DirectCast(node, ExpressionSyntax))
483
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
504
Dim semanticInfo1 =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, node1)
508
Dim semanticInfo2 =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, node2)
513
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
550
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
582
Dim semanticInfo1 =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, node1)
605
Dim semanticInfo1 =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, node1)
674
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
715
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
749
Dim node =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb")
775
Dim node =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb")
805
Dim node =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb")
Semantics\LambdaTests.vb (79)
50
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
52
CompilationUtils
.AssertTheseDiagnostics(compilation,
167
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
169
CompilationUtils
.AssertTheseDiagnostics(compilation,
222
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
224
CompilationUtils
.AssertTheseDiagnostics(compilation,
314
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
316
CompilationUtils
.AssertTheseDiagnostics(compilation,
583
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
585
CompilationUtils
.AssertTheseDiagnostics(compilation,
706
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
708
CompilationUtils
.AssertTheseDiagnostics(compilation,
734
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
736
CompilationUtils
.AssertTheseDiagnostics(compilation,
779
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
792
CompilationUtils
.AssertTheseDiagnostics(compilation,
831
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
887
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
941
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
954
CompilationUtils
.AssertTheseDiagnostics(compilation,
1001
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1003
CompilationUtils
.AssertTheseDiagnostics(compilation,
1045
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1049
CompilationUtils
.AssertTheseDiagnostics(compilation,
1090
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1145
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1201
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1259
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1307
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1309
CompilationUtils
.AssertTheseDiagnostics(compilation,
1353
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1383
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1404
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1406
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors>
1439
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1441
CompilationUtils
.AssertTheseDiagnostics(compilation,
1466
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1468
CompilationUtils
.AssertTheseDiagnostics(compilation,
1497
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1499
CompilationUtils
.AssertTheseDiagnostics(compilation,
1556
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.Off))
1557
CompilationUtils
.AssertNoErrors(comp1)
1558
Dim comp2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.On))
1559
CompilationUtils
.AssertNoErrors(comp2)
1576
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.Off))
1577
CompilationUtils
.AssertNoErrors(comp1)
1578
Dim comp2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.On))
1579
CompilationUtils
.AssertNoErrors(comp2)
1599
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.Off))
1600
CompilationUtils
.AssertNoErrors(comp1)
1601
Dim comp2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.On))
1602
CompilationUtils
.AssertNoErrors(comp2)
1619
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.Off))
1620
CompilationUtils
.AssertNoErrors(comp1)
1621
Dim comp2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.On))
1622
CompilationUtils
.AssertNoErrors(comp2)
1646
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.Off))
1647
CompilationUtils
.AssertNoErrors(comp1)
1648
Dim comp2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.On))
1649
CompilationUtils
.AssertNoErrors(comp2)
1669
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.Off))
1671
Dim comp2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.On))
1693
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.Off))
1695
Dim comp2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.On))
1713
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source).VerifyDiagnostics()
1728
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source).VerifyDiagnostics(Diagnostic(ERRID.ERR_SubDisallowsStatement, "Dim y = 2"))
1804
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1806
CompilationUtils
.AssertTheseDiagnostics(compilation,
1879
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(compilationDef, options:=TestOptions.ReleaseExe)
1998
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(compilationDef, options:=TestOptions.ReleaseDll)
2153
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2191
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2223
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2267
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2301
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2341
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2375
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2399
Dim compilation =
CompilationUtils
.CreateCompilation(compilationDef)
2434
Dim compilation =
CompilationUtils
.CreateCompilation(compilationDef)
Semantics\MeMyBaseMyClassTests.vb (1)
548
Dim pos As Integer =
CompilationUtils
.FindBindingTextPosition(comp, "a.vb", Nothing, index)
Semantics\MethodCalls.vb (25)
2103
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
2807
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2846
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef).
2880
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2899
CompilationUtils
.AssertTheseDiagnostics(compilation,
2913
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4083
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4126
CompilationUtils
.AssertTheseDiagnostics(compilation,
4222
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4267
CompilationUtils
.AssertTheseDiagnostics(compilation,
4298
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4356
CompilationUtils
.AssertTheseDiagnostics(compilation,
4381
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4402
CompilationUtils
.AssertTheseDiagnostics(compilation,
4418
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4444
CompilationUtils
.AssertTheseDiagnostics(compilation,
4469
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4495
CompilationUtils
.AssertTheseDiagnostics(compilation,
4520
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4589
CompilationUtils
.AssertTheseDiagnostics(compilation,
4986
CompilationUtils
.AssertTheseDiagnostics(compilation,
5399
Dim node1 As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", 1)
5400
Dim node2 As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", 2)
5597
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(compilationDef, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe, parseOptions:=TestOptions.ReleaseExe.ParseOptions)
5857
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(compilationDef, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe, parseOptions:=TestOptions.ReleaseExe.ParseOptions)
Semantics\MissingRuntimeHelpers.vb (8)
90
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(compilationDef, New MetadataReference() {})
164
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(compilationDef)
268
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(compilationDef, New MetadataReference() {})
270
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation,
280
CompilationUtils
.AssertTheseCompileDiagnostics(compilation,
361
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(compilationDef, New MetadataReference() {})
363
CompilationUtils
.AssertTheseCompileDiagnostics(compilation,
370
CompilationUtils
.AssertTheseDiagnostics(compilation,
Semantics\NameLengthTests.vb (3)
451
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40({source}, {}, options:=TestOptions.DebugDll)
474
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40({source}, {}, options:=TestOptions.DebugDll)
553
Return
CompilationUtils
.CreateCompilationWithMscorlib40({source}, {}, TestOptions.ReleaseDll)
Semantics\NewOnInterfaceTests.vb (39)
36
CompilationUtils
.AssertTheseDiagnostics(compilation,
69
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors></errors>)
97
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors></errors>)
131
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors></errors>)
161
CompilationUtils
.AssertTheseDiagnostics(compilation,
196
CompilationUtils
.AssertTheseDiagnostics(compilation,
228
CompilationUtils
.AssertTheseDiagnostics(compilation,
261
CompilationUtils
.AssertTheseDiagnostics(compilation,
298
CompilationUtils
.AssertTheseDiagnostics(compilation,
340
CompilationUtils
.AssertTheseDiagnostics(compilation,
380
CompilationUtils
.AssertTheseDiagnostics(compilation,
416
CompilationUtils
.AssertTheseDiagnostics(compilation,
451
CompilationUtils
.AssertTheseDiagnostics(compilation,
494
CompilationUtils
.AssertTheseDiagnostics(compilation,
532
CompilationUtils
.AssertTheseDiagnostics(compilation,
580
CompilationUtils
.AssertTheseDiagnostics(compilation,
635
CompilationUtils
.AssertTheseDiagnostics(compilation,
680
CompilationUtils
.AssertTheseDiagnostics(compilation,
732
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors></errors>)
799
CompilationUtils
.AssertTheseDiagnostics(compilation,
866
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors></errors>)
926
CompilationUtils
.AssertTheseDiagnostics(compilation,
991
CompilationUtils
.AssertTheseDiagnostics(compilation,
1027
CompilationUtils
.AssertTheseDiagnostics(compilation,
1061
CompilationUtils
.AssertTheseDiagnostics(compilation,
1095
CompilationUtils
.AssertTheseDiagnostics(compilation,
1130
CompilationUtils
.AssertTheseDiagnostics(compilation,
1160
CompilationUtils
.AssertTheseDiagnostics(compilation,
1196
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
1234
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of ObjectCreationExpressionSyntax)(compilation, "a.vb")
1278
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
1326
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors></errors>)
1362
CompilationUtils
.AssertTheseDiagnostics(compilation,
1398
CompilationUtils
.AssertTheseDiagnostics(compilation,
1473
CompilationUtils
.AssertTheseDiagnostics(compilation,
1570
CompilationUtils
.AssertTheseDiagnostics(compilation,
1645
CompilationUtils
.AssertTheseDiagnostics(compilation,
1724
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors></errors>)
1905
CompilationUtils
.AssertTheseDiagnostics(compilation,
Semantics\NoncompliantOverloadingInMetadata.vb (117)
83
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(
105
CompilationUtils
.AssertTheseDiagnostics(compilation,
193
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(
209
CompilationUtils
.AssertTheseDiagnostics(compilation,
261
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
280
Dim compilation2 =
CompilationUtils
.CreateCompilationWithCustomILSource(
298
CompilationUtils
.AssertTheseDiagnostics(compilation2,
377
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(
399
CompilationUtils
.AssertTheseDiagnostics(compilation,
487
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(
503
CompilationUtils
.AssertTheseDiagnostics(compilation,
555
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
574
Dim compilation2 =
CompilationUtils
.CreateCompilationWithCustomILSource(
592
CompilationUtils
.AssertTheseDiagnostics(compilation2,
716
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
859
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
960
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
979
Dim compilation2 =
CompilationUtils
.CreateCompilationWithCustomILSource(
992
CompilationUtils
.AssertTheseDiagnostics(compilation2,
1066
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
1102
Dim compilation2 =
CompilationUtils
.CreateCompilationWithCustomILSource(
1124
CompilationUtils
.AssertTheseDiagnostics(compilation2,
1184
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
1196
CompilationUtils
.AssertTheseDiagnostics(compilation1,
1253
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
1264
CompilationUtils
.AssertTheseDiagnostics(compilation1,
1271
Dim compilation2 =
CompilationUtils
.CreateCompilationWithCustomILSource(
1360
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
1376
Dim compilation2 =
CompilationUtils
.CreateCompilationWithCustomILSource(
2649
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
2671
CompilationUtils
.AssertTheseDiagnostics(compilation1,
2705
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
2727
Dim compilation3 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
2748
CompilationUtils
.AssertTheseDiagnostics(compilation3,
2779
Dim compilation4 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
2803
Dim vbCompilationToRef =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2925
Dim compilation5 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
2949
CompilationUtils
.AssertTheseDiagnostics(compilation5,
2989
Dim compilation6 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
3011
Dim compilation7 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
3036
CompilationUtils
.AssertTheseDiagnostics(compilation7,
3079
Dim compilation8 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
3101
Dim compilation5 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
3125
CompilationUtils
.AssertTheseDiagnostics(compilation5,
3165
Dim compilation6 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
3187
Dim compilation7 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
3212
CompilationUtils
.AssertTheseDiagnostics(compilation7,
3255
Dim compilation8 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
3279
Dim compilation9 =
CompilationUtils
.CreateCompilationWithCustomILSource(
3306
CompilationUtils
.AssertTheseDiagnostics(compilation9,
3349
Dim compilation10 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
3374
CompilationUtils
.AssertTheseDiagnostics(compilation10,
3417
Dim compilation11 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
3442
CompilationUtils
.AssertTheseDiagnostics(compilation11,
3485
Dim compilation12 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
3505
Dim compilation13 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
3525
Dim compilation14 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
3545
Dim compilation15 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
3692
Dim compilation16 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
4472
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
4526
CompilationUtils
.AssertTheseDiagnostics(compilation1,
4602
Dim compilation2 =
CompilationUtils
.CreateCompilationWithCustomILSource(
4688
Dim compilation3 =
CompilationUtils
.CreateCompilationWithCustomILSource(
4740
Dim compilation4 =
CompilationUtils
.CreateCompilationWithCustomILSource(
4775
CompilationUtils
.AssertTheseDiagnostics(compilation4,
5209
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
5223
CompilationUtils
.AssertTheseDiagnostics(compilation1,
5236
Dim compilation2 =
CompilationUtils
.CreateCompilationWithCustomILSource(
5257
Dim compilation3 =
CompilationUtils
.CreateCompilationWithCustomILSource(
5271
CompilationUtils
.AssertTheseDiagnostics(compilation3,
5284
Dim compilation4 =
CompilationUtils
.CreateCompilationWithCustomILSource(
5715
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
5729
CompilationUtils
.AssertTheseDiagnostics(compilation1,
5742
Dim compilation2 =
CompilationUtils
.CreateCompilationWithCustomILSource(
5763
Dim compilation3 =
CompilationUtils
.CreateCompilationWithCustomILSource(
5777
CompilationUtils
.AssertTheseDiagnostics(compilation3,
5790
Dim compilation4 =
CompilationUtils
.CreateCompilationWithCustomILSource(
6061
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
6086
CompilationUtils
.AssertTheseDiagnostics(compilation1,
6108
Dim compilation2 =
CompilationUtils
.CreateCompilationWithCustomILSource(
6205
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
6225
CompilationUtils
.AssertTheseDiagnostics(compilation1,
6235
Dim compilation2 =
CompilationUtils
.CreateCompilationWithCustomILSource(
6318
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
6338
CompilationUtils
.AssertTheseDiagnostics(compilation1,
6406
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
6508
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
6598
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
6701
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
6718
Dim compilation2 =
CompilationUtils
.CreateCompilationWithCustomILSource(
6736
CompilationUtils
.AssertTheseDiagnostics(compilation2,
6853
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
6996
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
7095
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
7109
CompilationUtils
.AssertTheseDiagnostics(compilation1,
7116
Dim compilation2 =
CompilationUtils
.CreateCompilationWithCustomILSource(
7131
CompilationUtils
.AssertTheseDiagnostics(compilation2,
7187
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(
7202
CompilationUtils
.AssertTheseDiagnostics(compilation,
7279
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
7293
CompilationUtils
.AssertTheseDiagnostics(compilation1,
7300
Dim compilation2 =
CompilationUtils
.CreateCompilationWithCustomILSource(
7315
CompilationUtils
.AssertTheseDiagnostics(compilation2,
7390
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(
7405
CompilationUtils
.AssertTheseDiagnostics(compilation,
7412
Dim compilation2 =
CompilationUtils
.CreateCompilationWithCustomILSource(
8272
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
8304
CompilationUtils
.AssertTheseDiagnostics(compilation1,
8365
Dim compilation2 =
CompilationUtils
.CreateCompilationWithCustomILSource(
8448
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
8460
CompilationUtils
.AssertTheseDiagnostics(compilation1,
8467
Dim compilation2 =
CompilationUtils
.CreateCompilationWithCustomILSource(
8545
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
8557
CompilationUtils
.AssertTheseDiagnostics(compilation1,
8564
Dim compilation2 =
CompilationUtils
.CreateCompilationWithCustomILSource(
8673
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(compDef1, ilSource.Value, TestOptions.ReleaseExe, appendDefaultHeader:=False)
8712
Dim compilation2 =
CompilationUtils
.CreateCompilationWithCustomILSource(compDef2, ilSource.Value, TestOptions.ReleaseExe, appendDefaultHeader:=False)
Semantics\NonTrailingNamedArgumentsTests.vb (12)
1004
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, parseOptions:=TestOptions.Regular.WithLanguageVersion(LanguageVersion.VisualBasic15_3))
1006
CompilationUtils
.AssertTheseDiagnostics(compilation,
1028
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, parseOptions:=TestOptions.Regular.WithLanguageVersion(LanguageVersion.VisualBasic15_3))
1030
CompilationUtils
.AssertTheseDiagnostics(compilation,
1059
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, parseOptions:=TestOptions.Regular.WithLanguageVersion(LanguageVersion.VisualBasic15_3))
1061
CompilationUtils
.AssertTheseDiagnostics(compilation,
1104
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef,
1107
CompilationUtils
.AssertNoDiagnostics(compilation)
1127
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef,
1130
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors>
1157
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef,
1160
CompilationUtils
.AssertNoDiagnostics(compilation)
Semantics\OptionalArgumentTests.vb (26)
40
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source)
68
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source)
99
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source)
139
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source)
165
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source)
197
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source)
221
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source)
243
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source)
269
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source)
289
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source).VerifyDiagnostics(
308
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source).VerifyDiagnostics(
327
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source).VerifyDiagnostics(
346
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source).VerifyDiagnostics(
365
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source).AssertNoDiagnostics()
388
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source)
424
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source)
670
Dim libComp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(libSource)
694
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, references:={compilationRef})
744
Dim libComp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(libSource)
819
Dim libComp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(libSource)
917
Dim libComp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(libSource)
937
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, references:=New MetadataReference() {libRef})
988
Dim libComp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(libSource)
1054
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of GenericNameSyntax)(compilation, "a.vb")
1108
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, options:=TestOptions.ReleaseDll)
2151
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source)
Semantics\OptionApis.vb (3)
38
Dim semanticModelAllOn =
CompilationUtils
.GetSemanticModel(compilation, "allon.vb")
44
Dim semanticModelAllOff =
CompilationUtils
.GetSemanticModel(compilation, "alloff.vb")
50
Dim semanticModelEmpty =
CompilationUtils
.GetSemanticModel(compilation, "empty.vb")
Semantics\OverloadResolution.vb (76)
3164
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
3166
CompilationUtils
.AssertTheseDiagnostics(compilation,
3231
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
3233
CompilationUtils
.AssertTheseDiagnostics(compilation,
3272
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
3274
CompilationUtils
.AssertTheseDiagnostics(compilation,
3441
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
3443
CompilationUtils
.AssertTheseDiagnostics(compilation,
3639
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
3641
CompilationUtils
.AssertTheseDiagnostics(compilation,
3737
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
3739
CompilationUtils
.AssertTheseDiagnostics(compilation,
3798
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
3800
CompilationUtils
.AssertTheseDiagnostics(compilation,
3857
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.Custom))
3861
CompilationUtils
.AssertTheseDiagnostics(compilation,
3919
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, parseOptions:=TestOptions.Regular.WithLanguageVersion(LanguageVersion.VisualBasic15_3))
3921
CompilationUtils
.AssertTheseDiagnostics(compilation,
3965
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
3967
CompilationUtils
.AssertTheseDiagnostics(compilation,
4017
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
4053
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.On))
4057
CompilationUtils
.AssertTheseDiagnostics(compilation,
4066
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.Custom))
4070
CompilationUtils
.AssertTheseDiagnostics(compilation,
4090
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.On))
4094
CompilationUtils
.AssertTheseDiagnostics(compilation,
4126
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.On))
4129
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.Off))
4157
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.On))
4192
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.On))
4230
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.On))
4238
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.Off))
4252
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4305
CompilationUtils
.AssertTheseDiagnostics(compilation,
4321
Dim node1 As InvocationExpressionSyntax =
CompilationUtils
.FindBindingText(Of InvocationExpressionSyntax)(compilation, "a.vb", 1)
4330
Dim node2 As InvocationExpressionSyntax =
CompilationUtils
.FindBindingText(Of InvocationExpressionSyntax)(compilation, "a.vb", 2)
4341
Dim node3 As InvocationExpressionSyntax =
CompilationUtils
.FindBindingText(Of InvocationExpressionSyntax)(compilation, "a.vb", 3)
4410
CompilationUtils
.AssertTheseDiagnostics(compilation,
4429
Dim node1 As InvocationExpressionSyntax =
CompilationUtils
.FindBindingText(Of InvocationExpressionSyntax)(compilation, "a.vb", 1)
4439
Dim node2 As InvocationExpressionSyntax =
CompilationUtils
.FindBindingText(Of InvocationExpressionSyntax)(compilation, "a.vb", 2)
4450
Dim node3 As InvocationExpressionSyntax =
CompilationUtils
.FindBindingText(Of InvocationExpressionSyntax)(compilation, "a.vb", 3)
4491
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
4527
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
4567
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
4597
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
4627
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
4660
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
4692
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
4754
Dim Compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.Off))
4790
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.Off))
4821
CompilationUtils
.AssertTheseDiagnostics(compilation,
4856
CompilationUtils
.AssertTheseDiagnostics(compilation,
4886
CompilationUtils
.AssertTheseDiagnostics(compilation,
4951
CompilationUtils
.AssertTheseDiagnostics(comp2,
5008
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.Off))
5043
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.Off))
5102
CompilationUtils
.AssertTheseDiagnostics(compilation,
5148
CompilationUtils
.AssertTheseDiagnostics(compilation,
5187
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(compilationDef, {SystemCoreRef}, TestOptions.ReleaseExe)
5247
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
5309
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
5355
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
5407
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
5409
CompilationUtils
.AssertTheseDiagnostics(compilation,
5495
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
5497
CompilationUtils
.AssertTheseDiagnostics(compilation,
5588
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib45AndVBRuntime(compilationDef, references:={SystemCoreRef}, options:=TestOptions.ReleaseExe)
5590
CompilationUtils
.AssertTheseDiagnostics(compilation,
5701
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib45AndVBRuntime(compilationDef, references:={SystemCoreRef}, options:=TestOptions.ReleaseExe)
5703
CompilationUtils
.AssertTheseDiagnostics(compilation,
5747
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
5749
CompilationUtils
.AssertTheseDiagnostics(compilation,
5798
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
5842
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
5844
CompilationUtils
.AssertTheseDiagnostics(compilation,
Semantics\Parenthesized.vb (18)
28
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
53
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
83
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
117
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, additionalRefs:={ValueTupleRef, SystemRuntimeFacadeRef})
119
CompilationUtils
.AssertTheseDiagnostics(compilation,
238
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
243
Dim node1 As LambdaHeaderSyntax =
CompilationUtils
.FindBindingText(Of LambdaHeaderSyntax)(compilation, "a.vb", 1)
270
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
404
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
406
CompilationUtils
.AssertTheseDiagnostics(compilation,
479
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
490
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
629
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
633
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
675
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
677
CompilationUtils
.AssertTheseDiagnostics(compilation,
713
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
715
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
Semantics\QueryExpressions.vb (143)
777
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
779
CompilationUtils
.AssertTheseDiagnostics(compilation,
904
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
906
CompilationUtils
.AssertTheseDiagnostics(compilation,
969
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
971
CompilationUtils
.AssertTheseDiagnostics(compilation,
1098
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(compilationDef, customIL.Value, includeVbRuntime:=True)
1100
CompilationUtils
.AssertTheseDiagnostics(compilation,
1134
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1136
CompilationUtils
.AssertTheseDiagnostics(compilation,
1179
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1181
CompilationUtils
.AssertTheseDiagnostics(compilation,
1214
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1216
CompilationUtils
.AssertTheseDiagnostics(compilation,
1288
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1290
CompilationUtils
.AssertTheseDiagnostics(compilation,
1338
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1340
CompilationUtils
.AssertTheseDiagnostics(compilation,
1380
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1382
CompilationUtils
.AssertTheseDiagnostics(compilation,
1425
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1427
CompilationUtils
.AssertTheseDiagnostics(compilation,
1475
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1477
CompilationUtils
.AssertTheseDiagnostics(compilation,
1520
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1522
CompilationUtils
.AssertTheseDiagnostics(compilation,
1565
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1567
CompilationUtils
.AssertTheseDiagnostics(compilation,
1735
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(compilationDef, customIL.Value, includeVbRuntime:=True)
1737
CompilationUtils
.AssertTheseDiagnostics(compilation,
1810
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(compilationDef, customIL.Value, options:=TestOptions.ReleaseExe, includeVbRuntime:=True)
1865
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(compilationDef, customIL.Value, includeVbRuntime:=True)
1867
CompilationUtils
.AssertTheseDiagnostics(compilation,
1940
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(compilationDef, customIL.Value, TestOptions.ReleaseExe, includeVbRuntime:=True)
2340
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
2344
CompilationUtils
.AssertTheseDiagnostics(compilation,
2391
CompilationUtils
.AssertTheseDiagnostics(compilation,
2510
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
2512
CompilationUtils
.AssertTheseDiagnostics(compilation,
2600
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
2602
CompilationUtils
.AssertTheseDiagnostics(compilation,
2663
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
2665
CompilationUtils
.AssertTheseDiagnostics(compilation,
2716
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
2718
CompilationUtils
.AssertTheseDiagnostics(compilation,
2787
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
2789
CompilationUtils
.AssertTheseDiagnostics(compilation,
2821
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
2825
CompilationUtils
.AssertTheseDiagnostics(compilation,
2847
CompilationUtils
.AssertTheseDiagnostics(compilation,
2897
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
2899
CompilationUtils
.AssertTheseDiagnostics(compilation,
2931
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
2933
CompilationUtils
.AssertTheseDiagnostics(compilation,
3091
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
3093
CompilationUtils
.AssertTheseDiagnostics(compilation,
3131
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
3133
CompilationUtils
.AssertTheseDiagnostics(compilation,
3171
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
3173
CompilationUtils
.AssertTheseDiagnostics(compilation,
3393
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
3395
CompilationUtils
.AssertTheseDiagnostics(compilation,
3439
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
3441
CompilationUtils
.AssertTheseDiagnostics(compilation,
3489
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(compilationDef, {Net40.SystemCore})
3491
CompilationUtils
.AssertTheseDiagnostics(compilation,
3629
CompilationUtils
.AssertTheseDiagnostics(verifier.Compilation,
4252
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
4254
CompilationUtils
.AssertTheseDiagnostics(compilation,
4516
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
4518
CompilationUtils
.AssertTheseDiagnostics(compilation,
4608
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
4610
CompilationUtils
.AssertTheseDiagnostics(compilation,
4700
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
4702
CompilationUtils
.AssertTheseDiagnostics(compilation,
5320
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef,
5323
CompilationUtils
.AssertTheseDiagnostics(compilation,
5380
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
5382
CompilationUtils
.AssertTheseDiagnostics(compilation,
5421
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef,
5424
CompilationUtils
.AssertTheseDiagnostics(compilation,
6072
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef,
6075
CompilationUtils
.AssertTheseDiagnostics(compilation,
6489
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
6491
CompilationUtils
.AssertTheseDiagnostics(compilation,
6737
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef,
6740
CompilationUtils
.AssertTheseDiagnostics(compilation,
7211
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
7213
CompilationUtils
.AssertTheseDiagnostics(compilation,
7878
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef,
7881
CompilationUtils
.AssertTheseDiagnostics(compilation,
9532
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef,
9535
CompilationUtils
.AssertTheseDiagnostics(compilation,
9743
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
9745
CompilationUtils
.AssertTheseDiagnostics(compilation,
10712
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef,
10715
CompilationUtils
.AssertTheseDiagnostics(compilation,
11428
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
11430
CompilationUtils
.AssertTheseDiagnostics(compilation,
12536
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef,
12539
CompilationUtils
.AssertTheseDiagnostics(compilation,
12831
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef,
12834
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
12876
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef,
12879
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
12921
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef,
12924
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
12957
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef,
12960
CompilationUtils
.AssertTheseDiagnostics(compilation,
13551
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
13553
CompilationUtils
.AssertTheseDiagnostics(compilation,
13811
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
13813
CompilationUtils
.AssertTheseDiagnostics(compilation,
13962
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef,
13965
CompilationUtils
.AssertTheseDiagnostics(compilation,
13997
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
14127
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef,
14132
CompilationUtils
.AssertTheseDiagnostics(compilation,
14234
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef,
14237
CompilationUtils
.AssertTheseDiagnostics(compilation,
14325
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef,
14328
CompilationUtils
.AssertTheseDiagnostics(compilation,
14394
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
14396
CompilationUtils
.AssertTheseDiagnostics(compilation,
14480
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
14482
CompilationUtils
.AssertTheseDiagnostics(compilation,
14508
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(compilationDef, references:={Net40.SystemCore})
14510
CompilationUtils
.AssertTheseDiagnostics(compilation,
14534
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(compilationDef, references:={Net40.SystemCore}, options:=TestOptions.ReleaseExe)
14562
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(compilationDef, references:={Net40.SystemCore}, options:=TestOptions.ReleaseExe)
14564
CompilationUtils
.AssertTheseDiagnostics(compilation,
14594
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(compilationDef, references:={Net40.SystemCore})
14596
CompilationUtils
.AssertTheseDiagnostics(compilation,
14647
CompilationUtils
.AssertTheseDiagnostics(compilation,
14695
CompilationUtils
.AssertTheseDiagnostics(compilation,
14737
CompilationUtils
.AssertTheseDiagnostics(compilation,
14783
CompilationUtils
.AssertTheseDiagnostics(compilation,
14825
CompilationUtils
.AssertTheseDiagnostics(compilation,
14871
CompilationUtils
.AssertTheseDiagnostics(compilation,
14898
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(compilationDef, references:={Net40.SystemCore}, options:=TestOptions.ReleaseExe)
14900
CompilationUtils
.AssertTheseDiagnostics(compilation,
15054
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(compilationDef, references:={Net40.SystemCore}, options:=TestOptions.ReleaseDll)
15055
CompilationUtils
.AssertTheseDiagnostics(compilation,
Semantics\QueryExpressions_FlowAnalysis.vb (2)
53
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
55
CompilationUtils
.AssertTheseDiagnostics(compilation,
Semantics\QueryExpressions_LookupSymbols.vb (78)
57
Dim pos1 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 1)
69
Dim pos2 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 2) - 1
81
Dim pos3 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 3) - 1
94
Dim pos4 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 4) - 1
108
Dim pos5 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 5) - 1
121
Dim pos6 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 6) - 1
135
Dim pos7 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 7)
185
Dim pos1 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 1)
198
Dim pos2 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 2)
211
Dim pos3 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 3) - 1
223
Dim pos4 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 4) - 1
236
Dim pos5 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 5)
286
Dim pos1 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 1)
298
Dim pos2 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 2) - 1
310
Dim pos3 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 3) - 1
362
Dim pos1 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 1)
375
Dim pos2 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 2)
388
Dim pos3 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 3) - 1
400
Dim pos4 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 4) - 1
416
Dim pos5 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 5)
430
Dim pos6 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 6)
471
Dim pos1 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 1)
483
Dim pos2 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 2) - 1
553
Dim pos1 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 1) - 1
567
Dim pos2 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 2) - 1
581
Dim pos3 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 3) - 1
595
Dim pos4 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 4) - 1
609
Dim pos5 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 5) - 1
623
Dim pos6 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 6) - 1
637
Dim pos7 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 7) - 1
652
Dim pos8 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 8) - 1
667
Dim pos9 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 9) - 1
681
Dim pos10 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 10) - 1
695
Dim pos11 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 11)
709
Dim pos12 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 12) - 1
723
Dim pos13 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 13) - 1
737
Dim pos14 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 14) - 1
751
Dim pos15 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 15)
904
Dim pos1 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, i) - 1
940
Dim pos1 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 1) - 1
990
Dim pos1 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, i) - 1
1004
Dim pos3 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 3)
1018
Dim pos4 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 4)
1029
Dim pos5 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 5)
1043
Dim pos6 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 6) - 1
1057
Dim pos7 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 7)
1151
Dim pos1 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, i) - 1
1165
Dim pos2 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, i)
1179
Dim pos5 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, i) - 1
1194
Dim pos6 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, i)
1209
Dim pos19 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, i)
1223
Dim pos20 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 20)
1240
Dim pos22 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 22)
1258
Dim pos23 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 23)
1352
Dim pos1 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, i) - 1
1366
Dim pos2 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, i)
1380
Dim pos5 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, i) - 1
1395
Dim pos6 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, i)
1410
Dim pos19 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, i)
1427
Dim pos20 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, 20)
1447
Dim pos22 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, i)
1468
Dim pos23 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, i)
1544
Dim pos1 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, i) - 1
1627
Dim pos1 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, i) - 1
1640
Dim pos3 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, i)
1653
Dim pos6 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, i) - 1
1667
Dim pos8 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, i)
1681
Dim pos13 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, i)
1695
Dim pos15 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, i)
1779
Dim pos1 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, i) - 1
1794
Dim pos3 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, i)
1809
Dim pos6 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, i) - 1
1825
Dim pos8 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, i)
1841
Dim pos13 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, i)
1857
Dim pos15 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, i)
1939
Dim pos1 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, i)
2074
Dim pos1 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, i)
2085
Dim pos2 As Integer =
CompilationUtils
.FindBindingTextPosition(compilation, "a.vb", Nothing, i + 1)
Semantics\QueryExpressions_SemanticModel.vb (270)
64
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
66
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel1, TryCast(node1, ExpressionSyntax))
83
Dim node2 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 2)
86
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel1, TryCast(node2, ExpressionSyntax))
101
Dim node3 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 3)
105
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel1, TryCast(node3, ExpressionSyntax))
120
Dim node6 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 6)
128
Dim node7 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 7)
134
Dim node4 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 4)
136
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel1, TryCast(node4, ExpressionSyntax))
153
Dim node5 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 5)
155
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel1, TryCast(node5, ExpressionSyntax))
175
Dim node8 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 8)
182
Dim node_3 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 3)
184
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel2, TryCast(node_3, ExpressionSyntax))
203
Dim node_2 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 2)
206
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel2, TryCast(node_2, ExpressionSyntax))
221
Dim node_1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
225
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel2, TryCast(node_1, ExpressionSyntax))
290
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
292
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel1, TryCast(node1, ExpressionSyntax))
309
Dim node2 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 2)
312
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel1, TryCast(node2, ExpressionSyntax))
327
Dim node3 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 3)
331
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel1, TryCast(node3, ExpressionSyntax))
346
Dim node6 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 6)
350
Dim node7 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 7)
356
Dim node4 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 4)
358
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel1, TryCast(node4, ExpressionSyntax))
375
Dim node5 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 5)
377
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel1, TryCast(node5, ExpressionSyntax))
397
Dim node8 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 8)
404
Dim node_3 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 3)
406
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel2, TryCast(node_3, ExpressionSyntax))
425
Dim node_2 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 2)
428
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel2, TryCast(node_2, ExpressionSyntax))
443
Dim node_1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
447
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel2, TryCast(node_1, ExpressionSyntax))
510
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
512
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel1, TryCast(node1, ExpressionSyntax))
529
Dim node2 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 2)
532
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel1, TryCast(node2, ExpressionSyntax))
547
Dim node3 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 3)
551
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel1, TryCast(node3, ExpressionSyntax))
566
Dim node6 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 6)
570
Dim node7 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 7)
576
Dim node4 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 4)
578
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel1, TryCast(node4, ExpressionSyntax))
595
Dim node5 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 5)
597
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel1, TryCast(node5, ExpressionSyntax))
617
Dim node8 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 8)
624
Dim node_3 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 3)
626
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel2, TryCast(node_3, ExpressionSyntax))
645
Dim node_2 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 2)
648
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel2, TryCast(node_2, ExpressionSyntax))
663
Dim node_1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
667
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel2, TryCast(node_1, ExpressionSyntax))
754
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
756
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel1, TryCast(node1, ExpressionSyntax))
773
Dim node2 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 2)
776
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel1, TryCast(node2, ExpressionSyntax))
791
Dim node3 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 3)
795
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel1, TryCast(node3, ExpressionSyntax))
810
Dim node6 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 6)
814
Dim node7 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 7)
820
Dim node4 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 4)
822
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel1, TryCast(node4, ExpressionSyntax))
839
Dim node5 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 5)
841
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel1, TryCast(node5, ExpressionSyntax))
861
Dim node8 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 8)
868
Dim node_3 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 3)
870
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel2, TryCast(node_3, ExpressionSyntax))
889
Dim node_2 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 2)
892
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel2, TryCast(node_2, ExpressionSyntax))
907
Dim node_1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
911
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel2, TryCast(node_1, ExpressionSyntax))
926
Dim node9 As WhereClauseSyntax =
CompilationUtils
.FindBindingText(Of WhereClauseSyntax)(compilation, "a.vb", 9)
933
Dim node10 As PartitionWhileClauseSyntax =
CompilationUtils
.FindBindingText(Of PartitionWhileClauseSyntax)(compilation, "a.vb", 10)
940
Dim node11 As PartitionWhileClauseSyntax =
CompilationUtils
.FindBindingText(Of PartitionWhileClauseSyntax)(compilation, "a.vb", 11)
947
Dim node12 As PartitionClauseSyntax =
CompilationUtils
.FindBindingText(Of PartitionClauseSyntax)(compilation, "a.vb", 12)
954
Dim node13 As PartitionClauseSyntax =
CompilationUtils
.FindBindingText(Of PartitionClauseSyntax)(compilation, "a.vb", 13)
990
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of BinaryExpressionSyntax)(compilation, "a.vb")
1071
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
1073
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node1, ExpressionSyntax))
1092
Dim node2 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 2)
1095
Dim node3 As ExpressionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of ExpressionRangeVariableSyntax)(compilation, "a.vb", 3)
1107
Dim node4 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 4)
1108
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node4, ExpressionSyntax))
1111
Dim node5_1 As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", 5)
1112
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node5_1, ExpressionSyntax))
1115
Dim node5_2 As ExpressionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of ExpressionRangeVariableSyntax)(compilation, "a.vb", 5)
1122
Dim node6 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 6)
1123
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node6, ExpressionSyntax))
1126
Dim node7 As ExpressionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of ExpressionRangeVariableSyntax)(compilation, "a.vb", 7)
1136
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, node7.Expression)
1139
Dim node8 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 8)
1140
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node8, ExpressionSyntax))
1143
Dim node9 As ExpressionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of ExpressionRangeVariableSyntax)(compilation, "a.vb", 9)
1146
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, node9.Expression)
1164
Dim node10 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 10)
1173
Dim node11 As SelectClauseSyntax =
CompilationUtils
.FindBindingText(Of SelectClauseSyntax)(compilation, "a.vb", 11)
1186
Dim node12 As SelectClauseSyntax =
CompilationUtils
.FindBindingText(Of SelectClauseSyntax)(compilation, "a.vb", 12)
1194
Dim node13 As SelectClauseSyntax =
CompilationUtils
.FindBindingText(Of SelectClauseSyntax)(compilation, "a.vb", 13)
1201
Dim node14 As SelectClauseSyntax =
CompilationUtils
.FindBindingText(Of SelectClauseSyntax)(compilation, "a.vb", 14)
1208
Dim node15 As SimpleJoinClauseSyntax =
CompilationUtils
.FindBindingText(Of SimpleJoinClauseSyntax)(compilation, "a.vb", 15)
1215
Dim node16 As SelectClauseSyntax =
CompilationUtils
.FindBindingText(Of SelectClauseSyntax)(compilation, "a.vb", 16)
1222
Dim node17 As DistinctClauseSyntax =
CompilationUtils
.FindBindingText(Of DistinctClauseSyntax)(compilation, "a.vb", 17)
1292
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
1294
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node1, ExpressionSyntax))
1313
Dim node2 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 2)
1315
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node2, ExpressionSyntax))
1318
Dim node3 As QueryExpressionSyntax =
CompilationUtils
.FindBindingText(Of QueryExpressionSyntax)(compilation, "a.vb", 3)
1320
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node3, ExpressionSyntax))
1374
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
1376
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node1, ExpressionSyntax))
1396
Dim node2to5 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", i)
1398
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node2to5, ExpressionSyntax))
1416
Dim node6 As OrderByClauseSyntax =
CompilationUtils
.FindBindingText(Of OrderByClauseSyntax)(compilation, "a.vb", 6)
1476
Dim node1 As OrderingSyntax =
CompilationUtils
.FindBindingText(Of OrderingSyntax)(compilation, "a.vb", 1)
1488
Dim node2 As OrderingSyntax =
CompilationUtils
.FindBindingText(Of OrderingSyntax)(compilation, "a.vb", 2)
1540
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
1542
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node1, ExpressionSyntax))
1561
Dim node2 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 2)
1562
Assert.Same(s1,
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node2, ExpressionSyntax)).Symbol)
1564
Dim node3 As ExpressionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of ExpressionRangeVariableSyntax)(compilation, "a.vb", 3)
1569
Dim node4 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 4)
1574
Dim node5 As ExpressionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of ExpressionRangeVariableSyntax)(compilation, "a.vb", 5)
1580
Dim node6 As ExpressionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of ExpressionRangeVariableSyntax)(compilation, "a.vb", 6)
1587
Dim node7 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 7)
1588
Assert.Same(z1,
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node7, ExpressionSyntax)).Symbol)
1640
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
1642
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node1, ExpressionSyntax))
1667
Dim node2 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 2)
1669
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node2, ExpressionSyntax))
1672
Dim node3 As ExpressionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of ExpressionRangeVariableSyntax)(compilation, "a.vb", 3)
1686
Dim node4 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 4)
1687
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node4, ExpressionSyntax))
1696
Dim node5 As LetClauseSyntax =
CompilationUtils
.FindBindingText(Of LetClauseSyntax)(compilation, "a.vb", 5)
1703
Dim node6 As ExpressionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of ExpressionRangeVariableSyntax)(compilation, "a.vb", 6)
1715
Dim node7 As ExpressionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of ExpressionRangeVariableSyntax)(compilation, "a.vb", 7)
1722
Dim node8 As ExpressionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of ExpressionRangeVariableSyntax)(compilation, "a.vb", 8)
1782
Dim node1 As ExpressionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of ExpressionRangeVariableSyntax)(compilation, "a.vb", 1)
1789
Dim node2 As ExpressionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of ExpressionRangeVariableSyntax)(compilation, "a.vb", 2)
1796
Dim node3 As ExpressionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of ExpressionRangeVariableSyntax)(compilation, "a.vb", 3)
1803
Dim node4 As ExpressionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of ExpressionRangeVariableSyntax)(compilation, "a.vb", 4)
1810
Dim node5 As ExpressionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of ExpressionRangeVariableSyntax)(compilation, "a.vb", 5)
1817
Dim node6 As ExpressionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of ExpressionRangeVariableSyntax)(compilation, "a.vb", 6)
1824
Dim node7 As SimpleJoinClauseSyntax =
CompilationUtils
.FindBindingText(Of SimpleJoinClauseSyntax)(compilation, "a.vb", 7)
1852
Dim node As MemberAccessExpressionSyntax =
CompilationUtils
.FindBindingText(Of MemberAccessExpressionSyntax)(compilation, "a.vb", 1)
1879
Dim node As MemberAccessExpressionSyntax =
CompilationUtils
.FindBindingText(Of MemberAccessExpressionSyntax)(compilation, "a.vb", 1)
1906
Dim node As MemberAccessExpressionSyntax =
CompilationUtils
.FindBindingText(Of MemberAccessExpressionSyntax)(compilation, "a.vb", 1)
1933
Dim node As MemberAccessExpressionSyntax =
CompilationUtils
.FindBindingText(Of MemberAccessExpressionSyntax)(compilation, "a.vb", 1)
2096
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
2098
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node1, ExpressionSyntax))
2123
Dim node2 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 2)
2125
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node2, ExpressionSyntax))
2128
Dim node3 As CollectionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of CollectionRangeVariableSyntax)(compilation, "a.vb", 3)
2135
Dim node4 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 4)
2136
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node4, ExpressionSyntax))
2145
Dim node5 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 5)
2146
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node5, ExpressionSyntax))
2165
Dim node6 As ExpressionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of ExpressionRangeVariableSyntax)(compilation, "a.vb", 6)
2168
Dim node7 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 7)
2173
Dim node8 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 8)
2178
Dim node9 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 9)
2179
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node9, ExpressionSyntax))
2198
Dim node10 As FromClauseSyntax =
CompilationUtils
.FindBindingText(Of FromClauseSyntax)(compilation, "a.vb", 10)
2205
Dim node11 As FromClauseSyntax =
CompilationUtils
.FindBindingText(Of FromClauseSyntax)(compilation, "a.vb", 11)
2212
Dim node12 As FromClauseSyntax =
CompilationUtils
.FindBindingText(Of FromClauseSyntax)(compilation, "a.vb", 12)
2220
Dim node13 As CollectionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of CollectionRangeVariableSyntax)(compilation, "a.vb", 13)
2231
Dim node14 As CollectionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of CollectionRangeVariableSyntax)(compilation, "a.vb", 14)
2245
Dim node15 As CollectionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of CollectionRangeVariableSyntax)(compilation, "a.vb", 14)
2251
Dim node15 As CollectionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of CollectionRangeVariableSyntax)(compilation, "a.vb", 15)
2267
Dim node16 As CollectionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of CollectionRangeVariableSyntax)(compilation, "a.vb", 16)
2278
Dim node17 As CollectionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of CollectionRangeVariableSyntax)(compilation, "a.vb", 17)
2294
Dim node18 As CollectionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of CollectionRangeVariableSyntax)(compilation, "a.vb", 18)
2313
Dim node19 As CollectionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of CollectionRangeVariableSyntax)(compilation, "a.vb", 19)
2328
Dim node20 As CollectionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of CollectionRangeVariableSyntax)(compilation, "a.vb", 20)
2347
Dim node21 As CollectionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of CollectionRangeVariableSyntax)(compilation, "a.vb", 21)
2362
Dim node22 As CollectionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of CollectionRangeVariableSyntax)(compilation, "a.vb", 22)
2381
Dim node23 As CollectionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of CollectionRangeVariableSyntax)(compilation, "a.vb", 23)
2400
Dim node24 As CollectionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of CollectionRangeVariableSyntax)(compilation, "a.vb", 24)
2422
Dim node25 As CollectionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of CollectionRangeVariableSyntax)(compilation, "a.vb", 25)
2438
Dim node26 As CollectionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of CollectionRangeVariableSyntax)(compilation, "a.vb", 26)
2454
Dim node27 As CollectionRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of CollectionRangeVariableSyntax)(compilation, "a.vb", 27)
2522
Dim node1 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 1)
2527
Dim node2 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 2)
2529
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node2, ExpressionSyntax))
2549
Dim node3 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 3)
2554
Dim node4 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 4)
2560
Dim node5 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 5)
2562
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node5, ExpressionSyntax))
2565
Dim node6 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 6)
2567
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node6, ExpressionSyntax))
2570
Dim node7 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 7)
2572
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node7, ExpressionSyntax))
2662
Dim node1 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
2664
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node1, ExpressionSyntax))
2690
Dim node2 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 2)
2692
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node2, ExpressionSyntax))
2708
Dim node3 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 3)
2713
Dim node4 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 4)
2715
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node4, ExpressionSyntax))
2741
Dim node5 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 5)
2743
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node5, ExpressionSyntax))
2759
Dim node6 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 6)
2764
Dim node7 As AggregationRangeVariableSyntax =
CompilationUtils
.FindBindingText(Of AggregationRangeVariableSyntax)(compilation, "a.vb", 7)
2772
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, node7.Aggregation)
2789
Dim node8 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 8)
2799
Dim node9 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 9)
2805
Dim node10 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 10)
2806
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node10, ExpressionSyntax))
2809
Dim node11 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 11)
2810
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node11, ExpressionSyntax))
2813
Dim node12 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 12)
2814
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node12, ExpressionSyntax))
2817
Dim node13 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 13)
2818
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node13, ExpressionSyntax))
2821
Dim node14 As GroupByClauseSyntax =
CompilationUtils
.FindBindingText(Of GroupByClauseSyntax)(compilation, "a.vb", 14)
2890
Dim node1 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 1)
2895
Dim node2 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 2)
2897
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node2, ExpressionSyntax))
2917
Dim node8 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 8)
2928
Dim node3 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 3)
2933
Dim node4 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 4)
2941
Dim node5 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 5)
2943
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node5, ExpressionSyntax))
2946
Dim node6 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 6)
2948
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node6, ExpressionSyntax))
2951
Dim node7 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 7)
2953
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node7, ExpressionSyntax))
2956
Dim node9 As GroupJoinClauseSyntax =
CompilationUtils
.FindBindingText(Of GroupJoinClauseSyntax)(compilation, "a.vb", 9)
3296
Dim node1 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 1)
3305
Dim node2 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 2)
3311
Dim node3 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 3)
3320
Dim node4 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 4)
3321
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node4, ExpressionSyntax))
3341
Dim node5 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 5)
3347
Dim node6 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 6)
3348
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node6, ExpressionSyntax))
3351
Dim node7 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 7)
3352
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node7, ExpressionSyntax))
3356
Dim node8 As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", i)
3357
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node8, ExpressionSyntax))
3377
Dim node9 As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", 9)
3393
Dim node10 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 10)
3394
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node10, ExpressionSyntax))
3397
Dim node11 As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", 11)
3409
Dim node12 As AggregateClauseSyntax =
CompilationUtils
.FindBindingText(Of AggregateClauseSyntax)(compilation, "a.vb", 12)
3423
Dim node13 As AggregateClauseSyntax =
CompilationUtils
.FindBindingText(Of AggregateClauseSyntax)(compilation, "a.vb", 13)
3500
Dim node1 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 1)
3509
Dim node2 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 2)
3515
Dim node3 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 3)
3524
Dim node4 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 4)
3525
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node4, ExpressionSyntax))
3545
Dim node5 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 5)
3551
Dim node6 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 6)
3552
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node6, ExpressionSyntax))
3557
Dim node7 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 7)
3558
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node7, ExpressionSyntax))
3561
Dim node8 As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 8)
3562
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, TryCast(node8, ExpressionSyntax))
3565
Dim node9 As AggregateClauseSyntax =
CompilationUtils
.FindBindingText(Of AggregateClauseSyntax)(compilation, "a.vb", 9)
3584
Dim node10 As AggregateClauseSyntax =
CompilationUtils
.FindBindingText(Of AggregateClauseSyntax)(compilation, "a.vb", 10)
3595
Dim node11 As AggregateClauseSyntax =
CompilationUtils
.FindBindingText(Of AggregateClauseSyntax)(compilation, "a.vb", 11)
3608
Dim node12 As AggregateClauseSyntax =
CompilationUtils
.FindBindingText(Of AggregateClauseSyntax)(compilation, "a.vb", 12)
3746
Dim node1 As AggregateClauseSyntax =
CompilationUtils
.FindBindingText(Of AggregateClauseSyntax)(compilation, "a.vb", 1 + 2 * i)
3759
Dim node2 As AggregateClauseSyntax =
CompilationUtils
.FindBindingText(Of AggregateClauseSyntax)(compilation, "a.vb", 2 + 2 * i)
3966
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of PartitionWhileClauseSyntax)(compilation, "a.vb")
3998
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of LiteralExpressionSyntax)(compilation, "a.vb")
Semantics\RedimStatementTests.vb (15)
53
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, parseOptions:=TestOptions.Regular.WithLanguageVersion(LanguageVersion.VisualBasic15))
54
CompilationUtils
.AssertTheseDiagnostics(compilation,
132
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
133
CompilationUtils
.AssertTheseDiagnostics(compilation,
169
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
170
CompilationUtils
.AssertTheseDiagnostics(compilation,
229
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
230
CompilationUtils
.AssertTheseDiagnostics(compilation,
258
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
259
CompilationUtils
.AssertNoErrors(compilation)
276
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
277
CompilationUtils
.AssertTheseDiagnostics(compilation,
299
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
300
CompilationUtils
.AssertTheseDiagnostics(compilation,
322
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source)
Semantics\SelectCaseTests.vb (16)
26
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of LiteralExpressionSyntax)(compilation, "a.vb")
59
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of LiteralExpressionSyntax)(compilation, "a.vb")
95
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
134
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
173
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
206
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of SingleLineLambdaExpressionSyntax)(compilation, "a.vb")
238
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of ParenthesizedExpressionSyntax)(compilation, "a.vb")
275
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
315
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
355
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
394
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of LiteralExpressionSyntax)(compilation, "a.vb")
488
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of InvocationExpressionSyntax)(compilation, "a.vb")
527
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of LiteralExpressionSyntax)(compilation, "a.vb")
571
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
725
Dim node =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb")
762
Dim node =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb")
Semantics\TooLongNameTests.vb (8)
23
Dim c As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
29
CompilationUtils
.AssertTheseDiagnostics(c, <expected></expected>)
35
Dim c As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
41
CompilationUtils
.AssertTheseDiagnostics(c, <expected></expected>)
47
Dim c As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
66
CompilationUtils
.AssertTheseEmitDiagnostics(c,
80
Dim c As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
99
CompilationUtils
.AssertTheseEmitDiagnostics(c,
Semantics\TypeArgumentInference.vb (71)
71
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
114
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
167
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
212
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
214
CompilationUtils
.AssertTheseDiagnostics(compilation,
247
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
249
CompilationUtils
.AssertTheseDiagnostics(compilation,
283
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
324
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
386
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
420
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
422
CompilationUtils
.AssertNoErrors(compilation)
464
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
504
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
543
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
585
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
605
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
607
CompilationUtils
.AssertTheseDiagnostics(compilation,
632
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
634
CompilationUtils
.AssertTheseDiagnostics(compilation,
657
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
659
CompilationUtils
.AssertTheseDiagnostics(compilation,
684
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
686
CompilationUtils
.AssertTheseDiagnostics(compilation,
727
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
729
CompilationUtils
.AssertTheseDiagnostics(compilation,
770
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
772
CompilationUtils
.AssertTheseDiagnostics(compilation,
796
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
798
CompilationUtils
.AssertTheseDiagnostics(compilation,
822
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
824
CompilationUtils
.AssertTheseDiagnostics(compilation,
852
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.On))
854
CompilationUtils
.AssertTheseDiagnostics(compilation,
861
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.Off))
863
CompilationUtils
.AssertTheseDiagnostics(compilation,
902
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
941
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
943
CompilationUtils
.AssertTheseDiagnostics(compilation,
977
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1003
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1005
CompilationUtils
.AssertTheseDiagnostics(compilation,
1033
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.Off))
1034
CompilationUtils
.AssertNoErrors(comp1)
1035
Dim comp2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.On))
1036
CompilationUtils
.AssertNoErrors(comp2)
1062
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1063
CompilationUtils
.AssertNoErrors(compilation)
1092
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1093
CompilationUtils
.AssertNoErrors(compilation)
1128
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1130
CompilationUtils
.AssertTheseDiagnostics(compilation,
1177
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1231
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1288
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1290
CompilationUtils
.AssertTheseDiagnostics(compilation,
1361
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1363
CompilationUtils
.AssertTheseDiagnostics(compilation,
1428
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1436
CompilationUtils
.AssertTheseDiagnostics(compilation,
1494
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1502
CompilationUtils
.AssertTheseDiagnostics(compilation,
1563
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1565
CompilationUtils
.AssertTheseDiagnostics(compilation,
1624
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1679
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1726
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1771
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
1813
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(compilationDef, {SystemCoreRef}, TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.Custom))
1857
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseDll)
1870
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
Semantics\TypeOfTests.vb (20)
485
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, , TestOptions.ReleaseExe)
486
CompilationUtils
.AssertTheseDiagnostics(compilation,
560
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, , TestOptions.ReleaseExe)
562
CompilationUtils
.AssertNoErrors(compilation)
737
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, , TestOptions.ReleaseExe)
739
CompilationUtils
.AssertNoErrors(compilation)
837
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, , TestOptions.ReleaseExe)
839
CompilationUtils
.AssertNoErrors(compilation)
882
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, , TestOptions.ReleaseExe)
884
CompilationUtils
.AssertNoErrors(compilation)
1109
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1185
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1230
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1263
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1297
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1310
CompilationUtils
.AssertTheseDiagnostics(compilation,
1322
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1349
CompilationUtils
.AssertNoErrors(compilation)
1354
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1364
CompilationUtils
.AssertTheseDiagnostics(compilation,
Semantics\UnaryOperators.vb (11)
321
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseExe)
326
c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseExe.WithOverflowChecks(False))
365
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
367
CompilationUtils
.AssertTheseDiagnostics(c1,
429
CompilationUtils
.AssertTheseDiagnostics(c1,
509
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
513
CompilationUtils
.AssertTheseDiagnostics(c1, expected)
515
Dim c2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseExe.WithOverflowChecks(False))
519
CompilationUtils
.AssertTheseDiagnostics(c2, expected)
560
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.Custom))
562
CompilationUtils
.AssertTheseDiagnostics(compilation, expected)
Semantics\UserDefinedBinaryOperators.vb (38)
216
Dim node As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(verifier.Compilation, "a.vb", i + 1)
336
Dim node As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(verifier.Compilation, "a.vb", i + 1)
388
CompilationUtils
.AssertTheseDiagnostics(compilation,
401
Dim node As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", i + 1)
442
CompilationUtils
.AssertTheseDiagnostics(compilation,
455
Dim node As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", i + 1)
507
CompilationUtils
.AssertTheseDiagnostics(compilation,
520
Dim node As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", i + 1)
571
CompilationUtils
.AssertTheseDiagnostics(compilation,
588
Dim node As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", i + 1)
593
compilation.VerifyOperationTree(
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", 1), expectedOperationTree:=
608
compilation.VerifyOperationTree(
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", 2), expectedOperationTree:=
741
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
898
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
1038
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
1175
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
1292
CompilationUtils
.AssertTheseDiagnostics(compilation,
1369
CompilationUtils
.AssertTheseDiagnostics(compilation,
1538
Dim node As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(verifier.Compilation, "a.vb", 1)
1662
CompilationUtils
.AssertTheseDiagnostics(compilation,
1706
CompilationUtils
.AssertTheseDiagnostics(compilation,
1761
CompilationUtils
.AssertTheseDiagnostics(compilation,
1767
Dim node As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", 1)
1842
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(compilationDef, ilSource.Value, includeVbRuntime:=True,
1851
CompilationUtils
.AssertTheseDiagnostics(compilation,
1932
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(compilationDef, ilSource.Value, includeVbRuntime:=True,
1935
CompilationUtils
.AssertTheseDiagnostics(compilation,
1989
CompilationUtils
.AssertTheseDiagnostics(compilation,
2066
CompilationUtils
.AssertTheseDiagnostics(compilation,
2136
CompilationUtils
.AssertTheseDiagnostics(compilation,
2222
CompilationUtils
.AssertTheseDiagnostics(compilation,
2290
CompilationUtils
.AssertTheseDiagnostics(compilation,
2518
CompilationUtils
.AssertTheseDiagnostics(compilation,
2736
Dim typeSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
2743
CompilationUtils
.AssertTheseDiagnostics(compilation,
2775
Dim typeSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
2782
Dim equalsSyntax =
CompilationUtils
.FindBindingText(Of EqualsValueSyntax)(compilation, "a.vb", 2)
2797
CompilationUtils
.AssertTheseDiagnostics(compilation,
Semantics\UserDefinedConversions.vb (68)
65
Dim x_node As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(verifier.Compilation, "a.vb", 1)
76
Dim ctype_node As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(verifier.Compilation, "a.vb", 2)
121
Dim x_node As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(verifier.Compilation, "a.vb", 1)
175
Dim x_node As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(verifier.Compilation, "a.vb", 1)
186
CompilationUtils
.AssertTheseDiagnostics(verifier.Compilation,
237
Dim x_node As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(verifier.Compilation, "a.vb", 1)
248
CompilationUtils
.AssertTheseDiagnostics(verifier.Compilation,
448
CompilationUtils
.AssertTheseDiagnostics(compilation,
752
CompilationUtils
.AssertTheseDiagnostics(compilation,
881
CompilationUtils
.AssertTheseDiagnostics(compilation,
919
CompilationUtils
.AssertTheseDiagnostics(compilation,
965
CompilationUtils
.AssertTheseDiagnostics(compilation,
1154
CompilationUtils
.AssertTheseDiagnostics(compilation,
1216
CompilationUtils
.AssertTheseDiagnostics(compilation,
1287
CompilationUtils
.AssertTheseDiagnostics(compilation,
1343
CompilationUtils
.AssertTheseDiagnostics(compilation,
1393
CompilationUtils
.AssertTheseDiagnostics(compilation,
1452
CompilationUtils
.AssertTheseDiagnostics(verifier.Compilation,
1508
CompilationUtils
.AssertTheseDiagnostics(verifier.Compilation,
1567
CompilationUtils
.AssertTheseDiagnostics(verifier.Compilation,
1623
CompilationUtils
.AssertTheseDiagnostics(verifier.Compilation,
1663
CompilationUtils
.AssertTheseDiagnostics(compilation,
1703
CompilationUtils
.AssertTheseDiagnostics(compilation,
1741
CompilationUtils
.AssertTheseDiagnostics(compilation,
1779
CompilationUtils
.AssertTheseDiagnostics(compilation,
1814
CompilationUtils
.AssertTheseDiagnostics(compilation,
1885
CompilationUtils
.AssertTheseDiagnostics(compilation,
1971
CompilationUtils
.AssertTheseDiagnostics(compilation,
2021
CompilationUtils
.AssertTheseDiagnostics(compilation,
2136
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(
2318
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(
2452
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(
2466
CompilationUtils
.AssertTheseDiagnostics(compilation,
2527
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(
2538
CompilationUtils
.AssertTheseDiagnostics(compilation,
2596
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(
2607
CompilationUtils
.AssertTheseDiagnostics(compilation,
2651
CompilationUtils
.AssertTheseDiagnostics(verifier.Compilation,
2694
CompilationUtils
.AssertTheseDiagnostics(verifier.Compilation,
2752
CompilationUtils
.AssertTheseDiagnostics(verifier.Compilation,
2829
Dim x_node As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
2881
CompilationUtils
.AssertTheseDiagnostics(compilation,
2921
Dim x_node As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
2940
CompilationUtils
.AssertTheseDiagnostics(compilation,
2983
CompilationUtils
.AssertTheseDiagnostics(compilation,
3020
Dim x_node As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
3038
CompilationUtils
.AssertTheseDiagnostics(compilation,
3128
CompilationUtils
.AssertTheseDiagnostics(compilation,
3245
CompilationUtils
.AssertTheseDiagnostics(compilation,
3311
CompilationUtils
.AssertTheseDiagnostics(compilation,
3378
CompilationUtils
.AssertTheseDiagnostics(compilation,
3484
CompilationUtils
.AssertTheseDiagnostics(compilation,
3652
CompilationUtils
.AssertTheseDiagnostics(verifier.Compilation,
3658
Dim node As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(verifier.Compilation, "a.vb", 1)
3718
CompilationUtils
.AssertTheseDiagnostics(verifier.Compilation,
3724
Dim node As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(verifier.Compilation, "a.vb", 1)
3772
CompilationUtils
.AssertTheseDiagnostics(verifier.Compilation,
3825
CompilationUtils
.AssertTheseDiagnostics(verifier.Compilation,
3865
CompilationUtils
.AssertTheseDiagnostics(verifier.Compilation,
3935
CompilationUtils
.AssertTheseDiagnostics(compilation,
3980
Dim x_node As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
3999
CompilationUtils
.AssertTheseDiagnostics(compilation,
4048
Dim x_node As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 1)
4068
CompilationUtils
.AssertTheseDiagnostics(compilation,
4142
CompilationUtils
.AssertTheseDiagnostics(compilation,
4269
CompilationUtils
.AssertTheseDiagnostics(compilation,
4351
CompilationUtils
.AssertTheseDiagnostics(compilation,
4407
CompilationUtils
.AssertTheseDiagnostics(verifier.Compilation,
Semantics\UserDefinedForToLoop.vb (10)
542
CompilationUtils
.AssertTheseDiagnostics(compilation,
583
CompilationUtils
.AssertTheseDiagnostics(compilation,
639
CompilationUtils
.AssertTheseDiagnostics(compilation,
691
CompilationUtils
.AssertTheseDiagnostics(compilation,
748
CompilationUtils
.AssertTheseDiagnostics(compilation,
806
CompilationUtils
.AssertTheseDiagnostics(compilation,
864
CompilationUtils
.AssertTheseDiagnostics(compilation,
915
CompilationUtils
.AssertTheseDiagnostics(compilation,
985
CompilationUtils
.AssertTheseDiagnostics(compilation,
1059
CompilationUtils
.AssertTheseDiagnostics(compilation,
Semantics\UserDefinedUnaryOperators.vb (10)
57
Dim not_node As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(verifier.Compilation, "a.vb", 1)
97
Dim not_node As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(verifier.Compilation, "a.vb", 1)
137
Dim not_node As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(verifier.Compilation, "a.vb", 1)
167
CompilationUtils
.AssertTheseDiagnostics(compilation,
265
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
267
CompilationUtils
.AssertTheseDiagnostics(compilation,
365
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
428
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
510
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
512
CompilationUtils
.AssertTheseDiagnostics(compilation,
Semantics\UseSiteErrorTests.vb (2)
38
CompilationUtils
.AssertTheseDiagnostics(compilation,
528
Dim compilation1 =
CompilationUtils
.CreateEmptyCompilationWithReferences(
Semantics\UsingStatementTest.vb (3)
281
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
285
CompilationUtils
.AssertTheseDiagnostics(compilation,
297
CompilationUtils
.AssertTheseDiagnostics(compilation,
Semantics\VariableTypeInference.vb (40)
29
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
54
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
61
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
84
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
91
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
116
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
123
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
148
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
155
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
177
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
184
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
209
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
216
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
238
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
247
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
269
Dim tree =
CompilationUtils
.GetTree(compilation, "inferOff.vb")
276
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
283
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
305
Dim tree =
CompilationUtils
.GetTree(compilation, "inferOn.vb")
307
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
319
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
337
Dim tree =
CompilationUtils
.GetTree(compilation, "inferOn.vb")
339
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
348
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
366
Dim tree =
CompilationUtils
.GetTree(compilation, "inferOn.vb")
368
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
378
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
400
Dim tree =
CompilationUtils
.GetTree(compilation, "inferOn.vb")
402
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
414
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
431
CompilationUtils
.AssertTheseDiagnostics(compilation,
446
CompilationUtils
.AssertTheseDiagnostics(compilation,
456
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
471
Dim tree =
CompilationUtils
.GetTree(compilation, "TestInferredTypes.vb")
520
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
536
Dim tree =
CompilationUtils
.GetTree(compilation, "TestInferredTypes.vb")
585
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
617
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
644
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
703
Dim node =
CompilationUtils
.FindTokenFromText(tree, textToFind).Parent
Semantics\VarianceConversions.vb (35)
429
CompilationUtils
.AssertTheseDiagnostics(compilation,
679
CompilationUtils
.AssertTheseDiagnostics(compilation,
766
CompilationUtils
.AssertTheseDiagnostics(compilation,
790
CompilationUtils
.AssertTheseDiagnostics(compilation,
894
CompilationUtils
.AssertTheseDiagnostics(compilation,
1002
CompilationUtils
.AssertTheseDiagnostics(compilation,
1059
CompilationUtils
.AssertTheseDiagnostics(compilation,
1172
CompilationUtils
.AssertTheseDiagnostics(compilation,
1277
CompilationUtils
.AssertTheseDiagnostics(compilation,
1445
CompilationUtils
.AssertTheseDiagnostics(compilation,
1564
CompilationUtils
.AssertTheseDiagnostics(compilation,
1611
CompilationUtils
.AssertTheseDiagnostics(compilation,
1652
CompilationUtils
.AssertTheseDiagnostics(compilation,
1707
CompilationUtils
.AssertTheseDiagnostics(compilation,
1761
CompilationUtils
.AssertTheseDiagnostics(compilation,
1811
CompilationUtils
.AssertTheseDiagnostics(compilation,
1861
CompilationUtils
.AssertTheseDiagnostics(compilation,
1903
CompilationUtils
.AssertTheseDiagnostics(compilation,
1945
CompilationUtils
.AssertTheseDiagnostics(compilation,
1995
CompilationUtils
.AssertTheseDiagnostics(verifier.Compilation,
2039
CompilationUtils
.AssertTheseDiagnostics(verifier.Compilation,
2083
CompilationUtils
.AssertTheseDiagnostics(compilation,
2138
CompilationUtils
.AssertTheseDiagnostics(compilation,
2194
CompilationUtils
.AssertTheseDiagnostics(compilation,
2251
CompilationUtils
.AssertTheseDiagnostics(compilation,
2290
CompilationUtils
.AssertTheseDiagnostics(compilation,
2521
CompilationUtils
.AssertTheseDiagnostics(compilation,
2581
CompilationUtils
.AssertTheseDiagnostics(compilation,
2672
CompilationUtils
.AssertTheseDiagnostics(compilation,
2705
CompilationUtils
.AssertTheseDiagnostics(compilation,
2714
CompilationUtils
.AssertTheseDiagnostics(compilation,
2758
CompilationUtils
.AssertTheseDiagnostics(verifier.Compilation,
2798
CompilationUtils
.AssertTheseDiagnostics(compilation,
2844
CompilationUtils
.AssertTheseDiagnostics(verifier.Compilation,
2917
CompilationUtils
.AssertTheseDiagnostics(compilation,
Semantics\WithBlockErrorTests.vb (29)
345
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
360
CompilationUtils
.AssertTheseDiagnostics(compilation,
370
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
395
CompilationUtils
.AssertTheseDiagnostics(compilation,
405
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
427
CompilationUtils
.AssertTheseDiagnostics(compilation,
437
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
453
CompilationUtils
.AssertTheseDiagnostics(compilation,
463
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
475
CompilationUtils
.AssertTheseDiagnostics(compilation,
485
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
497
CompilationUtils
.AssertTheseDiagnostics(compilation,
507
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
519
CompilationUtils
.AssertTheseDiagnostics(compilation,
529
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
547
CompilationUtils
.AssertTheseDiagnostics(compilation,
558
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
578
CompilationUtils
.AssertTheseDiagnostics(compilation,
589
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
626
CompilationUtils
.AssertTheseDiagnostics(compilation,
637
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
674
CompilationUtils
.AssertTheseDiagnostics(compilation,
685
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
750
CompilationUtils
.AssertTheseDiagnostics(compilation,
921
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
945
CompilationUtils
.AssertTheseDiagnostics(compilation,
958
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
984
CompilationUtils
.AssertTheseDiagnostics(compilation,
1015
CompilationUtils
.CreateCompilationWithMscorlib40(
Semantics\WithBlockSemanticModelTests.vb (11)
19
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
55
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
67
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of AnonymousObjectCreationExpressionSyntax)(compilation, "a.vb")
82
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
224
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
284
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
300
Dim compilationB =
CompilationUtils
.CreateCompilationWithMscorlib40(
333
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
378
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
424
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
481
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
Semantics\XmlLiteralSemanticModelTests.vb (15)
18
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
45
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
84
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
102
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
172
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
201
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
221
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
239
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
265
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
306
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
347
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
400
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
430
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
493
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
527
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of XmlElementSyntax)(compilation, "a.vb")
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (2624)
DocumentationComments\ConstructorDocumentationCommentTests.vb (1)
16
_compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
DocumentationComments\DocCommentTests.vb (6)
131
CompilationUtils
.AssertTheseDiagnostics(compilation.GetSemanticModel(tree).GetDiagnostics(), <errors></errors>)
162
CompilationUtils
.AssertTheseDiagnostics(compilation.GetSemanticModel(tree).GetDiagnostics(), <errors></errors>)
193
CompilationUtils
.AssertTheseDiagnostics(compilation.GetSemanticModel(tree).GetDiagnostics(),
678
CompilationUtils
.AssertTheseDiagnostics(model.GetDiagnostics(), <error></error>)
681
CompilationUtils
.AssertTheseDiagnostics(model.GetDiagnostics(), <error></error>)
12145
CompilationUtils
.AssertTheseDiagnostics(diagnostics.AsImmutable(), errors)
DocumentationComments\EventDocumentationCommentTests.vb (1)
18
_compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
DocumentationComments\FieldDocumentationCommentTests.vb (1)
18
_compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
DocumentationComments\MethodDocumentationCommentTests.vb (5)
20
_compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
196
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
238
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, parseOptions:=TestOptions.Regular.WithDocumentationMode(DocumentationMode.Diagnose))
249
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, parseOptions:=TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse))
260
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, parseOptions:=TestOptions.Regular.WithDocumentationMode(DocumentationMode.None))
DocumentationComments\PropertyDocumentationCommentTests.vb (1)
16
_compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
DocumentationComments\TypeDocumentationCommentTests.vb (1)
16
_compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
StaticLocalDeclarationTests.vb (26)
41
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
68
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
98
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
100
CompilationUtils
.AssertTheseDiagnostics(compilation,
133
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
134
CompilationUtils
.AssertTheseDiagnostics(compilation,
167
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
168
CompilationUtils
.AssertTheseDiagnostics(compilation,
204
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
234
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
261
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
291
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
321
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
350
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
381
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
414
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
448
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
480
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
506
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
534
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
567
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
614
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
650
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
675
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
701
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
732
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
SymbolDisplay\SymbolDisplayTests.vb (8)
4074
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
4097
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
4972
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
5165
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(source, references:={SystemRuntimeFacadeRef, ValueTupleRef})
5312
Dim compB =
CompilationUtils
.CreateCompilationWithMscorlib40(sourceB, references:={refA})
5451
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
5988
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
6028
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(text, references:={TestMetadata.Net40.SystemCore})
SymbolsTests\AnonymousDelegates\AnonymousDelegates_CreationAndEmit.vb (13)
301
Dim node16 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 16)
318
Dim node15 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 15)
330
Dim node14 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 14)
341
Dim node13 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 13)
353
Dim node12 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 12)
359
Dim node11 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 11)
365
Dim node10 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 10)
371
Dim node7 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 7)
380
Dim node5 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 5)
386
Dim node4 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 4)
394
Dim node2 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 2)
405
Dim node1 As ModifiedIdentifierSyntax =
CompilationUtils
.FindBindingText(Of ModifiedIdentifierSyntax)(compilation, "a.vb", 1)
476
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
SymbolsTests\AnonymousTypes\AnonymousTypesEmittedSymbolsTests.vb (3)
32
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(source:=compilationDef, references:={})
33
CompilationUtils
.AssertTheseDiagnostics(compilation,
263
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
SymbolsTests\AnonymousTypes\AnonymousTypesSemanticsTests.vb (14)
101
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(compilationDef, {SystemRef, SystemCoreRef, MsvbRef})
102
CompilationUtils
.AssertNoDiagnostics(compilation)
223
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(compilationDef, {SystemRef, SystemCoreRef, MsvbRef})
224
CompilationUtils
.AssertNoDiagnostics(compilation)
296
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(compilationDef, {SystemRef, SystemCoreRef, MsvbRef})
297
CompilationUtils
.AssertNoDiagnostics(compilation)
365
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(compilationDef, {SystemRef, SystemCoreRef, MsvbRef})
366
CompilationUtils
.AssertNoDiagnostics(compilation)
1621
CompilationUtils
.CheckSymbolsUnordered(syms1,
1664
CompilationUtils
.CheckSymbolsUnordered(syms1,
1971
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(text, {TestMetadata.Net40.System, TestMetadata.Net40.SystemCore, TestMetadata.Net40.MicrosoftVisualBasic})
1973
CompilationUtils
.AssertNoErrors(compilation)
1975
CompilationUtils
.AssertTheseDiagnostics(compilation, errors)
2044
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
SymbolsTests\AssemblyAndNamespaceTests.vb (14)
32
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
61
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
89
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
152
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
175
CompilationUtils
.AssertTheseParseDiagnostics(compilation, expectedErrors)
181
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
254
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
311
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
317
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
341
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
357
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
400
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
413
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
423
Dim comp2 =
CompilationUtils
.CreateCompilationWithMscorlib40(
SymbolsTests\CompilationCreationTests.vb (1)
1993
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40(compilationDef)
SymbolsTests\CorLibrary\Choosing.vb (4)
36
Dim corLib =
CompilationUtils
.CreateEmptyCompilation(
51
Dim consumer =
CompilationUtils
.CreateEmptyCompilationWithReferences(
66
Dim corLib =
CompilationUtils
.CreateEmptyCompilation(
78
Dim consumer =
CompilationUtils
.CreateEmptyCompilationWithReferences(
SymbolsTests\ExtensionMethods\AddressOf.vb (6)
700
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
702
CompilationUtils
.AssertTheseDiagnostics(compilation,
780
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
782
CompilationUtils
.AssertTheseDiagnostics(compilation,
854
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
856
CompilationUtils
.AssertTheseDiagnostics(compilation,
SymbolsTests\ExtensionMethods\ExtensionMethodTests.vb (60)
20
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
213
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
423
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
618
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
812
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
1008
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
1038
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
1071
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
1132
CompilationUtils
.AssertTheseDiagnostics(compilation1,
1161
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
1216
CompilationUtils
.AssertTheseDiagnostics(compilation2,
1250
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
1283
CompilationUtils
.AssertTheseDiagnostics(compilation2,
1305
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
1366
CompilationUtils
.AssertTheseDiagnostics(compilation1,
1398
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1428
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1,
1439
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
1471
CompilationUtils
.AssertTheseDiagnostics(compilation1,
1667
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40(
1677
CompilationUtils
.AssertNoErrors(compilation2)
1679
Dim compilation3 =
CompilationUtils
.CreateCompilationWithMscorlib40(
1689
CompilationUtils
.AssertNoErrors(compilation3)
1708
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(compilation1Def,
1716
Dim compilation3_1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
1727
Dim compilation1_1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(compilation1Def,
1732
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1_1,
1741
CompilationUtils
.AssertTheseDiagnostics(compilation1_1,
1753
Dim compilation3_2 =
CompilationUtils
.CreateCompilationWithMscorlib40(
1764
Dim compilation1_2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(compilation1Def,
1788
Dim compilation1_3 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(compilation1_3_Def,
1793
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1_3,
1800
CompilationUtils
.AssertTheseDiagnostics(compilation1_3,
1833
Dim compilation1_4 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(compilation1_4_Def,
1840
Dim compilation3_3 =
CompilationUtils
.CreateCompilationWithMscorlib40(
1853
Dim compilation1_5 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(compilation1Def,
1856
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1_5,
1863
CompilationUtils
.AssertTheseDiagnostics(compilation1_5,
1873
Dim compilation4 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
1890
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation4,
1897
CompilationUtils
.AssertTheseDiagnostics(compilation4,
1904
Dim compilation5 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
1922
CompilationUtils
.AssertNoErrors(compilation5)
1971
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1993
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
1998
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2021
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
2026
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2053
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
2058
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2142
CompilationUtils
.AssertTheseDiagnostics(compilation1,
2236
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
2259
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
2269
CompilationUtils
.AssertTheseDiagnostics(compilation2,
2282
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
2298
CompilationUtils
.AssertTheseDiagnostics(compilation2,
2311
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
2327
CompilationUtils
.AssertTheseDiagnostics(compilation2,
2340
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
2357
CompilationUtils
.AssertTheseDiagnostics(compilation2,
SymbolsTests\ExtensionMethods\LookupAndInvocation.vb (53)
983
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef,
986
CompilationUtils
.AssertTheseDiagnostics(compilation,
1036
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1038
CompilationUtils
.AssertTheseDiagnostics(compilation,
1312
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1314
CompilationUtils
.AssertTheseDiagnostics(compilation,
1503
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.On))
1505
CompilationUtils
.AssertTheseDiagnostics(compilation,
1669
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1671
CompilationUtils
.AssertTheseDiagnostics(compilation,
1721
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1723
CompilationUtils
.AssertTheseDiagnostics(compilation,
1895
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1897
CompilationUtils
.AssertTheseDiagnostics(compilation,
2064
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
2066
CompilationUtils
.AssertTheseDiagnostics(compilation,
2133
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
2135
CompilationUtils
.AssertTheseDiagnostics(compilation,
2185
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
2187
CompilationUtils
.AssertTheseDiagnostics(compilation,
2239
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
2241
CompilationUtils
.AssertTheseDiagnostics(compilation,
2336
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
2338
CompilationUtils
.AssertTheseDiagnostics(compilation,
2384
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
2386
CompilationUtils
.AssertTheseDiagnostics(compilation,
2429
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
2431
CompilationUtils
.AssertTheseDiagnostics(compilation,
2474
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
2476
CompilationUtils
.AssertTheseDiagnostics(compilation,
2518
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
2520
CompilationUtils
.AssertTheseDiagnostics(compilation,
2568
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
2570
CompilationUtils
.AssertTheseDiagnostics(compilation,
2615
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.Custom))
2617
CompilationUtils
.AssertTheseDiagnostics(compilation,
2683
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
2685
CompilationUtils
.AssertTheseDiagnostics(compilation,
2717
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2747
CompilationUtils
.AssertTheseDiagnostics(compilation,
2757
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2782
CompilationUtils
.AssertTheseDiagnostics(compilation,
2792
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2816
CompilationUtils
.AssertTheseDiagnostics(compilation,
2868
CompilationUtils
.AssertTheseDiagnostics(
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef),
2927
CompilationUtils
.AssertTheseDiagnostics(
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef),
3049
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(compilationDef2,
3053
CompilationUtils
.AssertNoErrors(compilation)
3128
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef1)
3147
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(compilationDef2,
3151
CompilationUtils
.AssertTheseDiagnostics(compilation2,
SymbolsTests\GenericConstraintTests.vb (71)
22
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
36
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
52
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
72
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
97
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
209
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
248
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
275
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
300
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
353
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
381
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
431
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
461
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
662
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
935
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
991
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1147
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1216
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1375
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1468
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1499
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1540
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1637
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1765
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1819
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1914
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
2035
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
2234
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
2261
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
2292
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
2325
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2356
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
2431
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2455
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
2508
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2600
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3072
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3487
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3679
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4017
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4042
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4243
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4332
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4410
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4626
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4649
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4678
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4714
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
4797
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4864
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
4894
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
4946
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
4968
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5024
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5047
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5111
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5199
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5338
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
5373
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
5389
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
5408
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
5442
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
5480
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
5531
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
5557
CompilationUtils
.CheckSymbols(typeParameter.ConstraintTypes, constraintTypeDescriptions)
5563
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
5596
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5632
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5746
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib45AndVBRuntime(
5781
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib45AndVBRuntime(
5815
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib45AndVBRuntime(
SymbolsTests\ImplicitClassTests.vb (2)
23
Dim c =
CompilationUtils
.CreateCompilationWithMscorlib40(
57
Dim c =
CompilationUtils
.CreateCompilationWithMscorlib40(
SymbolsTests\InaccessibleOverriding.vb (18)
20
Dim proj1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
39
Dim proj2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
89
Dim proj1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
108
Dim proj2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
157
Dim proj1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
176
Dim proj2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
193
Dim proj3 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
217
CompilationUtils
.AssertTheseDiagnostics(proj3,
228
Dim proj1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
249
Dim proj2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
268
Dim proj3 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
294
CompilationUtils
.AssertTheseDiagnostics(proj3,
528
Dim proj3 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
552
CompilationUtils
.AssertTheseDiagnostics(proj3,
624
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
641
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
710
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
733
CompilationUtils
.AssertNoDiagnostics(compilation1)
SymbolsTests\InstantiatingGenerics.vb (4)
350
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
612
CompilationUtils
.AssertTheseDiagnostics(compilation,
666
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
724
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
SymbolsTests\Metadata\MetadataMemberTests.vb (20)
147
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
183
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
189
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
238
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
245
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
303
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
308
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
355
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
361
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
403
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
631
Dim expressionSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "b.vb", 0)
633
Dim semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "b.vb", 0)
640
expressionSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "b.vb", 1)
642
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "b.vb", 1)
649
expressionSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "b.vb", 2)
651
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "b.vb", 2)
658
expressionSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "b.vb", 3)
660
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "b.vb", 3)
667
expressionSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "b.vb", 4)
669
semanticInfo =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "b.vb", 4)
SymbolsTests\Metadata\MetadataTypeTests.vb (10)
22
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
60
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
66
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
93
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
142
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
197
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
202
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
251
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
303
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
373
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
SymbolsTests\Metadata\PE\HasUnsupportedMetadata.vb (2)
158
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
367
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
SymbolsTests\Metadata\PE\LoadingAttributes.vb (4)
1379
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
1516
Dim c1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
1545
Dim c2 =
CompilationUtils
.CreateCompilationWithCustomILSource(
1605
Dim c =
CompilationUtils
.CreateCompilationWithCustomILSource(
SymbolsTests\Metadata\PE\LoadingEvents.vb (2)
64
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, {ref}, TestOptions.ReleaseExe)
65
CompilationUtils
.AssertTheseDiagnostics(c1,
SymbolsTests\Metadata\PE\LoadingMethods.vb (4)
769
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
857
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
890
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
1061
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
SymbolsTests\Metadata\PE\LoadingOperators.vb (14)
545
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(
1141
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(
1360
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(
1903
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(
2064
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(
2188
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
2288
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
2386
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
2466
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
2545
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
2624
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
2688
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
2777
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
2789
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
SymbolsTests\Metadata\PE\LoadingWithEvents.vb (2)
27
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, {simpleWithEvents}, TestOptions.ReleaseExe)
49
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, {ref}, TestOptions.ReleaseExe)
SymbolsTests\Metadata\PE\NoPia.vb (3)
1081
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
1152
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
1237
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
SymbolsTests\Metadata\PE\NoPiaInstantiationOfGenericClassAndStruct.vb (3)
466
Dim localType =
CompilationUtils
.CreateCompilationWithMscorlib40(localTypeCompilationDef)
476
Dim localConsumer =
CompilationUtils
.CreateCompilationWithMscorlib40(localConsumerCompilationDef)
497
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40(compilationDef)
SymbolsTests\Metadata\PE\NoPiaLocalHideAndTypeSubstitutionTests.vb (6)
25
Dim localConsumer =
CompilationUtils
.CreateCompilationWithMscorlib40(localConsumerCompilationDef)
61
Dim localConsumer =
CompilationUtils
.CreateEmptyCompilationWithReferences(
123
Dim localConsumer =
CompilationUtils
.CreateEmptyCompilationWithReferences(compilationDef,
159
Dim localConsumer =
CompilationUtils
.CreateEmptyCompilationWithReferences(compilationDef,
238
Dim localConsumer =
CompilationUtils
.CreateEmptyCompilationWithReferences(compilationDef,
279
Dim localConsumer =
CompilationUtils
.CreateEmptyCompilationWithReferences(compilationDef2,
SymbolsTests\Metadata\PE\VisualBasicCompilerFeatureRequiredTests.vb (2)
78
Return
CompilationUtils
.CreateCompilation(source, references)
564
Dim compilation =
CompilationUtils
.CreateCompilation(<compilation>
SymbolsTests\MetadataFileReferenceCompilationTests.vb (6)
20
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
31
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
38
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
51
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
88
Dim b =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
103
Dim a =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
SymbolsTests\MyBaseMyClassSemanticsTests.vb (3)
120
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(text, {SystemRef, SystemCoreRef, MsvbRef})
122
CompilationUtils
.AssertNoErrors(compilation)
124
CompilationUtils
.AssertTheseDiagnostics(compilation, errors)
SymbolsTests\Retargeting\RetargetingTests.vb (1)
20
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
SymbolsTests\Source\BaseClassTests.vb (130)
19
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
34
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
39
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
59
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
64
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
87
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
92
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
109
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
114
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
137
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
142
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
168
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
173
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
205
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
210
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
249
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
254
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
273
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
278
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
295
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
300
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
330
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
335
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
354
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
359
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
382
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
387
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
404
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
409
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
432
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
437
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
474
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
479
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
512
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
518
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
535
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
541
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
558
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
564
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
582
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
587
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
604
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
609
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
626
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
631
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
648
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
653
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
680
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
685
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
712
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
720
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
736
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
745
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
761
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
763
compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
779
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
787
Dim Comp =
CompilationUtils
.CreateEmptyCompilationWithReferences(
804
CompilationUtils
.AssertTheseDeclarationDiagnostics(Comp, expectedErrors)
817
Dim Comp =
CompilationUtils
.CreateEmptyCompilationWithReferences(
837
Dim Comp2 =
CompilationUtils
.CreateEmptyCompilationWithReferences(
861
CompilationUtils
.AssertTheseDeclarationDiagnostics(Comp2, expectedErrors)
875
Dim Comp =
CompilationUtils
.CreateEmptyCompilationWithReferences(
897
Dim Comp2 =
CompilationUtils
.CreateEmptyCompilationWithReferences(
922
CompilationUtils
.AssertTheseDeclarationDiagnostics(Comp2, expectedErrors)
939
Dim Comp =
CompilationUtils
.CreateEmptyCompilationWithReferences(
964
CompilationUtils
.AssertTheseDeclarationDiagnostics(Comp, expectedErrors)
971
Dim Comp2 =
CompilationUtils
.CreateEmptyCompilationWithReferences(
1002
Dim Comp =
CompilationUtils
.CreateEmptyCompilationWithReferences(
1031
Dim Comp2 =
CompilationUtils
.CreateEmptyCompilationWithReferences(
1068
Dim Comp =
CompilationUtils
.CreateEmptyCompilationWithReferences(
1093
CompilationUtils
.AssertTheseDeclarationDiagnostics(Comp, expectedErrors)
1100
Dim Comp2 =
CompilationUtils
.CreateEmptyCompilationWithReferences(
1124
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1141
CompilationUtils
.AssertNoErrors(compilation)
1147
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1165
CompilationUtils
.AssertNoErrors(compilation)
1178
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1214
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
1219
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1252
CompilationUtils
.AssertNoErrors(compilation)
1264
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1297
CompilationUtils
.AssertNoErrors(compilation)
1309
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1346
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
1358
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1390
CompilationUtils
.AssertNoErrors(compilation)
1402
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1437
CompilationUtils
.AssertNoErrors(compilation)
1449
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1487
CompilationUtils
.AssertNoErrors(compilation)
1499
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1541
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
1546
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1566
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
1571
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1611
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
1616
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1657
CompilationUtils
.AssertNoErrors(compilation)
1662
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1699
CompilationUtils
.AssertNoErrors(compilation)
1723
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1725
CompilationUtils
.AssertTheseDiagnostics(compilation,
1750
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
1752
CompilationUtils
.AssertTheseDiagnostics(compilation,
1764
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1787
CompilationUtils
.AssertNoErrors(compilation)
1793
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1807
CompilationUtils
.AssertNoErrors(compilation)
1813
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1833
CompilationUtils
.AssertNoErrors(compilation)
1839
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1872
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
1877
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1912
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
1918
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1939
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
1945
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1969
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
1974
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1995
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
2024
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
2041
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
2072
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
2101
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
2130
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
2158
Dim compilation0 =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
2159
CompilationUtils
.AssertNoErrors(compilation0) ' same as in Dev10
2166
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2203
Dim c2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(c2Source, {New VisualBasicCompilationReference(compilation)})
2209
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(c2Source, {MetadataReference.CreateFromImage(compilationImage)}).VerifyDiagnostics()
SymbolsTests\Source\BindingsTests.vb (43)
22
Dim tree As SyntaxTree =
CompilationUtils
.GetTree(compilation, treeName)
23
Dim position As Integer =
CompilationUtils
.FindPositionFromText(tree, textToFind)
47
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
112
Dim treeA =
CompilationUtils
.GetTree(compilation, "a.vb")
115
Dim treeB =
CompilationUtils
.GetTree(compilation, "b.vb")
209
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
231
Dim treeA =
CompilationUtils
.GetTree(compilation, "a.vb")
275
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
336
Dim treeA =
CompilationUtils
.GetTree(compilation, "a.vb")
339
Dim treeB =
CompilationUtils
.GetTree(compilation, "b.vb")
344
typeSymbol =
CompilationUtils
.GetTypeSymbol(compilation, bindingsA, "a.vb", "C1")
348
typeSymbol =
CompilationUtils
.GetTypeSymbol(compilation, bindingsA, "a.vb", "C2")
352
typeSymbol2 =
CompilationUtils
.GetTypeSymbol(compilation, bindingsB, "b.vb", "C2")
357
typeSymbol =
CompilationUtils
.GetTypeSymbol(compilation, bindingsA, "a.vb", "Q'first")
363
typeSymbol2 =
CompilationUtils
.GetTypeSymbol(compilation, bindingsA, "a.vb", "Q'second")
370
typeSymbol3 =
CompilationUtils
.GetTypeSymbol(compilation, bindingsA, "a.vb", "Q'third")
378
typeSymbol4 =
CompilationUtils
.GetTypeSymbol(compilation, bindingsB, "b.vb", "Q")
387
typeSymbol5 =
CompilationUtils
.GetTypeSymbol(compilation, bindingsA, "a.vb", "Q(Of T)")
397
typeSymbol6 =
CompilationUtils
.GetTypeSymbol(compilation, bindingsB, "b.vb", "RRR")
403
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
410
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
458
Dim treeA =
CompilationUtils
.GetTree(compilation, "a.vb")
461
Dim treeB =
CompilationUtils
.GetTree(compilation, "b.vb")
466
Dim importSystemCollectionsTypeSyntax = FindTypeSyntax(
CompilationUtils
.FindTokenFromText(treeA, "System.Collections"))
475
Dim importsOrangeTypeSyntax = FindTypeSyntax(
CompilationUtils
.FindTokenFromText(treeA, "N2.Orange"))
486
Dim importsYellowTypeSyntax = FindTypeSyntax(
CompilationUtils
.FindTokenFromText(treeA, "yellow%"))
496
Dim interfaceIAmbigTypeSyntax = FindTypeSyntax(
CompilationUtils
.FindTokenFromText(treeA, "N2.IAmbig"))
515
Dim classYellowTypeSyntax = FindTypeSyntax(
CompilationUtils
.FindTokenFromText(treeA, "Yellow"))
528
Dim elvisTypeSyntax = FindTypeSyntax(
CompilationUtils
.FindTokenFromText(treeA, "Elvis"))
537
Dim iEnumSyntax = FindTypeSyntax(
CompilationUtils
.FindTokenFromText(treeA, "Generic.IEnumerable(Of TParam2)"))
545
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
564
Dim treeA =
CompilationUtils
.GetTree(compilation, "a.vb")
568
Dim typeC =
CompilationUtils
.GetTypeSymbol(compilation, bindingsA, "a.vb", "C")
572
Dim bSyntax = FindTypeSyntax(
CompilationUtils
.FindTokenFromText(treeA, "B"))
580
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
599
Dim treeA =
CompilationUtils
.GetTree(compilation, "a.vb")
603
Dim typeC =
CompilationUtils
.GetTypeSymbol(compilation, bindingsA, "a.vb", "C")
607
Dim baseSyntax = FindTypeSyntax(
CompilationUtils
.FindTokenFromText(treeA, "A(Of T)"))
616
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
648
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
664
Dim treeA =
CompilationUtils
.GetTree(compilation, "a.vb")
688
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
706
Dim treeA =
CompilationUtils
.GetTree(compilation, "a.vb")
SymbolsTests\Source\ClsComplianceTests.vb (1)
2747
CompilationUtils
.AssertTheseDiagnostics(comp.GetDiagnosticsForSyntaxTree(CompilationStage.Declare, tree1, filterSpanWithinTree:=Nothing, includeEarlierStages:=False),
SymbolsTests\Source\DelegateTests.vb (22)
57
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
194
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
218
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
242
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
296
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
297
CompilationUtils
.AssertNoErrors(compilation)
311
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
312
CompilationUtils
.AssertNoErrors(compilation)
369
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
371
CompilationUtils
.AssertNoErrors(compilation)
392
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseDll.WithOptionStrict(OptionStrict.Off))
393
CompilationUtils
.AssertNoErrors(comp1)
394
Dim comp2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseDll.WithOptionStrict(OptionStrict.On))
395
CompilationUtils
.AssertNoErrors(comp2)
410
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseDll.WithOptionStrict(OptionStrict.Off))
411
CompilationUtils
.AssertNoErrors(comp1)
412
Dim comp2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseDll.WithOptionStrict(OptionStrict.On))
413
CompilationUtils
.AssertNoErrors(comp2)
428
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseDll.WithOptionStrict(OptionStrict.Off))
429
CompilationUtils
.AssertNoErrors(comp1)
430
Dim comp2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseDll.WithOptionStrict(OptionStrict.On))
431
CompilationUtils
.AssertNoErrors(comp2)
SymbolsTests\Source\EnumTests.vb (50)
189
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
191
CompilationUtils
.AssertTheseDiagnostics(comp, <errors>
201
comp =
CompilationUtils
.CreateCompilationWithMscorlib40(text, options:=TestOptions.ReleaseDll.WithOptionStrict(OptionStrict.On))
203
CompilationUtils
.AssertTheseDiagnostics(comp, <errors>
279
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
289
CompilationUtils
.AssertTheseParseDiagnostics(comp, <ERRORS>
298
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
308
CompilationUtils
.AssertTheseDiagnostics(comp, <ERRORS>
317
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
331
CompilationUtils
.AssertTheseDiagnostics(comp, <ERRORS>
358
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
411
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
547
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
548
CompilationUtils
.AssertTheseDeclarationDiagnostics(comp, <errors></errors>)
598
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
599
CompilationUtils
.AssertTheseDeclarationDiagnostics(comp, <errors>
626
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
627
CompilationUtils
.AssertTheseDiagnostics(comp, <errors>
727
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
728
CompilationUtils
.AssertTheseDeclarationDiagnostics(comp, <errors></errors>)
761
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
762
CompilationUtils
.AssertTheseDeclarationDiagnostics(comp, <errors></errors>)
820
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
839
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
840
CompilationUtils
.AssertTheseParseDiagnostics(comp, <errors>
863
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
864
CompilationUtils
.AssertTheseDeclarationDiagnostics(comp, <errors></errors>)
880
comp =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
881
CompilationUtils
.AssertTheseDeclarationDiagnostics(comp, <errors>
905
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
932
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
933
CompilationUtils
.AssertTheseDeclarationDiagnostics(comp, <errors></errors>)
948
CompilationUtils
.CreateCompilationWithMscorlib40(text).VerifyDiagnostics(Diagnostic(ERRID.ERR_CircularEvaluation1, "A").WithArguments("A"))
962
CompilationUtils
.CreateCompilationWithMscorlib40(text).VerifyDiagnostics(
981
CompilationUtils
.CreateCompilationWithMscorlib40(text).VerifyDiagnostics(
1016
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(text)
1017
CompilationUtils
.AssertNoErrors(comp)
1089
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(text)
1090
CompilationUtils
.AssertTheseDiagnostics(comp, <errors>
1152
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(text)
1153
CompilationUtils
.AssertTheseDiagnostics(comp, <errors>
1177
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
1178
CompilationUtils
.AssertTheseDiagnostics(comp, <errors>
1203
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
1235
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(source)
1258
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(source)
1284
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(source)
1315
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(source)
1349
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
1354
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
SymbolsTests\Source\EventTests.vb (52)
73
CompilationUtils
.AssertTheseCompileDiagnostics(comp1,
120
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseDll.WithOptionStrict(OptionStrict.On))
121
CompilationUtils
.AssertTheseCompileDiagnostics(comp, <Expected></Expected>)
147
Dim vbCompilation =
CompilationUtils
.CreateCompilationWithMscorlib45AndVBRuntime(
151
CompilationUtils
.AssertTheseCompileDiagnostics(vbCompilation, <Expected></Expected>)
188
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseDll.WithOptionStrict(OptionStrict.On))
189
CompilationUtils
.AssertTheseCompileDiagnostics(comp,
218
Dim comp2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseDll.WithOptionStrict(OptionStrict.On))
219
CompilationUtils
.AssertTheseParseDiagnostics(comp2,
241
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseDll.WithOptionStrict(OptionStrict.Off))
242
CompilationUtils
.AssertNoErrors(comp1)
243
Dim comp2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseDll.WithOptionStrict(OptionStrict.On))
244
CompilationUtils
.AssertNoErrors(comp2)
267
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source).VerifyDiagnostics()
362
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseDll.WithOptionStrict(OptionStrict.Off))
363
CompilationUtils
.AssertNoErrors(comp1)
364
Dim comp2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseDll.WithOptionStrict(OptionStrict.On))
365
CompilationUtils
.AssertNoErrors(comp2)
385
Dim comp2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseDll.WithOptionStrict(OptionStrict.On))
386
CompilationUtils
.AssertTheseDiagnostics(comp2,
422
Dim comp2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseDll.WithOptionStrict(OptionStrict.On))
423
CompilationUtils
.AssertTheseDiagnostics(comp2,
453
Dim comp2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseDll.WithOptionStrict(OptionStrict.On))
454
CompilationUtils
.AssertTheseDiagnostics(comp2,
482
Dim comp2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseDll.WithOptionStrict(OptionStrict.On))
483
CompilationUtils
.AssertTheseDiagnostics(comp2,
511
Dim comp2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseDll.WithOptionStrict(OptionStrict.On))
512
CompilationUtils
.AssertTheseDiagnostics(comp2,
550
Dim comp2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseDll.WithOptionStrict(OptionStrict.On))
551
CompilationUtils
.AssertTheseDiagnostics(comp2,
594
Dim comp2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseDll.WithOptionStrict(OptionStrict.On))
595
CompilationUtils
.AssertTheseDiagnostics(comp2,
638
Dim comp2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseDll.WithOptionStrict(OptionStrict.On))
639
CompilationUtils
.AssertNoErrors(comp2)
800
Dim comp2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseDll.WithOptionStrict(OptionStrict.On))
801
CompilationUtils
.AssertTheseDiagnostics(comp2,
937
CompilationUtils
.AssertTheseDiagnostics(comp2,
1103
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source)
1161
Dim comp =
CompilationUtils
.CreateCompilationWithCustomILSource(vbSource, ilSource)
1566
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of PredefinedTypeSyntax)(compilation, "a.vb")
1604
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
1642
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
1682
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
1792
Dim semanticSummary =
CompilationUtils
.GetSemanticInfoSummary(Of IdentifierNameSyntax)(compilation, "a.vb")
1817
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1848
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
1871
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
2390
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2411
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2443
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2474
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2520
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
SymbolsTests\Source\FieldTests.vb (23)
23
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
47
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
53
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
72
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
174
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
180
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
202
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
239
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
255
CompilationUtils
.AssertTheseDiagnostics(compilation,
268
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
282
CompilationUtils
.AssertNoErrors(compilation)
287
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
301
CompilationUtils
.AssertNoErrors(compilation)
307
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
368
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
384
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors(index)
411
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
427
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors(index)
458
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
503
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
512
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
521
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
546
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
SymbolsTests\Source\GroupClassTests.vb (11)
2605
Dim node1 As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "Test3.vb", 1)
2606
Dim node2 As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "Test3.vb", 2)
2610
semanticInfo1 =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, node1)
2611
semanticInfo2 =
CompilationUtils
.GetSemanticInfoSummary(semanticModel, node2)
3274
Dim node1 As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", 1)
3283
Dim node2 As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", 2)
3355
Dim node2 As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", 2)
3761
Dim node1 As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", 1)
3769
Dim node2 As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", 2)
3777
Dim node3 As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", 3)
3785
Dim node4 As ExpressionSyntax =
CompilationUtils
.FindBindingText(Of ExpressionSyntax)(compilation, "a.vb", 4)
SymbolsTests\Source\ImplementsTests.vb (130)
493
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
535
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
557
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
590
CompilationUtils
.AssertTheseDiagnostics(compilation,
606
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
626
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
638
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
667
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
679
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
704
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
726
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
752
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
761
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
787
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
799
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
825
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
843
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
862
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
876
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
936
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
952
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
983
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
998
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1035
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
1066
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1084
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
1090
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1108
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
1114
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1132
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
1137
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1173
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
1194
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1228
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
1242
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1290
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
1304
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1377
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
1383
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1423
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
1441
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1480
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
1494
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
1509
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
1519
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1548
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
1558
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1594
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
1613
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1626
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
1636
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1656
CompilationUtils
.AssertNoErrors(compilation)
1662
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1684
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
1694
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
1761
CompilationUtils
.AssertNoErrors(comp)
1767
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
1785
CompilationUtils
.AssertTheseDiagnostics(comp, <errors></errors>)
1791
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
1809
CompilationUtils
.AssertTheseDiagnostics(comp, <errors></errors>)
1815
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1834
CompilationUtils
.AssertTheseDiagnostics(comp, <errors></errors>)
1840
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
1858
CompilationUtils
.AssertTheseDiagnostics(comp, <errors></errors>)
1864
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
1883
CompilationUtils
.AssertTheseDiagnostics(comp, <errors></errors>)
1889
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
1907
CompilationUtils
.AssertTheseDiagnostics(comp, <errors></errors>)
1913
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
1931
CompilationUtils
.AssertTheseDiagnostics(comp, <errors></errors>)
1937
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
1955
CompilationUtils
.AssertTheseDiagnostics(comp, <errors></errors>)
1961
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
1979
CompilationUtils
.AssertTheseDiagnostics(comp, <errors></errors>)
1985
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
2003
CompilationUtils
.AssertTheseDiagnostics(comp, <errors></errors>)
2009
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
2027
CompilationUtils
.AssertTheseDiagnostics(comp, <errors></errors>)
2033
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
2051
CompilationUtils
.AssertTheseDiagnostics(comp, <errors></errors>)
2057
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
2077
CompilationUtils
.AssertTheseDiagnostics(comp, <errors></errors>)
2083
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
2103
CompilationUtils
.AssertTheseDiagnostics(comp, <errors></errors>)
2109
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
2129
CompilationUtils
.AssertTheseDiagnostics(comp, <errors></errors>)
2135
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
2155
CompilationUtils
.AssertTheseDiagnostics(comp,
2168
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
2263
CompilationUtils
.AssertNoErrors(comp)
2268
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
2337
CompilationUtils
.AssertTheseDiagnostics(comp, <expected>
2349
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
2445
CompilationUtils
.AssertTheseDiagnostics(comp, <expected>
2457
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
2492
CompilationUtils
.AssertTheseDiagnostics(comp, <expected>
2501
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
2561
CompilationUtils
.AssertNoErrors(comp)
2567
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
2586
CompilationUtils
.AssertNoErrors(comp)
2669
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2691
CompilationUtils
.AssertNoErrors(compilation)
2697
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2720
CompilationUtils
.AssertTheseDiagnostics(compilation,
2735
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2753
CompilationUtils
.AssertTheseDiagnostics(compilation,
2767
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2845
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
3018
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3054
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
3070
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3101
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
3117
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3159
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
3172
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3221
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
3234
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3310
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
3327
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3342
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected>
3521
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3536
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
3542
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3557
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
3563
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3578
CompilationUtils
.AssertTheseDiagnostics(compilation,
3592
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3607
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
3613
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3627
CompilationUtils
.AssertTheseDiagnostics(compilation, <expected></expected>)
SymbolsTests\Source\LocalTests.vb (4)
17
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
33
Dim expressionSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 0)
43
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
60
Dim expressionSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, "a.vb", 0)
SymbolsTests\Source\MethodTests.vb (36)
23
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
152
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation,
171
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
207
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
212
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
280
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
285
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
350
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
355
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
440
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
445
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
549
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
554
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
591
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
596
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
651
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
656
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
807
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
893
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
899
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
938
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1001
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1149
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1254
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1273
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1313
CompilationUtils
.AssertNoErrors(compilation)
1318
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1355
CompilationUtils
.AssertNoErrors(compilation)
1360
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1397
CompilationUtils
.AssertNoErrors(compilation)
1402
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1429
CompilationUtils
.AssertNoErrors(compilation)
1443
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1470
CompilationUtils
.AssertNoErrors(compilation)
1484
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
1659
CompilationUtils
.AssertTheseDiagnostics(compilation,
SymbolsTests\Source\NamespaceGlobalTests.vb (70)
17
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
29
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40(
46
CompilationUtils
.VerifyGlobalNamespace(compilation1, "a.vb", "Class1", "NS1.Class1")
47
CompilationUtils
.VerifyGlobalNamespace(compilation1, "a.vb", "C1", "C1")
52
CompilationUtils
.VerifyIsGlobal(rootNS2.ContainingSymbol)
54
Dim typeSymbol2C1 =
CompilationUtils
.VerifyGlobalNamespace(compilation2, "a.vb", "C1", "RootNS.Global.ns1.C1", "RootNS.C1")
56
Dim symbolC2 =
CompilationUtils
.VerifyGlobalNamespace(compilation2, "a.vb", "C2", "[Global].ns1.C2")
62
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
75
Dim symbolA =
CompilationUtils
.VerifyGlobalNamespace(compilation1, "a.vb", "A", {"A", "A"}, False)
76
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, <errors>
87
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
104
Dim nsGlobal =
CompilationUtils
.VerifyIsGlobal(globalNS.GetMembers("Global").Single, False)
107
Dim symbolA =
CompilationUtils
.VerifyGlobalNamespace(compilation1, "a.vb", "A", "[Global].A", "A")
108
CompilationUtils
.AssertNoErrors(compilation1)
120
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(source)
121
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithRootNamespace("Global"))
135
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
149
CompilationUtils
.VerifyGlobalNamespace(compilation1, "a.vb", "Class1", {"Class1"}, False)
150
CompilationUtils
.VerifyGlobalNamespace(compilation1, "b.vb", "Class1", {"Class1"}, False)
159
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
174
Dim symbolClass =
CompilationUtils
.VerifyGlobalNamespace(compilation1, "a.vb", "Class1", {"Class1", "[Global].Class1"}, False)
180
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
194
Dim symbolClass =
CompilationUtils
.VerifyGlobalNamespace(compilation1, "a.vb", "C1", {"C1", "C1"}, False)
195
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, <errors>
205
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
223
CompilationUtils
.AssertTheseParseDiagnostics(compilation1, <errors>
239
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
247
CompilationUtils
.AssertTheseDiagnostics(compilation1, <errors>
264
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
283
CompilationUtils
.VerifyGlobalNamespace(compilation1, "a.vb", "Global", {"[Global]", "[Global]", "C1(Of T As [Global])"}, False)
284
CompilationUtils
.AssertTheseDiagnostics(compilation1, <errors>
307
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
317
CompilationUtils
.VerifyGlobalNamespace(compilation1, "a.vb", "Global", "[Global](Of T As Class)", "C1(Of [Global] As Class)")
318
CompilationUtils
.AssertTheseParseDiagnostics(compilation1, <errors>
331
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
339
CompilationUtils
.VerifyGlobalNamespace(compilation1, "a.vb", "C1", "C1(Of T As Class)")
340
CompilationUtils
.AssertTheseParseDiagnostics(compilation1, <errors>
351
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
363
CompilationUtils
.VerifyGlobalNamespace(compilation1, "a.vb", "C1")
365
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, <errors>
375
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
387
CompilationUtils
.VerifyGlobalNamespace(compilation1, "a.vb", "C1", "[Global].C1")
388
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation1)
394
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
424
CompilationUtils
.VerifyGlobalNamespace(compilation1, "a.vb", "C1", {"[Global].ns1.C1", "[Global].ns1.C1"}, False)
425
CompilationUtils
.VerifyGlobalNamespace(compilation1, "b.vb", "C2", "NS1.Global.C2")
426
CompilationUtils
.VerifyGlobalNamespace(compilation1, "c.vb", "C2", "NS1.Global.C2")
427
CompilationUtils
.AssertTheseDiagnostics(compilation1,
444
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
463
CompilationUtils
.VerifyGlobalNamespace(compilation1, "a.vb", "UserdefCls", "[Global].UserdefCls")
464
CompilationUtils
.VerifyGlobalNamespace(compilation1, "a.vb", "UserdefStruct", "[Global].UserdefStruct")
465
CompilationUtils
.VerifyGlobalNamespace(compilation1, "a.vb", "M1", "M1")
466
CompilationUtils
.VerifyGlobalNamespace(compilation1, "a.vb", "E1", "E1")
467
CompilationUtils
.AssertNoErrors(compilation1)
473
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
487
Dim symbolC1 =
CompilationUtils
.VerifyGlobalNamespace(compilation1, "a.vb", "C1", "C1")
488
Dim symbolC2 =
CompilationUtils
.VerifyGlobalNamespace(compilation1, "a.vb", "C2", "C1.C2")
489
Dim symbolC3 =
CompilationUtils
.VerifyGlobalNamespace(compilation1, "a.vb", "C3", "C1.C3")
503
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
516
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40(
531
Dim compilation3 =
CompilationUtils
.CreateCompilationWithMscorlib40(
544
CompilationUtils
.VerifyGlobalNamespace(compilation1, "a.vb", "C2", "C1.C2")
545
CompilationUtils
.VerifyGlobalNamespace(compilation2, "a.vb", "C3", "C1.C3")
546
CompilationUtils
.AssertTheseDiagnostics(compilation3,
560
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
573
Dim symbolC1 =
CompilationUtils
.VerifyGlobalNamespace(compilation1, "a.vb", "C1", "System.C1")
574
CompilationUtils
.AssertNoErrors(compilation1)
580
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
594
Dim typeStatementSyntax =
CompilationUtils
.FindBindingText(Of TypeStatementSyntax)(compilation, "a.vb", 0)
601
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
SymbolsTests\Source\OperatorsTests.vb (24)
22
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
185
operatorSyntax = GetEnclosingOperatorStatement(
CompilationUtils
.FindBindingText(Of VisualBasicSyntaxNode)(compilation, "a.vb", i))
203
CompilationUtils
.AssertTheseDiagnostics(compilation,
261
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
383
operatorSyntax = GetEnclosingOperatorStatement(
CompilationUtils
.FindBindingText(Of VisualBasicSyntaxNode)(compilation, "a.vb", i))
394
CompilationUtils
.AssertTheseDiagnostics(compilation,
473
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
542
operatorSyntax = GetEnclosingOperatorStatement(
CompilationUtils
.FindBindingText(Of VisualBasicSyntaxNode)(compilation, "a.vb", i))
552
CompilationUtils
.AssertTheseDiagnostics(compilation,
592
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
679
CompilationUtils
.AssertTheseDiagnostics(compilation,
728
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
830
CompilationUtils
.AssertTheseDiagnostics(compilation,
882
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
901
CompilationUtils
.AssertTheseDiagnostics(compilation,
919
operatorSyntax = GetEnclosingOperatorStatement(
CompilationUtils
.FindBindingText(Of VisualBasicSyntaxNode)(compilation, "a.vb", i))
931
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1091
CompilationUtils
.AssertTheseDiagnostics(compilation,
1131
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1149
CompilationUtils
.AssertTheseDiagnostics(compilation,
1159
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1212
CompilationUtils
.AssertTheseDiagnostics(compilation,
1250
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1300
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
SymbolsTests\Source\OverridesTests.vb (42)
252
CompilationUtils
.AssertTheseDiagnostics(comp,
308
CompilationUtils
.AssertTheseDiagnostics(comp,
356
CompilationUtils
.AssertTheseDiagnostics(comp,
410
CompilationUtils
.AssertTheseDiagnostics(comp,
444
CompilationUtils
.AssertTheseDiagnostics(comp,
493
CompilationUtils
.AssertTheseDiagnostics(comp,
531
CompilationUtils
.AssertTheseDiagnostics(comp,
593
CompilationUtils
.AssertTheseDiagnostics(comp,
631
CompilationUtils
.AssertTheseDiagnostics(comp,
678
CompilationUtils
.AssertTheseDiagnostics(comp,
754
CompilationUtils
.AssertTheseDiagnostics(comp,
825
CompilationUtils
.AssertTheseDiagnostics(comp,
868
CompilationUtils
.AssertTheseDiagnostics(comp,
899
CompilationUtils
.AssertTheseDiagnostics(comp,
959
CompilationUtils
.AssertTheseDiagnostics(comp,
1030
CompilationUtils
.AssertTheseDiagnostics(comp,
1097
CompilationUtils
.AssertTheseDiagnostics(comp,
1607
CompilationUtils
.AssertTheseDiagnostics(comp,
1655
CompilationUtils
.AssertTheseDiagnostics(comp,
1704
CompilationUtils
.AssertTheseDiagnostics(comp,
1738
CompilationUtils
.AssertTheseDiagnostics(comp,
1780
CompilationUtils
.AssertTheseDiagnostics(comp,
1796
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1832
CompilationUtils
.AssertTheseDiagnostics(compilation,
1848
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1895
CompilationUtils
.AssertTheseDiagnostics(compilation,
1908
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1944
CompilationUtils
.AssertTheseDiagnostics(compilation,
1970
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1989
CompilationUtils
.AssertTheseDiagnostics(compilation,
2151
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(source, customIL.Value, includeVbRuntime:=True)
2152
CompilationUtils
.AssertTheseDiagnostics(compilation,
2206
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
2223
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
2236
CompilationUtils
.AssertNoErrors(compilation2)
2241
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2278
Dim compilation3 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
2345
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2371
Dim compilation3 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
2417
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
2538
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
2637
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
SymbolsTests\Source\PropertyTests.vb (110)
71
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(source, customIL)
72
CompilationUtils
.AssertTheseDiagnostics(compilation,
131
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(source, customIL)
132
CompilationUtils
.AssertTheseDiagnostics(compilation,
192
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(source, customIL)
238
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(source, customIL)
239
CompilationUtils
.AssertNoErrors(compilation)
268
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(source, customIL)
298
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(source, customIL)
299
CompilationUtils
.AssertTheseDiagnostics(compilation,
586
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source, OutputKind.DynamicallyLinkedLibrary)
604
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
620
CompilationUtils
.AssertNoErrors(compilation)
626
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
642
CompilationUtils
.AssertNoErrors(compilation)
648
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1507
CompilationUtils
.AssertTheseDiagnostics(compilation,
1588
CompilationUtils
.AssertTheseDiagnostics(compilation,
1676
CompilationUtils
.AssertTheseDiagnostics(compilation,
1704
CompilationUtils
.AssertTheseDiagnostics(compilation,
1732
CompilationUtils
.AssertTheseDiagnostics(compilation,
1832
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1911
CompilationUtils
.AssertTheseDiagnostics(compilation,
2019
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2038
CompilationUtils
.AssertTheseDiagnostics(compilation,
2117
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(source, customIL.Value, includeVbRuntime:=True)
2118
CompilationUtils
.AssertTheseDiagnostics(compilation,
2174
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(source, customIL.Value, includeVbRuntime:=True)
2175
CompilationUtils
.AssertTheseDiagnostics(compilation,
2278
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(source, customIL.Value, includeVbRuntime:=True)
2279
CompilationUtils
.AssertTheseDiagnostics(compilation,
2391
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(source, customIL.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
2392
CompilationUtils
.AssertTheseDiagnostics(compilation,
2459
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(source, customIL.Value, includeVbRuntime:=True)
2460
CompilationUtils
.AssertTheseDiagnostics(compilation,
2522
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(source, customIL.Value, includeVbRuntime:=True)
2524
CompilationUtils
.AssertTheseDiagnostics(compilation,
2577
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(source, customIL.Value, includeVbRuntime:=True)
2578
CompilationUtils
.AssertTheseDiagnostics(compilation,
2591
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2649
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2811
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(source, customIL)
2894
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2917
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
3742
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(source, customIL.Value, TestOptions.ReleaseExe, includeVbRuntime:=True)
3743
CompilationUtils
.AssertNoErrors(compilation)
3792
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseExe)
3795
Dim bindings = compilation.GetSemanticModel(
CompilationUtils
.GetTree(compilation, "a.vb"))
3839
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source)
3840
CompilationUtils
.AssertTheseDiagnostics(compilation,
3886
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source)
3887
CompilationUtils
.AssertTheseDiagnostics(compilation,
3940
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source)
3941
CompilationUtils
.AssertTheseDiagnostics(compilation,
3986
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source)
3987
CompilationUtils
.AssertTheseDiagnostics(compilation,
4020
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseExe)
4048
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source)
4049
CompilationUtils
.AssertTheseDiagnostics(compilation,
4097
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source)
4098
CompilationUtils
.AssertTheseDiagnostics(compilation,
4145
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source)
4146
CompilationUtils
.AssertTheseDiagnostics(compilation,
4205
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source)
4206
CompilationUtils
.AssertTheseDiagnostics(compilation,
4272
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(source)
4273
CompilationUtils
.AssertTheseDiagnostics(compilation,
4544
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
4559
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
4665
CompilationUtils
.AssertTheseDiagnostics(compilation,
4826
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(vbSource)
5179
Dim compilation =
CompilationUtils
.CreateCompilationWithCustomILSource(vbSource, ilSource)
5180
CompilationUtils
.AssertTheseDiagnostics(compilation,
5312
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
5342
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
5367
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
5393
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
5394
CompilationUtils
.AssertNoErrors(comp)
5435
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(text)
5436
CompilationUtils
.AssertNoErrors(comp)
5511
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(source, {s_propertiesDll}).VerifyDiagnostics(
5538
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(source, {s_propertiesDll})
5540
CompilationUtils
.AssertTheseDiagnostics(compilation,
5699
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5754
CompilationUtils
.AssertNoErrors(compilation)
5759
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5811
CompilationUtils
.AssertNoErrors(compilation)
5816
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5868
CompilationUtils
.AssertNoErrors(compilation)
5873
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5900
CompilationUtils
.AssertNoErrors(compilation)
5914
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5941
CompilationUtils
.AssertNoErrors(compilation)
5955
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
5987
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
6064
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source2, {reference1})
6150
Dim compilation3 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source3, {reference1})
6209
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source2, {reference1})
6254
Dim compilation3 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source3, {reference1})
6302
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source2, {reference1})
6319
Dim compilation3 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source3, {reference1})
6376
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source2, {reference1})
6458
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source2, {reference1})
7459
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source2, {reference1})
7547
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source2, {reference1})
7608
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source2, {reference1})
7682
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source2, {reference1})
7805
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
7831
Dim compilation =
CompilationUtils
.CreateEmptyCompilationWithReferences(
7881
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
SymbolsTests\Source\SourceSymbolTests.vb (20)
23
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
47
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
58
CompilationUtils
.AssertTheseDiagnostics(compilation,
69
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
100
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
171
CompilationUtils
.AssertTheseDiagnostics(compilation,
191
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
200
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
205
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
238
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
243
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
279
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
284
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
413
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
419
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
445
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
491
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
520
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
543
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
649
Dim comp0 =
CompilationUtils
.CreateCompilationWithMscorlib40({source0, source1, source2, source3}, options:=TestOptions.ReleaseDll)
SymbolsTests\Source\SymbolBindingErrorTests.vb (13)
22
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
56
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
84
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
89
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
119
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
141
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
148
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
160
CompilationUtils
.AssertTheseDiagnostics(compilation,
171
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
203
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
229
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
260
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
283
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
SymbolsTests\Source\TypeBindingTests.vb (60)
22
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
62
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
67
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
92
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
97
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
158
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
163
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
245
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
250
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
284
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
289
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
352
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
357
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
453
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
458
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
529
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
534
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
598
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
609
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
669
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
674
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
711
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation,
728
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
760
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation,
768
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
819
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
824
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
868
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
873
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
932
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
937
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
991
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
996
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1040
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
1051
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1092
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
1097
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1128
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
1137
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1163
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
1170
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1258
CompilationUtils
.AssertNoErrors(compilation)
1265
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1336
CompilationUtils
.AssertNoErrors(compilation)
1341
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1358
CompilationUtils
.AssertTheseDiagnostics(compilation,
1374
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1385
CompilationUtils
.AssertTheseDiagnostics(compilation,
1401
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1418
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
1423
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1438
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
1443
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1458
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
1463
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1482
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
1487
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1506
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
1511
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1528
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
SymbolsTests\Source\TypeSubstitutionTests.vb (4)
18
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
63
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
68
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
114
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
SymbolsTests\Source\TypeTests.vb (97)
19
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
50
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
188
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation,
198
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
316
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
323
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
387
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
429
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
447
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
574
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
579
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
638
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
670
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
701
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
766
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
781
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
816
CompilationUtils
.AssertTheseDiagnostics(compilation,
835
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
850
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
890
Dim comp1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
905
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
936
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
981
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1000
CompilationUtils
.AssertTheseDiagnostics(compilation,
1007
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1025
CompilationUtils
.AssertTheseDiagnostics(compilation,
1040
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1053
CompilationUtils
.AssertTheseDiagnostics(compilation,
1065
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1078
CompilationUtils
.AssertTheseDiagnostics(compilation,
1091
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1104
CompilationUtils
.AssertTheseDiagnostics(compilation,
1117
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1130
CompilationUtils
.AssertTheseDiagnostics(compilation,
1143
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1164
CompilationUtils
.AssertTheseDiagnostics(compilation,
1178
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1221
CompilationUtils
.AssertTheseDiagnostics(compilation,
1246
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1316
CompilationUtils
.AssertTheseDiagnostics(compilation,
1345
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1364
CompilationUtils
.AssertTheseDiagnostics(compilation,
1381
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1400
CompilationUtils
.AssertTheseDiagnostics(compilation,
1412
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1431
CompilationUtils
.AssertTheseDiagnostics(compilation,
1449
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1469
CompilationUtils
.AssertTheseDiagnostics(compilation,
1488
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
1500
CompilationUtils
.AssertNoErrors(compilation1)
1502
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
1514
CompilationUtils
.AssertNoErrors(compilation2)
1516
Dim compilation3 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
1528
CompilationUtils
.AssertTheseDiagnostics(compilation3,
1542
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1558
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1570
CompilationUtils
.AssertTheseDiagnostics(compilation,
1580
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1596
CompilationUtils
.AssertTheseDiagnostics(compilation,
1609
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1794
CompilationUtils
.AssertTheseDiagnostics(compilation,
1957
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2069
CompilationUtils
.AssertTheseDiagnostics(compilation,
2109
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2221
CompilationUtils
.AssertTheseDiagnostics(compilation,
2240
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2352
CompilationUtils
.AssertTheseDiagnostics(compilation,
2378
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2407
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2435
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2457
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
2479
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3352
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3414
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(sources)
3419
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(sources)
3427
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3456
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(sources)
3471
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(sources)
3479
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3507
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3525
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3543
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3561
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3579
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3607
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3623
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3641
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3677
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3713
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3738
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3754
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3770
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3789
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3851
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3886
Dim missing =
CompilationUtils
.CreateCompilationWithMscorlib40(
3897
Dim reference =
CompilationUtils
.CreateCompilationWithMscorlib40(
3907
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
SymbolsTests\Source\VarianceTests.vb (7)
56
CompilationUtils
.AssertTheseDiagnostics(compilation,
244
CompilationUtils
.AssertTheseDiagnostics(compilation, expected)
247
CompilationUtils
.AssertTheseDiagnostics(compilation, expected)
297
CompilationUtils
.AssertTheseDiagnostics(compilation, expected)
300
CompilationUtils
.AssertTheseDiagnostics(compilation, expected)
489
CompilationUtils
.AssertTheseDiagnostics(compilation, expected)
513
CompilationUtils
.AssertTheseDiagnostics(compilation, expected)
SymbolsTests\SymbolErrorTests.vb (1270)
25
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
39
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
44
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
66
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
71
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
95
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
100
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
121
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
126
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
147
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
152
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
173
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
178
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
199
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
204
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
286
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation)
287
CompilationUtils
.AssertTheseEmitDiagnostics(compilation, expectedErrors)
292
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
307
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
312
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
328
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
333
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
347
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
352
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
383
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
388
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
402
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
407
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
434
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
439
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
466
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
471
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
507
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
514
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
531
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
536
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
552
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
557
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
570
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
575
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
589
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
594
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
608
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
614
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
646
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
651
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
685
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
691
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
753
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
759
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
821
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
826
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
848
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
853
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
873
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
878
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
896
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
901
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
918
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
923
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
940
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
945
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
961
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
997
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
1002
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
1018
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
1023
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1043
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
1048
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
1065
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
1070
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
1109
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
1114
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1131
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
1136
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1151
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
1156
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
1171
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
1218
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
1220
CompilationUtils
.AssertTheseDiagnostics(c1,
1270
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1287
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
1293
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1307
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
1312
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
1325
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
1330
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1349
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
1354
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
1380
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
1416
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
1430
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
1435
CompilationUtils
.CreateCompilationWithMscorlib40(
1482
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1500
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1517
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
1523
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1545
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
1551
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
1566
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
1573
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
1608
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
1613
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
1654
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
1659
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
1730
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
1735
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
1815
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
1821
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
1857
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
1862
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
1956
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
1961
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
1999
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
2005
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
2026
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
2084
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
2089
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
2146
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
2151
CompilationUtils
.CreateCompilationWithMscorlib40(
2176
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
2188
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
2193
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
2210
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
2215
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
2280
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
2309
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
2323
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
2328
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
2348
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
2353
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
2382
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
2387
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
2450
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
2455
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
2535
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
2540
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
2583
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
2588
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
2621
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
2626
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
2659
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
2664
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
2707
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
2712
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
2732
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
2737
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
2771
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
2776
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
2793
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
2798
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
2818
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
2823
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
2839
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
2844
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
2860
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
2873
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
2902
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
2931
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
2960
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
2989
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
3005
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
3010
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
3039
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
3067
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3109
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
3114
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3159
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
3164
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
3196
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
3201
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
3218
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
3223
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3252
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
3257
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
3373
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
3409
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
3459
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
3465
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
3511
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
3566
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
3571
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
3606
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
3611
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
3645
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
3650
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
3691
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
3696
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
3712
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
3717
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
3769
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
3774
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3807
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
3812
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3829
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
3834
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
3895
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
3901
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
3921
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
3926
Dim other As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
3943
CompilationUtils
.AssertNoErrors(other)
3945
Dim comp As VisualBasicCompilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
3980
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
4039
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
4044
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
4129
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
4134
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
4203
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
4208
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4253
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
4258
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
4303
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
4308
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
4329
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
4334
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
4377
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
4382
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4420
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors1)
4425
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4439
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
4444
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
4481
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
4486
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
4523
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
4528
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
4550
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
4556
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
4610
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
4615
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4630
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
4635
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
4650
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
4655
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4686
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
4708
Dim c1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
4710
CompilationUtils
.AssertTheseDiagnostics(c1,
4726
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
4754
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
4759
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
4782
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
4807
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
4865
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
4870
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
4896
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
4901
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
4922
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
4927
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
4944
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
4949
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
4963
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
4968
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
4982
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
4987
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
5016
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
5021
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
5044
CompilationUtils
.AssertTheseParseDiagnostics(compilation1, expectedErrors1)
5049
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
5079
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
5085
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
5109
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
5114
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
5149
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
5154
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
5197
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
5202
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
5244
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
5271
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
5276
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
5377
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
5382
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
5508
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
5513
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
5574
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
5579
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
5635
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
5640
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
5687
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
5692
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
5736
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
5741
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
5783
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
5789
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
5834
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
5839
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
5866
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
5871
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
5888
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
5893
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
5913
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
5918
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
5951
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
5957
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
5981
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
5998
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
6022
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
6028
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
6052
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
6057
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
6076
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
6129
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
6160
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
6165
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
6181
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
6186
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
6204
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
6209
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
6232
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
6237
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
6270
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
6275
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
6359
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
6360
CompilationUtils
.AssertTheseEmitDiagnostics(compilation1, expectedErrors1)
6387
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
6445
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
6450
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
6490
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
6496
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
6516
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
6522
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
6542
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
6547
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
6562
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
6567
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
6584
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
6589
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
6609
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
6614
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
6664
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
6669
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
6687
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
6692
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
6706
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1,
6719
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
6753
CompilationUtils
.AssertTheseDiagnostics(compilation1,
6775
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
6826
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
6831
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
6866
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
6871
Dim Lib1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
6878
Dim Lib2 =
CompilationUtils
.CreateCompilationWithMscorlib40(
6888
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
6903
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
6914
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
6928
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
6933
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
6959
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
7000
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
7161
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
7195
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
7230
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
7262
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
7295
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
7370
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
7376
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
7393
CompilationUtils
.AssertTheseParseDiagnostics(compilation1, expectedErrors1)
7398
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
7411
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
7416
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
7459
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
7464
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
7514
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
7519
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
7550
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, <errors><![CDATA[]]></errors>)
7556
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
7575
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
7580
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
7598
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
7603
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
7622
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
7629
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
7675
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
7680
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
7750
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
7780
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
7785
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
7799
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
7813
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
7830
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
7835
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
7852
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
7857
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
7878
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
7884
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
7908
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
7918
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
7932
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
7951
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
7956
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
7983
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
7988
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
8006
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
8011
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
8081
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
8086
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
8157
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
8163
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
8210
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
8216
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
8260
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
8265
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
8281
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
8286
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
8301
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
8306
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
8331
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
8336
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
8361
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
8366
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
8385
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
8390
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
8407
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
8415
Dim Comp =
CompilationUtils
.CreateEmptyCompilationWithReferences(
8440
CompilationUtils
.AssertTheseDeclarationDiagnostics(Comp, expectedErrors)
8449
Dim Comp =
CompilationUtils
.CreateEmptyCompilationWithReferences(
8472
CompilationUtils
.AssertTheseDeclarationDiagnostics(Comp, expectedErrors)
8481
Dim Comp =
CompilationUtils
.CreateEmptyCompilationWithReferences(
8504
CompilationUtils
.AssertTheseDeclarationDiagnostics(Comp, expectedErrors)
8510
Dim Comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
8532
CompilationUtils
.AssertTheseDeclarationDiagnostics(Comp, expectedErrors)
8537
Dim Comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
8557
CompilationUtils
.AssertTheseDeclarationDiagnostics(Comp, expectedErrors)
8562
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
8604
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
8609
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
8627
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
8633
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
8648
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
8653
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
8694
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
8699
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
8741
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
8746
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
8902
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
8909
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
8926
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
8932
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
8963
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
8968
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
8991
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
8996
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
9021
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
9026
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
9043
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
9048
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
9071
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
9076
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
9099
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
9105
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
9120
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
9125
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
9147
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
9152
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
9175
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
9180
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
9200
CompilationUtils
.AssertTheseParseDiagnostics(compilation1, expectedErrors1)
9205
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
9218
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
9223
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
9231
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation1)
9236
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
9252
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
9257
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
9273
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
9278
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
9291
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
9296
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
9309
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
9316
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
9351
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
9356
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
9401
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
9427
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
9445
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
9450
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
9466
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
9471
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
9485
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1,
9495
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
9508
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, <errors><![CDATA[]]></errors>)
9513
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
9540
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
9545
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
9562
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
9634
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
9639
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
9682
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
9687
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
9751
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
9756
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
9773
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
9842
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
9847
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
9890
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
9895
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
9956
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
9961
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
9983
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
9988
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
10211
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
10216
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
10260
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
10265
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
10295
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
10300
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
10313
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
10318
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
10333
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
10338
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
10359
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
10364
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
10378
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
10383
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
10399
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
10404
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
10422
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
10427
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
10441
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
10446
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
10465
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
10553
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
10613
Dim compilation1 =
CompilationUtils
.CreateCompilationWithCustomILSource(
10672
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
10686
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
10691
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
10704
CompilationUtils
.AssertTheseDiagnostics(compilation1,
10718
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
10736
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
10741
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
10755
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
10760
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
10808
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
10813
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11083
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
11088
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11117
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
11122
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11138
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
11143
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11160
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
11165
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11224
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
11229
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11260
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
11265
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11308
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
11313
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11336
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
11341
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11364
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
11369
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11392
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
11397
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11416
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
11421
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11440
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
11445
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11464
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
11469
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11490
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
11495
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11516
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
11521
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11546
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
11551
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11572
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
11577
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11598
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
11603
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11625
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
11630
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
11645
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
11650
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11671
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
11676
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11732
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
11737
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
11757
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
11762
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
11778
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
11783
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11801
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
11806
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11824
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
11825
CompilationUtils
.AssertTheseEmitDiagnostics(compilation1, expectedErrors1)
11830
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11852
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
11858
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11870
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
11876
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11890
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
11895
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11948
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
11954
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
11967
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
11973
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
11998
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
12004
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
12032
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
12038
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
12095
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
12100
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
12116
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
12121
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
12155
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
12160
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
12181
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
12188
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
12205
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
12210
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
12223
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
12228
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
12241
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
12246
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
12265
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
12271
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
12293
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
12298
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
12314
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
12319
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
12338
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
12344
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
12363
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
12368
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
12383
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
12388
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
12401
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
12402
CompilationUtils
.AssertTheseEmitDiagnostics(compilation, expectedErrors)
12407
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
12425
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
12431
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
12492
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
12497
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
12511
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
12516
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
12525
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1,
12538
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
12549
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1,
12565
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
12574
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1,
12590
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
12604
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
12609
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
12625
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
12630
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
12651
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1,
12667
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
12685
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1,
12701
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
12717
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1,
12736
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
12758
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
12763
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
12804
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
12809
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
12825
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
12830
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
12851
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
12856
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
12975
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
12980
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
13004
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1,
13021
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
13048
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1,
13058
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
13079
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
13084
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
13095
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1,
13108
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
13127
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
13132
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
13147
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1,
13160
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
13176
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
13181
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
13196
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1,
13212
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
13228
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
13233
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
13248
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
13254
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
13275
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
13297
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
13321
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
13339
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
13349
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
13367
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
13377
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
13413
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
13440
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
13448
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
13460
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
13467
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
13479
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
13484
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
13497
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
13518
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
13523
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
13549
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
13554
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
13569
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
13574
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
13589
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
13594
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
13613
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
13618
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
13636
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
13641
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
13678
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
13683
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
13739
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
13745
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
13763
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
13769
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
13785
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
13791
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
13808
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
13814
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
13831
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
13837
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
13854
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
13860
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
13887
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
13892
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
13940
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
13946
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
13976
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
13991
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
13996
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
14020
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
14025
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
14062
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
14068
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
14089
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
14093
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
14109
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
14115
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
14151
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
14179
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
14192
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
14283
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
14288
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
14383
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
14388
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
14494
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
14500
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
14524
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
14529
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
14550
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1,
14560
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
14581
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1,
14591
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
14609
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
14614
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
14632
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
14637
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
14663
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
14668
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
14729
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
14736
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
14774
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
14779
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
14846
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
14851
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
14867
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
14872
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
14891
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
14896
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
14910
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
14915
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
14934
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
14939
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
14956
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
14961
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
14980
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
14985
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
15002
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
15007
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
15024
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
15029
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
15110
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
15115
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
15142
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
15147
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
15174
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
15179
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
15212
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
15218
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
15237
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
15242
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
15327
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
15332
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
15363
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
15368
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
15402
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
15407
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
15436
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
15441
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
15466
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
15471
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
15494
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
15499
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
15577
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
15582
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
15623
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
15628
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
15652
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
15657
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
15683
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
15688
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
15714
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
15719
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
15740
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
15745
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
15762
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
15767
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
15806
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
15811
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
15831
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
15836
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
15861
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
15866
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
15896
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
15901
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
15923
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
15928
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
16006
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
16011
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
16026
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
16032
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
16052
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
16071
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
16076
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
16097
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
16102
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
16120
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
16125
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
16140
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
16145
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
16163
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
16168
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
16189
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
16194
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
16212
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
16217
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
16240
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
16245
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
16257
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
16262
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
16275
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
16280
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
16316
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
16322
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
16363
CompilationUtils
.AssertNoDeclarationDiagnostics(compilation1)
16364
CompilationUtils
.AssertTheseEmitDiagnostics(compilation1, expectedErrors1)
16373
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
16391
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
16396
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
16417
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
16422
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
16438
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
16443
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
16460
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
16465
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
16484
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
16489
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
16502
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
16507
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
16520
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
17109
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
17114
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
17136
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
17141
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
17157
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
17198
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
17229
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors(infer))
17235
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40(
17250
CompilationUtils
.AssertTheseDiagnostics(comp,
17291
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
17296
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
17314
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
17319
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
17335
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
17340
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
17356
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
17361
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
17377
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
17382
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
17412
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
17417
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
17451
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
17456
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
17476
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
17491
CompilationUtils
.CreateCompilationWithMscorlib40(
17506
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
17529
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
17535
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
17549
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
17555
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
17572
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
17578
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
17597
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
17602
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
17619
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
17624
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
17637
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
17642
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
17656
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
17661
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
17675
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
17680
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
17694
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
17699
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
17713
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
17718
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
17732
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
17737
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
17752
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
17757
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
17771
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
17776
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
17790
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
17795
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
17809
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
17814
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
17829
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
17834
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
17849
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
17854
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
17869
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
17874
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
17887
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
17892
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
17905
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
17910
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
17923
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
17928
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
17941
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
17946
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
17959
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
17964
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
17977
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
17982
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
17995
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
18000
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
18013
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
18018
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
18031
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
18036
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
18049
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
18054
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
18067
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
18072
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
18085
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
18090
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
18111
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
18117
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
18137
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
18146
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
18164
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
18169
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
18192
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
18197
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
18214
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
18219
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
18244
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
18251
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
18293
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
18298
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
18319
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, <errors><![CDATA[]]></errors>)
18324
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
18350
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1,
18360
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
18386
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1,
18397
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
18424
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
18431
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
18461
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
18466
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
18479
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
18484
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
18595
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
18601
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
18716
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
18722
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
18740
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
18745
CompilationUtils
.CreateCompilationWithMscorlib40(
18772
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
18833
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
18838
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
18863
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
18868
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
18895
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
18900
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
18917
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
18922
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
18939
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
18944
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
18960
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
18965
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
18982
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
18987
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19003
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
19008
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
19022
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
19027
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
19045
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
19050
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
19076
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
19081
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
19104
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
19109
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
19127
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
19133
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19145
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
19151
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19163
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
19169
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
19186
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
19192
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19208
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
19213
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
19234
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
19239
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19285
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
19290
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
19314
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
19319
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
19333
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
19338
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
19353
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
19376
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
19381
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
19405
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
19411
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
19421
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1,
19428
compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
19439
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1,
19446
compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
19466
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1,
19480
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19499
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19518
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19538
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19559
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19579
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19600
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19614
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19628
compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19647
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
19662
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
19667
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19684
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
19689
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
19701
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
19708
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
19716
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
19722
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19739
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
19745
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
19765
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
19770
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
19794
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
19799
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
19823
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
19829
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19857
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
19861
CompilationUtils
.AssertNoErrors(compilation1)
19868
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19883
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
19887
CompilationUtils
.AssertNoErrors(compilation1)
19891
CompilationUtils
.AssertTheseDiagnostics(compilation1,
19901
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19918
CompilationUtils
.AssertTheseDiagnostics(compilation,
19931
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19942
CompilationUtils
.AssertTheseDiagnostics(compilation1,
19949
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19960
CompilationUtils
.AssertTheseDiagnostics(compilation2, <errors/>)
19964
CompilationUtils
.AssertTheseDiagnostics(compilation2,
19975
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
19986
CompilationUtils
.AssertTheseDiagnostics(compilation1,
19997
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
20031
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
20034
CompilationUtils
.AssertNoErrors(compilation1)
20039
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
20071
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
20077
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
20094
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
20123
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
20132
CompilationUtils
.AssertTheseDiagnostics(compilation1, <errors></errors>)
20134
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40(
20148
CompilationUtils
.AssertTheseDiagnostics(compilation2, expectedErrors)
20153
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
20161
CompilationUtils
.AssertTheseDiagnostics(compilation1, <errors></errors>)
20163
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40(
20182
CompilationUtils
.AssertTheseDiagnostics(compilation2, expectedErrors)
20187
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
20200
CompilationUtils
.AssertTheseDiagnostics(compilation1, <errors></errors>)
20202
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40(
20216
CompilationUtils
.AssertTheseDiagnostics(compilation2,
20237
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
20249
CompilationUtils
.AssertTheseDiagnostics(compilation1, <errors></errors>)
20251
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40(
20268
CompilationUtils
.AssertTheseDiagnostics(compilation2, expectedErrors)
20273
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
20310
CompilationUtils
.AssertTheseDiagnostics(compilation1, <errors></errors>)
20312
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
20369
CompilationUtils
.AssertTheseDiagnostics(compilation2, expectedErrors)
20374
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
20388
CompilationUtils
.AssertTheseDiagnostics(compilation1, <errors></errors>)
20390
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40(
20412
CompilationUtils
.AssertTheseDiagnostics(compilation2, expectedErrors)
20417
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
20429
CompilationUtils
.AssertTheseDiagnostics(compilation1, <errors></errors>)
20431
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40(
20451
CompilationUtils
.AssertTheseDiagnostics(compilation2, expectedErrors)
20456
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
20466
CompilationUtils
.AssertTheseDiagnostics(compilation1, <errors></errors>)
20468
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40(
20486
CompilationUtils
.AssertTheseDiagnostics(compilation2, expectedErrors)
20492
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(
20519
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
20525
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
20540
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
20547
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
20580
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
20586
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
20604
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
20610
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
20641
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
20646
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
20661
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
20730
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
20756
CompilationUtils
.AssertTheseDiagnostics(diagnostics,
20764
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
20794
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
20799
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
20838
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
20843
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
20878
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
20884
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
20901
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
20903
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40(
20920
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation2, expectedErrors2)
20927
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
20950
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
20952
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40(
20975
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation2, expectedErrors2)
20981
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
21024
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
21040
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation,
21051
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
21067
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation,
21077
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
21095
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation,
21106
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
21124
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation,
21135
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
21151
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation,
21162
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
21178
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation,
21189
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
21210
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation,
21223
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
21246
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation,
21262
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
21285
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation,
21296
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
21397
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation,
21417
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
21433
CompilationUtils
.AssertNoErrors(compilation)
21439
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
21465
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
21491
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
21517
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
21542
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
21586
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
21591
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
21683
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
21689
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
21713
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
21721
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
21739
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation,
21758
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
21827
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
21836
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
21904
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
21913
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
21949
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
21958
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
21971
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation,
21993
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
22008
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation,
22024
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
22065
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
22070
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
22147
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
22152
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
22220
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
22225
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
22328
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
22335
Dim compilation =
CompilationUtils
.CreateCompilation(
22369
Dim compilation =
CompilationUtils
.CreateCompilation(
22406
Dim compilation =
CompilationUtils
.CreateCompilation(
22442
Dim compilation =
CompilationUtils
.CreateCompilation(
22476
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
22523
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
22581
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
22586
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
22688
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation, expectedErrors)
22693
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
22749
CompilationUtils
.AssertTheseDiagnostics(compilation, expectedErrors)
22754
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
22775
CompilationUtils
.AssertTheseDiagnostics(compilation,
22791
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
22808
CompilationUtils
.AssertTheseDiagnostics(compilation,
22821
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
22837
CompilationUtils
.AssertTheseDiagnostics(compilation,
22856
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
22873
CompilationUtils
.AssertTheseDiagnostics(compilation,
22886
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
22903
CompilationUtils
.AssertTheseDiagnostics(compilation,
22917
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
22968
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
23055
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
23102
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
23182
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
23202
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
23233
CompilationUtils
.AssertTheseDiagnostics(compilation,
23252
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
23263
CompilationUtils
.AssertTheseDiagnostics(compilation,
23275
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
23300
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors><![CDATA[
23325
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
23347
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors><![CDATA[
23375
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
23388
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
23402
CompilationUtils
.AssertTheseDiagnostics(compilation2, <errors><![CDATA[
23417
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
23440
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
23471
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
23510
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
23520
Dim compilation2 =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(
23541
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
23567
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
23609
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
23615
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
23640
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
23690
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
23709
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
23715
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
23731
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
23737
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
23761
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
23767
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
23791
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
23797
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
23832
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
23837
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
23889
CompilationUtils
.AssertTheseDeclarationDiagnostics(compilation1, expectedErrors1)
23895
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
23919
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
24095
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors><![CDATA[
24163
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors><![CDATA[
24251
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors><![CDATA[
24331
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors><![CDATA[
24376
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors><![CDATA[
24398
CompilationUtils
.AssertTheseDiagnostics(compilation, <errors><![CDATA[
24458
CompilationUtils
.AssertTheseDiagnostics(userCompilation, <errors><![CDATA[
24521
CompilationUtils
.AssertTheseDiagnostics(userCompilation, <errors><![CDATA[
24612
CompilationUtils
.AssertTheseDiagnostics(userCompilation, <errors><![CDATA[
SymbolsTests\UnboundGenericType.vb (7)
21
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
249
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
294
Dim compilation =
CompilationUtils
.CreateCompilation(
339
Dim compilation =
CompilationUtils
.CreateCompilation(
393
Dim compilation =
CompilationUtils
.CreateCompilation(
466
Dim compilation =
CompilationUtils
.CreateCompilation(
546
Dim compilation =
CompilationUtils
.CreateCompilation(
SymbolsTests\WithStatementSymbolsTests.vb (3)
273
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndReferences(text, {SystemRef, SystemCoreRef, MsvbRef})
275
CompilationUtils
.AssertNoErrors(compilation)
277
CompilationUtils
.AssertTheseDiagnostics(compilation, errors)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (36)
Parser\ParseErrorTests.vb (2)
1527
Dim compilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
1544
CompilationUtils
.AssertTheseDiagnostics(compilation1, expectedErrors1)
Parser\ParserRegressionTests.vb (2)
939
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40(
955
CompilationUtils
.AssertTheseDiagnostics(compilation,
Parser\ParseStatements.vb (27)
4143
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
4167
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
4170
CompilationUtils
.AssertNoErrors(compilation)
4196
Dim Compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
4197
CompilationUtils
.AssertTheseDiagnostics(Compilation, <expected>
4226
Dim Compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, TestOptions.ReleaseExe)
4227
CompilationUtils
.AssertTheseDiagnostics(Compilation, <expected>
8561
CompilationUtils
.AssertTheseDiagnostics(compilation,
8615
CompilationUtils
.AssertTheseDiagnostics(compilation,
8663
CompilationUtils
.AssertTheseDiagnostics(compilation,
8708
CompilationUtils
.AssertTheseDiagnostics(compilation,
8752
CompilationUtils
.AssertTheseDiagnostics(compilation,
8793
CompilationUtils
.AssertTheseDiagnostics(compilation,
8878
CompilationUtils
.AssertTheseDiagnostics(compilation,
8927
CompilationUtils
.AssertTheseDiagnostics(compilation,
8970
CompilationUtils
.AssertTheseDiagnostics(compilation,
9034
CompilationUtils
.AssertTheseDiagnostics(compilation,
9083
CompilationUtils
.AssertTheseDiagnostics(compilation,
9143
CompilationUtils
.AssertTheseDiagnostics(compilation,
9175
CompilationUtils
.AssertTheseDiagnostics(compilation,
9205
CompilationUtils
.AssertTheseDiagnostics(compilation,
9235
CompilationUtils
.AssertTheseDiagnostics(compilation,
9267
CompilationUtils
.AssertTheseDiagnostics(compilation,
9302
CompilationUtils
.AssertTheseDiagnostics(compilation,
9334
CompilationUtils
.AssertTheseDiagnostics(compilation,
9357
CompilationUtils
.AssertTheseDiagnostics(compilation,
9383
CompilationUtils
.AssertTheseDiagnostics(compilation,
TestSyntaxNodes.vb (5)
2983
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
3150
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
3200
Dim compilation =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef)
3305
Dim c =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(
3534
Dim POcompilation1 =
CompilationUtils
.CreateCompilationWithMscorlib40(
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (18)
BasicTestBase.vb (3)
783
Dim node As SyntaxNode =
CompilationUtils
.FindBindingText(Of TSyntaxNode)(compilation, fileName, which, prefixMatch:=True)
825
Dim syntaxNode As SyntaxNode =
CompilationUtils
.FindBindingText(Of TSyntaxNode)(compilation, tree.FilePath, which, prefixMatch:=True)
917
Dim node As SyntaxNode =
CompilationUtils
.FindBindingText(Of TSyntaxNode)(compilation, fileName, which, prefixMatch:=True)
CompilationTestUtils.vb (10)
599
Dim node As TSyntax =
CompilationUtils
.FindBindingText(Of TSyntax)(compilation, fileName, which)
604
Dim node =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, fileName, which)
1074
Dim tree =
CompilationUtils
.GetTree(compilation, treeName)
1075
Dim node =
CompilationUtils
.FindTokenFromText(tree, stringInDecl).Parent
1088
Dim tree =
CompilationUtils
.GetTree(compilation, treeName)
1089
Dim node =
CompilationUtils
.FindTokenFromText(tree, stringInDecl).Parent
1102
Dim tree =
CompilationUtils
.GetTree(compilation, treeName)
1103
Dim node =
CompilationUtils
.FindTokenFromText(tree, stringInDecl).Parent
1116
Dim tree =
CompilationUtils
.GetTree(compilation, treeName)
1161
Dim tree =
CompilationUtils
.GetTree(compilation, treeName)
SemanticModelTestBase.vb (5)
16
Dim tree =
CompilationUtils
.GetTree(compilation, treeName)
17
Dim node = DirectCast(
CompilationUtils
.FindTokenFromText(tree, textToFind).Parent, VisualBasicSyntaxNode)
22
Dim tree =
CompilationUtils
.GetTree(compilation, treeName)
95
Dim node As IdentifierNameSyntax =
CompilationUtils
.FindBindingText(Of IdentifierNameSyntax)(compilation, fileName, which)
102
Dim node As SyntaxNode =
CompilationUtils
.FindBindingText(Of StmtSyntax)(compilation, fileName, which)
Roslyn.Compilers.VisualBasic.IOperation.UnitTests (11)
IOperation\IOperationTests.vb (4)
51
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
176
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
355
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source)
866
Dim expr =
CompilationUtils
.FindBindingText(Of MemberAccessExpressionSyntax)(comp, tree.FilePath)
IOperation\IOperationTests_IConditionalAccessExpression.vb (4)
719
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, Net451XmlReferences)
824
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, Net451XmlReferences)
931
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, Net451XmlReferences)
1096
Dim comp =
CompilationUtils
.CreateCompilationWithMscorlib40AndVBRuntime(source, Net451XmlReferences)
IOperation\IOperationTests_IUsingStatement.vb (3)
39
CompilationUtils
.AssertNoDiagnostics(comp)
74
CompilationUtils
.AssertTheseDiagnostics(comp,
895
CompilationUtils
.AssertNoDiagnostics(comp)