3 instantiations of BoundAsOperator
Microsoft.CodeAnalysis.CSharp (3)
Generated\BoundNodes.xml.Generated.cs (1)
2911
var result = new
BoundAsOperator
(this.Syntax, operand, targetType, operandPlaceholder, operandConversion, type, this.HasErrors);
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (1)
434
BoundExpression disposableVarInitValue = new
BoundAsOperator
(forEachSyntax,
Lowering\SyntheticBoundNodeFactory.cs (1)
649
return 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)
62
return VisitAsOperator(node as
BoundAsOperator
, arg);
CodeGen\EmitExpression.cs (2)
214
EmitAsExpression((
BoundAsOperator
)expression, used);
3441
private void EmitAsExpression(
BoundAsOperator
asOp, bool used)
FlowAnalysis\AbstractFlowPass.cs (1)
2927
public override BoundNode VisitAsOperator(
BoundAsOperator
node)
FlowAnalysis\NullableWalker.cs (2)
5619
operand = ((
BoundAsOperator
)operand).Operand;
12355
public override BoundNode? VisitAsOperator(
BoundAsOperator
node)
Generated\BoundNodes.xml.Generated.cs (10)
2907
public
BoundAsOperator
Update(BoundExpression operand, BoundTypeExpression targetType, BoundValuePlaceholder? operandPlaceholder, BoundExpression? operandConversion, TypeSymbol type)
2911
var
result = new BoundAsOperator(this.Syntax, operand, targetType, operandPlaceholder, operandConversion, type, this.HasErrors);
9011
return VisitAsOperator((
BoundAsOperator
)node, arg);
9411
public virtual R VisitAsOperator(
BoundAsOperator
node, A arg) => this.DefaultVisit(node, arg);
9647
public virtual BoundNode? VisitAsOperator(
BoundAsOperator
node) => this.DefaultVisit(node);
10066
public override BoundNode? VisitAsOperator(
BoundAsOperator
node)
11302
public override BoundNode? VisitAsOperator(
BoundAsOperator
node)
13404
public override BoundNode? VisitAsOperator(
BoundAsOperator
node)
13410
BoundAsOperator
updatedNode;
15782
public override TreeDumperNode VisitAsOperator(
BoundAsOperator
node, object? arg) => new TreeDumperNode("asOperator", null, new TreeDumperNode[]
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (2)
190
return VisitAsOperator((
BoundAsOperator
)node);
365
private BoundExpression VisitAsOperator(
BoundAsOperator
node)
Lowering\LocalRewriter\LocalRewriter_AsOperator.cs (2)
16
public override BoundNode VisitAsOperator(
BoundAsOperator
node)
33
BoundAsOperator
oldNode,
Lowering\SpillSequenceSpiller.cs (1)
859
public override BoundNode VisitAsOperator(
BoundAsOperator
node)
Lowering\SyntheticBoundNodeFactory.cs (1)
647
public
BoundAsOperator
As(BoundExpression operand, TypeSymbol type)
Operations\CSharpOperationFactory.cs (2)
92
return CreateBoundAsOperatorOperation((
BoundAsOperator
)boundNode);
1139
private IConversionOperation CreateBoundAsOperatorOperation(
BoundAsOperator
boundAsOperator)