1 write to _hashToCollisionIdMap
Microsoft.DotNet.SignTool (1)
src\Configuration.cs (1)
136_hashToCollisionIdMap = new Dictionary<SignedFileContentKey, string>();
14 references to _hashToCollisionIdMap
Microsoft.DotNet.SignTool (14)
src\Configuration.cs (13)
300if (!_hashToCollisionIdMap.TryGetValue(signedFileContentKey, out collisionPriorityId)) 307collisionPriorityId = _hashToCollisionIdMap[parentSignedFileContentKey]; 312if (!_hashToCollisionIdMap.ContainsKey(signedFileContentKey)) 314_hashToCollisionIdMap.Add(signedFileContentKey, collisionPriorityId); 318string existingCollisionId = _hashToCollisionIdMap[signedFileContentKey]; 324_hashToCollisionIdMap[signedFileContentKey] = collisionPriorityId; 376signInfo = new SignInfo(pktBasedSignInfo.Certificate, collisionPriorityId: _hashToCollisionIdMap[signedFileContentKey]); 388new ExplicitCertificateKey(file.FileName, peInfo.PublicKeyToken, peInfo.TargetFramework, _hashToCollisionIdMap[signedFileContentKey]), 391new ExplicitCertificateKey(file.FileName, peInfo.PublicKeyToken, collisionPriorityId: _hashToCollisionIdMap[signedFileContentKey]), 450collisionPriorityId: _hashToCollisionIdMap[signedFileContentKey]), out explicitCertificateName); 463signInfo = signInfo.WithCertificateName(explicitCertificateName, _hashToCollisionIdMap[signedFileContentKey]); 472d.GetMetadata(SignToolConstants.CollisionPriorityId) == _hashToCollisionIdMap[signedFileContentKey])).Any(); 729_hashToCollisionIdMap.TryGetValue(fileUniqueKey, out string collisionPriorityId);
src\SignToolTask.cs (1)
281configuration._hashToCollisionIdMap,