41 references to CreateEmptyCompilationWithReferences
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (36)
Emit\EditAndContinue\EditAndContinueClosureTests.vb (13)
95
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All))
146
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All))
198
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All))
251
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All))
330
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All))
414
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All))
515
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All))
611
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All))
680
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, {MscorlibRef, SystemCoreRef}, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All))
753
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, {MscorlibRef, SystemCoreRef}, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All))
817
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, {MscorlibRef, SystemCoreRef}, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All))
883
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, {MscorlibRef, SystemCoreRef}, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All))
1321
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, {MscorlibRef, SystemCoreRef}, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All))
Emit\EditAndContinue\EditAndContinueStateMachineTests.vb (20)
1515
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll)
1963
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll)
3022
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll)
3191
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll)
3578
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll)
3683
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll)
3793
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll)
3899
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll)
4007
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All))
4200
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll)
4461
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll)
4954
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll)
5456
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll)
5895
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll)
6351
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll)
6504
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll)
6662
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll)
6816
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll)
7049
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All))
7549
Dim compilation0 =
CreateEmptyCompilationWithReferences
(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All))
Emit\EmitErrorTests.vb (1)
598
Dim compilation =
CreateEmptyCompilationWithReferences
(VisualBasicSyntaxTree.ParseText(source.ToString()), {MscorlibRef, SystemRef, MsvbRef})
XmlLiteralTests.vb (2)
4973
CreateEmptyCompilationWithReferences
(tree, refs, TestOptions.DebugDll),
4982
CreateEmptyCompilationWithReferences
(tree, refs, TestOptions.DebugDll.WithRootNamespace("Root")),
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler.UnitTests (5)
ExpressionCompilerTests.vb (3)
1878
Dim ref1 =
CreateEmptyCompilationWithReferences
(tree1, xmlReferences, moduleOptions, assemblyName:="Module1").EmitToImageReference()
1879
Dim ref2 =
CreateEmptyCompilationWithReferences
(tree2, xmlReferences, moduleOptions, assemblyName:="Module2").EmitToImageReference()
1883
Dim comp =
CreateEmptyCompilationWithReferences
(tree, compReferences, TestOptions.DebugDll, assemblyName:="Test")
ImportDebugInfoTests.vb (2)
610
Dim comp1 =
CreateEmptyCompilationWithReferences
(VisualBasicSyntaxTree.ParseText(source1), {MscorlibRef_v20}, TestOptions.DebugDll)
613
Dim comp2 =
CreateEmptyCompilationWithReferences
(VisualBasicSyntaxTree.ParseText(source2), {MscorlibRef_v4_0_30316_17626, module1.GetReference()}, TestOptions.DebugDll)