18 references to WithCryptoPublicKey
Microsoft.CodeAnalysis.CSharp (1)
CSharpCompilationOptions.cs (1)
800return WithCryptoPublicKey(cryptoPublicKey);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Emit\EditAndContinue\AssemblyReferencesTests.cs (2)
30TestOptions.ReleaseDll.WithCryptoPublicKey(TestResources.TestKeys.PublicKey_ce65828c82a341f2); 583var options = ComSafeDebugDll.WithCryptoPublicKey(TestResources.TestKeys.PublicKey_ce65828c82a341f2);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
Attributes\InternalsVisibleToAndStrongNameTests.cs (4)
477var c = CreateCompilation(source, options: TestOptions.ReleaseDll.WithCryptoPublicKey(s_publicKey), parseOptions: parseOptions); 501var c = CreateCompilation(source, options: TestOptions.ReleaseDll.WithCryptoPublicKey(s_publicKey).WithPublicSign(true), parseOptions: parseOptions); 517c = CreateCompilation(source, options: TestOptions.SigningReleaseModule.WithCryptoPublicKey(s_publicKey).WithPublicSign(true), parseOptions: parseOptions); 773WithCryptoPublicKey(ImmutableArray.Create<byte>(1, 2, 3)).
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\ImplicitObjectCreationTests.cs (1)
4380var signedDll = TestOptions.ReleaseDll.WithCryptoPublicKey(TestResources.TestKeys.PublicKey_ce65828c82a341f2);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (8)
Compilation\CSharpCompilationOptionsTests.cs (4)
119TestProperty((old, value) => old.WithCryptoPublicKey(value), opt => opt.CryptoPublicKey, ImmutableArray.Create<byte>(0, 1, 2, 3)); 445Assert.Equal(ImmutableArray<byte>.Empty, options.WithCryptoPublicKey(default(ImmutableArray<byte>)).CryptoPublicKey); 447Assert.Same(options, options.WithCryptoPublicKey(default(ImmutableArray<byte>))); 448Assert.Same(options, options.WithCryptoPublicKey(ImmutableArray<byte>.Empty));
Compilation\ReferenceManagerTests.cs (3)
27TestOptions.ReleaseDll.WithCryptoPublicKey(TestResources.TestKeys.PublicKey_ce65828c82a341f2); 2168options: TestOptions.ReleaseDll.WithCryptoPublicKey(TestResources.TestKeys.PublicKey_b03f5f7f11d50a3a), 2175options: TestOptions.ReleaseDll.WithCryptoPublicKey(TestResources.TestKeys.PublicKey_b03f5f7f11d50a3a),
Symbols\TypeTests.cs (1)
807TestOptions.ReleaseDll.WithCryptoPublicKey(TestResources.TestKeys.PublicKey_b03f5f7f11d50a3a),
Microsoft.CodeAnalysis.Test.Utilities (1)
AssemblyLoadTestFixture.cs (1)
527options = options.WithPublicSign(true).WithCryptoPublicKey(publicKeyOpt);
Microsoft.CodeAnalysis.UnitTests (1)
AnalyzerAssemblyLoaderTests.cs (1)
1322TestOptions.DebugDll.WithPublicSign(true).WithCryptoPublicKey(SigningTestHelpers.PublicKey));