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)
391
public bool IsLocalReferenceInheritingHashAlgorithm(ILocalReferenceOperation localReferenceOperation) => localReferenceOperation.Local.Type.Inherits(
_hashAlgorithmBaseType
);
393
public bool IsObjectCreationInheritingHashAlgorithm(IObjectCreationOperation objectCreationOperation) => objectCreationOperation.Type.Inherits(
_hashAlgorithmBaseType
);
398
return methodSymbol.ContainingType.Inherits(
_hashAlgorithmBaseType
) &&
399
methodSymbol.ReturnType.Inherits(
_hashAlgorithmBaseType
) &&