1 write to ConstrainedToTypeOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
1222
this.
ConstrainedToTypeOpt
= constrainedToTypeOpt;
9 references to ConstrainedToTypeOpt
Microsoft.CodeAnalysis.CSharp (9)
Generated\BoundNodes.xml.Generated.cs (4)
1248
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))
10564
TypeSymbol? constrainedToTypeOpt = this.VisitType(node.
ConstrainedToTypeOpt
);
12096
TypeSymbol? constrainedToTypeOpt = GetUpdatedSymbol(node, node.
ConstrainedToTypeOpt
);
14639
new TreeDumperNode("constrainedToTypeOpt", node.
ConstrainedToTypeOpt
, null),
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (4)
644
return BoundCall.Synthesized(syntax, receiverOpt: node.
ConstrainedToTypeOpt
is null ? null : new BoundTypeExpression(syntax, aliasOpt: null, node.
ConstrainedToTypeOpt
), node.MethodOpt, rewrittenArgument);
669
BoundExpression userDefinedCall = BoundCall.Synthesized(syntax, receiverOpt: node.
ConstrainedToTypeOpt
is null ? null : new BoundTypeExpression(syntax, aliasOpt: null, node.
ConstrainedToTypeOpt
), node.MethodOpt, call_GetValueOrDefault);
Operations\CSharpOperationFactory.cs (1)
1330
GetConstrainedToTypeForOperator(boundIncrementOperator.MethodOpt, boundIncrementOperator.
ConstrainedToTypeOpt
).GetPublicSymbol(),