2 references to getConstantResult
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Patterns.cs (2)
61
if (!hasErrors &&
getConstantResult
(decisionDag, negated, whenTrueLabel, whenFalseLabel) is { } constantResult)
99
if (!hasErrors &&
getConstantResult
(decisionDag, negated, whenTrueLabel, whenFalseLabel) is { } simplifiedResult)