We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8875f9e commit fecdc14Copy full SHA for fecdc14
1 file changed
src/coreclr/tools/aot/ILCompiler.ReadyToRun/Compiler/DependencyAnalysis/ReadyToRunCodegenNodeFactory.cs
@@ -1283,8 +1283,7 @@ public bool CanBeInGenericCycle(MethodDesc method)
1283
return false;
1284
1285
MethodDesc methodDefinition = method.GetTypicalMethodDefinition();
1286
- return _genericCycleDetector.CanBeInCycle(methodDefinition)
1287
- || _genericCycleDetector.CanBeInCycle(methodDefinition.OwningType);
+ return _genericCycleDetector.CanBeInCycle(methodDefinition);
1288
}
1289
1290
public Utf8String GetSymbolAlternateName(ISymbolNode node, out bool isHidden)
0 commit comments