public IEnumerable <Instruction> CreateAnnotationCall(SyntaxNode syntaxNode, UcfgExpression.VariableExpression to, UcfgExpression value) { return(CreateFunctionCall(UcfgBuiltInMethodId.Annotation, syntaxNode, to, value)); }
public IEnumerable <Instruction> CreateAnnotateCall(SyntaxNode syntaxNode, ITypeSymbol nodeTypeSymbol, IMethodSymbol attributeMethodSymbol, UcfgExpression.VariableExpression target) { return(CreateFunctionCall(UcfgBuiltInMethodId.Annotate, syntaxNode, expressionService.CreateVariable(nodeTypeSymbol), expressionService.CreateConstant(attributeMethodSymbol), target)); }