66 references to SigningTestHelpers
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (11)
CodeGen\CodeGenTupleTest.cs (1)
23251WithCryptoKeyFile(SigningTestHelpers.KeyPairFile);
Emit\CompilationEmitTests.cs (3)
2015WithCryptoKeyFile(SigningTestHelpers.KeyPairFile); 2033WithCryptoKeyFile(SigningTestHelpers.KeyPairFile). 2053.WithCryptoKeyFile(SigningTestHelpers.KeyPairFile)
Emit\DesktopStrongNameProviderTests.cs (3)
12using static Roslyn.Test.Utilities.SigningTestHelpers; 48.WithCryptoKeyFile(SigningTestHelpers.KeyPairFile); 65.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.Emit2.UnitTests (10)
Attributes\EmitTestStrongNameProvider.cs (1)
14using static Roslyn.Test.Utilities.SigningTestHelpers;
Attributes\InternalsVisibleToAndStrongNameTests.cs (9)
23using static Roslyn.Test.Utilities.SigningTestHelpers; 50SigningTestHelpers.InstallKey(); 53private static readonly string s_keyPairFile = SigningTestHelpers.KeyPairFile; 54private static readonly string s_publicKeyFile = SigningTestHelpers.PublicKeyFile; 55private static readonly ImmutableArray<byte> s_publicKey = SigningTestHelpers.PublicKey; 1313options: TestOptions.SigningReleaseDll.WithCryptoKeyFile(SigningTestHelpers.KeyPairFile2), 1400options: TestOptions.SigningReleaseDll.WithCryptoKeyFile(SigningTestHelpers.MaxSizeKeyFile), 1421options: TestOptions.SigningReleaseExe.WithCryptoKeyFile(SigningTestHelpers.MaxSizeKeyFile), 1431options: TestOptions.SigningReleaseExe.WithCryptoKeyFile(SigningTestHelpers.MaxSizeKeyFile),
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler.UnitTests (2)
ExpressionCompilerTests.cs (2)
25using static Roslyn.Test.Utilities.SigningTestHelpers; 5693WithCryptoKeyFile(SigningTestHelpers.KeyPairFile);
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)
7329new AssemblyIdentity("remapped", new Version("1.0.0.0"), publicKeyOrToken: SigningTestHelpers.PublicKey, hasPublicKey: true), 7335new 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.Test.Utilities (1)
Workspaces\TestWorkspace_XmlConsumption.cs (1)
631strongNameProvider = SigningTestHelpers.DefaultDesktopStrongNameProvider;
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Utilities\SymbolEquivalenceComparerTests.cs (2)
17using static Roslyn.Test.Utilities.SigningTestHelpers; 28WithCryptoKeyFile(SigningTestHelpers.KeyPairFile).
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (12)
IntelliSense\CSharpCompletionCommandHandlerTests_InternalsVisibleTo.vb (6)
343CryptoKeyFile=<%= SigningTestHelpers.PublicKeyFile %> 344StrongNameProvider=<%= SigningTestHelpers.DefaultDesktopStrongNameProvider.GetType().AssemblyQualifiedName %>/> 365StrongNameProvider=<%= SigningTestHelpers.DefaultDesktopStrongNameProvider.GetType().AssemblyQualifiedName %>/> 367[assembly: System.Reflection.AssemblyKeyFile("<%= SigningTestHelpers.PublicKeyFile.Replace("\", "\\") %>")] 389CryptoKeyFile=<%= SigningTestHelpers.PublicKeyFile %> 390StrongNameProvider=<%= SigningTestHelpers.DefaultDesktopStrongNameProvider.GetType().AssemblyQualifiedName %>
IntelliSense\VisualBasicCompletionCommandHandlerTests_InternalsVisibleTo.vb (6)
331CryptoKeyFile=<%= SigningTestHelpers.PublicKeyFile %> 332StrongNameProvider=<%= SigningTestHelpers.DefaultDesktopStrongNameProvider.GetType().AssemblyQualifiedName %>/> 354StrongNameProvider=<%= SigningTestHelpers.DefaultDesktopStrongNameProvider.GetType().AssemblyQualifiedName %>/> 356&lt;Assembly: System.Reflection.AssemblyKeyFile("<%= SigningTestHelpers.PublicKeyFile %>")&gt; 379CryptoKeyFile=<%= SigningTestHelpers.PublicKeyFile %> 380StrongNameProvider=<%= SigningTestHelpers.DefaultDesktopStrongNameProvider.GetType().AssemblyQualifiedName %>
Microsoft.CodeAnalysis.Test.Utilities (2)
AssemblyLoadTestFixture.cs (2)
138DeltaPublicSigned1 = GenerateDll("DeltaPublicSigned", _directory.CreateDirectory("Delta1PublicSigned"), Delta1Source, publicKeyOpt: SigningTestHelpers.PublicKey); 217DeltaPublicSigned2 = GenerateDll("DeltaPublicSigned", v2PublicSignedDirectory, Delta2Source, publicKeyOpt: SigningTestHelpers.PublicKey);
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (13)
Attributes\EmitTestStrongNameProvider.vb (2)
14Imports Roslyn.Test.Utilities.SigningTestHelpers 21SigningTestHelpers.InstallKey()
Attributes\InternalsVisibleToAndStrongNameTests.vb (9)
18Imports Roslyn.Test.Utilities.SigningTestHelpers 41SigningTestHelpers.InstallKey() 44Private Shared ReadOnly s_keyPairFile As String = SigningTestHelpers.KeyPairFile 45Private Shared ReadOnly s_publicKeyFile As String = SigningTestHelpers.PublicKeyFile 46Private Shared ReadOnly s_publicKey As ImmutableArray(Of Byte) = SigningTestHelpers.PublicKey 1010</compilation>, options:=TestOptions.SigningReleaseDll.WithCryptoKeyFile(SigningTestHelpers.KeyPairFile2), parseOptions:=parseOptions) 1104options:=TestOptions.SigningReleaseDll.WithCryptoKeyFile(SigningTestHelpers.MaxSizeKeyFile), parseOptions:=parseOptions) 1125options:=TestOptions.SigningReleaseExe.WithCryptoKeyFile(SigningTestHelpers.MaxSizeKeyFile), parseOptions:=parseOptions) 1132options:=TestOptions.SigningReleaseExe.WithCryptoKeyFile(SigningTestHelpers.MaxSizeKeyFile), parseOptions:=parseOptions)
CodeGen\CodeGenTuples.vb (1)
19432WithCryptoKeyFile(SigningTestHelpers.KeyPairFile)
PrivateProtected.vb (1)
12Private Shared ReadOnly s_defaultProvider As StrongNameProvider = SigningTestHelpers.DefaultDesktopStrongNameProvider
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (5)
TestOptions.vb (5)
35Public Shared ReadOnly SigningReleaseDll As VisualBasicCompilationOptions = ReleaseDll.WithStrongNameProvider(SigningTestHelpers.DefaultDesktopStrongNameProvider) 36Public Shared ReadOnly SigningReleaseExe As VisualBasicCompilationOptions = ReleaseExe.WithStrongNameProvider(SigningTestHelpers.DefaultDesktopStrongNameProvider) 37Public Shared ReadOnly SigningDebugDll As VisualBasicCompilationOptions = DebugDll.WithStrongNameProvider(SigningTestHelpers.DefaultDesktopStrongNameProvider) 38Public Shared ReadOnly SigningDebugExe As VisualBasicCompilationOptions = DebugExe.WithStrongNameProvider(SigningTestHelpers.DefaultDesktopStrongNameProvider) 39Public Shared ReadOnly SigningReleaseModule As VisualBasicCompilationOptions = ReleaseModule.WithStrongNameProvider(SigningTestHelpers.DefaultDesktopStrongNameProvider)