15 references to WithCryptoKeyContainer
Microsoft.CodeAnalysis.CSharp (1)
CSharpCompilationOptions.cs (1)
790return WithCryptoKeyContainer(cryptoKeyContainer);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (10)
Attributes\InternalsVisibleToAndStrongNameTests.cs (10)
396var other = CreateCompilation(s, options: TestOptions.SigningReleaseDll.WithCryptoKeyContainer("goo"), parseOptions: parseOptions); 427var other = CreateCompilation(s, options: TestOptions.SigningReleaseDll.WithCryptoKeyContainer("RoslynTestContainer"), parseOptions: parseOptions); 439.WithCryptoKeyContainer("RoslynTestContainer") 678.WithCryptoKeyContainer("roslynTestContainer") 695.WithCryptoKeyContainer("roslynTestContainer") 774WithCryptoKeyContainer("roslynTestContainer"). 917TestOptions.SigningReleaseDll.WithCryptoKeyContainer("roslynTestContainer"), 1661var options = TestOptions.SigningReleaseModule.WithCryptoKeyContainer("roslynTestContainer"); 1680var options = TestOptions.SigningReleaseModule.WithCryptoKeyContainer("roslynTestContainer"); 1700var other = CreateCompilation(s, options: TestOptions.SigningReleaseModule.WithCryptoKeyContainer("roslynTestContainer"), parseOptions: parseOptions);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Compilation\CompilationAPITests.cs (1)
2421Assert.Throws<ArgumentException>(() => CSharpCompilation.CreateScriptCompilation("a", options: TestOptions.ReleaseDll.WithCryptoKeyContainer("goo")));
Compilation\CSharpCompilationOptionsTests.cs (1)
117TestProperty((old, value) => old.WithCryptoKeyContainer(value), opt => opt.CryptoKeyContainer, "goo");
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
2877var ca = CreateCompilation(source, options: TestOptions.ReleaseDll.WithStrongNameProvider(new DesktopStrongNameProvider()).WithCryptoKeyContainer("bogus"));
Microsoft.VisualStudio.LanguageServices.CSharp (1)
ProjectSystemShim\CSharpProjectShim.OptionsProcessor.cs (1)
140.WithCryptoKeyContainer(GetStringOption(CompilerOptions.OPTID_KEYNAME, defaultValue: null))