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