31 references to Visit
Microsoft.CodeAnalysis.CSharp (31)
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (31)
141var result = Visit(((BoundReturnStatement)stmt).ExpressionOpt); 149return Visit(((BoundExpressionStatement)stmt).Expression); 206return Visit(((BoundPassByCopy)node).Expression); 293var array = Visit(node.Expression); 297var index = Visit(arg); 315var index = Visit(arg); 331builder.Add(Visit(arg)); 362return _bound.StaticCall(WellKnownMember.System_Linq_Expressions_Expression__ArrayLength, Visit(node.Expression)); 375return _bound.StaticCall(WellKnownMember.System_Linq_Expressions_Expression__TypeAs, Visit(node.Operand), _bound.Typeof(node.Type, _bound.WellKnownType(WellKnownType.System_Type))); 524var loweredLeft = Visit(left); 525var loweredRight = Visit(right); 562var loweredOperand = Visit(demotedOperand); 641return _bound.StaticCall(WellKnownMember.System_Linq_Expressions_Expression__Invoke, Visit(node.ReceiverOpt), Expressions(node.Arguments)); 649method.RequiresInstanceReceiver ? Visit(node.ReceiverOpt) : _bound.Null(ExpressionType), 657var condition = Visit(node.Condition); 683return Visit(e); 709? Convert(Visit(node.Operand), node.Operand.Type, method.Parameters[0].Type, node.Checked, false) 710: Visit(node.Operand); 721var operand = Visit(node.Operand); 727return Convert(Visit(node.Operand), node.Operand.Type, node.Type, node.Checked, node.ExplicitCastInCode); 734var e1 = Convert(Visit(node.Operand), node.Operand.Type, intermediate, node.Checked, false); 740return Convert(Visit(node.Operand), node.Operand.Type, node.Type, node.Checked, node.ExplicitCastInCode); 782return Convert(Visit(unquoted), delegateType, false); 810var receiver = node.FieldSymbol.IsStatic ? _bound.Null(ExpressionType) : Visit(node.ReceiverOpt); 824return _bound.StaticCall(WellKnownMember.System_Linq_Expressions_Expression__TypeIs, Visit(operand), _bound.Typeof(node.TargetType.Type, _bound.WellKnownType(WellKnownType.System_Type))); 875var left = Visit(node.LeftOperand); 876var right = Visit(node.RightOperand); 897var convertedValue = Visit(_bound.Convert(toType, _bound.Parameter(lambdaParameter), conversion)); 1020return Visit(node); 1103var receiver = node.PropertySymbol.IsStatic ? _bound.Null(ExpressionType) : Visit(node.ReceiverOpt); 1136var loweredArg = Visit(arg);