3 references to TryGetZeroOrOneConstant
Microsoft.CodeAnalysis.NetAnalyzers (3)
Microsoft.NetCore.Analyzers\Performance\UseCountProperly.cs (3)
317if (!TryGetZeroOrOneConstant(constantOperation, out int constant) || constant != 0) 565if (!TryGetZeroOrOneConstant(binaryOperation.RightOperand, out int constant)) 613if (!TryGetZeroOrOneConstant(binaryOperation.LeftOperand, out int constant))