50 references to WithEmbedVbCoreRuntime
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (1)
CommandLineTests.vb (1)
5167
opt = opt.
WithEmbedVbCoreRuntime
(True)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (39)
Attributes\AttributeTests_WellKnownAttributes.vb (1)
2454
options:=TestOptions.ReleaseDll.
WithEmbedVbCoreRuntime
(True))
CodeGen\CodeGenSyncLock.vb (2)
1142
CompileAndVerify(source, options:=TestOptions.ReleaseExe.
WithEmbedVbCoreRuntime
(True)).VerifyIL("Module1.Main",
1188
CompileAndVerify(source, options:=TestOptions.ReleaseExe.
WithEmbedVbCoreRuntime
(False)).VerifyIL("Module1.Main",
CodeGen\CodeGenUnstructuredErrorHandling.vb (1)
1405
options:=TestOptions.ReleaseDll.
WithEmbedVbCoreRuntime
(True)).VerifyDiagnostics(Diagnostic(ERRID.ERR_NameNotDeclared1, "Err").WithArguments("Err"),
CodeGen\CodeGenVBCore.vb (27)
34
options:=TestOptions.ReleaseDll.
WithEmbedVbCoreRuntime
(True))
40
options:=TestOptions.ReleaseDll.
WithEmbedVbCoreRuntime
(True))
269
options:=TestOptions.ReleaseDll.
WithEmbedVbCoreRuntime
(True))
477
options:=TestOptions.DebugExe.
WithEmbedVbCoreRuntime
(True).WithMetadataImportOptions(MetadataImportOptions.Internal))
2235
options:=TestOptions.ReleaseDll.
WithEmbedVbCoreRuntime
(True))
2313
options:=TestOptions.ReleaseDll.
WithEmbedVbCoreRuntime
(True))
2364
options:=TestOptions.ReleaseDll.
WithEmbedVbCoreRuntime
(True))
2415
options:=TestOptions.ReleaseDll.
WithEmbedVbCoreRuntime
(True))
2458
options:=TestOptions.ReleaseDll.
WithEmbedVbCoreRuntime
(True))
2515
options:=TestOptions.ReleaseDll.
WithEmbedVbCoreRuntime
(False))
2524
Dim withVbCore As VisualBasicCompilation = withoutVbCore.WithOptions(withoutVbCore.Options.
WithEmbedVbCoreRuntime
(True))
2527
Dim withoutVbCore2 As VisualBasicCompilation = withVbCore.WithOptions(withVbCore.Options.
WithEmbedVbCoreRuntime
(False))
2535
Dim withVbCore2 As VisualBasicCompilation = withoutVbCore.WithOptions(withoutVbCore2.Options.
WithEmbedVbCoreRuntime
(True))
2557
Dim compilation = CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.DebugExe.
WithEmbedVbCoreRuntime
(True))
2604
options:=TestOptions.ReleaseDll.
WithEmbedVbCoreRuntime
(True))
2630
options:=TestOptions.ReleaseDll.
WithEmbedVbCoreRuntime
(True))
2656
options:=TestOptions.ReleaseDll.
WithEmbedVbCoreRuntime
(True))
2682
options:=TestOptions.ReleaseDll.
WithEmbedVbCoreRuntime
(True))
2714
options:=TestOptions.ReleaseDll.
WithEmbedVbCoreRuntime
(True))
2759
options:=TestOptions.ReleaseDll.
WithEmbedVbCoreRuntime
(True))
2848
options:=TestOptions.ReleaseDll.
WithEmbedVbCoreRuntime
(True))
2912
options:=TestOptions.ReleaseDll.
WithEmbedVbCoreRuntime
(True))
2938
options:=TestOptions.ReleaseDll.
WithEmbedVbCoreRuntime
(False))
2981
options:=TestOptions.ReleaseDll.
WithEmbedVbCoreRuntime
(False))
3021
options:=TestOptions.ReleaseDll.
WithEmbedVbCoreRuntime
(False))
3120
options:=TestOptions.ReleaseExe.
WithEmbedVbCoreRuntime
(True)).
3304
WithEmbedVbCoreRuntime
(True)
ErrorHandling.vb (6)
470
options:=TestOptions.ReleaseDll.
WithEmbedVbCoreRuntime
(True))
504
options:=TestOptions.ReleaseDll.
WithEmbedVbCoreRuntime
(True))
529
options:=TestOptions.ReleaseDll.
WithEmbedVbCoreRuntime
(True))
552
options:=TestOptions.ReleaseDll.
WithEmbedVbCoreRuntime
(True))
577
options:=TestOptions.ReleaseDll.
WithEmbedVbCoreRuntime
(True))
597
options:=TestOptions.ReleaseDll.
WithEmbedVbCoreRuntime
(True))
PDB\PDBTests.vb (2)
3752
Dim compilation = CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.DebugDll.
WithEmbedVbCoreRuntime
(True))
4484
Dim c = CreateCompilationWithMscorlib40AndVBRuntimeAndReferences(source, {SystemCoreRef}, options:=TestOptions.DebugDll.
WithEmbedVbCoreRuntime
(True))
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (7)
Binding\BindingErrorTests.vb (1)
24213
options:=TestOptions.ReleaseDll.
WithEmbedVbCoreRuntime
(True)).VerifyDiagnostics(Diagnostic(ERRID.ERR_TypeClashesWithVbCoreType4, "HideModuleNameAttribute").WithArguments("class", "HideModuleNameAttribute", "class", "HideModuleNameAttribute"),
Compilation\CompilationAPITests.vb (2)
2691
</compilation>, options:=TestOptions.ReleaseExe.
WithEmbedVbCoreRuntime
(True), references:={SystemRef})
2714
</compilation>, options:=TestOptions.ReleaseExe.
WithEmbedVbCoreRuntime
(True))
Compilation\SemanticModelAPITests.vb (2)
408
</compilation>, options:=TestOptions.ReleaseExe.
WithEmbedVbCoreRuntime
(True))
1215
</compilation>, options:=TestOptions.ReleaseExe.
WithEmbedVbCoreRuntime
(True))
Compilation\VisualBasicCompilationOptionsTests.vb (1)
105
TestProperty(Function(old, value) old.
WithEmbedVbCoreRuntime
(value), Function(opt) opt.EmbedVbCoreRuntime, True)
Semantics\MethodCalls.vb (1)
4778
compilation = CreateCompilationWithMscorlib40AndReferences(source, {SystemRef}, TestOptions.ReleaseExe.
WithEmbedVbCoreRuntime
(True))
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (2)
SymbolsTests\WellKnownTypeValidationTests.vb (2)
579
comp = CreateEmptyCompilationWithReferences(<compilation/>, refs, TestOptions.ReleaseDll.
WithEmbedVbCoreRuntime
(True))
796
comp = CreateEmptyCompilationWithReferences(<compilation/>, refs, TestOptions.ReleaseDll.
WithEmbedVbCoreRuntime
(True))
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
ProjectSystemShim\VisualBasicProject.OptionsProcessor.vb (1)
83
.
WithEmbedVbCoreRuntime
(compilerOptions.vbRuntimeKind = VBRuntimeKind.EmbeddedRuntime) _