Exclude URI of current file from imports

This commit is contained in:
Yoshi Askharoun
2024-01-31 19:44:53 -06:00
parent 7d3bce3e2b
commit 86500a4ec1
+3
View File
@@ -28,6 +28,9 @@ public class Disassembler
continue; continue;
// Skip self // Skip self
if (uri == _loadResult.Uri)
continue;
string name = uri; string name = uri;
var schemeLength = uri.IndexOf("://"); var schemeLength = uri.IndexOf("://");
if (schemeLength > 0) if (schemeLength > 0)