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