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