65 references to WindowsApplication
Microsoft.AspNetCore.Analyzers.Test (1)
StartupCSharpAnalyzerTest.cs (1)
17TestState.OutputKind = OutputKind.WindowsApplication;
Microsoft.CodeAnalysis (7)
Compilation\Compilation.cs (4)
2238outputKind == OutputKind.WindowsApplication || 2398case OutputKind.WindowsApplication: 2419case OutputKind.WindowsApplication: 2768/// By default both entry points in an executable program (<see cref="OutputKind.ConsoleApplication"/>, <see cref="OutputKind.WindowsApplication"/>, <see cref="OutputKind.WindowsRuntimeApplication"/>)
Compilation\SubsystemVersion.cs (1)
164case OutputKind.WindowsApplication:
OutputKind.cs (2)
64case OutputKind.WindowsApplication: 87case OutputKind.WindowsApplication:
Microsoft.CodeAnalysis.CSharp (2)
CommandLine\CSharpCommandLineParser.cs (1)
1832return OutputKind.WindowsApplication;
CSharpCompilationOptions.cs (1)
715if (Platform == Platform.AnyCpu32BitPreferred && OutputKind.IsValid() && !(OutputKind == OutputKind.ConsoleApplication || OutputKind == OutputKind.WindowsApplication || OutputKind == OutputKind.WindowsRuntimeApplication))
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\ConvertProgram\ConvertProgramAnalysis_ProgramMain.cs (1)
21=> options.OutputKind is OutputKind.ConsoleApplication or OutputKind.WindowsApplication;
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (6)
CommandLineTests.cs (6)
1326Assert.Equal(OutputKind.WindowsApplication, parsedArgs.CompilationOptions.OutputKind); 1389Assert.Equal(OutputKind.WindowsApplication, parsedArgs.CompilationOptions.OutputKind); 7473options = options.WithOutputKind(OutputKind.WindowsApplication); 7592CheckManifestString(source, OutputKind.WindowsApplication, explicitManifest: null, expectedManifest: 7777case OutputKind.WindowsApplication: 12448Tuple.Create("winexe", OutputKind.WindowsApplication),
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\Analyzers\ConvertProgram\ConvertProgramAnalysis_ProgramMain.cs (1)
21=> options.OutputKind is OutputKind.ConsoleApplication or OutputKind.WindowsApplication;
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Compilation\CompilationAPITests.cs (3)
1972c2 = c1.WithOptions(TestOptions.ReleaseDll.WithOutputKind(OutputKind.WindowsApplication)); 1989c2 = c1.WithOptions(TestOptions.CreateTestOptions(OutputKind.WindowsApplication, OptimizationLevel.Debug)); 2420Assert.Throws<ArgumentException>(() => CSharpCompilation.CreateScriptCompilation("a", options: TestOptions.ReleaseDll.WithOutputKind(OutputKind.WindowsApplication)));
Microsoft.CodeAnalysis.LanguageServer (1)
LanguageServer\Handler\DebugConfiguration\WorkspaceDebugConfigurationHandler.cs (1)
48var isExe = project.CompilationOptions?.OutputKind is OutputKind.ConsoleApplication or OutputKind.WindowsApplication;
Microsoft.CodeAnalysis.Test.Utilities (1)
CommonTestBase.cs (1)
92(compilation.Options.OutputKind == OutputKind.ConsoleApplication || compilation.Options.OutputKind == OutputKind.WindowsApplication),
Microsoft.CodeAnalysis.VisualBasic (3)
CommandLine\VisualBasicCommandLineParser.vb (1)
1664Return OutputKind.WindowsApplication
PredefinedPreprocessorSymbols.vb (1)
78Case OutputKind.WindowsApplication
VisualBasicCompilationOptions.vb (1)
1067Not (OutputKind = OutputKind.ConsoleApplication OrElse OutputKind = OutputKind.WindowsApplication OrElse OutputKind = OutputKind.WindowsRuntimeApplication) Then
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (4)
CommandLineTests.vb (4)
2923Assert.Equal(OutputKind.WindowsApplication, parsedArgs.CompilationOptions.OutputKind) 2969Assert.Equal(OutputKind.WindowsApplication, parsedArgs.CompilationOptions.OutputKind) 6612CheckManifestXml(source, OutputKind.WindowsApplication, explicitManifest:=Nothing, expectedManifest:=expectedManifest) 6813Case OutputKind.WindowsApplication
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (2)
PDB\PDBTests.vb (2)
4354OutputKind.WindowsApplication, 4363OutputKind.WindowsApplication,
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (6)
Compilation\CompilationAPITests.vb (3)
2244c2 = c1.WithOptions(New VisualBasicCompilationOptions(OutputKind.WindowsApplication)) 2258c2 = c1.WithOptions(New VisualBasicCompilationOptions(OutputKind.WindowsApplication)) 2630Assert.Throws(Of ArgumentException)(Function() VisualBasicCompilation.CreateScriptCompilation("a", options:=TestOptions.ReleaseDll.WithOutputKind(OutputKind.WindowsApplication)))
Compilation\MyTemplateTests.vb (2)
198Dim defines = PredefinedPreprocessorSymbols.AddPredefinedPreprocessorSymbols(OutputKind.WindowsApplication) 202Dim compilationOptions = TestOptions.ReleaseExe.WithOutputKind(OutputKind.WindowsApplication).WithParseOptions(parseOptions).WithMainTypeName("Form1")
Diagnostics\DiagnosticAnalyzerTests.vb (1)
1635Dim defines = AddPredefinedPreprocessorSymbols(OutputKind.WindowsApplication)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (3)
Parser\VisualBasicParseOptionsTests.vb (3)
66symbols = AddPredefinedPreprocessorSymbols(OutputKind.WindowsApplication, 70symbols = AddPredefinedPreprocessorSymbols(OutputKind.WindowsApplication, 77symbols = AddPredefinedPreprocessorSymbols(OutputKind.WindowsApplication, empty)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (2)
VisualStudioMSBuildWorkspaceTests.cs (2)
1525await AssertCSCompilationOptionsAsync(OutputKind.WindowsApplication, options => options.OutputKind); 1723await AssertVBCompilationOptionsAsync(OutputKind.WindowsApplication, options => options.OutputKind);
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Workspaces\TestHostProject`1.cs (1)
291case OutputKind.WindowsApplication:
Microsoft.CodeAnalysis.Workspaces.UnitTests (3)
SolutionTests\SolutionTests.cs (3)
1175compilationOptions: new CSharpCompilationOptions(OutputKind.WindowsApplication, moduleName: "newModuleName"), 1314compilationOptions: new CSharpCompilationOptions(OutputKind.WindowsApplication, moduleName: "newModuleName"), 1419compilationOptions: new CSharpCompilationOptions(OutputKind.WindowsApplication, moduleName: "newModuleName"),
Microsoft.VisualStudio.LanguageServices.CSharp (1)
ProjectSystemShim\CSharpProjectShim.OptionsProcessor.cs (1)
240OutputFileType.Windows => OutputKind.WindowsApplication,
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
ProjectSystemShim\VisualBasicProject.OptionsProcessor.vb (1)
129Return OutputKind.WindowsApplication
System.Windows.Forms.Analyzers.CSharp (2)
System\Windows\Forms\CSharp\Generators\ApplicationConfiguration\ApplicationConfigurationGenerator.cs (2)
37if (outputKind is not OutputKind.WindowsApplication 45Location.None, nameof(OutputKind.WindowsApplication)));
System.Windows.Forms.Analyzers.CSharp.Tests (10)
Analyzers\AvoidPassingTaskWithoutCancellationToken\AvoidPassingTaskWithoutCancellationTokenTest.cs (1)
185OutputKind = OutputKind.WindowsApplication,
Analyzers\MissingPropertySerializationConfiguration\ControlPropertySerializationDiagnosticAnalyzerTest.cs (3)
179OutputKind = OutputKind.WindowsApplication, 200OutputKind = OutputKind.WindowsApplication, 223OutputKind = OutputKind.WindowsApplication,
Generators\ApplicationConfigurationGeneratorTests.cs (6)
51and not OutputKind.WindowsApplication) 82[InlineData(OutputKind.WindowsApplication)] 112OutputKind = OutputKind.WindowsApplication, 133OutputKind = OutputKind.WindowsApplication, 171OutputKind = OutputKind.WindowsApplication, 197OutputKind = OutputKind.WindowsApplication,
System.Windows.Forms.Analyzers.VisualBasic.Tests (4)
AvoidPassingTaskWithoutCancellationTokenTest.vb (1)
165context.TestState.OutputKind = OutputKind.WindowsApplication
MissingPropertySerializationConfigurationAnalyzerTest.vb (3)
174context.TestState.OutputKind = OutputKind.WindowsApplication 190context.TestState.OutputKind = OutputKind.WindowsApplication 209context.TestState.OutputKind = OutputKind.WindowsApplication