3 writes to CryptoKeyFile
Microsoft.CodeAnalysis (1)
Compilation\CompilationOptions.cs (1)
302this.CryptoKeyFile = string.IsNullOrEmpty(cryptoKeyFile) ? null : cryptoKeyFile;
Microsoft.CodeAnalysis.CSharp (1)
CSharpCompilationOptions.cs (1)
351return new CSharpCompilationOptions(this) { CryptoKeyFile = path };
Microsoft.CodeAnalysis.VisualBasic (1)
VisualBasicCompilationOptions.vb (1)
749Return New VisualBasicCompilationOptions(Me) With {.CryptoKeyFile = path}
34 references to CryptoKeyFile
Microsoft.CodeAnalysis (19)
Compilation\Compilation.cs (1)
298options.CryptoKeyFile != null ||
Compilation\CompilationOptions.cs (15)
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"/>. 73/// If <see cref="PublicSign" /> is also set, <see cref="CryptoKeyFile"/> must be the absolute 84/// To sign the output supply either one of <see cref="CryptoKeyFile"/> or <see cref="CryptoKeyContainer"/>. 101/// If false and <see cref="CryptoPublicKey"/>, <see cref="CryptoKeyFile"/>, or <see cref="CryptoKeyContainer"/> is specified 118/// The key must be provided through either an absolute path in <see cref="CryptoKeyFile"/> 568if (CryptoKeyFile != null) 571Location.None, nameof(CryptoPublicKey), nameof(CryptoKeyFile))); 583if (CryptoKeyFile != null && !PathUtilities.IsAbsolute(CryptoKeyFile)) 586Location.None, nameof(CryptoKeyFile))); 629string.Equals(this.CryptoKeyFile, other.CryptoKeyFile, StringComparison.Ordinal) && 677Hash.Combine(this.CryptoKeyFile != null ? StringComparer.Ordinal.GetHashCode(this.CryptoKeyFile) : 0,
Compilation\DeterministicKeyBuilder.cs (2)
534writer.Write("cryptoKeyFile", options.CryptoKeyFile); 538writer.Write("cryptoKeyFile", options.CryptoKeyFile is { } keyFile ? Path.GetFileName(keyFile) : null);
StrongName\StrongNameKeys.cs (1)
53/// <see cref="CompilationOptions.CryptoKeyFile"/>
Microsoft.CodeAnalysis.CSharp (7)
CSharpCompilationOptions.cs (2)
250cryptoKeyFile: other.CryptoKeyFile, 346if (path == this.CryptoKeyFile)
Symbols\Source\SourceAssemblySymbol.cs (5)
483string keyFile = _compilation.Options.CryptoKeyFile; 832if (!String.IsNullOrEmpty(_compilation.Options.CryptoKeyFile)) 848else if (String.Compare(_compilation.Options.CryptoKeyFile, assemblyKeyFileAttributeSetting, StringComparison.OrdinalIgnoreCase) != 0) 2032if (!String.IsNullOrEmpty(_compilation.Options.CryptoKeyFile) && 2038var typedConstant = new TypedConstant(stringType, TypedConstantKind.Primitive, _compilation.Options.CryptoKeyFile);
Microsoft.CodeAnalysis.VisualBasic (7)
Symbols\Source\SourceAssemblySymbol.vb (5)
1317If Not String.IsNullOrEmpty(_compilation.Options.CryptoKeyFile) Then 1329ElseIf String.Compare(_compilation.Options.CryptoKeyFile, assemblyKeyFileAttributeSetting, StringComparison.OrdinalIgnoreCase) <> 0 Then 1620If Not String.IsNullOrEmpty(_compilation.Options.CryptoKeyFile) AndAlso 1625Dim typedConstant = New TypedConstant(stringType, TypedConstantKind.Primitive, _compilation.Options.CryptoKeyFile) 1698Dim keyFile As String = _compilation.Options.CryptoKeyFile
VisualBasicCompilationOptions.vb (2)
315cryptoKeyFile:=other.CryptoKeyFile, 745If String.Equals(path, Me.CryptoKeyFile, StringComparison.Ordinal) Then
Microsoft.CodeAnalysis.Workspaces (1)
Serialization\AbstractOptionsSerializationService.cs (1)
38writer.WriteString(options.CryptoKeyFile);