2 writes to ConstrainedToTypeOpt
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
1341this.ConstrainedToTypeOpt = constrainedToTypeOpt; 1352this.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)
1364if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(targetMethod, this.TargetMethod) || !TypeSymbol.Equals(constrainedToTypeOpt, this.ConstrainedToTypeOpt, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 10961TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 12588TypeSymbol? constrainedToTypeOpt = GetUpdatedSymbol(node, node.ConstrainedToTypeOpt); 15208new 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));