11 instantiations of BoundAsOperator
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Operators.cs (8)
5175return new BoundAsOperator(node, operand, typeExpression, operandPlaceholder: null, operandConversion: null, resultType, hasErrors: true); 5182return new BoundAsOperator(node, operand, typeExpression, operandPlaceholder: null, operandConversion: null, resultType, hasErrors: true); 5190return new BoundAsOperator(node, operand, typeExpression, operandPlaceholder: null, operandConversion: null, resultType, hasErrors: true); 5197return new BoundAsOperator(node, operand, typeExpression, operandPlaceholder: null, operandConversion: null, resultType, hasErrors: true); 5216return new BoundAsOperator(node, operand, typeExpression, operandPlaceholder: null, operandConversion: null, resultType, hasErrors: true); 5247return new BoundAsOperator(node, operand, typeExpression, operandPlaceholder, operandConversion, resultType); 5265return new BoundAsOperator(node, operand, typeExpression, operandPlaceholder: null, operandConversion: null, resultType, hasErrors: true); 5300return new BoundAsOperator(node, operand, typeExpression, operandPlaceholder, operandConversion, resultType, hasErrors);
Generated\BoundNodes.xml.Generated.cs (1)
2911var result = new BoundAsOperator(this.Syntax, operand, targetType, operandPlaceholder, operandConversion, type, this.HasErrors);
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (1)
438BoundExpression disposableVarInitValue = new BoundAsOperator(forEachSyntax,
Lowering\SyntheticBoundNodeFactory.cs (1)
649return new BoundAsOperator(this.Syntax, operand, Type(type), operandPlaceholder: null, operandConversion: null, type) { WasCompilerGenerated = true };
24 references to BoundAsOperator
Microsoft.CodeAnalysis.CSharp (24)
BoundTree\BoundTreeVisitors.cs (1)
62return VisitAsOperator(node as BoundAsOperator, arg);
CodeGen\EmitExpression.cs (2)
214EmitAsExpression((BoundAsOperator)expression, used); 3441private void EmitAsExpression(BoundAsOperator asOp, bool used)
FlowAnalysis\AbstractFlowPass.cs (1)
2927public override BoundNode VisitAsOperator(BoundAsOperator node)
FlowAnalysis\NullableWalker.cs (2)
5671operand = ((BoundAsOperator)operand).Operand; 12494public override BoundNode? VisitAsOperator(BoundAsOperator node)
Generated\BoundNodes.xml.Generated.cs (10)
2907public BoundAsOperator Update(BoundExpression operand, BoundTypeExpression targetType, BoundValuePlaceholder? operandPlaceholder, BoundExpression? operandConversion, TypeSymbol type) 2911var result = new BoundAsOperator(this.Syntax, operand, targetType, operandPlaceholder, operandConversion, type, this.HasErrors); 9013return VisitAsOperator((BoundAsOperator)node, arg); 9413public virtual R VisitAsOperator(BoundAsOperator node, A arg) => this.DefaultVisit(node, arg); 9649public virtual BoundNode? VisitAsOperator(BoundAsOperator node) => this.DefaultVisit(node); 10068public override BoundNode? VisitAsOperator(BoundAsOperator node) 11303public override BoundNode? VisitAsOperator(BoundAsOperator node) 13404public override BoundNode? VisitAsOperator(BoundAsOperator node) 13410BoundAsOperator updatedNode; 15781public override TreeDumperNode VisitAsOperator(BoundAsOperator node, object? arg) => new TreeDumperNode("asOperator", null, new TreeDumperNode[]
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (2)
190return VisitAsOperator((BoundAsOperator)node); 365private BoundExpression VisitAsOperator(BoundAsOperator node)
Lowering\LocalRewriter\LocalRewriter_AsOperator.cs (2)
16public override BoundNode VisitAsOperator(BoundAsOperator node) 33BoundAsOperator oldNode,
Lowering\SpillSequenceSpiller.cs (1)
859public override BoundNode VisitAsOperator(BoundAsOperator node)
Lowering\SyntheticBoundNodeFactory.cs (1)
647public BoundAsOperator As(BoundExpression operand, TypeSymbol type)
Operations\CSharpOperationFactory.cs (2)
92return CreateBoundAsOperatorOperation((BoundAsOperator)boundNode); 1139private IConversionOperation CreateBoundAsOperatorOperation(BoundAsOperator boundAsOperator)