1 write to OperandConversion
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
1264
this.
OperandConversion
= operandConversion;
13 references to OperandConversion
Microsoft.CodeAnalysis.CSharp (13)
FlowAnalysis\NullableWalker.cs (3)
11743
if (node.
OperandConversion
is BoundConversion { Conversion: ({ IsUserDefined: true } or { IsUnion: true }) and { Method.ParameterCount: 1 } operandConversion })
11751
targetTypeOfOperandConversion = TypeWithAnnotations.Create(node.
OperandConversion
.Type, nullableAnnotation: NullableAnnotation.NotAnnotated); // https://github.com/dotnet/roslyn/issues/82636: Add coverage
11781
BoundNode.GetConversion(node.
OperandConversion
, node.OperandPlaceholder),
Generated\BoundNodes.xml.Generated.cs (4)
1288
if (operatorKind != this.OperatorKind || operand != this.Operand || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(methodOpt, this.MethodOpt) || !TypeSymbol.Equals(constrainedToTypeOpt, this.ConstrainedToTypeOpt, TypeCompareKind.ConsiderEverything) || operandPlaceholder != this.OperandPlaceholder || operandConversion != this.
OperandConversion
|| resultPlaceholder != this.ResultPlaceholder || resultConversion != this.ResultConversion || resultKind != this.ResultKind || originalUserDefinedOperatorsOpt != this.OriginalUserDefinedOperatorsOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
11272
BoundExpression? operandConversion = node.
OperandConversion
;
13044
BoundExpression? operandConversion = node.
OperandConversion
;
15699
new TreeDumperNode("operandConversion", null, new TreeDumperNode[] { Visit(node.
OperandConversion
, null) }),
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (6)
408
Debug.Assert(node.
OperandConversion
is null || (node.Operand.Type!.IsReferenceType && node.MethodOpt.IsExtensionBlockMember()));
416
ApplyConversionIfNotIdentity(node.
OperandConversion
, node.OperandPlaceholder, VisitExpression(node.Operand)),
443
ApplyConversionIfNotIdentity(node.
OperandConversion
, node.OperandPlaceholder, boundTemp),
451
Debug.Assert(node.
OperandConversion
is null);
806
BoundExpression rewrittenArgument = ApplyConversionIfNotIdentity(node.
OperandConversion
, node.OperandPlaceholder, rewrittenValueToIncrement);
925
binaryOperand = ApplyConversionIfNotIdentity(node.
OperandConversion
, node.OperandPlaceholder, binaryOperand);