2 references to TryGetLiteralValue
Microsoft.CodeAnalysis.CodeStyle (2)
src\Analyzers\Core\Analyzers\RemoveRedundantEquality\AbstractRemoveRedundantEqualityDiagnosticAnalyzer.cs (2)
95if (TryGetLiteralValue(rightOperand) is bool rightBool) 101else if (TryGetLiteralValue(leftOperand) is bool leftBool)