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