From 1a787952e90859efe973b5e85640a2b03a847796 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80=20?= =?UTF-8?q?=D0=97=D0=B5=D0=BC=D0=BB=D1=8F=D0=BA?= <92867056+AlexanderZemlyak@users.noreply.github.com> Date: Mon, 6 Apr 2026 19:38:05 +0300 Subject: [PATCH] Fix xml docs loading from assembly logix in XmlDocs.cs (#3415) --- CodeCompletion/DomConverter.cs | 3 --- ParserTools/XmlDocs.cs | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/CodeCompletion/DomConverter.cs b/CodeCompletion/DomConverter.cs index c9fbfcc2a..ee94fa948 100644 --- a/CodeCompletion/DomConverter.cs +++ b/CodeCompletion/DomConverter.cs @@ -1088,9 +1088,6 @@ namespace CodeCompletion if (description != null) { description = description.Replace("!#", ""); - // Пусть здесь делаем все замены - // Для рекурсивных <<>> нужно писать собственный парсер - //description = System.Text.RegularExpressions.Regex.Replace(description, @"NewSet<\s*(.*)\s*>", "set of $1"); } return description; } diff --git a/ParserTools/XmlDocs.cs b/ParserTools/XmlDocs.cs index 7bd7cf7fe..b3b20d040 100644 --- a/ParserTools/XmlDocs.cs +++ b/ParserTools/XmlDocs.cs @@ -17,7 +17,7 @@ namespace CodeCompletionTools public static string Load(Assembly a, string path) { - if (!ht.ContainsKey(a)) return null; + if (ht.ContainsKey(a)) return null; string dir; if (string.IsNullOrEmpty(a.Location)) dir = path;