1 write to Operand
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
1218
this.
Operand
= operand;
34 references to Operand
Microsoft.CodeAnalysis.CSharp (34)
Binder\Binder.ValueChecks.cs (3)
213
ArgsOpt = [unaryOperator.
Operand
],
4596
return GetValEscape(unaryOperator.
Operand
);
5330
return CheckValEscape(node, unary.
Operand
, escapeTo, checkingReceiver: false, diagnostics: diagnostics);
BoundTree\BoundNode_Source.cs (1)
305
appendSource(unary.
Operand
);
CodeGen\EmitOperators.cs (5)
29
EmitExpression(expression.
Operand
, used: false);
35
EmitCondExpr(expression.
Operand
, sense: false);
39
EmitExpression(expression.
Operand
, used: true);
576
condition = unOp.
Operand
;
614
EmitExpression(expression.
Operand
, used: true);
CodeGen\EmitStatement.cs (1)
580
condition = unOp.
Operand
;
CodeGen\Optimizer.cs (2)
1669
PushEvalStack(new BoundDefaultExpression(node.Syntax, node.
Operand
.Type), ExprContext.Value);
1670
BoundExpression operand = (BoundExpression)this.Visit(node.
Operand
);
Compilation\CSharpSemanticModel.cs (1)
3840
symbols = OneOrMany.Create<Symbol>(new SynthesizedIntrinsicOperatorSymbol(unaryOperator.
Operand
.Type.StrippedType(),
FlowAnalysis\AbstractFlowPass.cs (2)
2840
VisitCondition(node.
Operand
);
2846
VisitRvalue(node.
Operand
);
FlowAnalysis\NullableWalker.cs (6)
12684
Visit(node.
Operand
);
12692
Visit(node.
Operand
);
12698
Visit(node.
Operand
);
12709
var (operand, conversion) = RemoveConversion(node.
Operand
, includeExplicitConversions: false);
12720
node.
Operand
as BoundConversion,
12735
VisitRvalue(node.
Operand
);
Generated\BoundNodes.xml.Generated.cs (5)
1240
if (operatorKind != this.OperatorKind || operand != this.
Operand
|| constantValueOpt != this.ConstantValueOpt || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(methodOpt, this.MethodOpt) || !TypeSymbol.Equals(constrainedToTypeOpt, this.ConstrainedToTypeOpt, TypeCompareKind.ConsiderEverything) || resultKind != this.ResultKind || originalUserDefinedOperatorsOpt != this.OriginalUserDefinedOperatorsOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
10130
this.Visit(node.
Operand
);
11261
BoundExpression operand = (BoundExpression)this.Visit(node.
Operand
);
13022
BoundExpression operand = (BoundExpression)this.Visit(node.
Operand
);
15681
new TreeDumperNode("operand", null, new TreeDumperNode[] { Visit(node.
Operand
, null) }),
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
1187
var arg = node.
Operand
;
Lowering\DiagnosticsPass_Warnings.cs (1)
742
if (node.
Operand
.NullableNeverHasValue())
Lowering\ExtensionMethodReferenceRewriter.cs (1)
284
BoundExpression operand = (BoundExpression)rewriter.Visit(node.
Operand
);
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (3)
46
if (node.
Operand
.Kind == BoundKind.BinaryOperator)
51
var binaryOperator = (BoundBinaryOperator)node.
Operand
;
59
BoundExpression loweredOperand = VisitExpression(node.
Operand
);
Lowering\SpillSequenceSpiller.cs (1)
1520
BoundExpression operand = VisitExpression(ref builder, node.
Operand
);
Operations\CSharpOperationFactory.cs (1)
1509
IOperation operand = Create(boundUnaryOperator.
Operand
);