27 references to WithPublicSign
Microsoft.CodeAnalysis.CSharp (1)
CSharpCompilationOptions.cs (1)
631protected override CompilationOptions CommonWithPublicSign(bool publicSign) => WithPublicSign(publicSign);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Emit\CompilationEmitTests.cs (1)
1999options: TestOptions.ReleaseDll.WithCryptoKeyFile(snk.Path).WithPublicSign(true));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (16)
Attributes\InternalsVisibleToAndStrongNameTests.cs (16)
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); 524c = CreateCompilation(source, options: TestOptions.SigningReleaseModule.WithCryptoKeyFile(s_publicKeyFile).WithPublicSign(true), parseOptions: parseOptions); 541c = CreateCompilation(source1, options: TestOptions.SigningReleaseModule.WithCryptoKeyFile(snk.Path).WithPublicSign(true)); 557var c = CreateCompilation(source, options: TestOptions.ReleaseDll.WithPublicSign(true), parseOptions: parseOptions); 577var c = CreateCompilation(source, options: TestOptions.ReleaseDll.WithPublicSign(true), parseOptions: parseOptions); 611.WithPublicSign(true), 633.WithPublicSign(true), 657.WithPublicSign(true), 679.WithPublicSign(true), 696.WithPublicSign(true), 719.WithPublicSign(true) 740.WithPublicSign(true) 756options: TestOptions.ReleaseDll.WithPublicSign(true), 2836var options = TestOptions.DebugDll.WithPublicSign(true); 2848var options = TestOptions.DebugDll.WithCryptoKeyFile(string.Empty).WithPublicSign(true);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\InheritanceBindingTests.cs (2)
2996new[] { source1 }, TargetFrameworkUtil.GetReferences(TargetFramework.Standard, null).ToArray(), TestOptions.DebugDll.WithPublicSign(true)); 2999new[] { source1 }, TargetFrameworkUtil.GetReferences(TargetFramework.Standard, null).ToArray(), TestOptions.DebugDll.WithPublicSign(true));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (5)
Compilation\CompilationAPITests.cs (3)
240.WithPublicSign(true).WithCryptoKeyFile("test.snk"); 254CreateCompilation("", options: TestOptions.ReleaseDll.WithPublicSign(true).WithCryptoKeyFile("")).VerifyDiagnostics( 263CreateCompilation("", options: TestOptions.ReleaseDll.WithPublicSign(true).WithCryptoKeyFile("\"\"")).VerifyDiagnostics(
Symbols\GenericConstraintTests.cs (2)
7329TestOptions.ReleaseDll.WithPublicSign(true)); 7335TestOptions.ReleaseDll.WithPublicSign(true));
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));