3 writes to CryptoKeyContainer
Microsoft.CodeAnalysis (1)
Compilation\CompilationOptions.cs (1)
301this.CryptoKeyContainer = cryptoKeyContainer;
Microsoft.CodeAnalysis.CSharp (1)
CSharpCompilationOptions.cs (1)
325return new CSharpCompilationOptions(this) { CryptoKeyContainer = name };
Microsoft.CodeAnalysis.VisualBasic (1)
VisualBasicCompilationOptions.vb (1)
732Return New VisualBasicCompilationOptions(Me) With {.CryptoKeyContainer = name}
42 references to CryptoKeyContainer
Microsoft.CodeAnalysis (16)
Compilation\Compilation.cs (1)
269if (options.CryptoKeyContainer != null ||
Compilation\CompilationOptions.cs (14)
57/// If specified the values of <see cref="CryptoKeyFile"/> and <see cref="CryptoKeyContainer"/> 69/// To sign the output supply either one of <see cref="CryptoKeyFile"/> or <see cref="CryptoKeyContainer"/>. 70/// but not both. If both are specified <see cref="CryptoKeyContainer"/> is ignored. 84/// To sign the output supply either one of <see cref="CryptoKeyFile"/> or <see cref="CryptoKeyContainer"/>. 85/// but not both. If both are specified <see cref="CryptoKeyContainer"/> is ignored. 101/// If false and <see cref="CryptoPublicKey"/>, <see cref="CryptoKeyFile"/>, or <see cref="CryptoKeyContainer"/> is specified 574if (CryptoKeyContainer != null) 577Location.None, nameof(CryptoPublicKey), nameof(CryptoKeyContainer))); 589if (CryptoKeyContainer != null) 592Location.None, nameof(PublicSign), nameof(CryptoKeyContainer))); 628string.Equals(this.CryptoKeyContainer, other.CryptoKeyContainer, StringComparison.Ordinal) && 676Hash.Combine(this.CryptoKeyContainer != null ? StringComparer.Ordinal.GetHashCode(this.CryptoKeyContainer) : 0,
StrongName\StrongNameKeys.cs (1)
44/// <see cref="CompilationOptions.CryptoKeyContainer"/>.
Microsoft.CodeAnalysis.CSharp (7)
CSharpCompilationOptions.cs (2)
240cryptoKeyContainer: other.CryptoKeyContainer, 320if (name == this.CryptoKeyContainer)
Symbols\Source\SourceAssemblySymbol.cs (5)
514string keyContainer = _compilation.Options.CryptoKeyContainer; 784if (!String.IsNullOrEmpty(_compilation.Options.CryptoKeyContainer)) 800else if (String.Compare(_compilation.Options.CryptoKeyContainer, assemblyKeyContainerAttributeSetting, StringComparison.OrdinalIgnoreCase) != 0) 2019if (!string.IsNullOrEmpty(_compilation.Options.CryptoKeyContainer) && 2025var typedConstant = new TypedConstant(stringType, TypedConstantKind.Primitive, _compilation.Options.CryptoKeyContainer);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Attributes\InternalsVisibleToAndStrongNameTests.cs (1)
708Assert.NotNull(comp.Options.CryptoKeyContainer);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Compilation\CSharpCompilationOptionsTests.cs (2)
79TestHiddenProperty((old, value) => old.WithCryptoKeyContainer(value), opt => opt.CryptoKeyContainer, "goo"); 117TestProperty((old, value) => old.WithCryptoKeyContainer(value), opt => opt.CryptoKeyContainer, "goo");
Microsoft.CodeAnalysis.VisualBasic (7)
Symbols\Source\SourceAssemblySymbol.vb (5)
1299If Not String.IsNullOrEmpty(_compilation.Options.CryptoKeyContainer) Then 1311ElseIf String.Compare(_compilation.Options.CryptoKeyContainer, assemblyKeyContainerAttributeSetting, StringComparison.OrdinalIgnoreCase) <> 0 Then 1618If Not String.IsNullOrEmpty(_compilation.Options.CryptoKeyContainer) AndAlso 1623Dim typedConstant = New TypedConstant(stringType, TypedConstantKind.Primitive, _compilation.Options.CryptoKeyContainer) 1732Dim keyContainer As String = _compilation.Options.CryptoKeyContainer
VisualBasicCompilationOptions.vb (2)
314cryptoKeyContainer:=other.CryptoKeyContainer, 728If String.Equals(name, Me.CryptoKeyContainer, StringComparison.Ordinal) Then
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (8)
CommandLineTests.vb (8)
4676Assert.Equal("key-cont-name", parsedArgs.CompilationOptions.CryptoKeyContainer) 4680Assert.Null(parsedArgs.CompilationOptions.CryptoKeyContainer) 4684Assert.Null(parsedArgs.CompilationOptions.CryptoKeyContainer) 4688Assert.Null(parsedArgs.CompilationOptions.CryptoKeyContainer) 4692Assert.Null(parsedArgs.CompilationOptions.CryptoKeyContainer) 4714Assert.Equal(Nothing, parsedArgs.CompilationOptions.CryptoKeyContainer) 4720Assert.Equal(Nothing, parsedArgs.CompilationOptions.CryptoKeyContainer) 4726Assert.Equal("a", parsedArgs.CompilationOptions.CryptoKeyContainer)
Microsoft.CodeAnalysis.Workspaces (1)
Serialization\AbstractOptionsSerializationService.cs (1)
37writer.WriteString(options.CryptoKeyContainer);