2 types derived from DesktopStrongNameProvider
Microsoft.CodeAnalysis.Test.Utilities (1)
Compilation\TestDesktopStrongNameProvider.cs (1)
16internal sealed class TestDesktopStrongNameProvider : DesktopStrongNameProvider
Microsoft.CodeAnalysis.UnitTests (1)
StrongNameProviderTests.cs (1)
74public class VirtualizedStrongNameProvider : DesktopStrongNameProvider
23 instantiations of DesktopStrongNameProvider
Microsoft.CodeAnalysis (1)
CommandLine\CommandLineArguments.cs (1)
312=> new DesktopStrongNameProvider(KeyFileSearchPaths, fileSystem);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (6)
Emit\DesktopStrongNameProviderTests.cs (6)
23var provider = new DesktopStrongNameProvider(tempPath: tempDir.Path); 30var provider = new DesktopStrongNameProvider(tempPath: null); 38var provider1 = new DesktopStrongNameProvider(tempPath: tempDir.Path); 39var provider2 = new DesktopStrongNameProvider(tempPath: tempDir.Path); 58var provider1 = new DesktopStrongNameProvider(tempPath: tempDir.Path); 59var provider2 = new DesktopStrongNameProvider(tempPath: tempDir.Path + "2");
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Attributes\InternalsVisibleToAndStrongNameTests.cs (1)
95options: TestOptions.ReleaseDll.WithStrongNameProvider(new DesktopStrongNameProvider()),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (5)
Compilation\CSharpCompilationOptionsTests.cs (3)
95TestHiddenProperty((old, value) => old.WithStrongNameProvider(value), opt => opt.StrongNameProvider, new DesktopStrongNameProvider()); 136TestProperty((old, value) => old.WithStrongNameProvider(value), opt => opt.StrongNameProvider, new DesktopStrongNameProvider()); 409StrongNameProvider strongNameProvider = new DesktopStrongNameProvider();
Compilation\GetUnusedImportDirectivesTests.cs (2)
223options: TestOptions.ReleaseDll.WithStrongNameProvider(new DesktopStrongNameProvider()), 244options: TestOptions.ReleaseDll.WithStrongNameProvider(new DesktopStrongNameProvider()),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
2874var ca = CreateCompilation(source, options: TestOptions.ReleaseDll.WithStrongNameProvider(new DesktopStrongNameProvider()).WithCryptoKeyContainer("bogus"));
Microsoft.CodeAnalysis.Test.Utilities (1)
Platform\Custom\SigningTestHelpers.cs (1)
64IClrStrongName strongName = new DesktopStrongNameProvider().GetStrongNameInterface();
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Attributes\InternalsVisibleToAndStrongNameTests.vb (1)
505options:=TestOptions.ReleaseDll.WithCryptoKeyFile(tmp.Path).WithStrongNameProvider(New DesktopStrongNameProvider()),
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (3)
Compilation\VisualBasicCompilationOptionsTests.vb (1)
127TestProperty(Function(old, value) old.WithStrongNameProvider(value), Function(opt) opt.StrongNameProvider, New DesktopStrongNameProvider())
Semantics\GetUnusedImportDirectivesTests.vb (2)
93</compilation>, references:={Net40.References.SystemCore}, options:=TestOptions.ReleaseDll.WithStrongNameProvider(New DesktopStrongNameProvider())) 113</compilation>, references:={ivtCompilation.ToMetadataReference()}, options:=TestOptions.ReleaseDll.WithStrongNameProvider(New DesktopStrongNameProvider()))
Microsoft.CodeAnalysis.Workspaces (4)
Serialization\AbstractOptionsSerializationService.cs (1)
162var strongNameProvider = new DesktopStrongNameProvider(ImmutableArray<string>.Empty, Path.GetTempPath());
Serialization\SerializationExtensions.cs (1)
39.WithStrongNameProvider(new DesktopStrongNameProvider(GetStrongNameKeyPaths(info), Path.GetTempPath()));
Workspace\CommandLineProject.cs (1)
47var strongNameProvider = new DesktopStrongNameProvider(commandLineArguments.KeyFileSearchPaths, Path.GetTempPath());
Workspace\ProjectSystem\ProjectSystemProjectOptionsProcessor.cs (1)
202.WithStrongNameProvider(new DesktopStrongNameProvider(_commandLineArgumentsForCommandLine.KeyFileSearchPaths.WhereNotNull().ToImmutableArray(), Path.GetTempPath()));
31 references to DesktopStrongNameProvider
Microsoft.CodeAnalysis (4)
Compilation.EmitStream.cs (1)
191catch (DesktopStrongNameProvider.ClrStrongNameMissingException)
StrongName\DesktopStrongNameProvider.cs (3)
44/// Creates an instance of <see cref="DesktopStrongNameProvider"/>. 277var other = (DesktopStrongNameProvider)obj;
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (4)
CommandLineTests.cs (4)
7337Assert.IsType<DesktopStrongNameProvider>(comp.Options.StrongNameProvider); 7359Assert.Equal(typeof(DesktopStrongNameProvider), comp.Options.StrongNameProvider.GetType()); 7381Assert.Equal(typeof(DesktopStrongNameProvider), comp.Options.StrongNameProvider.GetType()); 14189var virtualSnProvider = new DesktopStrongNameProvider(ImmutableArray.Create(dir.Path));
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (14)
Emit\DesktopStrongNameProviderTests.cs (14)
23var provider = new DesktopStrongNameProvider(tempPath: tempDir.Path); 30var provider = new DesktopStrongNameProvider(tempPath: null); 38var provider1 = new DesktopStrongNameProvider(tempPath: tempDir.Path); 39var provider2 = new DesktopStrongNameProvider(tempPath: tempDir.Path); 48var provider1 = new DesktopStrongNameProvider(keyFileSearchPaths: [tempDir.Path]); 49var provider2 = new DesktopStrongNameProvider(keyFileSearchPaths: [tempDir.Path]); 58var provider1 = new DesktopStrongNameProvider(tempPath: tempDir.Path); 59var provider2 = new DesktopStrongNameProvider(tempPath: tempDir.Path + "2"); 68var provider1 = new DesktopStrongNameProvider(keyFileSearchPaths: [tempDir.Path]); 69var provider2 = new DesktopStrongNameProvider(keyFileSearchPaths: [tempDir.Path + "2"]); 78var provider1 = new DesktopStrongNameProvider(keyFileSearchPaths: [tempDir.Path]); 79var provider2 = new DesktopStrongNameProvider(keyFileSearchPaths: [tempDir.Path.ToUpper()]); 93var provider = new DesktopStrongNameProvider(ImmutableArray<string>.Empty, new VirtualizedStrongNameFileSystem(tempDir.Path)); 111var provider = new DesktopStrongNameProvider(ImmutableArray<string>.Empty, new VirtualizedStrongNameFileSystem());
Microsoft.CodeAnalysis.UnitTests (1)
StrongNameProviderTests.cs (1)
71string resolve(string keyFilePath, ImmutableArray<string> searchPaths) => DesktopStrongNameProvider.ResolveStrongNameKeyFile(keyFilePath, provider.FileSystem, searchPaths);
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (3)
CommandLineTests.vb (3)
390Assert.IsType(Of DesktopStrongNameProvider)(comp.Options.StrongNameProvider) 409Assert.True(TypeOf comp.Options.StrongNameProvider Is DesktopStrongNameProvider) 428Assert.True(TypeOf comp.Options.StrongNameProvider Is DesktopStrongNameProvider)
Microsoft.CodeAnalysis.Workspaces (2)
Serialization\AbstractOptionsSerializationService.cs (1)
162var strongNameProvider = new DesktopStrongNameProvider(ImmutableArray<string>.Empty, Path.GetTempPath());
Workspace\CommandLineProject.cs (1)
47var strongNameProvider = new DesktopStrongNameProvider(commandLineArguments.KeyFileSearchPaths, Path.GetTempPath());
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Workspaces\TestWorkspace_XmlConsumption.cs (1)
466if (type == typeof(DesktopStrongNameProvider))
Roslyn.VisualStudio.Next.UnitTests (2)
Services\SolutionServiceTests.cs (2)
98Assert.IsType<DesktopStrongNameProvider>(compilationOptions.StrongNameProvider); 127Assert.True(compilationOptions.StrongNameProvider is DesktopStrongNameProvider);