11 instantiations of StrongNameKeys
Microsoft.CodeAnalysis (11)
StrongName\DesktopStrongNameProvider.cs (5)
78
return new
StrongNameKeys
(StrongNameKeys.GetKeyFileError(messageProvider, keyFilePath, CodeAnalysisResources.FileNotFound));
87
return new
StrongNameKeys
(StrongNameKeys.GetKeyFileError(messageProvider, keyFilePath, ex.Message));
99
return new
StrongNameKeys
(StrongNameKeys.GetContainerError(messageProvider, keyContainerName,
104
return new
StrongNameKeys
(StrongNameKeys.GetContainerError(messageProvider, keyContainerName, ex.Message));
108
return new
StrongNameKeys
(keyPair, publicKey, privateKey: null, container, keyFilePath, hasCounterSignature);
StrongName\StrongNameKeys.cs (6)
63
internal static readonly StrongNameKeys None = new
StrongNameKeys
();
94
return new
StrongNameKeys
(keyPair: default, publicKey, privateKey, keyContainerName: null, keyFilePath: null, hasCounterSignature);
98
return new
StrongNameKeys
(messageProvider.CreateDiagnostic(messageProvider.ERR_BadCompilationOptionValue, Location.None,
117
return new
StrongNameKeys
(GetKeyFileError(messageProvider, keyFilePath, ex.Message));
163
return new
StrongNameKeys
(keyPair, publicKey, privateKey, null, keyFilePath, hasCounterSignature);
176
return new
StrongNameKeys
(diagnostic);
21 references to StrongNameKeys
Microsoft.CodeAnalysis (21)
Compilation.EmitStream.cs (5)
50
private readonly
StrongNameKeys
_strongNameKeys;
57
StrongNameKeys
strongNameKeys,
127
diagnostics.Add(
StrongNameKeys
.GetError(
193
diagnostics.Add(
StrongNameKeys
.GetError(_strongNameKeys.KeyFilePath, _strongNameKeys.KeyContainer,
199
diagnostics.Add(
StrongNameKeys
.GetError(_strongNameKeys.KeyFilePath, _strongNameKeys.KeyContainer, ex.Message, messageProvider));
Compilation\Compilation.cs (1)
2468
internal abstract
StrongNameKeys
StrongNameKeys { get; }
StrongName\DesktopStrongNameProvider.cs (7)
65
internal override
StrongNameKeys
CreateKeys(string? keyFilePath, string? keyContainerName, bool hasCounterSignature, CommonMessageProvider messageProvider)
78
return new StrongNameKeys(
StrongNameKeys
.GetKeyFileError(messageProvider, keyFilePath, CodeAnalysisResources.FileNotFound));
83
return
StrongNameKeys
.CreateHelper(fileContent, keyFilePath, hasCounterSignature);
87
return new StrongNameKeys(
StrongNameKeys
.GetKeyFileError(messageProvider, keyFilePath, ex.Message));
99
return new StrongNameKeys(
StrongNameKeys
.GetContainerError(messageProvider, keyContainerName,
104
return new StrongNameKeys(
StrongNameKeys
.GetContainerError(messageProvider, keyContainerName, ex.Message));
162
internal override void SignFile(
StrongNameKeys
keys, string filePath)
StrongName\StrongNameKeys.cs (5)
63
internal static readonly
StrongNameKeys
None = new StrongNameKeys();
88
internal static
StrongNameKeys
Create(ImmutableArray<byte> publicKey, RSAParameters? privateKey, bool hasCounterSignature, CommonMessageProvider messageProvider)
103
internal static
StrongNameKeys
Create(string? keyFilePath, CommonMessageProvider messageProvider)
128
internal static
StrongNameKeys
CreateHelper(ImmutableArray<byte> keyFileContent, string keyFilePath, bool hasCounterSignature)
166
internal static
StrongNameKeys
Create(StrongNameProvider? providerOpt, string? keyFilePath, string? keyContainerName, bool hasCounterSignature, CommonMessageProvider messageProvider)
StrongName\StrongNameProvider.cs (3)
28
internal abstract void SignFile(
StrongNameKeys
keys, string filePath);
36
/// Create a <see cref="
StrongNameKeys
"/> for the provided information.
38
internal abstract
StrongNameKeys
CreateKeys(string? keyFilePath, string? keyContainerName, bool hasCounterSignature, CommonMessageProvider messageProvider);