2 writes to CryptoKeyFile
Microsoft.CodeAnalysis (1)
Compilation\CompilationOptions.cs (1)
302
this.
CryptoKeyFile
= string.IsNullOrEmpty(cryptoKeyFile) ? null : cryptoKeyFile;
Microsoft.CodeAnalysis.CSharp (1)
CSharpCompilationOptions.cs (1)
412
return new CSharpCompilationOptions(this) {
CryptoKeyFile
= path };
27 references to CryptoKeyFile
Microsoft.CodeAnalysis (19)
Compilation\Compilation.cs (1)
298
options.
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
"/>
568
if (
CryptoKeyFile
!= null)
571
Location.None, nameof(CryptoPublicKey), nameof(
CryptoKeyFile
)));
583
if (
CryptoKeyFile
!= null && !PathUtilities.IsAbsolute(
CryptoKeyFile
))
586
Location.None, nameof(
CryptoKeyFile
)));
629
string.Equals(this.
CryptoKeyFile
, other.
CryptoKeyFile
, StringComparison.Ordinal) &&
677
Hash.Combine(this.
CryptoKeyFile
!= null ? StringComparer.Ordinal.GetHashCode(this.
CryptoKeyFile
) : 0,
Compilation\DeterministicKeyBuilder.cs (2)
545
writer.Write("cryptoKeyFile", options.
CryptoKeyFile
);
549
writer.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)
312
cryptoKeyFile: other.
CryptoKeyFile
,
407
if (path == this.
CryptoKeyFile
)
Symbols\Source\SourceAssemblySymbol.cs (5)
483
string keyFile = _compilation.Options.
CryptoKeyFile
;
832
if (!String.IsNullOrEmpty(_compilation.Options.
CryptoKeyFile
))
848
else if (!string.Equals(_compilation.Options.
CryptoKeyFile
, assemblyKeyFileAttributeSetting, StringComparison.OrdinalIgnoreCase))
2032
if (!String.IsNullOrEmpty(_compilation.Options.
CryptoKeyFile
) &&
2038
var typedConstant = new TypedConstant(stringType, TypedConstantKind.Primitive, _compilation.Options.
CryptoKeyFile
);
Microsoft.CodeAnalysis.Workspaces (1)
Serialization\AbstractOptionsSerializationService.cs (1)
38
writer.WriteString(options.
CryptoKeyFile
);