1516 references to OutputKind
Aspire.Hosting.Analyzers.Tests (1)
ConfigurationSchemaGenerator.Tests (1)
IdeCoreBenchmarks (1)
InteractiveHost.UnitTests (1)
Microsoft.Analyzers.Extra (1)
Microsoft.Analyzers.Extra.Tests (3)
Microsoft.Analyzers.Local.Tests (3)
Microsoft.AspNetCore.Analyzer.Testing (4)
Microsoft.AspNetCore.Analyzers.Test (3)
Microsoft.AspNetCore.App.Analyzers.Test (7)
Microsoft.AspNetCore.Http.Extensions.Tests (1)
Microsoft.AspNetCore.Http.Microbenchmarks (1)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (1)
Microsoft.CodeAnalysis (77)
Microsoft.CodeAnalysis.CSharp (49)
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (57)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (45)
CommandLineTests.cs (45)
1314Assert.Equal(OutputKind.ConsoleApplication, parsedArgs.CompilationOptions.OutputKind);
1318Assert.Equal(OutputKind.NetModule, parsedArgs.CompilationOptions.OutputKind);
1322Assert.Equal(OutputKind.DynamicallyLinkedLibrary, parsedArgs.CompilationOptions.OutputKind);
1326Assert.Equal(OutputKind.WindowsApplication, parsedArgs.CompilationOptions.OutputKind);
1330Assert.Equal(OutputKind.WindowsRuntimeApplication, parsedArgs.CompilationOptions.OutputKind);
1334Assert.Equal(OutputKind.WindowsRuntimeMetadata, parsedArgs.CompilationOptions.OutputKind);
1338Assert.Equal(OutputKind.NetModule, parsedArgs.CompilationOptions.OutputKind);
1365Assert.Equal(OutputKind.ConsoleApplication, parsedArgs.CompilationOptions.OutputKind);
1373Assert.Equal(OutputKind.NetModule, parsedArgs.CompilationOptions.OutputKind);
1381Assert.Equal(OutputKind.DynamicallyLinkedLibrary, parsedArgs.CompilationOptions.OutputKind);
1389Assert.Equal(OutputKind.WindowsApplication, parsedArgs.CompilationOptions.OutputKind);
1397Assert.Equal(OutputKind.WindowsRuntimeApplication, parsedArgs.CompilationOptions.OutputKind);
1405Assert.Equal(OutputKind.WindowsRuntimeMetadata, parsedArgs.CompilationOptions.OutputKind);
1413Assert.Equal(OutputKind.NetModule, parsedArgs.CompilationOptions.OutputKind);
2560Assert.Equal(new CSharpCompilationOptions(OutputKind.ConsoleApplication).OptimizationLevel, parsedArgs.CompilationOptions.OptimizationLevel);
7473options = options.WithOutputKind(OutputKind.WindowsApplication);
7482options = options.WithOutputKind(OutputKind.NetModule);
7552CheckManifestString(source, OutputKind.ConsoleApplication, explicitManifest: null, expectedManifest:
7579CheckManifestString(source, OutputKind.DynamicallyLinkedLibrary, explicitManifest: null, expectedManifest: null);
7592CheckManifestString(source, OutputKind.WindowsApplication, explicitManifest: null, expectedManifest:
7620CheckManifestString(source, OutputKind.WindowsRuntimeApplication, explicitManifest: null, expectedManifest:
7647CheckManifestString(source, OutputKind.WindowsRuntimeMetadata, explicitManifest: null, expectedManifest: null);
7659CheckManifestString(source, OutputKind.NetModule, explicitManifest: null, expectedManifest: null);
7695CheckManifestString(source, OutputKind.ConsoleApplication, explicitManifest, expectedManifest);
7730CheckManifestString(source, OutputKind.DynamicallyLinkedLibrary, explicitManifest, expectedManifest);
7756CheckManifestString(source, OutputKind.NetModule, explicitManifest, expectedManifest: null);
7764private void CheckManifestString(string source, OutputKind outputKind, string explicitManifest, string expectedManifest)
7773case OutputKind.ConsoleApplication:
7777case OutputKind.WindowsApplication:
7781case OutputKind.DynamicallyLinkedLibrary:
7785case OutputKind.NetModule:
7789case OutputKind.WindowsRuntimeMetadata:
7793case OutputKind.WindowsRuntimeApplication:
7833var resourceId = outputKind == OutputKind.DynamicallyLinkedLibrary ? "#2" : "#1";
12124new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary, cryptoPublicKey: TestResources.TestKeys.PublicKey_b03f5f7f11d50a3a)).EmitToArray();
12136new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary, cryptoPublicKey: TestResources.TestKeys.PublicKey_31bf3856ad364e35)).EmitToArray();
12230new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)).EmitToArray();
12445var list = new List<Tuple<string, OutputKind>>()
12447Tuple.Create("exe", OutputKind.ConsoleApplication),
12448Tuple.Create("winexe", OutputKind.WindowsApplication),
12449Tuple.Create("library", OutputKind.DynamicallyLinkedLibrary),
12450Tuple.Create("module", OutputKind.NetModule),
12451Tuple.Create("appcontainerexe", OutputKind.WindowsRuntimeApplication),
12452Tuple.Create("winmdobj", OutputKind.WindowsRuntimeMetadata)
15388new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary));
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (11)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (57)
CodeGen\SwitchTests.cs (36)
8796options: TestOptions.ReleaseDll.WithOutputKind(OutputKind.ConsoleApplication),
8809options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication),
8863options: TestOptions.ReleaseDll.WithOutputKind(OutputKind.ConsoleApplication),
8882options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication),
8939options: TestOptions.ReleaseDll.WithOutputKind(OutputKind.ConsoleApplication),
8952options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication),
9003options: TestOptions.ReleaseDll.WithOutputKind(OutputKind.ConsoleApplication),
9022options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication),
9077options: TestOptions.ReleaseDll.WithOutputKind(OutputKind.ConsoleApplication),
9093options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication),
9150options: TestOptions.ReleaseDll.WithOutputKind(OutputKind.ConsoleApplication),
9167options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication),
9225options: TestOptions.ReleaseDll.WithOutputKind(OutputKind.ConsoleApplication),
9242options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication),
9300options: TestOptions.ReleaseDll.WithOutputKind(OutputKind.ConsoleApplication),
9319options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication),
9369options: TestOptions.ReleaseDll.WithOutputKind(OutputKind.ConsoleApplication),
9385options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication),
9450options: TestOptions.ReleaseDll.WithOutputKind(OutputKind.ConsoleApplication),
9476options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication),
9581options: TestOptions.ReleaseDll.WithOutputKind(OutputKind.ConsoleApplication),
9625options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication),
9723options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication),
9774options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication),
9829options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication),
9882options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication),
9934options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication),
10027options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication))
10119options: TestOptions.ReleaseDll.WithOutputKind(OutputKind.ConsoleApplication))
10170options: TestOptions.ReleaseDll.WithOutputKind(OutputKind.ConsoleApplication),
10246options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication).WithMetadataImportOptions(MetadataImportOptions.All));
10520options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication))
11028options: TestOptions.ReleaseExe.WithOutputKind(OutputKind.ConsoleApplication),
11286options: TestOptions.ReleaseExe.WithOutputKind(OutputKind.ConsoleApplication),
11544options: TestOptions.ReleaseExe.WithOutputKind(OutputKind.ConsoleApplication),
11973options: TestOptions.ReleaseExe.WithOutputKind(OutputKind.ConsoleApplication),
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (52)
Attributes\AttributeTests_Synthesized.cs (38)
50foreach (var kind in Enum.GetValues(typeof(OutputKind)))
171var options = TestOptions.CreateTestOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel)
220var options = TestOptions.CreateTestOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel)
259var options = TestOptions.CreateTestOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel)
287var options = TestOptions.CreateTestOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel)
425var options = TestOptions.CreateTestOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel)
480var options = TestOptions.CreateTestOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel)
538var options = TestOptions.CreateTestOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel)
576var options = TestOptions.CreateTestOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel)
619var options = TestOptions.CreateTestOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel)
972public void SynthesizedAllAttributes(OutputKind outputKind, OptimizationLevel optimizationLevel)
1003public void AppliedCompilationRelaxations(OutputKind outputKind, OptimizationLevel optimizationLevel)
1038public void AppliedRuntimeCompatibility(OutputKind outputKind, OptimizationLevel optimizationLevel)
1073public void AppliedDebuggable(OutputKind outputKind, OptimizationLevel optimizationLevel)
1108public void AppliedDebuggableOnBothAssemblyAndModule(OutputKind outputKind, OptimizationLevel optimizationLevel)
1147public void AppliedCompilationRelaxationsAndRuntimeCompatibility(OutputKind outputKind, OptimizationLevel optimizationLevel)
1183public void ModuleCompilationRelaxationsDoNotSuppressAssemblyAttributes(OutputKind outputKind, OptimizationLevel optimizationLevel)
1221public void ModuleDebuggableDoNotSuppressAssemblyAttributes(OutputKind outputKind, OptimizationLevel optimizationLevel)
1259public void MissingWellKnownAttributesNoDiagnosticsAndNoSynthesizedAttributes(OutputKind outputKind, OptimizationLevel optimizationLevel)
1288public void MissingWellKnownAttributeEnumsNoDiagnosticsAndNoSynthesizedAttributes(OutputKind outputKind, OptimizationLevel optimizationLevel)
1328public void InaccessibleWellKnownAttributeEnumsNoDiagnosticsAndNoSynthesizedAttributes(OutputKind outputKind, OptimizationLevel optimizationLevel)
1377public void WellKnownAttributeMissingCtorNoDiagnosticsAndNoSynthesizedAttributes(OutputKind outputKind, OptimizationLevel optimizationLevel)
1424public void WellKnownAttributeInvalidTypeNoDiagnosticsAndNoSynthesizedAttributes(OutputKind outputKind, OptimizationLevel optimizationLevel)
1468public void MissingWellKnownAttributeMembersProduceDiagnostics(OutputKind outputKind, OptimizationLevel optimizationLevel)
1513public void AppliedCompilationRelaxationsOnModuleSuppressesAssemblyAttributes(OutputKind outputKind, OptimizationLevel optimizationLevel)
1519", options: TestOptions.CreateTestOptions(OutputKind.NetModule, optimizationLevel));
1554public void AppliedRuntimeCompatibilityOnModuleSuppressesAssemblyAttributes(OutputKind outputKind, OptimizationLevel optimizationLevel)
1560", options: TestOptions.CreateTestOptions(OutputKind.NetModule, optimizationLevel));
1596[InlineData(OutputKind.DynamicallyLinkedLibrary)]
1597[InlineData(OutputKind.NetModule)]
1598public void CheckUnsafeAttributes(OutputKind outputKind)
1671var options = TestOptions.CreateTestOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel)
1714var options = TestOptions.CreateTestOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel)
1756var options = TestOptions.CreateTestOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel)
1798var referenceOptions = TestOptions.CreateTestOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel)
1837var options = TestOptions.CreateTestOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel)
1867var options = TestOptions.CreateTestOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel)
1897var referenceOptions = TestOptions.CreateTestOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel)
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Features (3)
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (178)
ConvertProgram\ConvertToProgramMainAnalyzerTests.cs (23)
32TestState = { OutputKind = OutputKind.ConsoleApplication },
75TestState = { OutputKind = OutputKind.ConsoleApplication },
99TestState = { OutputKind = OutputKind.ConsoleApplication },
125TestState = { OutputKind = OutputKind.ConsoleApplication },
156TestState = { OutputKind = OutputKind.ConsoleApplication },
178TestState = { OutputKind = OutputKind.ConsoleApplication },
200TestState = { OutputKind = OutputKind.ConsoleApplication },
230TestState = { OutputKind = OutputKind.ConsoleApplication },
260TestState = { OutputKind = OutputKind.ConsoleApplication },
298TestState = { OutputKind = OutputKind.ConsoleApplication },
325TestState = { OutputKind = OutputKind.ConsoleApplication },
356TestState = { OutputKind = OutputKind.ConsoleApplication },
384TestState = { OutputKind = OutputKind.ConsoleApplication },
414TestState = { OutputKind = OutputKind.ConsoleApplication },
441TestState = { OutputKind = OutputKind.ConsoleApplication },
469TestState = { OutputKind = OutputKind.ConsoleApplication },
493TestState = { OutputKind = OutputKind.ConsoleApplication },
516TestState = { OutputKind = OutputKind.ConsoleApplication },
551TestState = { OutputKind = OutputKind.ConsoleApplication },
590TestState = { OutputKind = OutputKind.ConsoleApplication },
623TestState = { OutputKind = OutputKind.ConsoleApplication },
661TestState = { OutputKind = OutputKind.ConsoleApplication },
698TestState = { OutputKind = OutputKind.ConsoleApplication },
ConvertProgram\ConvertToTopLevelStatementsAnalyzerTests.cs (55)
48TestState = { OutputKind = OutputKind.ConsoleApplication },
70TestState = { OutputKind = OutputKind.ConsoleApplication },
93TestState = { OutputKind = OutputKind.ConsoleApplication },
118TestState = { OutputKind = OutputKind.ConsoleApplication },
146TestState = { OutputKind = OutputKind.ConsoleApplication },
174TestState = { OutputKind = OutputKind.ConsoleApplication },
203TestState = { OutputKind = OutputKind.ConsoleApplication },
226TestState = { OutputKind = OutputKind.ConsoleApplication },
270TestState = { OutputKind = OutputKind.ConsoleApplication },
292TestState = { OutputKind = OutputKind.ConsoleApplication },
319TestState = { OutputKind = OutputKind.ConsoleApplication },
346TestState = { OutputKind = OutputKind.ConsoleApplication },
370TestState = { OutputKind = OutputKind.ConsoleApplication },
391TestState = { OutputKind = OutputKind.ConsoleApplication },
413TestState = { OutputKind = OutputKind.ConsoleApplication },
435TestState = { OutputKind = OutputKind.ConsoleApplication },
461TestState = { OutputKind = OutputKind.ConsoleApplication },
483TestState = { OutputKind = OutputKind.ConsoleApplication },
506TestState = { OutputKind = OutputKind.ConsoleApplication },
529TestState = { OutputKind = OutputKind.ConsoleApplication },
554TestState = { OutputKind = OutputKind.ConsoleApplication },
579TestState = { OutputKind = OutputKind.ConsoleApplication },
604TestState = { OutputKind = OutputKind.ConsoleApplication },
629TestState = { OutputKind = OutputKind.ConsoleApplication },
654TestState = { OutputKind = OutputKind.ConsoleApplication },
678TestState = { OutputKind = OutputKind.ConsoleApplication },
702TestState = { OutputKind = OutputKind.ConsoleApplication },
728TestState = { OutputKind = OutputKind.ConsoleApplication },
754TestState = { OutputKind = OutputKind.ConsoleApplication },
778TestState = { OutputKind = OutputKind.ConsoleApplication },
802TestState = { OutputKind = OutputKind.ConsoleApplication },
826TestState = { OutputKind = OutputKind.ConsoleApplication },
848TestState = { OutputKind = OutputKind.ConsoleApplication },
875TestState = { OutputKind = OutputKind.ConsoleApplication },
902TestState = { OutputKind = OutputKind.ConsoleApplication },
929TestState = { OutputKind = OutputKind.ConsoleApplication },
956TestState = { OutputKind = OutputKind.ConsoleApplication },
983TestState = { OutputKind = OutputKind.ConsoleApplication },
1010TestState = { OutputKind = OutputKind.ConsoleApplication },
1037TestState = { OutputKind = OutputKind.ConsoleApplication },
1064TestState = { OutputKind = OutputKind.ConsoleApplication },
1093TestState = { OutputKind = OutputKind.ConsoleApplication },
1117TestState = { OutputKind = OutputKind.ConsoleApplication },
1146TestState = { OutputKind = OutputKind.ConsoleApplication },
1183TestState = { OutputKind = OutputKind.ConsoleApplication },
1220TestState = { OutputKind = OutputKind.ConsoleApplication },
1261TestState = { OutputKind = OutputKind.ConsoleApplication },
1288TestState = { OutputKind = OutputKind.ConsoleApplication },
1329TestState = { OutputKind = OutputKind.ConsoleApplication },
1368TestState = { OutputKind = OutputKind.ConsoleApplication },
1410TestState = { OutputKind = OutputKind.ConsoleApplication },
1450TestState = { OutputKind = OutputKind.ConsoleApplication },
1480TestState = { OutputKind = OutputKind.ConsoleApplication },
1509TestState = { OutputKind = OutputKind.ConsoleApplication },
1554TestState = { OutputKind = OutputKind.ConsoleApplication },
Microsoft.CodeAnalysis.CSharp.Scripting (1)
Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests (5)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (80)
Compilation\CSharpCompilationOptionsTests.cs (59)
38TestPropertyGeneric(new CSharpCompilationOptions(OutputKind.ConsoleApplication), factory, getter, validNonDefaultValue);
73TestHiddenProperty((old, value) => old.WithOutputKind(value), opt => opt.OutputKind, OutputKind.DynamicallyLinkedLibrary);
103TestPropertyGeneric(new CSharpCompilationOptions(OutputKind.ConsoleApplication), factory, getter, validNonDefaultValue);
109TestProperty((old, value) => old.WithOutputKind(value), opt => opt.OutputKind, OutputKind.DynamicallyLinkedLibrary);
147new CSharpCompilationOptions(OutputKind.ConsoleApplication).WithScriptClassName(null).VerifyErrors(
151new CSharpCompilationOptions(OutputKind.ConsoleApplication).WithScriptClassName("blah\0goo").VerifyErrors(
155new CSharpCompilationOptions(OutputKind.ConsoleApplication).WithScriptClassName("").VerifyErrors(
159Assert.Equal(0, new CSharpCompilationOptions(OutputKind.ConsoleApplication).WithMainTypeName(null).Errors.Length);
160new CSharpCompilationOptions(OutputKind.ConsoleApplication).WithMainTypeName("blah\0goo").VerifyErrors(
164new CSharpCompilationOptions(OutputKind.ConsoleApplication).WithMainTypeName("").VerifyErrors(
168new CSharpCompilationOptions(OutputKind.ConsoleApplication).WithOutputKind((OutputKind)Int32.MaxValue).VerifyErrors(
172new CSharpCompilationOptions(OutputKind.ConsoleApplication).WithOutputKind((OutputKind)Int32.MinValue).VerifyErrors(
176new CSharpCompilationOptions(OutputKind.ConsoleApplication).WithOptimizationLevel((OptimizationLevel)Int32.MaxValue).VerifyErrors(
180new CSharpCompilationOptions(OutputKind.ConsoleApplication).WithOptimizationLevel((OptimizationLevel)Int32.MinValue).VerifyErrors(
184new CSharpCompilationOptions(OutputKind.ConsoleApplication).WithPlatform((Platform)Int32.MaxValue).VerifyErrors(
188new CSharpCompilationOptions(OutputKind.ConsoleApplication).WithPlatform((Platform)Int32.MinValue).VerifyErrors(
192var defaultWarnings = new CSharpCompilationOptions(OutputKind.ConsoleApplication);
196Assert.Equal(ReportDiagnostic.Error, new CSharpCompilationOptions(OutputKind.ConsoleApplication).WithGeneralDiagnosticOption(ReportDiagnostic.Error).GeneralDiagnosticOption);
197Assert.Equal(ReportDiagnostic.Default, new CSharpCompilationOptions(OutputKind.ConsoleApplication).WithGeneralDiagnosticOption(ReportDiagnostic.Default).GeneralDiagnosticOption);
203var actual1 = new CSharpCompilationOptions(OutputKind.ConsoleApplication).WithUsings(new[] { "A", "B" }).Usings;
206var actual2 = new CSharpCompilationOptions(OutputKind.ConsoleApplication).WithUsings(Enumerable.Repeat("A", 1)).Usings;
209Assert.Equal(0, new CSharpCompilationOptions(OutputKind.ConsoleApplication).WithUsings("A", "B").WithUsings(null).Usings.Count());
210Assert.Equal(0, new CSharpCompilationOptions(OutputKind.ConsoleApplication).WithUsings("A", "B").WithUsings((string[])null).Usings.Count());
212new CSharpCompilationOptions(OutputKind.ConsoleApplication).WithUsings(new string[] { null }).VerifyErrors(
216new CSharpCompilationOptions(OutputKind.ConsoleApplication).WithUsings(new string[] { "" }).VerifyErrors(
220new CSharpCompilationOptions(OutputKind.ConsoleApplication).WithUsings(new string[] { "blah\0goo" }).VerifyErrors(
235Assert.Equal(3, new CSharpCompilationOptions(OutputKind.ConsoleApplication).WithSpecificDiagnosticOptions(warnings).SpecificDiagnosticOptions.Count);
237Assert.Equal(0, new CSharpCompilationOptions(OutputKind.ConsoleApplication).WithSpecificDiagnosticOptions(null).SpecificDiagnosticOptions.Count);
239Assert.Equal(1, new CSharpCompilationOptions(OutputKind.ConsoleApplication).WithWarningLevel(1).WarningLevel);
240new CSharpCompilationOptions(OutputKind.ConsoleApplication).WithWarningLevel(-1).VerifyErrors(
244new CSharpCompilationOptions(OutputKind.ConsoleApplication).WithWarningLevel(5).VerifyErrors();
245new CSharpCompilationOptions(OutputKind.ConsoleApplication).WithWarningLevel(int.MaxValue).VerifyErrors();
287new CSharpCompilationOptions(OutputKind.ConsoleApplication, usings: new string[] { null }).VerifyErrors(
291new CSharpCompilationOptions(OutputKind.ConsoleApplication, usings: new string[] { "" }).VerifyErrors(
295new CSharpCompilationOptions(OutputKind.ConsoleApplication, usings: new string[] { "blah\0goo" }).VerifyErrors(
299Assert.Equal("Script", new CSharpCompilationOptions(OutputKind.ConsoleApplication, scriptClassName: null).ScriptClassName);
301new CSharpCompilationOptions(OutputKind.ConsoleApplication, scriptClassName: "blah\0goo").VerifyErrors(
305new CSharpCompilationOptions(OutputKind.ConsoleApplication, scriptClassName: "").VerifyErrors(
309Assert.Equal(0, new CSharpCompilationOptions(OutputKind.ConsoleApplication, mainTypeName: null).Errors.Length);
310new CSharpCompilationOptions(OutputKind.ConsoleApplication, mainTypeName: "blah\0goo").VerifyErrors(
314new CSharpCompilationOptions(OutputKind.ConsoleApplication, mainTypeName: "").VerifyErrors(
318new CSharpCompilationOptions(outputKind: (OutputKind)Int32.MaxValue).VerifyErrors(
322new CSharpCompilationOptions(outputKind: (OutputKind)Int32.MinValue).VerifyErrors(
326new CSharpCompilationOptions(OutputKind.ConsoleApplication, optimizationLevel: (OptimizationLevel)Int32.MaxValue).VerifyErrors(
330new CSharpCompilationOptions(OutputKind.ConsoleApplication, optimizationLevel: (OptimizationLevel)Int32.MinValue).VerifyErrors(
334new CSharpCompilationOptions(OutputKind.ConsoleApplication, platform: (Platform)Int32.MinValue).VerifyErrors(
338new CSharpCompilationOptions(OutputKind.ConsoleApplication, warningLevel: -1).VerifyErrors(
342new CSharpCompilationOptions(OutputKind.ConsoleApplication, warningLevel: 5).VerifyErrors();
343new CSharpCompilationOptions(OutputKind.ConsoleApplication, warningLevel: int.MaxValue).VerifyErrors();
345new CSharpCompilationOptions(OutputKind.ConsoleApplication, platform: Platform.AnyCpu32BitPreferred).VerifyErrors();
347new CSharpCompilationOptions(OutputKind.WindowsRuntimeApplication, platform: Platform.AnyCpu32BitPreferred).VerifyErrors();
349new CSharpCompilationOptions(OutputKind.WindowsRuntimeMetadata, platform: Platform.AnyCpu32BitPreferred).VerifyErrors(
352new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary, platform: Platform.AnyCpu32BitPreferred).VerifyErrors(
417return new CSharpCompilationOptions(OutputKind.ConsoleApplication,
442var options = new CSharpCompilationOptions(OutputKind.ConsoleApplication);
454Assert.Equal(NullableContextOptions.Disable, new CSharpCompilationOptions(OutputKind.ConsoleApplication).NullableContextOptions);
461options[i] = new CSharpCompilationOptions(OutputKind.ConsoleApplication, nullableContextOptions: values[i]);
Symbols\Source\MethodTests.cs (6)
1682var module = new PEAssemblyBuilder((SourceAssemblySymbol)@class.ContainingAssembly, EmitOptions.Default, OutputKind.DynamicallyLinkedLibrary,
1726var module = new PEAssemblyBuilder((SourceAssemblySymbol)@class.ContainingAssembly, EmitOptions.Default, OutputKind.DynamicallyLinkedLibrary,
1773var module = new PEAssemblyBuilder((SourceAssemblySymbol)@class.ContainingAssembly, EmitOptions.Default, OutputKind.DynamicallyLinkedLibrary,
1827var module = new PEAssemblyBuilder((SourceAssemblySymbol)@class.ContainingAssembly, EmitOptions.Default, OutputKind.DynamicallyLinkedLibrary,
1968var module = new PEAssemblyBuilder((SourceAssemblySymbol)classC.ContainingAssembly, EmitOptions.Default, OutputKind.DynamicallyLinkedLibrary,
2012var module = new PEAssemblyBuilder((SourceAssemblySymbol)classC.ContainingAssembly, EmitOptions.Default, OutputKind.DynamicallyLinkedLibrary,
Microsoft.CodeAnalysis.CSharp.Test.Utilities (13)
TestOptions.cs (9)
72public static readonly CSharpCompilationOptions ReleaseDll = CreateTestOptions(OutputKind.DynamicallyLinkedLibrary, OptimizationLevel.Release);
73public static readonly CSharpCompilationOptions ReleaseExe = CreateTestOptions(OutputKind.ConsoleApplication, OptimizationLevel.Release);
79public static readonly CSharpCompilationOptions DebugDll = CreateTestOptions(OutputKind.DynamicallyLinkedLibrary, OptimizationLevel.Debug);
80public static readonly CSharpCompilationOptions DebugExe = CreateTestOptions(OutputKind.ConsoleApplication, OptimizationLevel.Debug);
85public static readonly CSharpCompilationOptions ReleaseWinMD = CreateTestOptions(OutputKind.WindowsRuntimeMetadata, OptimizationLevel.Release);
86public static readonly CSharpCompilationOptions DebugWinMD = CreateTestOptions(OutputKind.WindowsRuntimeMetadata, OptimizationLevel.Debug);
88public static readonly CSharpCompilationOptions ReleaseModule = CreateTestOptions(OutputKind.NetModule, OptimizationLevel.Release);
89public static readonly CSharpCompilationOptions DebugModule = CreateTestOptions(OutputKind.NetModule, OptimizationLevel.Debug);
189internal static CSharpCompilationOptions CreateTestOptions(OutputKind outputKind, OptimizationLevel optimizationLevel, bool allowUnsafe = false)
Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests (14)
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (3)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (9)
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.LanguageServer (3)
Microsoft.CodeAnalysis.Rebuild (4)
Microsoft.CodeAnalysis.Rebuild.UnitTests (10)
Microsoft.CodeAnalysis.Scripting.TestUtilities (3)
Microsoft.CodeAnalysis.Test.Utilities (25)
Metadata\ModuleData.cs (4)
55public readonly OutputKind Kind;
68this.Kind = OutputKind.NetModule;
75public ModuleData(AssemblyIdentity identity, OutputKind kind, ImmutableArray<byte> image, ImmutableArray<byte> pdb, bool inMemoryModule, bool isCorLib)
85public ModuleData(ModuleDataId id, OutputKind kind, ImmutableArray<byte> image, ImmutableArray<byte> pdb, bool inMemoryModule, bool isCorLib)
Microsoft.CodeAnalysis.UnitTests (7)
Microsoft.CodeAnalysis.VisualBasic (57)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.UnitTests (5)
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (35)
CommandLineTests.vb (35)
1974Assert.Equal(OutputKind.DynamicallyLinkedLibrary, parsedArgs.CompilationOptions.OutputKind)
1978Assert.Equal(OutputKind.NetModule, parsedArgs.CompilationOptions.OutputKind)
2911Assert.Equal(OutputKind.ConsoleApplication, parsedArgs.CompilationOptions.OutputKind)
2915Assert.Equal(OutputKind.NetModule, parsedArgs.CompilationOptions.OutputKind)
2919Assert.Equal(OutputKind.DynamicallyLinkedLibrary, parsedArgs.CompilationOptions.OutputKind)
2923Assert.Equal(OutputKind.WindowsApplication, parsedArgs.CompilationOptions.OutputKind)
2927Assert.Equal(OutputKind.WindowsRuntimeMetadata, parsedArgs.CompilationOptions.OutputKind)
2931Assert.Equal(OutputKind.WindowsRuntimeApplication, parsedArgs.CompilationOptions.OutputKind)
2935Assert.Equal(OutputKind.NetModule, parsedArgs.CompilationOptions.OutputKind)
2957Assert.Equal(OutputKind.ConsoleApplication, parsedArgs.CompilationOptions.OutputKind)
2961Assert.Equal(OutputKind.NetModule, parsedArgs.CompilationOptions.OutputKind)
2965Assert.Equal(OutputKind.DynamicallyLinkedLibrary, parsedArgs.CompilationOptions.OutputKind)
2969Assert.Equal(OutputKind.WindowsApplication, parsedArgs.CompilationOptions.OutputKind)
2973Assert.Equal(OutputKind.WindowsRuntimeMetadata, parsedArgs.CompilationOptions.OutputKind)
2977Assert.Equal(OutputKind.WindowsRuntimeApplication, parsedArgs.CompilationOptions.OutputKind)
2981Assert.Equal(OutputKind.NetModule, parsedArgs.CompilationOptions.OutputKind)
5208opt = opt.WithOutputKind(OutputKind.DynamicallyLinkedLibrary)
6538CheckManifestXml(source, OutputKind.ConsoleApplication, explicitManifest:=Nothing, expectedManifest:=expectedManifest)
6557CheckManifestXml(source, OutputKind.DynamicallyLinkedLibrary, explicitManifest:=Nothing, expectedManifest:=Nothing)
6576CheckManifestXml(source, OutputKind.NetModule, explicitManifest:=Nothing, expectedManifest:=Nothing)
6612CheckManifestXml(source, OutputKind.WindowsApplication, explicitManifest:=Nothing, expectedManifest:=expectedManifest)
6648CheckManifestXml(source, OutputKind.WindowsRuntimeApplication, explicitManifest:=Nothing, expectedManifest:=expectedManifest)
6667CheckManifestXml(source, OutputKind.WindowsRuntimeMetadata, explicitManifest:=Nothing, expectedManifest:=Nothing)
6714CheckManifestXml(source, OutputKind.ConsoleApplication, explicitManifest, expectedManifest)
6761CheckManifestXml(source, OutputKind.DynamicallyLinkedLibrary, explicitManifest, expectedManifest)
6793CheckManifestXml(source, OutputKind.NetModule, explicitManifest, expectedManifest:=Nothing)
6803Private Sub CheckManifestXml(source As XElement, outputKind As OutputKind, explicitManifest As XDocument, expectedManifest As XDocument)
6810Case OutputKind.ConsoleApplication
6813Case OutputKind.WindowsApplication
6816Case OutputKind.DynamicallyLinkedLibrary
6819Case OutputKind.NetModule
6822Case OutputKind.WindowsRuntimeMetadata
6825Case OutputKind.WindowsRuntimeApplication
6859Dim resourceId As String = If(outputKind = OutputKind.DynamicallyLinkedLibrary, "#2", "#1")
10880New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (228)
Attributes\AssemblyAttributes.vb (39)
39</compilation>, OutputKind.DynamicallyLinkedLibrary)
54</compilation>, OutputKind.DynamicallyLinkedLibrary)
71</compilation>, OutputKind.DynamicallyLinkedLibrary)
152</compilation>, OutputKind.DynamicallyLinkedLibrary)
169</compilation>, OutputKind.DynamicallyLinkedLibrary)
185</compilation>, OutputKind.DynamicallyLinkedLibrary)
198</compilation>, OutputKind.DynamicallyLinkedLibrary)
220</compilation>, OutputKind.DynamicallyLinkedLibrary)
237</compilation>, OutputKind.DynamicallyLinkedLibrary)
254</compilation>, OutputKind.DynamicallyLinkedLibrary)
271</compilation>, OutputKind.DynamicallyLinkedLibrary)
292</compilation>, OutputKind.DynamicallyLinkedLibrary)
313</compilation>, OutputKind.DynamicallyLinkedLibrary)
331</compilation>, OutputKind.DynamicallyLinkedLibrary)
348</compilation>, OutputKind.DynamicallyLinkedLibrary)
367Dim other As VisualBasicCompilation = CreateCompilationWithMscorlib40(src, OutputKind.DynamicallyLinkedLibrary)
381</compilation>, OutputKind.DynamicallyLinkedLibrary)
391</compilation>, OutputKind.DynamicallyLinkedLibrary)
401</compilation>, OutputKind.DynamicallyLinkedLibrary)
418</compilation>, OutputKind.ConsoleApplication)
432</compilation>, OutputKind.ConsoleApplication)
447</compilation>, New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
471Dim comp = CreateCompilationWithMscorlib40(src, OutputKind.ConsoleApplication)
585OutputKind.DynamicallyLinkedLibrary,
618OutputKind.DynamicallyLinkedLibrary,
622OutputKind.DynamicallyLinkedLibrary,
684</compilation>, OutputKind.DynamicallyLinkedLibrary)
692</compilation>, OutputKind.DynamicallyLinkedLibrary)
710</compilation>, OutputKind.DynamicallyLinkedLibrary)
726</compilation>, OutputKind.DynamicallyLinkedLibrary)
742</compilation>, OutputKind.DynamicallyLinkedLibrary)
759</compilation>, OutputKind.DynamicallyLinkedLibrary)
1077compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
1085compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
1094compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
1105compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
1117compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
1133compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
1669Dim comp = CreateCompilationWithMscorlib40(source, OutputKind.DynamicallyLinkedLibrary)
Attributes\AttributeTests_Synthesized.vb (43)
36For Each kind As OutputKind In [Enum].GetValues(GetType(OutputKind))
44For Each kind As OutputKind In [Enum].GetValues(GetType(OutputKind))
93New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary).
150New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary).
218New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary).
272New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary).
328options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary).
365New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary).
415New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary).
470options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel:=optimizationLevel))
500options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel:=optimizationLevel))
524options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel:=optimizationLevel))
592Dim comp = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel:=optimizationLevel))
746Public Sub TestSynthesizedAssemblyAttributes_01(outputKind As OutputKind)
767If outputKind <> OutputKind.NetModule Then
781Public Sub TestSynthesizedAssemblyAttributes_02(outputKind As OutputKind)
823Public Sub TestSynthesizedAssemblyAttributes_03(outputKind As OutputKind)
865Public Sub TestSynthesizedAssemblyAttributes_04(outputKind As OutputKind)
933Public Sub TestSynthesizedAssemblyAttributes_05(outputKind As OutputKind)
985Public Sub TestSynthesizedAssemblyAttributes_06(outputKind As OutputKind)
1015If outputKind <> OutputKind.NetModule Then
1061Public Sub TestDebuggableAttribute_01(outputKind As OutputKind, optimizationLevel As OptimizationLevel)
1090CompileAndVerify(comp, verify:=If(outputKind <> OutputKind.NetModule, Verification.Passes, Verification.Skipped), symbolValidator:=validator)
1095Public Sub TestDebuggableAttribute_02(outputKind As OutputKind, optimizationLevel As OptimizationLevel)
1128CompileAndVerify(comp, verify:=If(outputKind <> OutputKind.NetModule, Verification.Passes, Verification.Skipped), symbolValidator:=validator)
1133Public Sub TestDebuggableAttribute_03(outputKind As OutputKind, optimizationLevel As OptimizationLevel)
1165CompileAndVerify(comp, verify:=If(outputKind <> OutputKind.NetModule, Verification.Passes, Verification.Skipped), symbolValidator:=validator)
1170Public Sub TestDebuggableAttribute_04(outputKind As OutputKind, optimizationLevel As OptimizationLevel)
1209CompileAndVerify(comp, verify:=If(outputKind <> OutputKind.NetModule, Verification.Passes, Verification.Skipped), symbolValidator:=validator)
1214Public Sub TestDebuggableAttribute_MissingWellKnownTypeOrMember_01(outputKind As OutputKind, optimizationLevel As OptimizationLevel)
1245Public Sub TestDebuggableAttribute_MissingWellKnownTypeOrMember_02(outputKind As OutputKind, optimizationLevel As OptimizationLevel)
1284CompileAndVerify(comp, verify:=If(outputKind <> OutputKind.NetModule, Verification.Passes, Verification.Skipped), symbolValidator:=validator)
1289Public Sub TestDebuggableAttribute_MissingWellKnownTypeOrMember_03(outputKind As OutputKind, optimizationLevel As OptimizationLevel)
1336CompileAndVerify(comp, verify:=If(outputKind <> OutputKind.NetModule, Verification.Passes, Verification.Skipped), symbolValidator:=validator)
1341Public Sub TestDebuggableAttribute_MissingWellKnownTypeOrMember_04(outputKind As OutputKind, optimizationLevel As OptimizationLevel)
1383CompileAndVerify(comp, verify:=If(outputKind <> OutputKind.NetModule, Verification.Passes, Verification.Skipped), symbolValidator:=validator)
1388Public Sub TestDebuggableAttribute_MissingWellKnownTypeOrMember_05(outputKind As OutputKind, optimizationLevel As OptimizationLevel)
1432CompileAndVerify(comp, verify:=If(outputKind <> OutputKind.NetModule, Verification.Passes, Verification.Skipped), symbolValidator:=validator)
1653Dim options = New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel:=optimizationLevel)
1687Dim options = New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel:=optimizationLevel)
1748Dim options = New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel:=optimizationLevel)
CodeGen\CodeGenOverridingAndHiding.vb (19)
177compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
190compilationOptions:=New CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
201compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
232compilationOptions:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication),
249compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
263compilationOptions:=New CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
274compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
300compilationOptions:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication),
316compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
328compilationOptions:=New CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
337compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
357compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
381compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
393compilationOptions:=New CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
402compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
421compilationOptions:=New Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
436compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
455compilationOptions:=New Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
470compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
CodeGen\CodeGenTests.vb (19)
1474options:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication),
4764compilationOptions:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication))
4837compilationOptions:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication))
6128</compilation>, OutputKind.DynamicallyLinkedLibrary).
6144</compilation>, OutputKind.DynamicallyLinkedLibrary).
6160</compilation>, OutputKind.DynamicallyLinkedLibrary).
6176</compilation>, OutputKind.DynamicallyLinkedLibrary).
8168compilationOptions:=New CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
8181compilationOptions:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication),
8202compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
8214compilationOptions:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication),
8235compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
8247compilationOptions:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication),
8386compilationOptions:=New Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
8398compilationOptions:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication),
8426compilationOptions:=New Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
8441compilationOptions:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication),
10746compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
11642compilationOptions:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication))
CodeGen\CodeGenTuples.vb (19)
7205compilationOptions:=New CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
7476compilationOptions:=New CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
9342compilationOptions:=New Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
9376compilationOptions:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication),
9464compilationOptions:=New Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
9498compilationOptions:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication),
9552compilationOptions:=New Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
9570compilationOptions:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication),
9616compilationOptions:=New Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
9645compilationOptions:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication),
9698compilationOptions:=New Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
9727compilationOptions:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication),
9766compilationOptions:=New Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
9792compilationOptions:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication),
9825compilationOptions:=New Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
9853compilationOptions:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication),
17349compilationOptions:=New CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
21326compilationOptions:=New CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
21462compilationOptions:=New CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
Emit\CompilationEmitTests.vb (15)
890Dim reference = CompilationVerifier.LoadTestEmittedExecutableForSymbolValidation(image, OutputKind.DynamicallyLinkedLibrary)
965Dim reference = CompilationVerifier.LoadTestEmittedExecutableForSymbolValidation(image, OutputKind.DynamicallyLinkedLibrary)
1158CreateEmptyCompilation("", options:=TestOptions.DebugDll.WithDeterministic(True).WithOutputKind(OutputKind.NetModule))
2085compilation = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithPlatform(Platform.X86))
2089compilation = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithPlatform(Platform.X64))
2095compilation = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithPlatform(Platform.AnyCpu32BitPreferred))
2114Dim compilation = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary).WithPlatform(Platform.AnyCpu))
2139compilation = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithPlatform(Platform.AnyCpu))
2175Dim compilation = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary).WithPlatform(Platform.Arm))
2200compilation = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithPlatform(Platform.AnyCpu))
2236Dim compilation = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary).WithPlatform(Platform.X64))
2256compilation = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithPlatform(Platform.X64))
2311Dim compilation = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.WindowsRuntimeApplication))
3277Dim assemblyBuilder = New PEAssemblyBuilder(sourceAssembly, emitOptions, OutputKind.DynamicallyLinkedLibrary, GetDefaultModulePropertiesForSerialization(), SpecializedCollections.EmptyEnumerable(Of ResourceDescription), Nothing)
3845Dim comp = CreateCompilationWithMscorlib40(source1, OutputKind.NetModule)
Microsoft.CodeAnalysis.VisualBasic.ExpressionCompiler (2)
Microsoft.CodeAnalysis.VisualBasic.Features.UnitTests (14)
Microsoft.CodeAnalysis.VisualBasic.Scripting (1)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (204)
Compilation\VisualBasicCompilationOptionsTests.vb (49)
21TestPropertyGeneric(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication), factory, getter, validNonDefaultValue)
26TestHiddenProperty(Function(old, value) old.WithOutputKind(value), Function(opt) opt.OutputKind, OutputKind.DynamicallyLinkedLibrary)
55TestPropertyGeneric(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication), factory, getter, validNonDefaultValue)
88TestProperty(Function(old, value) old.WithOutputKind(value), Function(opt) opt.OutputKind, OutputKind.DynamicallyLinkedLibrary)
132AssertTheseDiagnostics(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithScriptClassName(Nothing).Errors,
137AssertTheseDiagnostics(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithScriptClassName("blah" & ChrW(0) & "goo").Errors,
142AssertTheseDiagnostics(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithScriptClassName("").Errors,
147Assert.True(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithMainTypeName(Nothing).Errors.IsEmpty)
148AssertTheseDiagnostics(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithMainTypeName("blah" & ChrW(0) & "goo").Errors,
153AssertTheseDiagnostics(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithMainTypeName("").Errors,
158Assert.True(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithRootNamespace(Nothing).Errors.IsEmpty)
159AssertTheseDiagnostics(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithRootNamespace("blah" & ChrW(0) & "goo").Errors,
164Assert.True(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithRootNamespace("").Errors.IsEmpty)
166Assert.Equal(0, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithGlobalImports(GlobalImport.Parse("Goo.Bar")).WithGlobalImports(DirectCast(Nothing, IEnumerable(Of GlobalImport))).GlobalImports.Count)
167Assert.Equal(0, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithGlobalImports(GlobalImport.Parse("Goo.Bar")).WithGlobalImports(DirectCast(Nothing, GlobalImport())).GlobalImports.Count)
169AssertTheseDiagnostics(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOutputKind(CType(Int32.MaxValue, OutputKind)).Errors,
174AssertTheseDiagnostics(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOutputKind(CType(Int32.MinValue, OutputKind)).Errors,
179AssertTheseDiagnostics(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptimizationLevel(CType(Int32.MaxValue, OptimizationLevel)).Errors,
184AssertTheseDiagnostics(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptimizationLevel(CType(Int32.MinValue, OptimizationLevel)).Errors,
189AssertTheseDiagnostics(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(CType(3, OptionStrict)).Errors,
194AssertTheseDiagnostics(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithPlatform(CType(Int32.MaxValue, Platform)).Errors,
199AssertTheseDiagnostics(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithPlatform(CType(Int32.MinValue, Platform)).Errors,
238Dim options = New VisualBasicCompilationOptions(OutputKind.ConsoleApplication, scriptClassName:=Nothing)
241AssertTheseDiagnostics(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication, scriptClassName:="blah" & ChrW(0) & "goo").Errors,
246AssertTheseDiagnostics(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication, scriptClassName:="").Errors,
251Assert.True(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication, mainTypeName:=Nothing).Errors.IsEmpty)
253AssertTheseDiagnostics(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication, mainTypeName:=("blah" & ChrW(0) & "goo")).Errors,
258AssertTheseDiagnostics(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication, mainTypeName:="").Errors,
263Assert.True(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication, rootNamespace:=Nothing).Errors.IsEmpty)
265AssertTheseDiagnostics(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication, rootNamespace:=("blah" & ChrW(0) & "goo")).Errors,
270Assert.True(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication, rootNamespace:="").Errors.IsEmpty)
272AssertTheseDiagnostics(New VisualBasicCompilationOptions(outputKind:=CType(Int32.MaxValue, OutputKind)).Errors,
277AssertTheseDiagnostics(New VisualBasicCompilationOptions(outputKind:=CType(Int32.MinValue, OutputKind)).Errors,
282AssertTheseDiagnostics(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication, optimizationLevel:=CType(Int32.MaxValue, OptimizationLevel)).Errors,
287AssertTheseDiagnostics(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication, optimizationLevel:=CType(Int32.MinValue, OptimizationLevel)).Errors,
292AssertTheseDiagnostics(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication, optionStrict:=CType(3, OptionStrict)).Errors,
297AssertTheseDiagnostics(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication, platform:=CType(Int32.MaxValue, Platform)).Errors,
302AssertTheseDiagnostics(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication, platform:=CType(Int32.MinValue, Platform)).Errors,
310Dim options = New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithRootNamespace(rootNs)
320Assert.True(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithRootNamespace(rootNs).Errors.IsEmpty)
322AssertTheseDiagnostics(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithRootNamespace(rootNs).Errors,
348Dim opt = New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithGlobalImports(GlobalImport.Parse(importStrings))
398Assert.Equal(0, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithSpecificDiagnosticOptions(Nothing).SpecificDiagnosticOptions.Count)
417Dim commonoption = New VisualBasicCompilationOptions(OutputKind.ConsoleApplication)
508Dim options As New VisualBasicCompilationOptions(OutputKind.NetModule, embedVbCoreRuntime:=True)
545Dim options = New VisualBasicCompilationOptions(OutputKind.ConsoleApplication)
556Dim optionFalse = New VisualBasicCompilationOptions(OutputKind.ConsoleApplication)
Semantics\IFOperatorTest.vb (20)
34</compilation>, OutputKind.ConsoleApplication)
94</compilation>, OutputKind.ConsoleApplication)
146</compilation>, OutputKind.ConsoleApplication)
171</compilation>, OutputKind.ConsoleApplication)
216</compilation>, OutputKind.ConsoleApplication)
272</compilation>, OutputKind.ConsoleApplication)
478</compilation>, OutputKind.ConsoleApplication)
514</compilation>, OutputKind.ConsoleApplication)
555</compilation>, OutputKind.ConsoleApplication)
604</compilation>, OutputKind.ConsoleApplication)
646</compilation>, OutputKind.ConsoleApplication)
733</compilation>, OutputKind.ConsoleApplication)
775</compilation>, OutputKind.ConsoleApplication)
805</compilation>, OutputKind.ConsoleApplication)
841</compilation>, OutputKind.ConsoleApplication)
904</compilation>, OutputKind.ConsoleApplication)
951</compilation>, OutputKind.ConsoleApplication)
994</compilation>, OutputKind.ConsoleApplication)
1030</compilation>, OutputKind.ConsoleApplication)
1085</compilation>, OutputKind.ConsoleApplication)
Semantics\OverloadResolution.vb (11)
3857Dim compilation = CompilationUtils.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.Custom))
4126Dim compilation = CompilationUtils.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.On))
4129compilation = CompilationUtils.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.Off))
4157Dim compilation = CompilationUtils.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.On))
4192Dim compilation = CompilationUtils.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.On))
4230compilation = CompilationUtils.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.On))
4238compilation = CompilationUtils.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.Off))
4754Dim Compilation = CompilationUtils.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.Off))
4790Dim compilation = CompilationUtils.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.Off))
5008Dim compilation = CompilationUtils.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.Off))
5043Dim compilation = CompilationUtils.CreateCompilationWithMscorlib40AndVBRuntime(compilationDef, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.Off))
Semantics\PartialMethodsTest.vb (7)
595Dim comp = CreateCompilationWithMscorlib40({tree1, tree2}, options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
924Dim comp = CreateCompilationWithMscorlib40({tree1, tree2}, options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
959Dim comp = CreateCompilationWithMscorlib40({tree1}, options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
994Dim comp = CreateCompilationWithMscorlib40({tree1}, options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
1038Dim comp = CreateCompilationWithMscorlib40({tree1, tree2}, options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
1094Dim comp = CreateCompilationWithMscorlib40({tree1, tree2}, options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
1135Dim comp = CreateCompilationWithMscorlib40({tree}, options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (91)
SymbolsTests\Metadata\MetadataMemberTests.vb (11)
615options:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication),
940Dim options = New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)
983options = New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)
1021Dim options = New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)
1025options = New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, metadataImportOptions:=MetadataImportOptions.Internal)
1028options = New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, metadataImportOptions:=MetadataImportOptions.All)
1031options = New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, metadataImportOptions:=MetadataImportOptions.Public)
1034options = New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, metadataImportOptions:=CType(Byte.MaxValue, MetadataImportOptions))
1049Dim compilation = CreateCompilationWithMscorlib40("", options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, metadataImportOptions:=MetadataImportOptions.Internal), references:={compilation0.EmitToImageReference()})
1056compilation = compilation.WithOptions(New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, metadataImportOptions:=MetadataImportOptions.All))
1063compilation = compilation.WithOptions(New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, metadataImportOptions:=CType(Byte.MaxValue, MetadataImportOptions)))
SymbolsTests\SymbolErrorTests.vb (41)
6906Dim csharpComp = CSharp.CSharpCompilation.Create("Test", options:=New CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
9476</compilation>, options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary).WithGlobalImports(
9499</compilation>, options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary).WithGlobalImports(
19129Dim opt = New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithRootNamespace("_CLS")
19147Dim opt = New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithRootNamespace("A._B")
19165Dim opt = New VisualBasicCompilationOptions(OutputKind.ConsoleApplication)
19188Dim opt = New VisualBasicCompilationOptions(OutputKind.ConsoleApplication)
19487</compilation>, New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, rootNamespace:="ConsoleApplicationVB"))
19506</compilation>, New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, rootNamespace:="CONSOLEAPPLICATIONVB"))
19527</compilation>, New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, rootNamespace:="GOO.bar"))
19547</compilation>, New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, rootNamespace:="GOO.BAR"))
19568</compilation>, New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, rootNamespace:="GOO.BAR"))
19588</compilation>, New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, rootNamespace:="goo.BAR"))
19607</compilation>, New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, rootNamespace:="CONSOLEAPPLICATIONVB"))
19643Dim options = New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithRootNamespace("BC40056WRN_UndefinedOrEmptyNamespaceOrClass1")
19728</compilation>, New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, optionStrict:=OptionStrict.Custom))
19874</compilation>, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionInfer(True).WithOptionStrict(OptionStrict.Custom))
19882compilation1 = compilation1.WithOptions(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionInfer(True).WithOptionStrict(OptionStrict.Off))
19886compilation1 = compilation1.WithOptions(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionInfer(True).WithOptionStrict(OptionStrict.On))
19959compilation2 = compilation2.WithOptions(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionInfer(False).WithOptionStrict(OptionStrict.On))
19981</compilation>, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionInfer(True).WithOptionStrict(OptionStrict.On))
20030compilation1 = compilation1.WithOptions(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.Off).WithOptionInfer(True))
20056</compilation>, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithOptionStrict(OptionStrict.On).WithOptionInfer(True))
20531</compilation>, New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, optionStrict:=OptionStrict.Custom))
24185options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
24202options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
24221options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
24245options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
24265options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
24283options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
24341options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
24383options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
24406Dim compilation = CreateCompilationWithMscorlib40(String.Empty, references:={ilModule}, options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
24419options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
24425options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
24451options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
24514options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
24555options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
24570options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
24601options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
24618options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (9)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (11)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (2)
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces (3)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (9)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (18)
Microsoft.CodeAnalysis.Workspaces.UnitTests (14)
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
Microsoft.Gen.Logging.Unit.Tests (2)
Microsoft.Gen.Metrics.Unit.Tests (1)
Microsoft.Gen.MetricsReports.Unit.Tests (1)
Microsoft.ML.CodeAnalyzer.Tests (1)
Microsoft.VisualStudio.LanguageServices.CSharp (8)
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
Microsoft.VisualStudio.LanguageServices.VisualBasic (11)
Mvc.Analyzers.Test (1)
StackDepthTest (1)
System.Windows.Forms.Analyzers.CSharp (6)
System.Windows.Forms.Analyzers.CSharp.Tests (18)
System.Windows.Forms.Analyzers.VisualBasic.Tests (4)
System.Windows.Forms.Design.Tests (1)
System.Windows.Forms.PrivateSourceGenerators.Tests (1)
VBCSCompiler.UnitTests (1)