437 references to DynamicallyLinkedLibrary
ConfigurationSchemaGenerator.Tests (1)
GeneratorTests.cs (1)
1562var compilationOptions = new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary).WithNullableContextOptions(NullableContextOptions.Enable);
IdeCoreBenchmarks (1)
SwitchStatementBenchmarks.cs (1)
72solution = solution.WithProjectCompilationOptions(projectId, new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary));
InteractiveHost.UnitTests (1)
InteractiveHostDesktopTests.cs (1)
940new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary));
Microsoft.Analyzers.Extra.Tests (1)
Resources\RoslynTestUtils.cs (1)
59.WithCompilationOptions(new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)
Microsoft.Analyzers.Local.Tests (1)
Resources\RoslynTestUtils.cs (1)
59.WithCompilationOptions(new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)
Microsoft.AspNetCore.Analyzer.Testing (4)
CodeFixRunner.cs (2)
46var compilationOptions = ConfigureCompilationOptions(new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)); 69return options.WithOutputKind(OutputKind.DynamicallyLinkedLibrary);
DiagnosticAnalyzerRunner.cs (1)
118return options.WithOutputKind(OutputKind.DynamicallyLinkedLibrary);
DiagnosticVerifier.cs (1)
163.WithProjectCompilationOptions(projectId, new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary));
Microsoft.AspNetCore.Analyzers.Test (2)
src\Shared\AnalyzerTesting\TestCompilation.cs (1)
16new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary));
StartupAnalyzerTest.cs (1)
662test.TestState.OutputKind = OutputKind.DynamicallyLinkedLibrary;
Microsoft.AspNetCore.App.Analyzers.Test (1)
Infrastructure\WellKnownTypesTests.cs (1)
76var options = new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary);
Microsoft.AspNetCore.Http.Extensions.Tests (1)
RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (1)
314var compilationOptions = new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)
Microsoft.AspNetCore.Http.Microbenchmarks (1)
src\Http\Http.Extensions\test\RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (1)
314var compilationOptions = new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
CSharpCompiler.cs (1)
166var csharpCompilationOptions = new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary);
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (1)
CompilerFailedExceptionFactoryTest.cs (1)
50var compilation = CSharpCompilation.Create("Test", options: new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary));
Microsoft.CodeAnalysis (7)
Compilation\Compilation.cs (4)
271if (options.OutputKind.IsValid() && options.OutputKind != OutputKind.DynamicallyLinkedLibrary) 2214outputKind = OutputKind.DynamicallyLinkedLibrary; 2391case OutputKind.DynamicallyLinkedLibrary: 2413case OutputKind.DynamicallyLinkedLibrary:
Compilation\SubsystemVersion.cs (1)
162case OutputKind.DynamicallyLinkedLibrary:
OutputKind.cs (2)
68case OutputKind.DynamicallyLinkedLibrary: 91case OutputKind.DynamicallyLinkedLibrary:
Microsoft.CodeAnalysis.CSharp (3)
CommandLine\CSharpCommandLineParser.cs (1)
1835return OutputKind.DynamicallyLinkedLibrary;
Compilation\CSharpCompilation.cs (2)
345private static readonly CSharpCompilationOptions s_defaultSubmissionOptions = new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary).WithReferencesSupersedeLowerVersions(true); 3414var kind = _options.OutputKind.IsValid() ? _options.OutputKind : OutputKind.DynamicallyLinkedLibrary;
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (6)
src\Analyzers\CSharp\Tests\ImplementAbstractClass\ImplementAbstractClassTests.cs (1)
180OutputKind.DynamicallyLinkedLibrary,
src\Analyzers\CSharp\Tests\RemoveUnnecessaryParentheses\RemoveUnnecessaryExpressionParenthesesTests.cs (1)
3225compilationOptions: new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary, checkOverflow: true)));
src\Analyzers\CSharp\Tests\UseCollectionInitializer\UseCollectionInitializerTests.cs (1)
25OutputKind outputKind = OutputKind.DynamicallyLinkedLibrary,
src\Analyzers\CSharp\Tests\UseCollectionInitializer\UseCollectionInitializerTests_CollectionExpression.cs (2)
24private static async Task TestInRegularAndScriptAsync([StringSyntax("C#-test")] string testCode, [StringSyntax("C#-test")] string fixedCode, OutputKind outputKind = OutputKind.DynamicallyLinkedLibrary) 5349OutputKind = OutputKind.DynamicallyLinkedLibrary,
src\Analyzers\CSharp\Tests\UseNullPropagation\UseNullPropagationTests.cs (1)
23private static async Task TestInRegularAndScript1Async(string testCode, string fixedCode, OutputKind outputKind = OutputKind.DynamicallyLinkedLibrary)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (11)
CommandLineTests.cs (11)
1322Assert.Equal(OutputKind.DynamicallyLinkedLibrary, parsedArgs.CompilationOptions.OutputKind); 1381Assert.Equal(OutputKind.DynamicallyLinkedLibrary, parsedArgs.CompilationOptions.OutputKind); 7579CheckManifestString(source, OutputKind.DynamicallyLinkedLibrary, explicitManifest: null, expectedManifest: null); 7730CheckManifestString(source, OutputKind.DynamicallyLinkedLibrary, explicitManifest, expectedManifest); 7781case OutputKind.DynamicallyLinkedLibrary: 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(); 12449Tuple.Create("library", OutputKind.DynamicallyLinkedLibrary), 15388new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary));
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
Interactive\CSharpInteractiveEvaluatorLanguageInfoProvider.cs (1)
38OutputKind.DynamicallyLinkedLibrary,
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (6)
GenerateConstructorFromMembers\GenerateConstructorFromMembersTests.cs (2)
1999""", compilationOptions: new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary, allowUnsafe: true)); 2022""", compilationOptions: new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary, allowUnsafe: true));
PdbSourceDocument\AbstractPdbSourceDocumentTests.cs (1)
267var options = compilationFactory.GetDefaultCompilationOptions().WithOutputKind(OutputKind.DynamicallyLinkedLibrary);
QuickInfo\SemanticQuickInfoSourceTests.cs (1)
8187await TestWithOptionsAsync(new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary, nullableContextOptions: NullableContextOptions.Enable),
SymbolKey\SymbolKeyErrorTypeTests.cs (2)
373var sourceCompilation = (Compilation)CreateCompilation(source, options: new(OutputKind.DynamicallyLinkedLibrary, allowUnsafe: true)); 387var emptyCompilation = CSharpCompilation.Create("empty", options: new(OutputKind.DynamicallyLinkedLibrary, concurrentBuild: false))
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (14)
CodeGen\CodeGenOverridingAndHiding.cs (6)
4191compilationOptions: new VisualBasic.VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)); 4215compilationOptions: new VisualBasic.VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary), 4259compilationOptions: new VisualBasic.VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)); 4284compilationOptions: new VisualBasic.VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary), 4409compilationOptions: new VisualBasic.VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)); 4430compilationOptions: new VisualBasic.VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
CodeGen\CodeGenTupleTest.cs (3)
6308compilationOptions: new VisualBasic.VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)); 6325compilationOptions: new VisualBasic.VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)); 6578compilationOptions: new VisualBasic.VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary));
Emit\CompilationEmitTests.cs (3)
1060var reference = CompilationVerifier.LoadTestEmittedExecutableForSymbolValidation(image, OutputKind.DynamicallyLinkedLibrary); 1142var reference = CompilationVerifier.LoadTestEmittedExecutableForSymbolValidation(image, OutputKind.DynamicallyLinkedLibrary); 2724OutputKind.DynamicallyLinkedLibrary, GetDefaultModulePropertiesForSerialization(), SpecializedCollections.EmptyEnumerable<ResourceDescription>());
Emit\DeterministicTests.cs (1)
472var opt = new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary);
Emit\EmitMetadataTests.cs (1)
1413var module = new PEAssemblyBuilder((SourceAssemblySymbol)sourceType.ContainingAssembly, EmitOptions.Default, OutputKind.DynamicallyLinkedLibrary,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (21)
Attributes\AttributeTests_IsUnmanaged.cs (3)
755[InlineData(OutputKind.DynamicallyLinkedLibrary)] 778[InlineData(OutputKind.DynamicallyLinkedLibrary)] 801[InlineData(OutputKind.DynamicallyLinkedLibrary)]
Attributes\AttributeTests_Synthesized.cs (17)
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) 1596[InlineData(OutputKind.DynamicallyLinkedLibrary)] 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)
Attributes\InternalsVisibleToAndStrongNameTests.cs (1)
1056options: new VisualBasic.VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary).WithStrongNameProvider(DefaultDesktopStrongNameProvider));
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (1)
EndToEndTests.cs (1)
401var options = new VisualBasic.VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (9)
ConvertToRawString\ConvertInterpolatedStringToRawStringTests.cs (1)
21private static async Task VerifyRefactoringAsync(string testCode, string? fixedCode = null, int index = 0, OutputKind outputKind = OutputKind.DynamicallyLinkedLibrary)
ConvertToRawString\ConvertRegularStringToRawStringTests.cs (1)
21private static async Task VerifyRefactoringAsync(string testCode, string fixedCode, int index = 0, OutputKind outputKind = OutputKind.DynamicallyLinkedLibrary)
SimplifyTypeNames\SimplifyTypeNamesTests.cs (1)
5308""", compilationOptions: new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary, warningLevel: warningLevel));
src\Analyzers\CSharp\Tests\ImplementAbstractClass\ImplementAbstractClassTests.cs (1)
180OutputKind.DynamicallyLinkedLibrary,
src\Analyzers\CSharp\Tests\RemoveUnnecessaryParentheses\RemoveUnnecessaryExpressionParenthesesTests.cs (1)
3225compilationOptions: new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary, checkOverflow: true)));
src\Analyzers\CSharp\Tests\UseCollectionInitializer\UseCollectionInitializerTests.cs (1)
25OutputKind outputKind = OutputKind.DynamicallyLinkedLibrary,
src\Analyzers\CSharp\Tests\UseCollectionInitializer\UseCollectionInitializerTests_CollectionExpression.cs (2)
24private static async Task TestInRegularAndScriptAsync([StringSyntax("C#-test")] string testCode, [StringSyntax("C#-test")] string fixedCode, OutputKind outputKind = OutputKind.DynamicallyLinkedLibrary) 5349OutputKind = OutputKind.DynamicallyLinkedLibrary,
src\Analyzers\CSharp\Tests\UseNullPropagation\UseNullPropagationTests.cs (1)
23private static async Task TestInRegularAndScript1Async(string testCode, string fixedCode, OutputKind outputKind = OutputKind.DynamicallyLinkedLibrary)
Microsoft.CodeAnalysis.CSharp.Scripting (1)
CSharpScriptCompiler.cs (1)
57outputKind: OutputKind.DynamicallyLinkedLibrary,
Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests (5)
InteractiveSessionReferencesTests.cs (4)
35new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary, cryptoPublicKey: TestResources.TestKeys.PublicKey_ce65828c82a341f2); 38new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary, cryptoPublicKey: TestResources.TestKeys.PublicKey_ce65828c82a341f2); 530new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)); 1118new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary));
ObjectFormatterTests.cs (1)
107new VB.VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel: OptimizationLevel.Debug));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\NamedAndOptionalTests.cs (1)
1566compilationOptions: new VisualBasic.VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (14)
Compilation\CSharpCompilationOptionsTests.cs (3)
73TestHiddenProperty((old, value) => old.WithOutputKind(value), opt => opt.OutputKind, OutputKind.DynamicallyLinkedLibrary); 109TestProperty((old, value) => old.WithOutputKind(value), opt => opt.OutputKind, OutputKind.DynamicallyLinkedLibrary); 352new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary, platform: Platform.AnyCpu32BitPreferred).VerifyErrors(
CrossLanguageTests.cs (1)
29new VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary));
Symbols\Source\BaseClassTests.cs (1)
1574var module = new PEAssemblyBuilder((SourceAssemblySymbol)@class.ContainingAssembly, EmitOptions.Default, OutputKind.DynamicallyLinkedLibrary,
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,
Symbols\Source\PropertyTests.cs (2)
2505var module = new PEAssemblyBuilder((SourceAssemblySymbol)@class.ContainingAssembly, EmitOptions.Default, OutputKind.DynamicallyLinkedLibrary, 2543var module = new PEAssemblyBuilder((SourceAssemblySymbol)@class.ContainingAssembly, EmitOptions.Default, OutputKind.DynamicallyLinkedLibrary,
Symbols\SymbolErrorTests.cs (1)
16436new VisualBasic.VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary));
Microsoft.CodeAnalysis.CSharp.Test.Utilities (4)
BasicCompilationUtils.cs (1)
37var options = new VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel: OptimizationLevel.Release);
CSharpTestBase.cs (1)
888options = options ?? TestOptions.ReleaseDll.WithOutputKind((expectedOutput != null) ? OutputKind.ConsoleApplication : OutputKind.DynamicallyLinkedLibrary);
TestOptions.cs (2)
72public static readonly CSharpCompilationOptions ReleaseDll = CreateTestOptions(OutputKind.DynamicallyLinkedLibrary, OptimizationLevel.Release); 79public static readonly CSharpCompilationOptions DebugDll = CreateTestOptions(OutputKind.DynamicallyLinkedLibrary, OptimizationLevel.Debug);
Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests (4)
Metadata\WinMdEventTests.cs (4)
2956foreach (OutputKind kind in new[] { OutputKind.DynamicallyLinkedLibrary, OutputKind.WindowsRuntimeMetadata }) 3025foreach (OutputKind kind in new[] { OutputKind.DynamicallyLinkedLibrary, OutputKind.WindowsRuntimeMetadata }) 3091foreach (OutputKind kind in new[] { OutputKind.DynamicallyLinkedLibrary, OutputKind.WindowsRuntimeMetadata }) 3286foreach (OutputKind kind in new[] { OutputKind.DynamicallyLinkedLibrary, OutputKind.WindowsRuntimeMetadata })
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (3)
CodeGeneration\AddImportsTests.cs (2)
788.WithCompilationOptions(new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)); 837.WithOptions(new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
CodeGeneration\SyntaxGeneratorTests.cs (1)
2549WithOptions(new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)).
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
ExtractInterface\AbstractExtractInterfaceTests.cs (1)
73new VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, rootNamespace: rootNamespace));
Workspaces\VisualBasicTestWorkspaceFixture.cs (1)
18compilationOptions: new VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (7)
Diagnostics\SuppressMessageAttributeWorkspaceTests.cs (2)
49options: new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary), 84OutputKind.DynamicallyLinkedLibrary, rootNamespace: rootNamespace),
MetadataAsSource\AbstractMetadataAsSourceTests.cs (1)
80.WithCompilationOptions(new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel: OptimizationLevel.Release));
MetadataAsSource\MetadataAsSourceTests.cs (2)
1729.WithCompilationOptions(new CS.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)); 1743.WithCompilationOptions(new VB.VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary));
Utilities\SymbolEquivalenceComparerTests.cs (2)
25public static readonly CS.CSharpCompilationOptions CSharpDllOptions = new CS.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary); 26public static readonly CS.CSharpCompilationOptions CSharpSignedDllOptions = new CS.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary).
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\MetadataAsSourceGeneratedFileInfo.cs (1)
63var compilationOptions = services.GetRequiredLanguageService<ICompilationFactoryService>(LanguageName).GetDefaultCompilationOptions().WithOutputKind(OutputKind.DynamicallyLinkedLibrary);
Microsoft.CodeAnalysis.Rebuild (2)
CSharpCompilationFactory.cs (1)
87pdbOptions.OptionToEnum<OutputKind>(CompilationOptionNames.OutputKind) ?? OutputKind.DynamicallyLinkedLibrary,
VisualBasicCompilationFactory.cs (1)
96pdbOptions.OptionToEnum<OutputKind>(CompilationOptionNames.OutputKind) ?? OutputKind.DynamicallyLinkedLibrary,
Microsoft.CodeAnalysis.Rebuild.UnitTests (3)
BasicDeterministicKeyBuilderTests.cs (1)
237options: new VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, deterministic: true));
CSharpDeterministicKeyBuilderTests.cs (1)
428options: new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary, deterministic: true));
RoundTripUtil.cs (1)
85OutputKind.DynamicallyLinkedLibrary => ".dll",
Microsoft.CodeAnalysis.Scripting.TestUtilities (3)
TestCompilationFactory.cs (3)
26new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)); 35new VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)); 44options ?? new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary));
Microsoft.CodeAnalysis.Test.Utilities (10)
AssemblyLoadTestFixture.cs (1)
523CSharpCompilationOptions options = new(OutputKind.DynamicallyLinkedLibrary, warningLevel: Diagnostic.MaxWarningLevel);
CommonTestBase.cs (2)
368compilationOptions = new CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary); 454compilationOptions = new VisualBasic.VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary);
Compilation\CompilationExtensions.cs (1)
512options: new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary));
Compilation\IRuntimeEnvironment.cs (2)
126OutputKind.DynamicallyLinkedLibrary, 216OutputKind.DynamicallyLinkedLibrary,
Mocks\Silverlight.cs (1)
82OutputKind.DynamicallyLinkedLibrary,
Mocks\StdOle.cs (1)
69OutputKind.DynamicallyLinkedLibrary,
Platform\Desktop\TestHelpers.cs (1)
91new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary));
TestBase.cs (1)
194var compilationOptions = new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary);
Microsoft.CodeAnalysis.UnitTests (7)
Analyzers\AnalyzerFileReferenceAppDomainTests.cs (1)
103new CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary, warningLevel: CodeAnalysis.Diagnostic.MaxWarningLevel));
Analyzers\AnalyzerFileReferenceTests.cs (1)
487new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary));
CorLibTypesTests.cs (1)
69options: new CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary, warningLevel: CodeAnalysis.Diagnostic.MaxWarningLevel),
Diagnostics\CompilationWithAnalyzersTests.cs (1)
23private static readonly CSharpCompilationOptions s_dllWithMaxWarningLevel = new(OutputKind.DynamicallyLinkedLibrary, warningLevel: CodeAnalysis.Diagnostic.MaxWarningLevel);
Diagnostics\SuppressMessageAttributeCompilerTests.cs (2)
59options: new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary), 91OutputKind.DynamicallyLinkedLibrary,
Diagnostics\SuppressMessageTargetSymbolResolverTests.cs (1)
1440options: new VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, rootNamespace: rootNamespace),
Microsoft.CodeAnalysis.VisualBasic (4)
CommandLine\VisualBasicCommandLineParser.vb (1)
1666Return OutputKind.DynamicallyLinkedLibrary
Compilation\VisualBasicCompilation.vb (2)
357If(options, New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)).WithReferencesSupersedeLowerVersions(True), 2426Dim kind = If(Options.OutputKind.IsValid(), Options.OutputKind, OutputKind.DynamicallyLinkedLibrary)
PredefinedPreprocessorSymbols.vb (1)
72Case OutputKind.DynamicallyLinkedLibrary
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.UnitTests (1)
src\Features\VisualBasicTest\Diagnostics\AbstractVisualBasicDiagnosticProviderBasedUserDiagnosticTest_NoEditor.vb (1)
27Return parameters.WithCompilationOptions(If(parameters.compilationOptions, New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)))
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (9)
CommandLineTests.vb (9)
1974Assert.Equal(OutputKind.DynamicallyLinkedLibrary, parsedArgs.CompilationOptions.OutputKind) 2919Assert.Equal(OutputKind.DynamicallyLinkedLibrary, parsedArgs.CompilationOptions.OutputKind) 2965Assert.Equal(OutputKind.DynamicallyLinkedLibrary, parsedArgs.CompilationOptions.OutputKind) 5208opt = opt.WithOutputKind(OutputKind.DynamicallyLinkedLibrary) 6557CheckManifestXml(source, OutputKind.DynamicallyLinkedLibrary, explicitManifest:=Nothing, expectedManifest:=Nothing) 6761CheckManifestXml(source, OutputKind.DynamicallyLinkedLibrary, explicitManifest, expectedManifest) 6816Case OutputKind.DynamicallyLinkedLibrary 6859Dim resourceId As String = If(outputKind = OutputKind.DynamicallyLinkedLibrary, "#2", "#1") 10880New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (132)
Attributes\AssemblyAttributes.vb (36)
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) 447</compilation>, New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)) 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.vb (1)
3397compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
Attributes\AttributeTests_Synthesized.vb (14)
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)) 1653Dim options = New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel:=optimizationLevel) 1687Dim options = New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel:=optimizationLevel) 1748Dim options = New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel:=optimizationLevel)
Attributes\AttributeTests_WellKnownAttributes.vb (5)
3695Dim compilation = CompilationUtils.CreateCompilationWithMscorlib40(source, OutputKind.DynamicallyLinkedLibrary) 3761Dim compilation = CompilationUtils.CreateCompilationWithMscorlib40(source, OutputKind.DynamicallyLinkedLibrary) 3791Dim compilation = CompilationUtils.CreateCompilationWithMscorlib40(source, OutputKind.DynamicallyLinkedLibrary) 3815Dim compilation = CompilationUtils.CreateCompilationWithMscorlib40(source, OutputKind.DynamicallyLinkedLibrary) 3843Dim compilation = CompilationUtils.CreateCompilationWithMscorlib40(source, OutputKind.DynamicallyLinkedLibrary)
Attributes\InternalsVisibleToAndStrongNameTests.vb (5)
840options:=New CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary).WithStrongNameProvider(DefaultDesktopStrongNameProvider)) 2301Dim options = New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, cryptoKeyFile:=Nothing) 2311Dim options = New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, cryptoKeyFile:=String.Empty) 2321Dim options = New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, cryptoKeyFile:=Nothing, publicSign:=True) 2334Dim options = New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, cryptoKeyFile:=String.Empty, publicSign:=True)
BreakingChanges.vb (2)
548compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)) 634compilationOptions:=New Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
CodeGen\CodeGenAsyncTests.vb (1)
9086compilationOptions:=New CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel:=OptimizationLevel.Release, allowUnsafe:=True))
CodeGen\CodeGenEvents.vb (7)
134compilationOptions:=New Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)) 185compilationOptions:=New Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)) 959compilationOptions:=New Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)) 1215}]]>, compilationOptions:=New Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)) 1291compilationOptions:=New Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)) 1393compilationOptions:=New Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)) 1448compilationOptions:=New Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
CodeGen\CodeGenIterators.vb (1)
1582Dim comp = CreateEmptyCompilationWithReferences(source, {MscorlibRef_v4_0_30316_17626}, New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
CodeGen\CodeGenMultiDimensionalArray.vb (1)
1466compilationOptions:=New Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
CodeGen\CodeGenOverridingAndHiding.vb (17)
177compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)) 190compilationOptions:=New CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary), 201compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary), 249compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)) 263compilationOptions:=New CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary), 274compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary), 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\CodeGenSelectCase.vb (1)
4535</compilation>, OutputKind.DynamicallyLinkedLibrary).
CodeGen\CodeGenTests.vb (10)
6128</compilation>, OutputKind.DynamicallyLinkedLibrary). 6144</compilation>, OutputKind.DynamicallyLinkedLibrary). 6160</compilation>, OutputKind.DynamicallyLinkedLibrary). 6176</compilation>, OutputKind.DynamicallyLinkedLibrary). 8168compilationOptions:=New CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)) 8202compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)) 8235compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)) 8386compilationOptions:=New Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)) 8426compilationOptions:=New Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)) 10746compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
CodeGen\CodeGenTuples.vb (12)
7205compilationOptions:=New CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)) 7476compilationOptions:=New CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)) 9342compilationOptions:=New Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary), 9464compilationOptions:=New Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary), 9552compilationOptions:=New Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary), 9616compilationOptions:=New Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary), 9698compilationOptions:=New Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary), 9766compilationOptions:=New Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary), 9825compilationOptions:=New Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary), 17349compilationOptions:=New CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary), 21326compilationOptions:=New CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary), 21462compilationOptions:=New CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
CodeGen\CodeGenWithEvents.vb (7)
1151compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)) 1185compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)) 1623compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)) 1691compilationOptions:=New CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)) 1791compilationOptions:=New CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)) 1845compilationOptions:=New Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)) 1893compilationOptions:=New CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
Emit\CompilationEmitTests.vb (6)
890Dim reference = CompilationVerifier.LoadTestEmittedExecutableForSymbolValidation(image, OutputKind.DynamicallyLinkedLibrary) 965Dim reference = CompilationVerifier.LoadTestEmittedExecutableForSymbolValidation(image, OutputKind.DynamicallyLinkedLibrary) 2114Dim compilation = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary).WithPlatform(Platform.AnyCpu)) 2175Dim compilation = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary).WithPlatform(Platform.Arm)) 2236Dim compilation = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary).WithPlatform(Platform.X64)) 3277Dim assemblyBuilder = New PEAssemblyBuilder(sourceAssembly, emitOptions, OutputKind.DynamicallyLinkedLibrary, GetDefaultModulePropertiesForSerialization(), SpecializedCollections.EmptyEnumerable(Of ResourceDescription), Nothing)
Emit\DeterministicTests.vb (4)
174compilationOptions:=New CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)) 203options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary), 238compilationOptions:=New CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)) 244options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
PDB\ChecksumTests.vb (1)
174</compilation>, OutputKind.DynamicallyLinkedLibrary)
PDB\VisualBasicDeterministicBuildCompilationTests.vb (1)
190OutputKind.DynamicallyLinkedLibrary,
Microsoft.CodeAnalysis.VisualBasic.ExpressionCompiler (2)
CompilationExtensions.vb (1)
115outputKind:=OutputKind.DynamicallyLinkedLibrary,
EEAssemblyBuilder.vb (1)
38outputKind:=OutputKind.DynamicallyLinkedLibrary,
Microsoft.CodeAnalysis.VisualBasic.Features.UnitTests (8)
CodeActions\AbstractVisualBasicCodeActionTest_NoEditor.vb (1)
22Return parameters.WithCompilationOptions(If(parameters.compilationOptions, New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)))
Diagnostics\AbstractVisualBasicDiagnosticProviderBasedUserDiagnosticTest_NoEditor.vb (1)
27Return parameters.WithCompilationOptions(If(parameters.compilationOptions, New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)))
Diagnostics\Configuration\ConfigureCodeStyle\BooleanCodeStyleOptionConfigurationTests.vb (1)
17Return parameters.WithCompilationOptions(If(parameters.compilationOptions, New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)))
Diagnostics\Configuration\ConfigureSeverity\CodeStyleOptionBasedSeverityConfigurationTests.vb (1)
17Return parameters.WithCompilationOptions(If(parameters.compilationOptions, New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)))
Diagnostics\Configuration\ConfigureSeverity\DotNetDiagnosticSeverityBasedSeverityConfigurationTests.vb (1)
41Return parameters.WithCompilationOptions(If(parameters.compilationOptions, New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)))
Diagnostics\Configuration\ConfigureSeverity\MultipleCodeStyleOptionBasedConfigureSeverityTests.vb (1)
16Return parameters.WithCompilationOptions(If(parameters.compilationOptions, New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)))
Diagnostics\Suppression\RemoveUnnecessaryPragmaSuppressionsTests.vb (1)
33Return parameters.WithCompilationOptions(If(parameters.compilationOptions, New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)))
Diagnostics\Suppression\SuppressionTests.vb (1)
28Return parameters.WithCompilationOptions(If(parameters.compilationOptions, New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)))
Microsoft.CodeAnalysis.VisualBasic.Scripting (1)
VisualBasicScriptCompiler.vb (1)
77outputKind:=OutputKind.DynamicallyLinkedLibrary,
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (37)
Binding\Binder_Statements_Tests.vb (1)
3619compilation = compilation.WithOptions(compilation.Options.WithOutputKind(OutputKind.DynamicallyLinkedLibrary))
Binding\LookupTests.vb (7)
2803compilationOptions:=New Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)) 2832compilationOptions:=New Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)) 2860compilationOptions:=New Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)) 2893compilationOptions:=New Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)) 2926compilationOptions:=New Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)) 2958compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)) 3000compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
Compilation\CompilationAPITests.vb (6)
44Dim options = New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary). 181Dim options = New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary). 193Dim options = New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary). 204Dim options = New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary). 2030Dim compilation = CreateCompilationWithMscorlib40(source, OutputKind.DynamicallyLinkedLibrary) 2599Dim CompilationOptions = New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)
Compilation\ReferenceManagerTests.vb (4)
775Dim libV1 = CompilationUtils.CreateCompilationWithMscorlib40(sourceLibV1, OutputKind.DynamicallyLinkedLibrary) 1405compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)) 1412compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary), 1420compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary),
Compilation\VisualBasicCompilationOptionsTests.vb (2)
26TestHiddenProperty(Function(old, value) old.WithOutputKind(value), Function(opt) opt.OutputKind, OutputKind.DynamicallyLinkedLibrary) 88TestProperty(Function(old, value) old.WithOutputKind(value), Function(opt) opt.OutputKind, OutputKind.DynamicallyLinkedLibrary)
DeclaringSyntaxNodeTests.vb (1)
378</compilation>, options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary).WithRootNamespace("N1"))
Diagnostics\CompilationEventTests.vb (5)
98CreateCompilationWithMscorlib40AndVBRuntime(source, options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)).WithEventQueue(q).VerifyDiagnostics().VerifyDiagnostics() 164Dim comp = CreateCompilationWithMscorlib40AndVBRuntime(source, options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)).WithEventQueue(q) 169comp = CreateCompilationWithMscorlib40AndVBRuntime(source, options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)).WithEventQueue(q) 175comp = CreateCompilationWithMscorlib40AndVBRuntime(source, options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)).WithEventQueue(q) 181comp = CreateCompilationWithMscorlib40AndVBRuntime(source, options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)).WithEventQueue(q)
Diagnostics\GetDiagnosticsTests.vb (4)
292Dim options = New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary) 328Dim options = New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary) 359Dim options = New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, parseOptions:=parseOptions1) 388Dim options = New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, parseOptions:=parseOptions1)
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 (49)
SymbolsTests\AttributeTests_UnmanagedCallersOnly.vb (1)
14Private ReadOnly _csharpCompOptions As CSharp.CSharpCompilationOptions = New CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary, allowUnsafe:=True)
SymbolsTests\InaccessibleOverriding.vb (2)
105</compilation>, OutputKind.DynamicallyLinkedLibrary) 246</compilation>, OutputKind.DynamicallyLinkedLibrary)
SymbolsTests\Metadata\MetadataMemberTests.vb (10)
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\Metadata\PE\HasUnsupportedMetadata.vb (1)
517compilationOptions:=New CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary).WithAllowUnsafe(True))
SymbolsTests\Metadata\PE\NoPia.vb (1)
1241OutputKind.DynamicallyLinkedLibrary,
SymbolsTests\Source\FieldTests.vb (1)
447compilationOptions:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
SymbolsTests\Source\PropertyTests.vb (3)
586Dim compilation = CompilationUtils.CreateCompilationWithMscorlib40(source, OutputKind.DynamicallyLinkedLibrary) 8086Dim comp = CreateCompilationWithMscorlib40(libSrc, OutputKind.DynamicallyLinkedLibrary) 8199Dim [module] = New PEAssemblyBuilder(DirectCast([class].ContainingAssembly, SourceAssemblySymbol), EmitOptions.Default, OutputKind.DynamicallyLinkedLibrary, GetDefaultModulePropertiesForSerialization(), SpecializedCollections.EmptyEnumerable(Of ResourceDescription)())
SymbolsTests\SymbolErrorTests.vb (29)
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( 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")) 19728</compilation>, New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, optionStrict:=OptionStrict.Custom)) 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),
SymbolsTests\UnmanagedTypeConstraintTests.vb (1)
1327compilationOptions:=New CSharp.CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary).WithAllowUnsafe(True)).EmitToImageReference()
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Parser\VisualBasicParseOptionsTests.vb (1)
63symbols = AddPredefinedPreprocessorSymbols(OutputKind.DynamicallyLinkedLibrary, symbols)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (3)
TestOptions.vb (3)
21Public Shared ReadOnly ReleaseDll As VisualBasicCompilationOptions = New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel:=OptimizationLevel.Release).WithParseOptions(Regular) 24Public Shared ReadOnly ReleaseDebugDll As VisualBasicCompilationOptions = New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel:=OptimizationLevel.Release). 30Public Shared ReadOnly DebugDll As VisualBasicCompilationOptions = New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel:=OptimizationLevel.Debug).WithParseOptions(Regular)
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.vb (1)
2454WithOptions(New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)).
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (2)
VisualStudioMSBuildWorkspaceTests.cs (2)
1511await AssertCSCompilationOptionsAsync(OutputKind.DynamicallyLinkedLibrary, options => options.OutputKind); 1709await AssertVBCompilationOptionsAsync(OutputKind.DynamicallyLinkedLibrary, options => options.OutputKind);
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (5)
Workspaces\TestHostProject`1.cs (1)
295case OutputKind.DynamicallyLinkedLibrary:
Workspaces\TestWorkspace_XmlConsumption.cs (2)
416var outputKind = OutputKind.DynamicallyLinkedLibrary; 768var options = compilationFactory.GetDefaultCompilationOptions().WithOutputKind(OutputKind.DynamicallyLinkedLibrary);
Workspaces\TestWorkspace_XmlCreation.cs (1)
173if (options.OutputKind != OutputKind.DynamicallyLinkedLibrary)
Workspaces\TestWorkspace`1.cs (1)
775.WithOutputKind(OutputKind.DynamicallyLinkedLibrary)
Microsoft.CodeAnalysis.Workspaces.UnitTests (4)
BatchFixAllProviderTests.cs (1)
151return new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary);
CommandLineProject\CommandLineProjectWorkspaceTests.cs (2)
34Assert.Equal(OutputKind.DynamicallyLinkedLibrary, project.CompilationOptions.OutputKind); 62Assert.Equal(OutputKind.DynamicallyLinkedLibrary, project.CompilationOptions.OutputKind);
SolutionTests\SolutionTests.cs (1)
4831.WithProjectCompilationOptions(projectId, new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary).WithNullableContextOptions(NullableContextOptions.Enable));
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
84new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary).WithNullableContextOptions(NullableContextOptions.Enable));
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
84new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary).WithNullableContextOptions(NullableContextOptions.Enable));
Microsoft.Gen.Logging.Unit.Tests (2)
CompilationHelper.cs (1)
51options: new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary));
test\Generators\Shared\RoslynTestUtils.cs (1)
84new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary).WithNullableContextOptions(NullableContextOptions.Enable));
Microsoft.Gen.Metrics.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
84new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary).WithNullableContextOptions(NullableContextOptions.Enable));
Microsoft.Gen.MetricsReports.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
84new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary).WithNullableContextOptions(NullableContextOptions.Enable));
Microsoft.ML.CodeAnalyzer.Tests (1)
Code\BestFriendTest.cs (1)
70projectA = projectA.WithCompilationOptions(projectA.CompilationOptions.WithOutputKind(OutputKind.DynamicallyLinkedLibrary));
Microsoft.VisualStudio.LanguageServices.CSharp (1)
ProjectSystemShim\CSharpProjectShim.OptionsProcessor.cs (1)
241OutputFileType.Library => OutputKind.DynamicallyLinkedLibrary,
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
ProjectSystemShim\ConvertedVisualBasicProjectOptionsTests.vb (1)
167New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary) _
Microsoft.VisualStudio.LanguageServices.VisualBasic (2)
ProjectSystemShim\TempPECompiler.TempPEProject.vb (1)
206New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, parseOptions:=_parseOptions), pCompilerOptions)
ProjectSystemShim\VisualBasicProject.OptionsProcessor.vb (1)
125Return OutputKind.DynamicallyLinkedLibrary
Mvc.Analyzers.Test (1)
src\Shared\AnalyzerTesting\TestCompilation.cs (1)
16new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary));
StackDepthTest (1)
Program.cs (1)
78var options = new CSharpCompilationOptions(outputKind: OutputKind.DynamicallyLinkedLibrary, concurrentBuild: false);
System.Windows.Forms.Design.Tests (1)
System\Resources\Tools\CodeDomCompileHelper.cs (1)
38new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary));
System.Windows.Forms.PrivateSourceGenerators.Tests (1)
EnumValidationTests.cs (1)
303CSharpCompilation compilation = CSharpCompilation.Create("original", new SyntaxTree[] { syntaxTree }, references, new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary));
VBCSCompiler.UnitTests (1)
AnalyzerConsistencyCheckerTests.cs (1)
59OutputKind.DynamicallyLinkedLibrary,