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