Interface IExpressionFactSink
Takes the facts of the expressions the static pass evaluates.
public interface IExpressionFactSink
Methods
Record(ExpressionFact)
Records what is known of an expression. An expression that is evaluated again has its fact replaced.
void Record(ExpressionFact fact)
Parameters
factExpressionFactThe fact.
TryGet(SyntaxNodeId, out ExpressionFact?)
Gets the fact of an expression the pass has evaluated, which it does for an operand before the expression that has it.
bool TryGet(SyntaxNodeId node, out ExpressionFact? fact)
Parameters
nodeSyntaxNodeIdThe expression.
factExpressionFactIts fact.