Skip to content

Commit ce69973

Browse files
gkorlandCopilot
andcommitted
fix: add stub add_file_imports/resolve_import to CSharpAnalyzer
CSharpAnalyzer was missing implementations for the new abstract methods added by this PR, causing TypeError on import. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent d5e506f commit ce69973

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

api/analyzers/csharp/analyzer.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,11 @@ def resolve_symbol(self, files: dict[Path, File], lsp: SyncLanguageServer, file_
136136
return self.resolve_method(files, lsp, file_path, path, symbol)
137137
else:
138138
raise ValueError(f"Unknown key {key}")
139+
140+
def add_file_imports(self, file: File) -> None:
141+
# C# import tracking not yet implemented
142+
pass
143+
144+
def resolve_import(self, files: dict[Path, File], lsp: SyncLanguageServer, file_path: Path, path: Path, import_node) -> list[Entity]:
145+
# C# import resolution not yet implemented
146+
return []

0 commit comments

Comments
 (0)