You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: csharp/extractor/Semmle.Extraction.CSharp/Entities/Types/Type.cs
+25-38Lines changed: 25 additions & 38 deletions
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@
5
5
usingSystem.Linq;
6
6
usingMicrosoft.CodeAnalysis;
7
7
usingMicrosoft.CodeAnalysis.CSharp.Syntax;
8
+
usingSemmle.Util;
8
9
9
10
namespaceSemmle.Extraction.CSharp.Entities
10
11
{
@@ -362,7 +363,7 @@ public override bool Equals(object? obj)
362
363
/// Details can be found in https://www.ecma-international.org/wp-content/uploads/ECMA-335_6th_edition_june_2012.pdf Chapter II.9.2 Generics and recursive inheritance graphs
363
364
/// The dotnet runtime already implements this check as a runtime validation: https://github.com/dotnet/runtime/blob/e48e88d0fe9c2e494c0e6fd0c7c1fb54e7ddbdb1/src/coreclr/vm/generics.cpp#L748
/// <param name="current">The current node that is being visited</param>
529
517
/// <param name="visited">The nodes that have already been visited by any path.</param>
530
-
/// <param name="currentPath">The nodes already visited on the current path. Could be a List<> if the order was important.</param>
531
-
/// <param name="start">The start and end of the cycle. We're not looking for any cycle, but a cycle that goes back to the start.</param>
518
+
/// <param name="currentPath">The nodes already visited on the current path.</param>
532
519
/// <param name="hasSeenExpandingEdge">Whether an expanding edge was already seen in this path. We're looking for a cycle that has at least one expanding edge.</param>
0 commit comments