1 write to _hashAlgorithmBaseType
Microsoft.CodeAnalysis.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Performance\PreferHashDataOverComputeHash.cs (1)
379_hashAlgorithmBaseType = hashAlgorithmBaseType;
4 references to _hashAlgorithmBaseType
Microsoft.CodeAnalysis.NetAnalyzers (4)
Microsoft.NetCore.Analyzers\Performance\PreferHashDataOverComputeHash.cs (4)
391public bool IsLocalReferenceInheritingHashAlgorithm(ILocalReferenceOperation localReferenceOperation) => localReferenceOperation.Local.Type.Inherits(_hashAlgorithmBaseType); 393public bool IsObjectCreationInheritingHashAlgorithm(IObjectCreationOperation objectCreationOperation) => objectCreationOperation.Type.Inherits(_hashAlgorithmBaseType); 398return methodSymbol.ContainingType.Inherits(_hashAlgorithmBaseType) && 399methodSymbol.ReturnType.Inherits(_hashAlgorithmBaseType) &&