11 instantiations of BoundAsOperator
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Operators.cs (8)
5419
return new
BoundAsOperator
(node, operand, typeExpression, operandPlaceholder: null, operandConversion: null, resultType, hasErrors: true);
5426
return new
BoundAsOperator
(node, operand, typeExpression, operandPlaceholder: null, operandConversion: null, resultType, hasErrors: true);
5434
return new
BoundAsOperator
(node, operand, typeExpression, operandPlaceholder: null, operandConversion: null, resultType, hasErrors: true);
5441
return new
BoundAsOperator
(node, operand, typeExpression, operandPlaceholder: null, operandConversion: null, resultType, hasErrors: true);
5460
return new
BoundAsOperator
(node, operand, typeExpression, operandPlaceholder: null, operandConversion: null, resultType, hasErrors: true);
5491
return new
BoundAsOperator
(node, operand, typeExpression, operandPlaceholder, operandConversion, resultType);
5509
return new
BoundAsOperator
(node, operand, typeExpression, operandPlaceholder: null, operandConversion: null, resultType, hasErrors: true);
5544
return new
BoundAsOperator
(node, operand, typeExpression, operandPlaceholder, operandConversion, resultType, hasErrors);
Generated\BoundNodes.xml.Generated.cs (1)
2956
var result = new
BoundAsOperator
(this.Syntax, operand, targetType, operandPlaceholder, operandConversion, type, this.HasErrors);
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (1)
444
BoundExpression disposableVarInitValue = new
BoundAsOperator
(forEachSyntax,
Lowering\SyntheticBoundNodeFactory.cs (1)
655
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)
211
EmitAsExpression((
BoundAsOperator
)expression, used);
3471
private void EmitAsExpression(
BoundAsOperator
asOp, bool used)
FlowAnalysis\AbstractFlowPass.cs (1)
2928
public override BoundNode VisitAsOperator(
BoundAsOperator
node)
FlowAnalysis\NullableWalker.cs (2)
5924
operand = ((
BoundAsOperator
)operand).Operand;
13204
public override BoundNode? VisitAsOperator(
BoundAsOperator
node)
Generated\BoundNodes.xml.Generated.cs (10)
2952
public
BoundAsOperator
Update(BoundExpression operand, BoundTypeExpression targetType, BoundValuePlaceholder? operandPlaceholder, BoundExpression? operandConversion, TypeSymbol type)
2956
var
result = new BoundAsOperator(this.Syntax, operand, targetType, operandPlaceholder, operandConversion, type, this.HasErrors);
9225
return VisitAsOperator((
BoundAsOperator
)node, arg);
9634
public virtual R VisitAsOperator(
BoundAsOperator
node, A arg) => this.DefaultVisit(node, arg);
9875
public virtual BoundNode? VisitAsOperator(
BoundAsOperator
node) => this.DefaultVisit(node);
10303
public override BoundNode? VisitAsOperator(
BoundAsOperator
node)
11579
public override BoundNode? VisitAsOperator(
BoundAsOperator
node)
13732
public override BoundNode? VisitAsOperator(
BoundAsOperator
node)
13738
BoundAsOperator
updatedNode;
16138
public override TreeDumperNode VisitAsOperator(
BoundAsOperator
node, object? arg) => new TreeDumperNode("asOperator", null, new TreeDumperNode[]
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (2)
194
return VisitAsOperator((
BoundAsOperator
)node);
372
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)
860
public override BoundNode VisitAsOperator(
BoundAsOperator
node)
Lowering\SyntheticBoundNodeFactory.cs (1)
653
public
BoundAsOperator
As(BoundExpression operand, TypeSymbol type)
Operations\CSharpOperationFactory.cs (2)
91
return CreateBoundAsOperatorOperation((
BoundAsOperator
)boundNode);
1179
private IConversionOperation CreateBoundAsOperatorOperation(
BoundAsOperator
boundAsOperator)