434 references to CreateEmptyCompilationWithReferences
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (3)
SymbolId\SymbolKeyMetadataVsSourceTests.vb (3)
235
Dim comp20 =
CreateEmptyCompilationWithReferences
(src1, {TestMetadata.Net40.mscorlib}, TestOptions.ReleaseDll)
309
Dim comp20 =
CreateEmptyCompilationWithReferences
(src1, {TestMetadata.Net40.mscorlib}, TestOptions.ReleaseDll)
385
Dim comp20 =
CreateEmptyCompilationWithReferences
(src1, {TestMetadata.Net40.mscorlib}, TestOptions.ReleaseDll)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (155)
Attributes\AssemblyAttributes.vb (6)
884
compilation =
CreateEmptyCompilationWithReferences
(
915
compilation =
CreateEmptyCompilationWithReferences
(
949
compilation =
CreateEmptyCompilationWithReferences
(
1391
Dim netmoduleCompilation =
CreateEmptyCompilationWithReferences
(netmoduleSource, references:={MinCorlibRef}, options:=TestOptions.ReleaseModule)
1408
Dim consoleappCompilation =
CreateEmptyCompilationWithReferences
(consoleappSource, {MinCorlibRef, netModuleWithAssemblyAttributes.GetReference()})
1440
consoleappCompilation =
CreateEmptyCompilationWithReferences
(consoleappSource, {MinCorlibRef, netModuleWithAssemblyAttributes.GetReference()}, TestOptions.ReleaseModule)
Attributes\AttributeTests_ObsoleteAttribute.vb (7)
2519
Dim compilation1 =
CreateEmptyCompilationWithReferences
(source1, WinRtRefs)
2564
Dim compilation2 =
CreateEmptyCompilationWithReferences
(source2, WinRtRefs.Concat(New VisualBasicCompilationReference(compilation1)))
2585
compilation2 =
CreateEmptyCompilationWithReferences
(source2, WinRtRefs.Concat(compilation1.EmitToImageReference()))
2802
Dim compilation1 =
CreateEmptyCompilationWithReferences
(source1, WinRtRefs)
2846
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0, WinRtRefs, TestOptions.ReleaseDll)
2864
Dim compilation1 =
CreateEmptyCompilationWithReferences
(source1, WinRtRefs.Append(New VisualBasicCompilationReference(compilation0)))
2876
Dim compilation2 =
CreateEmptyCompilationWithReferences
(source1, WinRtRefs.Append(compilation0.EmitToImageReference()))
Attributes\AttributeTests_WellKnownAttributes.vb (1)
2452
Dim c = CompilationUtils.
CreateEmptyCompilationWithReferences
(source,
Attributes\InternalsVisibleToAndStrongNameTests.vb (8)
1320
Dim other =
CreateEmptyCompilationWithReferences
(
1710
Dim other As VisualBasicCompilation =
CreateEmptyCompilationWithReferences
(
1733
Dim other As VisualBasicCompilation =
CreateEmptyCompilationWithReferences
(
1765
Dim other As VisualBasicCompilation =
CreateEmptyCompilationWithReferences
(
1802
Dim other As VisualBasicCompilation =
CreateEmptyCompilationWithReferences
(
1834
Dim other As VisualBasicCompilation =
CreateEmptyCompilationWithReferences
(
1856
Dim other As VisualBasicCompilation =
CreateEmptyCompilationWithReferences
(
1888
Dim other As VisualBasicCompilation =
CreateEmptyCompilationWithReferences
(
CodeGen\CodeGenAsyncTests.vb (13)
41
Dim compilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(source, references:=LatestVbReferences)
2416
Dim compilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(
8538
Dim comp =
CreateEmptyCompilationWithReferences
(source, {Net40.mscorlib}, TestOptions.ReleaseDll) ' NOTE: 4.0, Not 4.5, so it's missing the async helpers.
8574
Dim comp =
CreateEmptyCompilationWithReferences
(source, {Net40.mscorlib}, TestOptions.ReleaseDll) ' NOTE: 4.0, Not 4.5, so it's missing the async helpers.
8611
Dim comp =
CreateEmptyCompilationWithReferences
(source, {Net40.mscorlib}, TestOptions.ReleaseDll) ' NOTE: 4.0, Not 4.5, so it's missing the async helpers.
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 (1)
53
CompilationUtils.
CreateEmptyCompilationWithReferences
(
CodeGen\CodeGenFieldInitTests.vb (2)
481
Dim compilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(
508
Dim compilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(
CodeGen\CodeGenIterators.vb (1)
1582
Dim comp =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626}, New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
CodeGen\CodeGenSelectCase.vb (1)
4677
CompilationUtils.
CreateEmptyCompilationWithReferences
(
CodeGen\CodeGenTests.vb (4)
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\CodeGenUnstructuredErrorHandling.vb (3)
1183
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
1239
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
1403
Dim compilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(source,
CodeGen\CodeGenVBCore.vb (11)
2216
Dim other As VisualBasicCompilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(
2239
Dim c As VisualBasicCompilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(
2292
Dim other As VisualBasicCompilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(
2346
Dim other As VisualBasicCompilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(
2397
Dim other As VisualBasicCompilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(
2450
Dim other As VisualBasicCompilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(
2500
Dim withoutVbCore As VisualBasicCompilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(
2892
Dim compilation As VisualBasicCompilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(
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\CodeGenWinMdEvents.vb (6)
535
Dim comp1 =
CreateEmptyCompilationWithReferences
(source1, WinRtRefs, options:=TestOptions.ReleaseWinMD)
539
Dim comp2 =
CreateEmptyCompilationWithReferences
(source2, WinRtRefs.Concat({New VisualBasicCompilationReference(comp1), serializationRef, MsvbRef, SystemXmlRef}), options:=TestOptions.ReleaseExe)
603
Dim comp =
CreateEmptyCompilationWithReferences
(source, WinRtRefs, options:=TestOptions.ReleaseWinMD)
925
Dim comp =
CreateEmptyCompilationWithReferences
(source, WinRtRefs, options:=TestOptions.DebugWinMD)
972
Dim comp =
CreateEmptyCompilationWithReferences
(source, WinRtRefs, options:=TestOptions.ReleaseWinMD)
1089
Dim comp =
CreateEmptyCompilationWithReferences
(source, WinRtRefs, options:=TestOptions.ReleaseWinMD)
Emit\CompilationEmitTests.vb (36)
2059
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {TestMetadata.Net20.mscorlib}, Nothing)
3859
Dim refCompilation =
CreateEmptyCompilationWithReferences
(refSource, New MetadataReference() {}, TestOptions.ReleaseDll.WithPlatform(Platform.Itanium))
3874
Dim useCompilation =
CreateEmptyCompilationWithReferences
(useSource,
3880
useCompilation =
CreateEmptyCompilationWithReferences
(useSource,
3886
useCompilation =
CreateEmptyCompilationWithReferences
(useSource,
3892
useCompilation =
CreateEmptyCompilationWithReferences
(useSource,
3898
useCompilation =
CreateEmptyCompilationWithReferences
(useSource,
3907
useCompilation =
CreateEmptyCompilationWithReferences
(useSource,
3916
useCompilation =
CreateEmptyCompilationWithReferences
(useSource,
3925
useCompilation =
CreateEmptyCompilationWithReferences
(useSource,
3951
Dim refCompilation =
CreateEmptyCompilationWithReferences
(refSource, New MetadataReference() {}, TestOptions.ReleaseModule.WithPlatform(Platform.Itanium))
3965
Dim useCompilation =
CreateEmptyCompilationWithReferences
(useSource,
3974
useCompilation =
CreateEmptyCompilationWithReferences
(useSource,
3983
useCompilation =
CreateEmptyCompilationWithReferences
(useSource,
4002
Dim refCompilation =
CreateEmptyCompilationWithReferences
(refSource, New MetadataReference() {}, TestOptions.ReleaseDll.WithPlatform(Platform.X86))
4017
Dim useCompilation =
CreateEmptyCompilationWithReferences
(useSource,
4026
useCompilation =
CreateEmptyCompilationWithReferences
(useSource,
4035
useCompilation =
CreateEmptyCompilationWithReferences
(useSource,
4044
useCompilation =
CreateEmptyCompilationWithReferences
(useSource,
4064
Dim refCompilation =
CreateEmptyCompilationWithReferences
(refSource, New MetadataReference() {}, TestOptions.ReleaseModule.WithPlatform(Platform.X86))
4078
Dim useCompilation =
CreateEmptyCompilationWithReferences
(useSource,
4098
Dim refCompilation =
CreateEmptyCompilationWithReferences
(refSource, New MetadataReference() {}, TestOptions.ReleaseDll.WithPlatform(Platform.AnyCpu))
4113
Dim useCompilation =
CreateEmptyCompilationWithReferences
(useSource,
4121
useCompilation =
CreateEmptyCompilationWithReferences
(useSource,
4129
useCompilation =
CreateEmptyCompilationWithReferences
(useSource,
4137
useCompilation =
CreateEmptyCompilationWithReferences
(useSource,
4156
Dim refCompilation =
CreateEmptyCompilationWithReferences
(refSource, New MetadataReference() {}, TestOptions.ReleaseModule.WithPlatform(Platform.AnyCpu))
4170
Dim useCompilation =
CreateEmptyCompilationWithReferences
(useSource,
4189
Dim refCompilation =
CreateEmptyCompilationWithReferences
(refSource, New MetadataReference() {}, TestOptions.ReleaseDll.WithPlatform(Platform.Itanium))
4204
Dim useCompilation =
CreateEmptyCompilationWithReferences
(useSource,
4212
useCompilation =
CreateEmptyCompilationWithReferences
(useSource,
4220
useCompilation =
CreateEmptyCompilationWithReferences
(useSource,
4228
useCompilation =
CreateEmptyCompilationWithReferences
(useSource,
4247
Dim refCompilation =
CreateEmptyCompilationWithReferences
(refSource, New MetadataReference() {}, TestOptions.ReleaseModule.WithPlatform(Platform.Itanium))
4261
Dim useCompilation =
CreateEmptyCompilationWithReferences
(useSource,
4278
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {TestReferences.SymbolsTests.netModule.x64COFF}, TestOptions.DebugDll)
Emit\DynamicAnalysis\DynamicInstrumentationTests.vb (1)
2811
Return
CreateEmptyCompilationWithReferences
(source, references:=New MetadataReference() {}, options:=TestOptions.ReleaseExe.WithDeterministic(True))
Emit\EditAndContinue\EditAndContinueClosureTests.vb (1)
43
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0, references:=LatestVbReferences, options:=TestOptions.DebugDll)
Emit\EditAndContinue\EditAndContinueStateMachineTests.vb (19)
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)
7414
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0, references:=LatestVbReferences, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All))
8036
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0, references:=LatestVbReferences, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All))
Emit\EditAndContinue\LocalSlotMappingTests.vb (5)
182
Dim debug =
CreateEmptyCompilationWithReferences
(source, references:=LatestVbReferences, options:=TestOptions.DebugDll)
183
Dim release =
CreateEmptyCompilationWithReferences
(source, references:=LatestVbReferences, options:=TestOptions.ReleaseDll)
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\EmitMetadata.vb (1)
199
Dim comp = CompilationUtils.
CreateEmptyCompilationWithReferences
(
Emit\NoPiaEmbedTypes.vb (10)
694
Dim compilation0 =
CreateEmptyCompilationWithReferences
(sources0, references:={MscorlibRef_v20})
697
Dim compilation1 =
CreateEmptyCompilationWithReferences
(
702
compilation1 =
CreateEmptyCompilationWithReferences
(
737
Dim compilation0 =
CreateEmptyCompilationWithReferences
(sources0, references:={MscorlibRef_v20})
740
Dim compilation1 =
CreateEmptyCompilationWithReferences
(
746
compilation1 =
CreateEmptyCompilationWithReferences
(
1744
Dim compilation1 =
CreateEmptyCompilationWithReferences
(
1764
compilation1 =
CreateEmptyCompilationWithReferences
(
1863
Dim compilation1 =
CreateEmptyCompilationWithReferences
(
1868
compilation1 =
CreateEmptyCompilationWithReferences
(
ErrorHandling.vb (6)
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,
ExpressionTrees\CodeGenExprLambda.vb (1)
1802
CompilationUtils.
CreateEmptyCompilationWithReferences
(
PDB\PDBAsyncTests.vb (6)
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
(
744
Dim c =
CreateEmptyCompilationWithReferences
(source, references:=LatestVbReferences, options:=TestOptions.DebugDll)
PDB\PDBWinMdExpTests.vb (1)
159
CompilationUtils.
CreateEmptyCompilationWithReferences
(
XmlLiteralTests.vb (2)
4259
Dim comp =
CreateEmptyCompilationWithReferences
(
4292
Dim comp =
CreateEmptyCompilationWithReferences
(
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler.UnitTests (15)
ExpressionCompilerTests.vb (3)
1802
Dim comp =
CreateEmptyCompilationWithReferences
(
1838
Dim comp =
CreateEmptyCompilationWithReferences
(
3326
Dim comp =
CreateEmptyCompilationWithReferences
(
LocalsTests.vb (8)
1437
Dim comp =
CreateEmptyCompilationWithReferences
(
1528
Dim comp =
CreateEmptyCompilationWithReferences
(
1604
Dim comp =
CreateEmptyCompilationWithReferences
(
1663
Dim comp =
CreateEmptyCompilationWithReferences
(
2528
Dim comp =
CreateEmptyCompilationWithReferences
(
2587
Dim comp =
CreateEmptyCompilationWithReferences
(
2686
Dim comp =
CreateEmptyCompilationWithReferences
(
2741
Dim comp =
CreateEmptyCompilationWithReferences
(
ReferencedModulesTests.vb (4)
540
Dim compilationA =
CreateEmptyCompilationWithReferences
(
548
Dim moduleB =
CreateEmptyCompilationWithReferences
(
755
Dim compilation =
CreateEmptyCompilationWithReferences
(MakeSources(source), references:=runtimeReferences, options:=TestOptions.DebugDll)
763
compilation =
CreateEmptyCompilationWithReferences
(MakeSources(source), references:=contractReferences, options:=TestOptions.DebugDll)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (147)
Binding\BindingErrorTests.vb (11)
20101
Dim compilation1 = CompilationUtils.
CreateEmptyCompilationWithReferences
(
21518
Dim c = CompilationUtils.
CreateEmptyCompilationWithReferences
(
21643
Dim c = CompilationUtils.
CreateEmptyCompilationWithReferences
(
21827
Dim compilation1 = CompilationUtils.
CreateEmptyCompilationWithReferences
(
21859
Dim compilation1 = CompilationUtils.
CreateEmptyCompilationWithReferences
(
21892
Dim compilation1 = CompilationUtils.
CreateEmptyCompilationWithReferences
(
21997
Dim compilation1 = CompilationUtils.
CreateEmptyCompilationWithReferences
(
22019
Dim compilation1 = CompilationUtils.
CreateEmptyCompilationWithReferences
(
22051
Dim compilation1 = CompilationUtils.
CreateEmptyCompilationWithReferences
(
22077
Dim compilation1 = CompilationUtils.
CreateEmptyCompilationWithReferences
(
24211
Dim c = CompilationUtils.
CreateEmptyCompilationWithReferences
(source,
Binding\ForEachTests.vb (2)
3980
Dim compilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(source, ImmutableArray.Create(Of MetadataReference)().AsEnumerable)
4026
Dim compilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(source, ImmutableArray.Create(Of MetadataReference)().AsEnumerable)
Compilation\CompilationAPITests.vb (1)
2534
Dim compilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(
Compilation\ReferenceManagerTests.vb (1)
1170
Dim compilation =
CreateEmptyCompilationWithReferences
(
Compilation\SemanticModelLookupSymbolsAPITests.vb (1)
1071
Dim compilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(
Semantics\AsyncAwait.vb (83)
43
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
103
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
166
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
233
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
294
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
357
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
418
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
479
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
535
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
596
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
637
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
698
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
752
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
816
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
870
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
923
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
989
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
1047
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
1106
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
1165
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
1225
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
1285
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
1345
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
1404
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
1471
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
1530
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
1589
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
1648
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
1711
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
1773
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
1832
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
1892
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
1946
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
2007
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {TestMetadata.Net40.mscorlib, TestMetadata.Net40.MicrosoftVisualBasic}, TestOptions.ReleaseExe)
2044
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
2105
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
2167
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929})
2228
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929})
2288
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
2321
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
2383
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
2463
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
2558
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
2642
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
2835
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
2950
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
2981
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v20}, TestOptions.ReleaseExe)
3022
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
3306
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
3446
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
3511
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
3645
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
3744
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
3788
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
3830
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
3886
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
3991
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
4054
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
4178
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
4244
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
4294
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
4351
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
4437
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
4511
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
4547
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
4596
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
4674
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
4776
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
4851
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
4974
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
5035
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
5106
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
5182
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
5267
Dim compilation =
CreateEmptyCompilationWithReferences
(source, LatestVbReferences, TestOptions.ReleaseExe)
5317
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseDll)
5376
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseDll)
5433
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseDll)
5487
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseDll)
5503
Dim compilation =
CreateEmptyCompilationWithReferences
(source,
5565
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
5600
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626}, TestOptions.ReleaseDll)
5666
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.DebugExe)
5706
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.DebugExe)
Semantics\ConditionalAccessTests.vb (19)
1798
Dim compilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(compilationDef, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe, parseOptions:=TestOptions.ReleaseExe.ParseOptions)
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)
4492
Dim compilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(compilationDef, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe, parseOptions:=TestOptions.ReleaseExe.ParseOptions)
4648
Dim compilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(compilationDef, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe, parseOptions:=TestOptions.ReleaseExe.ParseOptions)
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)
5266
Dim compilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(compilationDef, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe, parseOptions:=TestOptions.ReleaseExe.ParseOptions)
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)
Semantics\FieldInitializerBindingTests.vb (1)
1400
Dim compilation =
CreateEmptyCompilationWithReferences
(vbSource, {MscorlibRef, MsvbRef, reference}, TestOptions.ReleaseDll)
Semantics\ForeachTest.vb (2)
1141
Dim comp =
CreateEmptyCompilationWithReferences
(
1181
Dim comp =
CreateEmptyCompilationWithReferences
(
Semantics\GetExtendedSemanticInfoTests.vb (3)
1975
Dim compilation =
CreateEmptyCompilationWithReferences
(
3058
Dim compilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(
3230
Dim compilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(
Semantics\GetSemanticInfoTests.vb (2)
3900
Dim compilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(
4030
Dim compilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(
Semantics\IReadOnlyListAndCollection.vb (2)
113
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
329
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929}, TestOptions.ReleaseExe)
Semantics\MethodCalls.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 (3)
90
Dim compilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(compilationDef, New MetadataReference() {})
268
Dim compilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(compilationDef, New MetadataReference() {})
361
Dim compilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(compilationDef, New MetadataReference() {})
Semantics\OptionalArgumentTests.vb (6)
1365
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef}, TestOptions.ReleaseExe)
1511
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef}, TestOptions.ReleaseExe)
1681
Dim attributeCompilation =
CreateEmptyCompilationWithReferences
(attributeSource, {MscorlibRef_v4_0_30316_17626}, TestOptions.ReleaseDll)
1684
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef, New VisualBasicCompilationReference(attributeCompilation)}, TestOptions.ReleaseExe)
1687
compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef, MetadataReference.CreateFromImage(attributeCompilation.EmitToArray())}, TestOptions.ReleaseExe)
1839
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef_v4_0_30316_17626, MsvbRef}, TestOptions.ReleaseExe)
Semantics\UseSiteErrorTests.vb (8)
528
Dim compilation1 = CompilationUtils.
CreateEmptyCompilationWithReferences
(
595
Dim compilation1 =
CreateEmptyCompilationWithReferences
(source1, options:=TestOptions.ReleaseDll, references:={MinCorlibRef})
613
Dim compilation2 =
CreateEmptyCompilationWithReferences
(source2, options:=TestOptions.ReleaseDll, references:={compilation1.EmitToImageReference(), MinCorlibRef})
624
Dim compilation3 =
CreateEmptyCompilationWithReferences
(source2, options:=TestOptions.ReleaseDll, references:={compilation1.ToMetadataReference(), MinCorlibRef})
635
Dim compilation4 =
CreateEmptyCompilationWithReferences
(source2, options:=TestOptions.ReleaseDll, references:={compilation1.EmitToImageReference()})
665
Dim compilation5 =
CreateEmptyCompilationWithReferences
(source2, options:=TestOptions.ReleaseDll, references:={compilation1.ToMetadataReference()})
677
Dim compilation6 =
CreateEmptyCompilationWithReferences
(source2, options:=TestOptions.ReleaseDll, references:={compilation1.EmitToImageReference(), MscorlibRef})
707
Dim compilation7 =
CreateEmptyCompilationWithReferences
(source2, options:=TestOptions.ReleaseDll, references:={compilation1.ToMetadataReference(), MscorlibRef})
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (106)
DocumentationComments\DocCommentTests.vb (3)
11827
Dim comp2 =
CreateEmptyCompilationWithReferences
(<source/>, {metadataRef})
12460
Dim compilation =
CreateEmptyCompilationWithReferences
(
12490
Dim compilation =
CreateEmptyCompilationWithReferences
(
SymbolsTests\AnonymousTypes\AnonymousTypesEmittedSymbolsTests.vb (1)
32
Dim compilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(source:=compilationDef, references:={})
SymbolsTests\AssemblyAndNamespaceTests.vb (3)
520
Dim comp =
CreateEmptyCompilationWithReferences
(source, {aliasedCorlib})
559
Dim libComp =
CreateEmptyCompilationWithReferences
([lib], {MscorlibRef_v4_0_30316_17626})
562
Dim comp =
CreateEmptyCompilationWithReferences
(source, {libRef, MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929})
SymbolsTests\CorLibrary\Choosing.vb (2)
51
Dim consumer = CompilationUtils.
CreateEmptyCompilationWithReferences
(
78
Dim consumer = CompilationUtils.
CreateEmptyCompilationWithReferences
(
SymbolsTests\GenericConstraintTests.vb (2)
4864
Dim compilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(
4894
Dim compilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(
SymbolsTests\Metadata\PE\LoadingAttributes.vb (3)
36
Dim comp1 =
CreateEmptyCompilationWithReferences
(text, references:={MscorlibRef_v20})
50
Dim comp2 =
CreateEmptyCompilationWithReferences
(text2, references:={MscorlibRef_v4_0_30316_17626, ref1})
56
Dim comp3 =
CreateEmptyCompilationWithReferences
(text2, references:={MscorlibRef_v4_0_30316_17626, comp1.ToMetadataReference()})
SymbolsTests\Metadata\PE\NoPiaLocalHideAndTypeSubstitutionTests.vb (7)
61
Dim localConsumer = CompilationUtils.
CreateEmptyCompilationWithReferences
(
123
Dim localConsumer = CompilationUtils.
CreateEmptyCompilationWithReferences
(compilationDef,
159
Dim localConsumer = CompilationUtils.
CreateEmptyCompilationWithReferences
(compilationDef,
189
Dim localConsumer =
CreateEmptyCompilationWithReferences
(localTypeSource, references:={TestReferences.SymbolsTests.NoPia.GeneralPia, TestReferences.SymbolsTests.NoPia.ExternalAsm1})
212
Dim localConsumer =
CreateEmptyCompilationWithReferences
(localTypeSource, references:={TestReferences.SymbolsTests.NoPia.GeneralPia, TestReferences.SymbolsTests.NoPia.ExternalAsm1})
238
Dim localConsumer = CompilationUtils.
CreateEmptyCompilationWithReferences
(compilationDef,
279
Dim localConsumer = CompilationUtils.
CreateEmptyCompilationWithReferences
(compilationDef2,
SymbolsTests\Metadata\WinMdEventTest.vb (23)
158
_eventLibRef =
CreateEmptyCompilationWithReferences
(
208
Dim dynamicCommonRef As MetadataReference =
CreateEmptyCompilationWithReferences
(
784
Dim comp =
CreateEmptyCompilationWithReferences
(
925
Dim comp =
CreateEmptyCompilationWithReferences
(source, WinRtRefs.Concat({ilRef}))
994
Dim comp =
CreateEmptyCompilationWithReferences
(source, WinRtRefs, New VisualBasicCompilationOptions(kind))
1029
Dim comp =
CreateEmptyCompilationWithReferences
(source, WinRtRefs.Concat({ilRef}), New VisualBasicCompilationOptions(kind))
1066
Dim comp =
CreateEmptyCompilationWithReferences
(source, WinRtRefs.Concat({ilRef}), TestOptions.ReleaseDll)
1096
Dim comp =
CreateEmptyCompilationWithReferences
(source, WinRtRefs.Concat({ilRef}), TestOptions.ReleaseDll)
1120
Dim comp =
CreateEmptyCompilationWithReferences
(source, WinRtRefs, TestOptions.ReleaseWinMD)
1151
Dim comp =
CreateEmptyCompilationWithReferences
(source, WinRtRefs, TestOptions.ReleaseWinMD)
1203
Dim comp =
CreateEmptyCompilationWithReferences
(source, WinRtRefs, TestOptions.ReleaseWinMD)
1247
Dim comp =
CreateEmptyCompilationWithReferences
(source, WinRtRefs, TestOptions.ReleaseWinMD)
1279
Dim comp =
CreateEmptyCompilationWithReferences
(source, WinRtRefs, TestOptions.ReleaseWinMD)
1311
Dim comp =
CreateEmptyCompilationWithReferences
(source, {TestMetadata.Net40.mscorlib}, TestOptions.ReleaseWinMD)
1353
Dim comp =
CreateEmptyCompilationWithReferences
(source, WinRtRefs, TestOptions.ReleaseWinMD)
1391
Dim comp =
CreateEmptyCompilationWithReferences
(source, {TestMetadata.Net40.mscorlib}, TestOptions.ReleaseWinMD)
1424
Dim comp =
CreateEmptyCompilationWithReferences
(source, {TestMetadata.Net40.mscorlib}, TestOptions.ReleaseWinMD)
1455
Dim comp =
CreateEmptyCompilationWithReferences
(source, WinRtRefs, TestOptions.ReleaseWinMD)
1513
Dim comp =
CreateEmptyCompilationWithReferences
(source, WinRtRefs, New VisualBasicCompilationOptions(kind))
1551
Dim comp =
CreateEmptyCompilationWithReferences
(source, WinRtRefs, options:=TestOptions.ReleaseWinMD)
1593
Dim comp =
CreateEmptyCompilationWithReferences
(source, WinRtRefs, TestOptions.ReleaseWinMD)
1687
Dim comp =
CreateEmptyCompilationWithReferences
(source, WinRtRefs, TestOptions.ReleaseWinMD)
1727
CreateEmptyCompilationWithReferences
(source, WinRtRefs, TestOptions.ReleaseWinMD).VerifyDiagnostics()
SymbolsTests\Retargeting\RetargetingCustomAttributes.vb (3)
77
Dim compilation1 =
CreateEmptyCompilationWithReferences
(source, {OldMsCorLib})
268
Dim c1 =
CreateEmptyCompilationWithReferences
(source1, {OldMsCorLib})
269
Dim c2 =
CreateEmptyCompilationWithReferences
(source2, {NewMsCorLib, New VisualBasicCompilationReference(c1)})
SymbolsTests\Retargeting\RetargetingTests.vb (2)
3171
Dim comp1 =
CreateEmptyCompilationWithReferences
(source1, {MscorlibRef_v20}, TestOptions.ReleaseDll)
3182
Dim comp2 =
CreateEmptyCompilationWithReferences
(source2, {MscorlibRef_v4_0_30316_17626, New VisualBasicCompilationReference(comp1)}, TestOptions.ReleaseDll)
SymbolsTests\Source\BaseClassTests.vb (14)
720
Dim compilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(
745
Dim compilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(
763
compilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(
787
Dim Comp = CompilationUtils.
CreateEmptyCompilationWithReferences
(
817
Dim Comp = CompilationUtils.
CreateEmptyCompilationWithReferences
(
837
Dim Comp2 = CompilationUtils.
CreateEmptyCompilationWithReferences
(
875
Dim Comp = CompilationUtils.
CreateEmptyCompilationWithReferences
(
897
Dim Comp2 = CompilationUtils.
CreateEmptyCompilationWithReferences
(
939
Dim Comp = CompilationUtils.
CreateEmptyCompilationWithReferences
(
971
Dim Comp2 = CompilationUtils.
CreateEmptyCompilationWithReferences
(
1002
Dim Comp = CompilationUtils.
CreateEmptyCompilationWithReferences
(
1031
Dim Comp2 = CompilationUtils.
CreateEmptyCompilationWithReferences
(
1068
Dim Comp = CompilationUtils.
CreateEmptyCompilationWithReferences
(
1100
Dim Comp2 = CompilationUtils.
CreateEmptyCompilationWithReferences
(
SymbolsTests\Source\EventTests.vb (2)
1848
Dim compilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(
1871
Dim compilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(
SymbolsTests\Source\ImplementsTests.vb (8)
3875
Dim compilation =
CreateEmptyCompilationWithReferences
(vbSource, {MscorlibRef, MsvbRef, reference}, TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All))
3959
Dim compilation =
CreateEmptyCompilationWithReferences
(vbSource, {MscorlibRef, MsvbRef, reference}, TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All))
4054
Dim compilation =
CreateEmptyCompilationWithReferences
(vbSource, {MscorlibRef, MsvbRef, reference}, TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All))
4112
Dim compilation =
CreateEmptyCompilationWithReferences
(vbSource, {MscorlibRef, MsvbRef, reference}, TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All))
4181
Dim compilation =
CreateEmptyCompilationWithReferences
(vbSource, {MscorlibRef, MsvbRef, reference}, TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All))
4250
Dim compilation =
CreateEmptyCompilationWithReferences
(vbSource, {MscorlibRef, MsvbRef, reference}, TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All))
4335
Dim compilation =
CreateEmptyCompilationWithReferences
(vbSource, {MscorlibRef, MsvbRef, reference}, TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All))
4400
Dim compilation =
CreateEmptyCompilationWithReferences
(vbSource, {MscorlibRef, MsvbRef, reference}, TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All))
SymbolsTests\Source\OverridesTests.vb (16)
2538
Dim compilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(
2755
Dim compilation =
CreateEmptyCompilationWithReferences
(vbSource, {MscorlibRef, MsvbRef, reference}, TestOptions.ReleaseExe)
3083
Dim compilation =
CreateEmptyCompilationWithReferences
(vbSource, {MscorlibRef, MsvbRef, reference}, TestOptions.ReleaseExe)
3185
Dim compilation =
CreateEmptyCompilationWithReferences
(vbSource, {MscorlibRef, MsvbRef, reference}, TestOptions.ReleaseExe)
3448
Dim compilation =
CreateEmptyCompilationWithReferences
(vbSource, {MscorlibRef, MsvbRef, reference}, TestOptions.ReleaseExe)
3562
Dim compilation =
CreateEmptyCompilationWithReferences
(vbSource, {MscorlibRef, MsvbRef, reference}, TestOptions.ReleaseExe)
3672
Dim compilation =
CreateEmptyCompilationWithReferences
(vbSource, {MscorlibRef, MsvbRef, reference}, TestOptions.ReleaseExe)
3781
Dim compilation =
CreateEmptyCompilationWithReferences
(vbSource, {MscorlibRef, MsvbRef, reference}, TestOptions.ReleaseExe)
3893
Dim compilation =
CreateEmptyCompilationWithReferences
(vbSource, {MscorlibRef, MsvbRef, reference}, TestOptions.ReleaseExe)
4003
Dim compilation =
CreateEmptyCompilationWithReferences
(vbSource, {MscorlibRef, MsvbRef, reference}, TestOptions.ReleaseExe)
4111
Dim compilation =
CreateEmptyCompilationWithReferences
(vbSource, {MscorlibRef, MsvbRef, reference}, TestOptions.ReleaseExe)
4782
Dim compilation =
CreateEmptyCompilationWithReferences
(vbSource, {MscorlibRef, MsvbRef, reference}, TestOptions.ReleaseExe)
5004
Dim compilation =
CreateEmptyCompilationWithReferences
(vbSource, {MscorlibRef, MsvbRef, reference}, TestOptions.ReleaseExe)
5165
Dim compilation =
CreateEmptyCompilationWithReferences
(vbSource, {MscorlibRef, MsvbRef, reference}, TestOptions.ReleaseExe)
5433
Dim compilation =
CreateEmptyCompilationWithReferences
(vbSource, {MscorlibRef, MsvbRef, reference}, TestOptions.ReleaseExe)
5970
Dim compilation =
CreateEmptyCompilationWithReferences
(vbSource, {MscorlibRef, MsvbRef, reference}, TestOptions.ReleaseExe)
SymbolsTests\Source\PropertyTests.vb (2)
7805
Dim compilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(
7831
Dim compilation = CompilationUtils.
CreateEmptyCompilationWithReferences
(
SymbolsTests\Source\StaticLocals.vb (1)
584
Dim compilation =
CreateEmptyCompilationWithReferences
(
SymbolsTests\SymbolErrorTests.vb (3)
8415
Dim Comp = CompilationUtils.
CreateEmptyCompilationWithReferences
(
8449
Dim Comp = CompilationUtils.
CreateEmptyCompilationWithReferences
(
8481
Dim Comp = CompilationUtils.
CreateEmptyCompilationWithReferences
(
SymbolsTests\WellKnownTypeValidationTests.vb (11)
354
Dim comp2 =
CreateEmptyCompilationWithReferences
(<compilation/>, {reference})
409
Dim publicLibRef =
CreateEmptyCompilationWithReferences
(WrapInCompilationXml(String.Format(libSourceTemplate, "Public")), {corlibRef}).EmitToImageReference()
410
Dim internalLibRef =
CreateEmptyCompilationWithReferences
(WrapInCompilationXml(String.Format(libSourceTemplate, "Friend")), {corlibRef}).EmitToImageReference()
434
Dim publicLibRef =
CreateEmptyCompilationWithReferences
(WrapInCompilationXml(String.Format(libSourceTemplate, "Public")), {corlibRef}).EmitToImageReference()
435
Dim internalLibRef =
CreateEmptyCompilationWithReferences
(WrapInCompilationXml(String.Format(libSourceTemplate, "Friend")), {corlibRef}).EmitToImageReference()
451
Dim comp =
CreateEmptyCompilationWithReferences
((<compilation/>), {MscorlibRef_v4_0_30316_17626})
469
Dim comp =
CreateEmptyCompilationWithReferences
((<compilation/>), {MscorlibRef_v4_0_30316_17626})
516
Dim comp =
CreateEmptyCompilationWithReferences
((<compilation/>), refs.Concat(MsvbRef_v4_0_30319_17929).ToArray())
579
comp =
CreateEmptyCompilationWithReferences
(<compilation/>, refs, TestOptions.ReleaseDll.WithEmbedVbCoreRuntime(True))
670
Dim comp =
CreateEmptyCompilationWithReferences
((<compilation/>), refs.Concat(MsvbRef_v4_0_30319_17929).ToArray())
796
comp =
CreateEmptyCompilationWithReferences
(<compilation/>, refs, TestOptions.ReleaseDll.WithEmbedVbCoreRuntime(True))
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (7)
BasicTestBase.vb (1)
383
Dim compilation =
CreateEmptyCompilationWithReferences
(source, {MscorlibRef, MsvbRef, reference}, options)
CompilationTestUtils.vb (6)
153
Return
CreateEmptyCompilationWithReferences
(source, WinRtRefs)
160
Return
CreateEmptyCompilationWithReferences
(source, {CType(Net40.mscorlib, MetadataReference)}.Concat(references), options, parseOptions:=parseOptions)
176
Return
CreateEmptyCompilationWithReferences
(source, {Net40.mscorlib}, New VisualBasicCompilationOptions(outputKind), parseOptions:=parseOptions)
199
Return
CreateEmptyCompilationWithReferences
(source, references, options, parseOptions:=parseOptions, assemblyName:=assemblyName)
243
Return
CreateEmptyCompilationWithReferences
(source, allReferences, options, parseOptions:=parseOptions)
263
Return
CreateEmptyCompilationWithReferences
(source, allReferences, options, parseOptions:=parseOptions)
Roslyn.Compilers.VisualBasic.IOperation.UnitTests (1)
IOperation\IOperationTests_IParameterReferenceExpression.vb (1)
952
Dim compilation1 =
CreateEmptyCompilationWithReferences
(