2 writes to ConstrainedToTypeOpt
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
1342
this.
ConstrainedToTypeOpt
= constrainedToTypeOpt;
1353
this.
ConstrainedToTypeOpt
= constrainedToTypeOpt;
8 references to ConstrainedToTypeOpt
Microsoft.CodeAnalysis.CSharp (8)
CodeGen\EmitExpression.cs (2)
4106
if (load.
ConstrainedToTypeOpt
is not { TypeKind: TypeKind.TypeParameter })
4112
EmitSymbolToken(load.
ConstrainedToTypeOpt
, load.Syntax);
Generated\BoundNodes.xml.Generated.cs (4)
1365
if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(targetMethod, this.TargetMethod) || !TypeSymbol.Equals(constrainedToTypeOpt, this.
ConstrainedToTypeOpt
, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
10962
TypeSymbol? constrainedToTypeOpt = this.VisitType(node.
ConstrainedToTypeOpt
);
12589
TypeSymbol? constrainedToTypeOpt = GetUpdatedSymbol(node, node.
ConstrainedToTypeOpt
);
15209
new TreeDumperNode("constrainedToTypeOpt", node.
ConstrainedToTypeOpt
, null),
Lowering\ClosureConversion\ClosureConversion.cs (1)
1383
return node.Update(remappedMethod, constrainedToTypeOpt: node.
ConstrainedToTypeOpt
, node.Type);
Lowering\MethodToClassRewriter.cs (1)
603
return node.Update(VisitMethodSymbol(node.TargetMethod), VisitType(node.
ConstrainedToTypeOpt
), VisitType(node.Type));