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
27 instantiations of DesktopStrongNameProvider
Microsoft.CodeAnalysis (1)
CommandLine\CommandLineArguments.cs (1)
307=> new DesktopStrongNameProvider(KeyFileSearchPaths, fileSystem);
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
CommandLineTests.cs (1)
13531var virtualSnProvider = new DesktopStrongNameProvider(ImmutableArray.Create(dir.Path));
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (4)
Emit\DesktopStrongNameProviderTests.cs (4)
23var provider = new DesktopStrongNameProvider(tempPath: tempDir.Path); 30var provider = new DesktopStrongNameProvider(tempPath: null); 43var provider = new DesktopStrongNameProvider(ImmutableArray<string>.Empty, new VirtualizedStrongNameFileSystem(tempDir.Path)); 61var provider = new DesktopStrongNameProvider(ImmutableArray<string>.Empty, new VirtualizedStrongNameFileSystem());
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Attributes\InternalsVisibleToAndStrongNameTests.cs (2)
58new DesktopStrongNameProvider(ImmutableArray.Create(keyFilePath), strongNameFileSystem: new VirtualizedStrongNameFileSystem()); 88options: 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)
2842var ca = CreateCompilation(source, options: TestOptions.ReleaseDll.WithStrongNameProvider(new DesktopStrongNameProvider()).WithCryptoKeyContainer("bogus"));
Microsoft.CodeAnalysis.Rebuild.UnitTests (1)
CSharpDeterministicKeyBuilderTests.cs (1)
421.WithStrongNameProvider(new DesktopStrongNameProvider(default, fileSystem));
Microsoft.CodeAnalysis.Test.Utilities (2)
Platform\Custom\SigningTestHelpers.cs (2)
21new DesktopStrongNameProvider(ImmutableArray<string>.Empty, new VirtualizedStrongNameFileSystem()); 64IClrStrongName strongName = new DesktopStrongNameProvider().GetStrongNameInterface();
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (2)
Attributes\InternalsVisibleToAndStrongNameTests.vb (2)
49Return New DesktopStrongNameProvider(ImmutableArray.Create(keyFilePath), New VirtualizedStrongNameFileSystem()) 473options:=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)
92</compilation>, references:={TestMetadata.Net40.SystemCore}, options:=TestOptions.ReleaseDll.WithStrongNameProvider(New DesktopStrongNameProvider())) 112</compilation>, references:={ivtCompilation.ToMetadataReference()}, options:=TestOptions.ReleaseDll.WithStrongNameProvider(New DesktopStrongNameProvider()))
Microsoft.CodeAnalysis.Workspaces (4)
Serialization\AbstractOptionsSerializationService.cs (1)
162strongNameProvider = new DesktopStrongNameProvider();
Serialization\SerializationExtensions.cs (1)
40.WithStrongNameProvider(new DesktopStrongNameProvider(GetStrongNameKeyPaths(info)));
Workspace\CommandLineProject.cs (1)
50var strongNameProvider = new DesktopStrongNameProvider(commandLineArguments.KeyFileSearchPaths);
Workspace\ProjectSystem\ProjectSystemProjectOptionsProcessor.cs (1)
190.WithStrongNameProvider(new DesktopStrongNameProvider(_commandLineArgumentsForCommandLine.KeyFileSearchPaths.WhereNotNull().ToImmutableArray()));
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\MSBuildProjectLoader.Worker.cs (1)
361.WithStrongNameProvider(new DesktopStrongNameProvider(commandLineArgs.KeyFileSearchPaths))
20 references to DesktopStrongNameProvider
Microsoft.CodeAnalysis (4)
Compilation.EmitStream.cs (1)
184catch (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)
7146Assert.IsType<DesktopStrongNameProvider>(comp.Options.StrongNameProvider); 7168Assert.Equal(typeof(DesktopStrongNameProvider), comp.Options.StrongNameProvider.GetType()); 7190Assert.Equal(typeof(DesktopStrongNameProvider), comp.Options.StrongNameProvider.GetType()); 13531var virtualSnProvider = new DesktopStrongNameProvider(ImmutableArray.Create(dir.Path));
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (4)
Emit\DesktopStrongNameProviderTests.cs (4)
23var provider = new DesktopStrongNameProvider(tempPath: tempDir.Path); 30var provider = new DesktopStrongNameProvider(tempPath: null); 43var provider = new DesktopStrongNameProvider(ImmutableArray<string>.Empty, new VirtualizedStrongNameFileSystem(tempDir.Path)); 61var provider = new DesktopStrongNameProvider(ImmutableArray<string>.Empty, new VirtualizedStrongNameFileSystem());
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Workspaces\TestWorkspace_XmlConsumption.cs (1)
629if (type == typeof(DesktopStrongNameProvider))
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)
389Assert.IsType(Of DesktopStrongNameProvider)(comp.Options.StrongNameProvider) 408Assert.True(TypeOf comp.Options.StrongNameProvider Is DesktopStrongNameProvider) 427Assert.True(TypeOf comp.Options.StrongNameProvider Is DesktopStrongNameProvider)
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\CommandLineProject.cs (1)
50var strongNameProvider = new DesktopStrongNameProvider(commandLineArguments.KeyFileSearchPaths);
Roslyn.VisualStudio.Next.UnitTests (2)
Services\SolutionServiceTests.cs (2)
94Assert.IsType<DesktopStrongNameProvider>(compilationOptions.StrongNameProvider); 123Assert.True(compilationOptions.StrongNameProvider is DesktopStrongNameProvider);