7 references to WhenTrue
Microsoft.CodeAnalysis.CodeStyle (5)
AbstractSimplifyConditionalDiagnosticAnalyzer.cs (4)
35= s_negateCondition.Add(Or, Or).Add(WhenTrue, WhenTrue); 37= s_takeCondition.Add(And, And).Add(WhenTrue, WhenTrue);
SimplifyBooleanExpressionConstants.cs (1)
12public const string WhenTrue = nameof(WhenTrue);
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
SimplifyConditionalCodeFixProvider.cs (2)
79var right = diagnostic.Properties.ContainsKey(WhenTrue) ? whenTrue : whenFalse; 84var right = diagnostic.Properties.ContainsKey(WhenTrue) ? whenTrue : whenFalse;