617 references to ConsoleApplication
Aspire.Hosting.Analyzers.Tests (1)
Microsoft.Analyzers.Extra (1)
Microsoft.Analyzers.Extra.Tests (2)
Microsoft.Analyzers.Local.Tests (2)
Microsoft.AspNetCore.App.Analyzers.Test (6)
Microsoft.CodeAnalysis (8)
Microsoft.CodeAnalysis.CSharp (5)
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (46)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (7)
CommandLineTests.cs (7)
1314Assert.Equal(OutputKind.ConsoleApplication, parsedArgs.CompilationOptions.OutputKind);
1365Assert.Equal(OutputKind.ConsoleApplication, parsedArgs.CompilationOptions.OutputKind);
2560Assert.Equal(new CSharpCompilationOptions(OutputKind.ConsoleApplication).OptimizationLevel, parsedArgs.CompilationOptions.OptimizationLevel);
7552CheckManifestString(source, OutputKind.ConsoleApplication, explicitManifest: null, expectedManifest:
7695CheckManifestString(source, OutputKind.ConsoleApplication, explicitManifest, expectedManifest);
7773case OutputKind.ConsoleApplication:
12447Tuple.Create("exe", OutputKind.ConsoleApplication),
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (5)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (37)
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 (2)
Microsoft.CodeAnalysis.CSharp.Features (2)
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (161)
ConvertProgram\ConvertToProgramMainAnalyzerTests.cs (23)
32TestState = { OutputKind = OutputKind.ConsoleApplication },
79TestState = { OutputKind = OutputKind.ConsoleApplication },
107TestState = { OutputKind = OutputKind.ConsoleApplication },
137TestState = { OutputKind = OutputKind.ConsoleApplication },
168TestState = { OutputKind = OutputKind.ConsoleApplication },
191TestState = { OutputKind = OutputKind.ConsoleApplication },
214TestState = { OutputKind = OutputKind.ConsoleApplication },
245TestState = { OutputKind = OutputKind.ConsoleApplication },
276TestState = { OutputKind = OutputKind.ConsoleApplication },
315TestState = { OutputKind = OutputKind.ConsoleApplication },
343TestState = { OutputKind = OutputKind.ConsoleApplication },
375TestState = { OutputKind = OutputKind.ConsoleApplication },
404TestState = { OutputKind = OutputKind.ConsoleApplication },
435TestState = { OutputKind = OutputKind.ConsoleApplication },
463TestState = { OutputKind = OutputKind.ConsoleApplication },
492TestState = { OutputKind = OutputKind.ConsoleApplication },
517TestState = { OutputKind = OutputKind.ConsoleApplication },
541TestState = { OutputKind = OutputKind.ConsoleApplication },
576TestState = { OutputKind = OutputKind.ConsoleApplication },
615TestState = { OutputKind = OutputKind.ConsoleApplication },
649TestState = { OutputKind = OutputKind.ConsoleApplication },
688TestState = { OutputKind = OutputKind.ConsoleApplication },
725TestState = { 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.Semantic.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (51)
Compilation\CSharpCompilationOptionsTests.cs (50)
38TestPropertyGeneric(new CSharpCompilationOptions(OutputKind.ConsoleApplication), factory, getter, validNonDefaultValue);
103TestPropertyGeneric(new CSharpCompilationOptions(OutputKind.ConsoleApplication), factory, getter, validNonDefaultValue);
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(
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();
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]);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (4)
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Microsoft.CodeAnalysis.LanguageServer (1)
Microsoft.CodeAnalysis.Rebuild.UnitTests (4)
Microsoft.CodeAnalysis.Test.Utilities (2)
Microsoft.CodeAnalysis.VisualBasic (7)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.UnitTests (4)
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (5)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (50)
Microsoft.CodeAnalysis.VisualBasic.Features.UnitTests (6)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (150)
Compilation\VisualBasicCompilationOptionsTests.vb (42)
21TestPropertyGeneric(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication), factory, getter, validNonDefaultValue)
55TestPropertyGeneric(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication), factory, getter, validNonDefaultValue)
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)
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)
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))
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (21)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (4)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (2)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (2)
Microsoft.CodeAnalysis.Workspaces.UnitTests (4)
Microsoft.VisualStudio.LanguageServices.CSharp (1)
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
System.Windows.Forms.Analyzers.CSharp (1)
System.Windows.Forms.Analyzers.CSharp.Tests (2)