37 references to SigningTestHelpers
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (11)
CodeGen\CodeGenTupleTest.cs (1)
23219WithCryptoKeyFile(SigningTestHelpers.KeyPairFile);
Emit\CompilationEmitTests.cs (3)
2016WithCryptoKeyFile(SigningTestHelpers.KeyPairFile); 2034WithCryptoKeyFile(SigningTestHelpers.KeyPairFile). 2054.WithCryptoKeyFile(SigningTestHelpers.KeyPairFile)
Emit\DesktopStrongNameProviderTests.cs (3)
12using static Roslyn.Test.Utilities.SigningTestHelpers; 98.WithCryptoKeyFile(SigningTestHelpers.KeyPairFile); 115.WithCryptoKeyFile(SigningTestHelpers.KeyPairFile);
PrivateProtected.cs (4)
11using static Roslyn.Test.Utilities.SigningTestHelpers; 20private static readonly string s_keyPairFile = SigningTestHelpers.KeyPairFile; 21private static readonly string s_publicKeyFile = SigningTestHelpers.PublicKeyFile; 22private static readonly ImmutableArray<byte> s_publicKey = SigningTestHelpers.PublicKey;
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (11)
Attributes\EmitTestStrongNameProvider.cs (1)
14using static Roslyn.Test.Utilities.SigningTestHelpers;
Attributes\InternalsVisibleToAndStrongNameTests.cs (10)
24using static Roslyn.Test.Utilities.SigningTestHelpers; 53SigningTestHelpers.InstallKey(); 57private static readonly string s_keyPairFile = SigningTestHelpers.KeyPairFile; 58private static readonly string s_publicKeyFile = SigningTestHelpers.PublicKeyFile; 59private static readonly ImmutableArray<byte> s_publicKey = SigningTestHelpers.PublicKey; 208var options = TestOptions.SigningReleaseDll.WithStrongNameProvider(SigningTestHelpers.DefaultDesktopStrongNameProvider); 1366options: TestOptions.SigningReleaseDll.WithCryptoKeyFile(SigningTestHelpers.KeyPairFile2), 1453options: TestOptions.SigningReleaseDll.WithCryptoKeyFile(SigningTestHelpers.MaxSizeKeyFile), 1474options: TestOptions.SigningReleaseExe.WithCryptoKeyFile(SigningTestHelpers.MaxSizeKeyFile), 1484options: TestOptions.SigningReleaseExe.WithCryptoKeyFile(SigningTestHelpers.MaxSizeKeyFile),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\InheritanceBindingTests.cs (2)
2995var comp11 = CreateCompilation(new AssemblyIdentity("lib1", new Version("4.2.1.0"), publicKeyOrToken: SigningTestHelpers.PublicKey, hasPublicKey: true), 2998var comp12 = CreateCompilation(new AssemblyIdentity("lib1", new Version("4.1.0.0"), publicKeyOrToken: SigningTestHelpers.PublicKey, hasPublicKey: true),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Symbols\GenericConstraintTests.cs (2)
7368new AssemblyIdentity("remapped", new Version("1.0.0.0"), publicKeyOrToken: SigningTestHelpers.PublicKey, hasPublicKey: true), 7374new AssemblyIdentity("remapped", new Version("2.0.0.0"), publicKeyOrToken: SigningTestHelpers.PublicKey, hasPublicKey: true),
Microsoft.CodeAnalysis.CSharp.Test.Utilities (4)
TestOptions.cs (4)
93public static readonly CSharpCompilationOptions SigningReleaseDll = ReleaseDll.WithStrongNameProvider(SigningTestHelpers.DefaultDesktopStrongNameProvider); 94public static readonly CSharpCompilationOptions SigningReleaseExe = ReleaseExe.WithStrongNameProvider(SigningTestHelpers.DefaultDesktopStrongNameProvider); 95public static readonly CSharpCompilationOptions SigningReleaseModule = ReleaseModule.WithStrongNameProvider(SigningTestHelpers.DefaultDesktopStrongNameProvider); 96public static readonly CSharpCompilationOptions SigningDebugDll = DebugDll.WithStrongNameProvider(SigningTestHelpers.DefaultDesktopStrongNameProvider);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Utilities\SymbolEquivalenceComparerTests.cs (2)
15using static Roslyn.Test.Utilities.SigningTestHelpers; 26WithCryptoKeyFile(SigningTestHelpers.KeyPairFile).
Microsoft.CodeAnalysis.Features.UnitTests (1)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (1)
640useStrongName ? TestOptions.SigningDebugDll.WithCryptoKeyFile(SigningTestHelpers.KeyPairFile) : TestOptions.DebugDll);
Microsoft.CodeAnalysis.Test.Utilities (2)
AssemblyLoadTestFixture.cs (2)
195DeltaPublicSigned1 = GenerateDll("DeltaPublicSigned", _directory.CreateDirectory("Delta1PublicSigned"), Delta1Source, publicKeyOpt: SigningTestHelpers.PublicKey); 223DeltaPublicSigned2 = GenerateDll("DeltaPublicSigned", v2PublicSignedDirectory, Delta2Source, publicKeyOpt: SigningTestHelpers.PublicKey);
Microsoft.CodeAnalysis.UnitTests (1)
AnalyzerAssemblyLoaderTests.cs (1)
1289TestOptions.DebugDll.WithPublicSign(true).WithCryptoPublicKey(SigningTestHelpers.PublicKey));
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Workspaces\TestWorkspace_XmlConsumption.cs (1)
471strongNameProvider = SigningTestHelpers.DefaultDesktopStrongNameProvider;