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