diff --git a/THIRD-PARTY-NOTICES.txt b/THIRD-PARTY-NOTICES.txt index e503d0dd40274..836f661565ca9 100644 --- a/THIRD-PARTY-NOTICES.txt +++ b/THIRD-PARTY-NOTICES.txt @@ -122,4 +122,27 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +ICSharpCode.Decompiler +------------------------------------- + +https://github.com/icsharpcode/ILSpy + +Copyright (c) 2011-2023 AlphaSierraPapa for the ILSpy team + +Permission is hereby granted, free of charge, to any person obtaining a copy of this +software and associated documentation files (the "Software"), to deal in the Software +without restriction, including without limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons +to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or +substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/src/EditorFeatures/CSharp/CSharpEditorResources.resx b/src/EditorFeatures/CSharp/CSharpEditorResources.resx index c22d2abcf5e65..8c8b76fd5f9a9 100644 --- a/src/EditorFeatures/CSharp/CSharpEditorResources.resx +++ b/src/EditorFeatures/CSharp/CSharpEditorResources.resx @@ -132,45 +132,6 @@ Split string - - Chosen version: '{0}' - - - Could not find by name: '{0}' - - - Decompilation log - - - Found '{0}' assemblies for '{1}': - - - Found exact match: '{0}' - - - Found higher version match: '{0}' - - - Found single assembly: '{0}' - - - Load from: '{0}' - - - Module not found! - - - Resolve: '{0}' - - - Resolve module: '{0}' of '{1}' - - - WARN: Version mismatch. Expected: '{0}', Got: '{1}' - - - '{0}' items in cache - Generate Event Subscription diff --git a/src/EditorFeatures/CSharp/Microsoft.CodeAnalysis.CSharp.EditorFeatures.csproj b/src/EditorFeatures/CSharp/Microsoft.CodeAnalysis.CSharp.EditorFeatures.csproj index b3f342d38f9fe..39f434f63a9b7 100644 --- a/src/EditorFeatures/CSharp/Microsoft.CodeAnalysis.CSharp.EditorFeatures.csproj +++ b/src/EditorFeatures/CSharp/Microsoft.CodeAnalysis.CSharp.EditorFeatures.csproj @@ -48,7 +48,6 @@ - diff --git a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.cs.xlf b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.cs.xlf index 3d64522da9001..50ab629051ed8 100644 --- a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.cs.xlf +++ b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.cs.xlf @@ -12,26 +12,11 @@ Přidávají se chybějící direktivy using... Shown in a thread await dialog. "usings" is a language specific term and should not be localized - - Chosen version: '{0}' - Zvolená verze: {0} - - Complete statement on ; Dokončit příkaz středníkem - - Could not find by name: '{0}' - Nepovedlo se najít podle názvu: {0} - - - - Decompilation log - Protokol o dekompilaci - - Fix interpolated verbatim string Opravit interpolovaný doslovný řetězec @@ -42,26 +27,6 @@ Oprava řetězcových literálů po vložení - - Found '{0}' assemblies for '{1}': - Pro {1} se našlo několik ({0}) sestavení: - - - - Found exact match: '{0}' - Našla se přesná shoda: {0} - - - - Found higher version match: '{0}' - Našla se shoda s vyšší verzí: {0} - - - - Found single assembly: '{0}' - Našlo se jedno sestavení: {0} - - Generate Event Subscription Generovat odběr událostí @@ -72,16 +37,6 @@ Zvětšit nezpracovaný řetězec - - Load from: '{0}' - Načíst z {0} - - - - Module not found! - Modul se nenašel! - - Outside namespace Vně namespace @@ -92,16 +47,6 @@ (Pro vložení stiskněte TAB.) - - Resolve: '{0}' - Přeložit: {0} - - - - Resolve module: '{0}' of '{1}' - Přeložit modul: {0} z {1} - - Smart Indenting Chytré odsazování @@ -117,16 +62,6 @@ Rozdělit řetězec - - WARN: Version mismatch. Expected: '{0}', Got: '{1}' - UPOZORNĚNÍ: Neshoda verzí. Očekáváno: {0}, získáno: {1} - - - - '{0}' items in cache - Počet položek v mezipaměti: {0} - - \ No newline at end of file diff --git a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.de.xlf b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.de.xlf index ea8c26ce5563f..91162572a6c3b 100644 --- a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.de.xlf +++ b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.de.xlf @@ -12,26 +12,11 @@ Fehlende using-Anweisungen werden hinzugefügt... Shown in a thread await dialog. "usings" is a language specific term and should not be localized - - Chosen version: '{0}' - Ausgewählte Version: {0} - - Complete statement on ; Anweisung abschließen bei ";" - - Could not find by name: '{0}' - Der Name "{0}" wurde nicht gefunden. - - - - Decompilation log - Dekompilierungsprotokoll - - Fix interpolated verbatim string Interpolierte ausführliche Zeichenfolge korrigieren @@ -42,26 +27,6 @@ Korrigieren des Zeichenfolgenliterals nach dem Einfügen - - Found '{0}' assemblies for '{1}': - {0} Assemblys für "{1}" gefunden: - - - - Found exact match: '{0}' - Exakte Übereinstimmung gefunden: {0} - - - - Found higher version match: '{0}' - Höhere Versionsübereinstimmung gefunden: {0} - - - - Found single assembly: '{0}' - Einzelne Assembly gefunden: {0} - - Generate Event Subscription Ereignisabonnement generieren @@ -72,16 +37,6 @@ Rohzeichenfolge vergrößern - - Load from: '{0}' - Laden von: {0} - - - - Module not found! - Das Modul wurde nicht gefunden. - - Outside namespace Außerhalb des Namespaces @@ -92,16 +47,6 @@ (Zum Einfügen TAB-TASTE drücken) - - Resolve: '{0}' - Auflösen: {0} - - - - Resolve module: '{0}' of '{1}' - Modul auflösen: {0} von {1} - - Smart Indenting Intelligenter Einzug @@ -117,16 +62,6 @@ Zeichenfolge teilen - - WARN: Version mismatch. Expected: '{0}', Got: '{1}' - WARNUNG: Versionskonflikt. Erwartet: "{0}", erhalten: "{1}" - - - - '{0}' items in cache - {0} Elemente im Cache - - \ No newline at end of file diff --git a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.es.xlf b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.es.xlf index f4ebafc0b1e84..f65e7f35876f8 100644 --- a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.es.xlf +++ b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.es.xlf @@ -12,26 +12,11 @@ Agregando los valores using que faltan... Shown in a thread await dialog. "usings" is a language specific term and should not be localized - - Chosen version: '{0}' - Versión elegida: "{0}" - - Complete statement on ; Completar la instrucción en ; - - Could not find by name: '{0}' - No se pudo encontrar por el nombre "{0}" - - - - Decompilation log - Registro de descompilación - - Fix interpolated verbatim string Corregir cadena textual interpolada @@ -42,26 +27,6 @@ Corrigiendo literal de cadena después de pegar - - Found '{0}' assemblies for '{1}': - Se encontraron "{0}" ensamblados para "{1}": - - - - Found exact match: '{0}' - Se encontró una coincidencia exacta: "{0}" - - - - Found higher version match: '{0}' - Se encontró una coincidencia más alta con la versión: "{0}" - - - - Found single assembly: '{0}' - Se encontró un solo ensamblado: "{0}" - - Generate Event Subscription Generar suscripción de eventos @@ -72,16 +37,6 @@ Aumentar cadena sin formato - - Load from: '{0}' - Cargar desde: "{0}" - - - - Module not found! - No se encontró el módulo. - - Outside namespace namespace exterior @@ -92,16 +47,6 @@ (Presione TAB para insertar) - - Resolve: '{0}' - Resolver: "{0}" - - - - Resolve module: '{0}' of '{1}' - Resolver el módulo: "{0}" de "{1}" - - Smart Indenting Sangría inteligente @@ -117,16 +62,6 @@ Dividir cadena - - WARN: Version mismatch. Expected: '{0}', Got: '{1}' - AVISO: No coinciden las versiones. Se esperaba "{0}", se obtuvo "{1}" - - - - '{0}' items in cache - "{0}" elementos en caché - - \ No newline at end of file diff --git a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.fr.xlf b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.fr.xlf index 117d62701b798..1f17b43a90155 100644 --- a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.fr.xlf +++ b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.fr.xlf @@ -12,26 +12,11 @@ Ajout des usings manquants... Shown in a thread await dialog. "usings" is a language specific term and should not be localized - - Chosen version: '{0}' - Version choisie : '{0}' - - Complete statement on ; Compléter l'instruction avec ; - - Could not find by name: '{0}' - Introuvable par le nom : '{0}' - - - - Decompilation log - Journal de décompilation - - Fix interpolated verbatim string Corriger la chaîne verbatim interpolée @@ -42,26 +27,6 @@ Correction du littéral de chaîne après le collage - - Found '{0}' assemblies for '{1}': - '{0}' assemblys trouvés pour '{1}' : - - - - Found exact match: '{0}' - Correspondance exacte trouvée : '{0}' - - - - Found higher version match: '{0}' - Correspondance avec une version supérieure trouvée : '{0}' - - - - Found single assembly: '{0}' - Un seul assembly trouvé : '{0}' - - Generate Event Subscription Générer un abonnement à des événements @@ -72,16 +37,6 @@ Agrandir la chaîne brute - - Load from: '{0}' - Charger à partir de : '{0}' - - - - Module not found! - Module introuvable ! - - Outside namespace Hors du namespace @@ -92,16 +47,6 @@ (Appuyez sur TAB pour insérer) - - Resolve: '{0}' - Résoudre : '{0}' - - - - Resolve module: '{0}' of '{1}' - Résoudre le module '{0}' sur '{1}' - - Smart Indenting Retrait intelligent @@ -117,16 +62,6 @@ Fractionner la chaîne - - WARN: Version mismatch. Expected: '{0}', Got: '{1}' - AVERTISSEMENT : Incompatibilité de version. Attendu : '{0}'. Reçu : '{1}' - - - - '{0}' items in cache - '{0}' éléments dans le cache - - \ No newline at end of file diff --git a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.it.xlf b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.it.xlf index a23bd394b91cb..1b1805a6fe538 100644 --- a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.it.xlf +++ b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.it.xlf @@ -12,26 +12,11 @@ Aggiunta di using mancanti... Shown in a thread await dialog. "usings" is a language specific term and should not be localized - - Chosen version: '{0}' - Versione selezionata: '{0}' - - Complete statement on ; Completa l'istruzione in corrispondenza di ; - - Could not find by name: '{0}' - Non è stato possibile eseguire la ricerca per nome: '{0}' - - - - Decompilation log - Log di decompilazione - - Fix interpolated verbatim string Correggi stringa verbatim interpolata @@ -42,26 +27,6 @@ Correzione del valore letterale stringa dopo l'operazione Incolla - - Found '{0}' assemblies for '{1}': - Sono stati trovati '{0}' assembly per '{1}': - - - - Found exact match: '{0}' - È stata trovata una corrispondenza esatta: '{0}' - - - - Found higher version match: '{0}' - È stata trovata una versione corrispondente successiva: '{0}' - - - - Found single assembly: '{0}' - È stato trovato un solo assembly: '{0}' - - Generate Event Subscription Genera sottoscrizione di eventi @@ -72,16 +37,6 @@ Aumenta stringa non elaborata - - Load from: '{0}' - Carica da: '{0}' - - - - Module not found! - Modulo non trovato. - - Outside namespace All'esterno di namespace @@ -92,16 +47,6 @@ (Premere TAB per inserire) - - Resolve: '{0}' - Risolvi: '{0}' - - - - Resolve module: '{0}' of '{1}' - Risolvi il modulo: '{0}' di '{1}' - - Smart Indenting Rientro automatico @@ -117,16 +62,6 @@ Dividi stringa - - WARN: Version mismatch. Expected: '{0}', Got: '{1}' - AVVISO: versione non corrispondente. Prevista: '{0}'. Ottenuta: '{1}' - - - - '{0}' items in cache - '{0}' elementi nella cache - - \ No newline at end of file diff --git a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.ja.xlf b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.ja.xlf index 614d40156791e..d4ef4611cdc89 100644 --- a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.ja.xlf +++ b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.ja.xlf @@ -12,26 +12,11 @@ 欠落している usings を追加しています... Shown in a thread await dialog. "usings" is a language specific term and should not be localized - - Chosen version: '{0}' - 選択されたバージョン: '{0}' - - Complete statement on ; ステートメントを ; で完了させてください - - Could not find by name: '{0}' - 名前 '{0}' で見つけることができませんでした - - - - Decompilation log - 逆コンパイルのログ - - Fix interpolated verbatim string 挿入された逐語的文字列を修正します @@ -42,26 +27,6 @@ 貼り付け後の文字列リテラルを修正しています - - Found '{0}' assemblies for '{1}': - '{1}' の '{0}' 個のアセンブリが見つかりました: - - - - Found exact match: '{0}' - 完全一致が見つかりました: '{0}' - - - - Found higher version match: '{0}' - 新しいバージョンの一致が見つかりました: '{0}' - - - - Found single assembly: '{0}' - 1 つのアセンブリが見つかりました: '{0}' - - Generate Event Subscription イベント サブスクリプションの生成 @@ -72,16 +37,6 @@ 生文字列の拡張 - - Load from: '{0}' - 読み込み元: '{0}' - - - - Module not found! - モジュールが見つかりません - - Outside namespace namespace 外 @@ -92,16 +47,6 @@ (Tab キーを押して挿入) - - Resolve: '{0}' - 解決: "{0}" - - - - Resolve module: '{0}' of '{1}' - モジュールの解決: '{1}' の '{0}' - - Smart Indenting スマート インデント @@ -117,16 +62,6 @@ 文字列を分割します - - WARN: Version mismatch. Expected: '{0}', Got: '{1}' - 警告: バージョンが一致しません。必要なバージョン: '{0}'、現在のバージョン: '{1}' - - - - '{0}' items in cache - キャッシュ内の '{0}' 個の項目 - - \ No newline at end of file diff --git a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.ko.xlf b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.ko.xlf index 22ae5b1b81be6..ff6a5f4827cf9 100644 --- a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.ko.xlf +++ b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.ko.xlf @@ -12,26 +12,11 @@ 누락된 using 추가 중... Shown in a thread await dialog. "usings" is a language specific term and should not be localized - - Chosen version: '{0}' - 선택한 버전: '{0}' - - Complete statement on ; ;에서 문 완성 - - Could not find by name: '{0}' - '{0}' 이름으로 찾을 수 없습니다. - - - - Decompilation log - 디컴파일 로그 - - Fix interpolated verbatim string 보간된 축자 문자열 수정 @@ -42,26 +27,6 @@ 붙여넣기 후 문자열 리터럴 수정 - - Found '{0}' assemblies for '{1}': - '{1}'의 어셈블리를 '{0}'개 찾았습니다. - - - - Found exact match: '{0}' - 정확하게 일치하는 항목을 찾았습니다. '{0}' - - - - Found higher version match: '{0}' - 일치하는 상위 버전을 찾았습니다. '{0}' - - - - Found single assembly: '{0}' - 단일 어셈블리를 찾았습니다. '{0}' - - Generate Event Subscription 이벤트 구독 생성 @@ -72,16 +37,6 @@ 원시 문자열 증가 - - Load from: '{0}' - 로드 위치: '{0}' - - - - Module not found! - 모듈을 찾을 수 없습니다. - - Outside namespace 외부 namespace @@ -92,16 +47,6 @@ (삽입하려면 <Tab> 키 누름) - - Resolve: '{0}' - 확인: '{0}' - - - - Resolve module: '{0}' of '{1}' - 모듈 확인: '{0}'/'{1}' - - Smart Indenting 스마트 들여쓰기 @@ -117,16 +62,6 @@ 문자열 분할 - - WARN: Version mismatch. Expected: '{0}', Got: '{1}' - WARN: 버전이 일치하지 않습니다. 예상: '{0}', 실제: '{1}' - - - - '{0}' items in cache - 캐시의 '{0}'개 항목 - - \ No newline at end of file diff --git a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.pl.xlf b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.pl.xlf index 184ad72ba5885..bbe7e76ea6dee 100644 --- a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.pl.xlf +++ b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.pl.xlf @@ -12,26 +12,11 @@ Trwa dodawanie brakujących dyrektyw using... Shown in a thread await dialog. "usings" is a language specific term and should not be localized - - Chosen version: '{0}' - Wybrana wersja: „{0}” - - Complete statement on ; Zakończ instrukcję przy znaku ; - - Could not find by name: '{0}' - Nie można było odnaleźć według nazwy: „{0}” - - - - Decompilation log - Dziennik dekompilacji - - Fix interpolated verbatim string Napraw interpolowany ciąg dosłowny wyrażenia @@ -42,26 +27,6 @@ Naprawianie literału ciągu po wklejeniu - - Found '{0}' assemblies for '{1}': - Znaleziono zestawy („{0}”) dla elementu „{1}”: - - - - Found exact match: '{0}' - Znaleziono dokładne dopasowanie: „{0}” - - - - Found higher version match: '{0}' - Znaleziono dopasowanie wyższej wersji: „{0}” - - - - Found single assembly: '{0}' - Znaleziono pojedynczy zestaw: „{0}” - - Generate Event Subscription Generuj subskrypcję zdarzenia @@ -72,16 +37,6 @@ Zwiększ nieprzetworzony ciąg - - Load from: '{0}' - Załaduj z: „{0}” - - - - Module not found! - Nie znaleziono modułu. - - Outside namespace Poza elementem namespace @@ -92,16 +47,6 @@ (Naciśnij klawisz TAB, aby wstawić) - - Resolve: '{0}' - Rozpoznaj: „{0}” - - - - Resolve module: '{0}' of '{1}' - Rozpoznaj moduł: „{0}” z „{1}” - - Smart Indenting Inteligentne tworzenie wcięć @@ -117,16 +62,6 @@ Rozdziel ciąg - - WARN: Version mismatch. Expected: '{0}', Got: '{1}' - OSTRZEŻENIE: niezgodność wersji. Oczekiwano: „{0}”, uzyskano: „{1}” - - - - '{0}' items in cache - Elementy w pamięci podręcznej: „{0}” - - \ No newline at end of file diff --git a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.pt-BR.xlf b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.pt-BR.xlf index 786fedc2cf7d3..2851fad55fecd 100644 --- a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.pt-BR.xlf +++ b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.pt-BR.xlf @@ -12,26 +12,11 @@ Adicionando as usings ausentes... Shown in a thread await dialog. "usings" is a language specific term and should not be localized - - Chosen version: '{0}' - Versão escolhida: '{0}' - - Complete statement on ; Concluir instrução em ; - - Could not find by name: '{0}' - Não foi possível encontrá-lo por nome: '{0}' - - - - Decompilation log - Log de descompilação - - Fix interpolated verbatim string Corrigir cadeia de caracteres verbatim interpolada @@ -42,26 +27,6 @@ Corrigindo literal de cadeia de caracteres após colar - - Found '{0}' assemblies for '{1}': - Foram encontrados '{0}' assemblies para '{1}': - - - - Found exact match: '{0}' - Foi encontrada a correspondência exata: '{0}' - - - - Found higher version match: '{0}' - Foi encontrada uma correspondência de versão superior: '{0}' - - - - Found single assembly: '{0}' - Foi encontrado um assembly: '{0}' - - Generate Event Subscription Gerar Assinatura de Evento @@ -72,16 +37,6 @@ Aumentar cadeia de caracteres bruta - - Load from: '{0}' - Carregar de: '{0}' - - - - Module not found! - Módulo não encontrado. - - Outside namespace Namespace externo @@ -92,16 +47,6 @@ (Pressione TAB para inserir) - - Resolve: '{0}' - Resolver: '{0}' - - - - Resolve module: '{0}' of '{1}' - Resolver o módulo: '{0}' de '{1}' - - Smart Indenting Recuo Inteligente @@ -117,16 +62,6 @@ Dividir cadeia de caracteres - - WARN: Version mismatch. Expected: '{0}', Got: '{1}' - AVISO: incompatibilidade de versão. Esperado: '{0}', Obtido: '{1}' - - - - '{0}' items in cache - '{0}' itens no cache - - \ No newline at end of file diff --git a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.ru.xlf b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.ru.xlf index 12be8c49431c0..0293b9f5a7c3c 100644 --- a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.ru.xlf +++ b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.ru.xlf @@ -12,26 +12,11 @@ Добавление недостающих директив using… Shown in a thread await dialog. "usings" is a language specific term and should not be localized - - Chosen version: '{0}' - Выбранная версия: "{0}" - - Complete statement on ; Завершить оператор на ; - - Could not find by name: '{0}' - Не удалось найти по имени: "{0}" - - - - Decompilation log - Журнал декомпиляции - - Fix interpolated verbatim string Исправить интерполированную буквальную строку @@ -42,26 +27,6 @@ Исправление строкового литерала после вставки - - Found '{0}' assemblies for '{1}': - Обнаружены сборки ("{0}") для "{1}": - - - - Found exact match: '{0}' - Обнаружено точное совпадение: "{0}" - - - - Found higher version match: '{0}' - Обнаружено более высокое совпадение версий: "{0}" - - - - Found single assembly: '{0}' - Найдена одна сборка: "{0}" - - Generate Event Subscription Создать подписку на события @@ -72,16 +37,6 @@ Увеличить необработанную строку - - Load from: '{0}' - Загрузить из: "{0}" - - - - Module not found! - Модуль не найден. - - Outside namespace Вне пространства имен @@ -92,16 +47,6 @@ (Нажмите клавишу TAB для вставки) - - Resolve: '{0}' - Разрешить: "{0}" - - - - Resolve module: '{0}' of '{1}' - Разрешить модуль: "{0}" из "{1}" - - Smart Indenting Интеллектуальные отступы @@ -117,16 +62,6 @@ Разделить строку - - WARN: Version mismatch. Expected: '{0}', Got: '{1}' - Внимание! Несовпадение версий. Ожидалось: "{0}", получено: "{1}" - - - - '{0}' items in cache - Элементов в кэше: "{0}" - - \ No newline at end of file diff --git a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.tr.xlf b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.tr.xlf index 4e9211cf189cc..5b0129b05b0c8 100644 --- a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.tr.xlf +++ b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.tr.xlf @@ -12,26 +12,11 @@ Eksik using yönergeleri ekleniyor... Shown in a thread await dialog. "usings" is a language specific term and should not be localized - - Chosen version: '{0}' - Seçilen sürüm: '{0}' - - Complete statement on ; Tüm deyimin bulunduğu yer ; - - Could not find by name: '{0}' - '{0}' adıyla bulunamadı - - - - Decompilation log - Kaynak koda dönüştürme günlüğü - - Fix interpolated verbatim string Ara değer olarak eklenmiş tam dizeyi düzelt @@ -42,26 +27,6 @@ Yapıştırma işleminden sonra sabit değerli dize düzeltiliyor - - Found '{0}' assemblies for '{1}': - '{1}' için '{0}' bütünleştirilmiş kod bulundu: - - - - Found exact match: '{0}' - Tam eşleşme bulundu: '{0}' - - - - Found higher version match: '{0}' - Daha yüksek bir sürüm eşleşmesi bulundu: '{0}' - - - - Found single assembly: '{0}' - Tek bütünleştirilmiş kod bulundu: '{0}' - - Generate Event Subscription Olay Aboneliği Oluştur @@ -72,16 +37,6 @@ Ham dizeyi büyüt - - Load from: '{0}' - Şuradan yükle: '{0}' - - - - Module not found! - Modül bulunamadı! - - Outside namespace namespace dışında @@ -92,16 +47,6 @@ (Eklemek için TAB tuşuna basın) - - Resolve: '{0}' - Çözümle: '{0}' - - - - Resolve module: '{0}' of '{1}' - '{1}' modül içinden '{0}' modülü çözümle - - Smart Indenting Akıllı Girintileme @@ -117,16 +62,6 @@ Dizeyi böl - - WARN: Version mismatch. Expected: '{0}', Got: '{1}' - UYARI: Sürüm uyumsuzluğu. Beklenen: '{0}', Alınan: '{1}' - - - - '{0}' items in cache - Önbellekteki '{0}' öğe - - \ No newline at end of file diff --git a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.zh-Hans.xlf b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.zh-Hans.xlf index 496ce1547cc1b..c0b099debc1f3 100644 --- a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.zh-Hans.xlf +++ b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.zh-Hans.xlf @@ -12,26 +12,11 @@ 正在添加缺少的 usings… Shown in a thread await dialog. "usings" is a language specific term and should not be localized - - Chosen version: '{0}' - 所选版本: "{0}" - - Complete statement on ; 完成语句时间; - - Could not find by name: '{0}' - 无法按名称“{0}”查找 - - - - Decompilation log - 反编译日志 - - Fix interpolated verbatim string 修复插值的逐字字符串 @@ -42,26 +27,6 @@ 粘贴后修复字符串文本 - - Found '{0}' assemblies for '{1}': - 找到 “{1}”的“{0}”个程序集: - - - - Found exact match: '{0}' - 找到完全匹配: "{0}" - - - - Found higher version match: '{0}' - 找到较高版本匹配: "{0}" - - - - Found single assembly: '{0}' - 找到单个程序集: "{0}" - - Generate Event Subscription 生成事件订阅 @@ -72,16 +37,6 @@ 增长原始字符串 - - Load from: '{0}' - 从以下位置加载: "{0}" - - - - Module not found! - 找不到模块! - - Outside namespace 命名空间外 @@ -92,16 +47,6 @@ (按 Tab 插入) - - Resolve: '{0}' - 解析: "{0}" - - - - Resolve module: '{0}' of '{1}' - 解析模块: "{0}" 个(共 "{1}" 个) - - Smart Indenting 智能缩进 @@ -117,16 +62,6 @@ 拆分字符串 - - WARN: Version mismatch. Expected: '{0}', Got: '{1}' - 警告: 版本不匹配。应为: "{0}",实际为: "{1}" - - - - '{0}' items in cache - 缓存中的 {0} 项 - - \ No newline at end of file diff --git a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.zh-Hant.xlf b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.zh-Hant.xlf index 5545ed40f2a0f..90b7f83d512dd 100644 --- a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.zh-Hant.xlf +++ b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.zh-Hant.xlf @@ -12,26 +12,11 @@ 正在新增缺少的 using... Shown in a thread await dialog. "usings" is a language specific term and should not be localized - - Chosen version: '{0}' - 選擇的版本: '{0}' - - Complete statement on ; 完成陳述式於 ; - - Could not find by name: '{0}' - 依名稱 '{0}' 找不到結果 - - - - Decompilation log - 反向組譯記錄檔 - - Fix interpolated verbatim string 修正插入的逐字字串 @@ -42,26 +27,6 @@ 正在修正貼上後的字串常值 - - Found '{0}' assemblies for '{1}': - 找到 '{0}' 個 '{1}' 的組件: - - - - Found exact match: '{0}' - 找到完全相符項: '{0}' - - - - Found higher version match: '{0}' - 找到更高版本的相符項: '{0}' - - - - Found single assembly: '{0}' - 找到單一組件: '{0}' - - Generate Event Subscription 產生事件訂閱 @@ -72,16 +37,6 @@ 放大原始字串 - - Load from: '{0}' - 載入來源: '{0}' - - - - Module not found! - 找不到模組! - - Outside namespace 位於 namespace 外 @@ -92,16 +47,6 @@ (按 TAB 鍵插入) - - Resolve: '{0}' - 解析: '{0}' - - - - Resolve module: '{0}' of '{1}' - 解析模組: '{0}' 之 '{1}' - - Smart Indenting 智慧縮排 @@ -117,16 +62,6 @@ 分割字串 - - WARN: Version mismatch. Expected: '{0}', Got: '{1}' - 警告: 版本不符。應為: '{0}',但取得: '{1}' - - - - '{0}' items in cache - 快取中有 '{0}' 個項目 - - \ No newline at end of file diff --git a/src/EditorFeatures/CSharpTest/DecompiledSource/DecompiledSourceFormattingTests.cs b/src/EditorFeatures/CSharpTest/DecompiledSource/DecompiledSourceFormattingTests.cs index 7abdc5b82cd88..94dfb974a118d 100644 --- a/src/EditorFeatures/CSharpTest/DecompiledSource/DecompiledSourceFormattingTests.cs +++ b/src/EditorFeatures/CSharpTest/DecompiledSource/DecompiledSourceFormattingTests.cs @@ -8,7 +8,7 @@ using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.CSharp.Formatting; -using Microsoft.CodeAnalysis.Editor.CSharp.DecompiledSource; +using Microsoft.CodeAnalysis.CSharp.DecompiledSource; using Microsoft.CodeAnalysis.Editor.UnitTests.Workspaces; using Microsoft.CodeAnalysis.Test.Utilities; using Roslyn.Test.Utilities; diff --git a/src/EditorFeatures/Test/MetadataAsSource/AbstractMetadataAsSourceTests.TestContext.cs b/src/EditorFeatures/Test/MetadataAsSource/AbstractMetadataAsSourceTests.TestContext.cs index 53232806dbe92..072e510fa6b48 100644 --- a/src/EditorFeatures/Test/MetadataAsSource/AbstractMetadataAsSourceTests.TestContext.cs +++ b/src/EditorFeatures/Test/MetadataAsSource/AbstractMetadataAsSourceTests.TestContext.cs @@ -12,7 +12,7 @@ using System.Threading.Tasks; using Microsoft.CodeAnalysis.CodeStyle; using Microsoft.CodeAnalysis.CSharp.CodeGeneration; -using Microsoft.CodeAnalysis.Editor.CSharp.DecompiledSource; +using Microsoft.CodeAnalysis.CSharp.DecompiledSource; using Microsoft.CodeAnalysis.Editor.UnitTests.Workspaces; using Microsoft.CodeAnalysis.MetadataAsSource; using Microsoft.CodeAnalysis.Shared.Extensions; diff --git a/src/EditorFeatures/Test/MetadataAsSource/AbstractMetadataAsSourceTests.cs b/src/EditorFeatures/Test/MetadataAsSource/AbstractMetadataAsSourceTests.cs index a038518d7415e..e59c423243f27 100644 --- a/src/EditorFeatures/Test/MetadataAsSource/AbstractMetadataAsSourceTests.cs +++ b/src/EditorFeatures/Test/MetadataAsSource/AbstractMetadataAsSourceTests.cs @@ -10,7 +10,7 @@ using System.Threading.Tasks; using Basic.Reference.Assemblies; using Microsoft.CodeAnalysis.CSharp; -using Microsoft.CodeAnalysis.Editor.CSharp.DecompiledSource; +using Microsoft.CodeAnalysis.CSharp.DecompiledSource; using Microsoft.CodeAnalysis.Test.Utilities; using Roslyn.Test.Utilities; using Roslyn.Utilities; diff --git a/src/EditorFeatures/Test/MetadataAsSource/MetadataAsSourceTests.CSharp.cs b/src/EditorFeatures/Test/MetadataAsSource/MetadataAsSourceTests.CSharp.cs index a199092c28d14..e8785ba5946a1 100644 --- a/src/EditorFeatures/Test/MetadataAsSource/MetadataAsSourceTests.CSharp.cs +++ b/src/EditorFeatures/Test/MetadataAsSource/MetadataAsSourceTests.CSharp.cs @@ -65,12 +65,12 @@ public class [|C|] public nuint i2; }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", }; @@ -109,12 +109,12 @@ public class [|C|] {{ public int Property {{ get; init; }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", }; @@ -151,16 +151,16 @@ public class [|C|] {{ public (int a, int b) t; }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "System.ValueTuple, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "System.ValueTuple, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51")} -{string.Format(CSharpEditorResources.Load_from_0, "System.ValueTuple.dll")} +{string.Format(FeaturesResources.Resolve_0, "System.ValueTuple, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51")} +{string.Format(FeaturesResources.Found_single_assembly_0, "System.ValueTuple, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51")} +{string.Format(FeaturesResources.Load_from_0, "System.ValueTuple.dll")} #endif", }; @@ -370,34 +370,34 @@ internal static int CombineHashCodes(int h1, int h2, int h3, int h4, int h5, int return CombineHashCodes(CombineHashCodes(h1, h2, h3, h4), CombineHashCodes(h5, h6, h7, h8)); }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "System.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")} -{string.Format(CSharpEditorResources.WARN_Version_mismatch_Expected_0_Got_1, "4.0.0.0", "4.0.10.0")} -{string.Format(CSharpEditorResources.Load_from_0, "System.Runtime.dll")} +{string.Format(FeaturesResources.Resolve_0, "System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")} +{string.Format(FeaturesResources.Found_single_assembly_0, "System.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")} +{string.Format(FeaturesResources.WARN_Version_mismatch_Expected_0_Got_1, "4.0.0.0", "4.0.10.0")} +{string.Format(FeaturesResources.Load_from_0, "System.Runtime.dll")} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "System.Resources.ResourceManager, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")} -{string.Format(CSharpEditorResources.Could_not_find_by_name_0, "System.Resources.ResourceManager, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")} +{string.Format(FeaturesResources.Resolve_0, "System.Resources.ResourceManager, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")} +{string.Format(FeaturesResources.Could_not_find_by_name_0, "System.Resources.ResourceManager, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "System.Collections, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")} -{string.Format(CSharpEditorResources.Could_not_find_by_name_0, "System.Collections, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")} +{string.Format(FeaturesResources.Resolve_0, "System.Collections, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")} +{string.Format(FeaturesResources.Could_not_find_by_name_0, "System.Collections, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "System.Core.v4_0_30319_17929.dll")} +{string.Format(FeaturesResources.Resolve_0, "System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "System.Core.v4_0_30319_17929.dll")} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "System.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "System.v4_6_1038_0.dll")} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "System.ComponentModel.Composition, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Could_not_find_by_name_0, "System.ComponentModel.Composition, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Resolve_0, "System.ComponentModel.Composition, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Could_not_find_by_name_0, "System.ComponentModel.Composition, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} #endif", }; @@ -433,12 +433,12 @@ public void F() {{ }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", }; @@ -555,12 +555,12 @@ public R() {{ }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", }; @@ -652,12 +652,12 @@ public static C op_CheckedAddition(C x, C y) throw new Exception(); }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", }; @@ -741,12 +741,12 @@ public class C return x; }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", }; @@ -817,12 +817,12 @@ public C() {{ }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", }; diff --git a/src/EditorFeatures/Test/MetadataAsSource/MetadataAsSourceTests.VisualBasic.cs b/src/EditorFeatures/Test/MetadataAsSource/MetadataAsSourceTests.VisualBasic.cs index ab4cdc2a8c6cb..74e8312f9a5e5 100644 --- a/src/EditorFeatures/Test/MetadataAsSource/MetadataAsSourceTests.VisualBasic.cs +++ b/src/EditorFeatures/Test/MetadataAsSource/MetadataAsSourceTests.VisualBasic.cs @@ -52,16 +52,16 @@ public class [|D|] {{ }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")} -{string.Format(CSharpEditorResources.Load_from_0, "Microsoft.VisualBasic.dll (net451)")} +{string.Format(FeaturesResources.Resolve_0, "Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")} +{string.Format(FeaturesResources.Found_single_assembly_0, "Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")} +{string.Format(FeaturesResources.Load_from_0, "Microsoft.VisualBasic.dll (net451)")} #endif", }; @@ -169,8 +169,8 @@ public ObsoleteAttribute(string message, bool error) ; }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} #endif", }; @@ -397,34 +397,34 @@ internal static int CombineHashCodes(int h1, int h2, int h3, int h4, int h5, int return CombineHashCodes(CombineHashCodes(h1, h2, h3, h4), CombineHashCodes(h5, h6, h7, h8)); }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "System.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")} -{string.Format(CSharpEditorResources.WARN_Version_mismatch_Expected_0_Got_1, "4.0.0.0", "4.0.10.0")} -{string.Format(CSharpEditorResources.Load_from_0, "System.Runtime.dll")} +{string.Format(FeaturesResources.Resolve_0, "System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")} +{string.Format(FeaturesResources.Found_single_assembly_0, "System.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")} +{string.Format(FeaturesResources.WARN_Version_mismatch_Expected_0_Got_1, "4.0.0.0", "4.0.10.0")} +{string.Format(FeaturesResources.Load_from_0, "System.Runtime.dll")} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "System.Resources.ResourceManager, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")} -{string.Format(CSharpEditorResources.Could_not_find_by_name_0, "System.Resources.ResourceManager, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")} +{string.Format(FeaturesResources.Resolve_0, "System.Resources.ResourceManager, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")} +{string.Format(FeaturesResources.Could_not_find_by_name_0, "System.Resources.ResourceManager, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "System.Collections, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")} -{string.Format(CSharpEditorResources.Could_not_find_by_name_0, "System.Collections, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")} +{string.Format(FeaturesResources.Resolve_0, "System.Collections, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")} +{string.Format(FeaturesResources.Could_not_find_by_name_0, "System.Collections, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "System.Core.v4_0_30319_17929.dll")} +{string.Format(FeaturesResources.Resolve_0, "System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "System.Core.v4_0_30319_17929.dll")} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "System.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "System.v4_6_1038_0.dll")} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "System.ComponentModel.Composition, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Could_not_find_by_name_0, "System.ComponentModel.Composition, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Resolve_0, "System.ComponentModel.Composition, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Could_not_find_by_name_0, "System.ComponentModel.Composition, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} #endif", }; diff --git a/src/EditorFeatures/Test/MetadataAsSource/MetadataAsSourceTests.cs b/src/EditorFeatures/Test/MetadataAsSource/MetadataAsSourceTests.cs index da79213645084..44bcce3e2d636 100644 --- a/src/EditorFeatures/Test/MetadataAsSource/MetadataAsSourceTests.cs +++ b/src/EditorFeatures/Test/MetadataAsSource/MetadataAsSourceTests.cs @@ -74,12 +74,12 @@ Public Sub New() public class [|C|] {{ }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -89,12 +89,12 @@ public class [|C|] public class [|C|] {{ }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -131,12 +131,12 @@ Public Interface [|I|] public interface [|I|] {{ }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -146,12 +146,12 @@ public interface [|I|] public interface [|I|] {{ }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -190,12 +190,12 @@ Public Class C public class [|C|] {{ }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -205,12 +205,12 @@ public class [|C|] public class [|C|] {{ }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -256,12 +256,12 @@ public class C {{ }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -274,12 +274,12 @@ public class C {{ }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -323,12 +323,12 @@ public class C {{ public string [|S|]; }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -339,12 +339,12 @@ public class C {{ public string [|S|]; }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -388,12 +388,12 @@ public class C {{ public string [|S|] {{ get; protected set; }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -404,12 +404,12 @@ public class C {{ public string [|S|] {{ get; protected set; }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -460,12 +460,12 @@ public class C {{ public event Action [|E|]; }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -478,12 +478,12 @@ public class C {{ public event Action [|E|]; }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -534,12 +534,12 @@ protected class [|D|] {{ }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -552,12 +552,12 @@ protected class [|D|] {{ }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -603,12 +603,12 @@ public enum [|E|] B, C }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -621,12 +621,12 @@ public enum [|E|] B, C }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -672,12 +672,12 @@ public enum E B, [|C|] }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -690,12 +690,12 @@ public enum E B, [|C|] }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -741,12 +741,12 @@ public enum E : short B, [|C|] }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -759,12 +759,12 @@ public enum E : short B, [|C|] }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -804,12 +804,12 @@ public enum E : ulong {{ [|A|] = 9223372036854775808uL }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -820,12 +820,12 @@ public enum E : ulong {{ [|A|] = 9223372036854775808uL }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -871,12 +871,12 @@ public enum E : short B, [|C|] }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -889,12 +889,12 @@ public enum E : short B, [|C|] }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -940,12 +940,12 @@ namespace N; public class [|C|] {{ }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -957,12 +957,12 @@ namespace N; public class [|C|] {{ }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -1072,12 +1072,12 @@ public class C {{ public const string [|S|] = ""Hello mas""; }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -1088,12 +1088,12 @@ public class C {{ public const string [|S|] = ""Hello mas""; }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -1145,12 +1145,12 @@ Public Sub New() public class [|C|] {{ }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -1161,12 +1161,12 @@ public class [|C|] public class [|C|] {{ }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -1206,12 +1206,12 @@ Public Structure [|S|] public struct [|S|] {{ }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -1224,12 +1224,12 @@ public struct [|S|] public struct [|S|] {{ }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -1276,12 +1276,12 @@ public static C Create() return new C(); }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -1295,12 +1295,12 @@ public static C Create() return new C(); }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -1344,12 +1344,12 @@ public class [|G|] {{ public SomeType S; }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -1360,12 +1360,12 @@ public class [|G|] {{ public SomeType S; }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -1419,12 +1419,12 @@ public void Method([My] T x, [My] T y) {{ }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -1437,12 +1437,12 @@ public void Method([My] T x, [My] T y) {{ }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -1491,12 +1491,12 @@ public interface [|C|] {{ bool Equals([AllowNull] T other); }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -1507,12 +1507,12 @@ public interface [|C|] {{ bool Equals([AllowNull] T other); }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -1555,12 +1555,12 @@ public class C {{ public delegate void [|D|](SomeType s); }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -1571,12 +1571,12 @@ public class C {{ public delegate void [|D|](SomeType s); }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -1637,12 +1637,12 @@ Public Sub New() public class [|C|] {{ }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -1655,12 +1655,12 @@ public class [|C|] public class [|C|] {{ }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -2028,12 +2028,12 @@ public void method2([CallerMemberName] string name = """") return new C(); }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -2116,12 +2116,12 @@ public void method2([CallerMemberName] string name = """") return new C(); }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -2288,12 +2288,12 @@ public void method2([CallerMemberName] string name = """") return new C(); }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -2367,12 +2367,12 @@ public void method2([CallerMemberName] string name = """") return new C(); }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -2453,16 +2453,16 @@ public interface [|IGoo|] Uri Method1(); }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "System.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "System.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -2477,16 +2477,16 @@ public interface [|IGoo|] Uri Method1(); }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "System.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "System.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -2545,12 +2545,12 @@ public void goo(FileOptions options = FileOptions.None) {{ }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -2565,12 +2565,12 @@ public void goo(FileOptions options = FileOptions.None) {{ }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -2632,12 +2632,12 @@ public TestAttribute(int[] i) {{ }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -2653,12 +2653,12 @@ public TestAttribute(int[] i) {{ }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -2821,12 +2821,12 @@ public int this[int x] return new Program(); }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -2851,12 +2851,12 @@ public int this[int x] return new Program(); }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -2931,12 +2931,12 @@ public interface [|IComImport|] void MOverload(int i); }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -2957,12 +2957,12 @@ public interface [|IComImport|] void MOverload(int i); }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -3019,12 +3019,12 @@ public class [|C|] {{ }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -3039,12 +3039,12 @@ public class [|C|] {{ }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -3132,16 +3132,16 @@ public interface [|IGoo|] Uri Method1(); }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "System.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "System.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -3156,16 +3156,16 @@ public interface [|IGoo|] Uri Method1(); }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "System.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "System.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -3424,12 +3424,12 @@ public readonly struct [|S|] {{ public readonly int i; }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -3440,12 +3440,12 @@ public readonly struct [|S|] {{ public readonly int i; }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -3490,12 +3490,12 @@ public struct [|S|] {{ public readonly int i; }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -3506,12 +3506,12 @@ public struct [|S|] {{ public readonly int i; }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -3558,12 +3558,12 @@ Public Structure [|S|] public ref struct [|S|] {{ }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -3576,12 +3576,12 @@ public ref struct [|S|] public ref struct [|S|] {{ }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -3628,12 +3628,12 @@ Public Structure [|S|] public readonly ref struct [|S|] {{ }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -3646,12 +3646,12 @@ public readonly ref struct [|S|] public readonly ref struct [|S|] {{ }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -3702,12 +3702,12 @@ public struct S {{ }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -3723,12 +3723,12 @@ public struct S {{ }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -3780,12 +3780,12 @@ public readonly struct S {{ }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -3801,12 +3801,12 @@ public readonly struct S {{ }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -3851,12 +3851,12 @@ public struct S {{ public int [|P|] {{ get; }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -3867,12 +3867,12 @@ public struct S {{ public int [|P|] {{ get; }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -3917,12 +3917,12 @@ public struct S {{ public int [|P|] {{ get; }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -3933,12 +3933,12 @@ public struct S {{ public int [|P|] {{ get; }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -3990,12 +3990,12 @@ public struct S {{ public int [|P|] {{ get; }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -4006,12 +4006,12 @@ public struct S {{ public int [|P|] {{ get; }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -4058,12 +4058,12 @@ public readonly struct S {{ public int [|P|] {{ get; }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -4074,12 +4074,12 @@ public readonly struct S {{ public int [|P|] {{ get; }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -4136,12 +4136,12 @@ readonly get }} }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -4164,12 +4164,12 @@ readonly get }} }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -4226,12 +4226,12 @@ readonly set }} }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -4254,12 +4254,12 @@ readonly set }} }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -4316,12 +4316,12 @@ public readonly int [|P|] }} }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -4344,12 +4344,12 @@ public readonly int [|P|] }} }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -4403,12 +4403,12 @@ public struct S {{ public readonly int [|this|][int i] => i; }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -4422,12 +4422,12 @@ public struct S {{ public readonly int [|this|][int i] => i; }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -4490,12 +4490,12 @@ readonly get }} }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -4518,12 +4518,12 @@ readonly get }} }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -4584,12 +4584,12 @@ public readonly event Action [|E|] }} }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -4612,12 +4612,12 @@ public readonly event Action [|E|] }} }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; @@ -4679,12 +4679,12 @@ public event Action [|E|] }} }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 6)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 6)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", (OriginatingProjectLanguage.VisualBasic, false) => $@"#region {FeaturesResources.Assembly} ReferencedAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // {FeaturesResources.location_unknown} @@ -4707,12 +4707,12 @@ public event Action [|E|] }} }} }} -#if false // {CSharpEditorResources.Decompilation_log} -{string.Format(CSharpEditorResources._0_items_in_cache, 9)} +#if false // {FeaturesResources.Decompilation_log} +{string.Format(FeaturesResources._0_items_in_cache, 9)} ------------------ -{string.Format(CSharpEditorResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} -{string.Format(CSharpEditorResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} +{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")} +{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")} #endif", _ => throw ExceptionUtilities.Unreachable(), }; diff --git a/src/EditorFeatures/TestUtilities/Workspaces/TestWorkspace_XmlConsumption.cs b/src/EditorFeatures/TestUtilities/Workspaces/TestWorkspace_XmlConsumption.cs index c49f4ed77462c..b12cb69ce4049 100644 --- a/src/EditorFeatures/TestUtilities/Workspaces/TestWorkspace_XmlConsumption.cs +++ b/src/EditorFeatures/TestUtilities/Workspaces/TestWorkspace_XmlConsumption.cs @@ -18,7 +18,7 @@ using System.Xml.Linq; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.Diagnostics; -using Microsoft.CodeAnalysis.Editor.CSharp.DecompiledSource; +using Microsoft.CodeAnalysis.CSharp.DecompiledSource; using Microsoft.CodeAnalysis.Editor.UnitTests.Extensions; using Microsoft.CodeAnalysis.Host; using Microsoft.CodeAnalysis.Scripting.Hosting; diff --git a/src/EditorFeatures/CSharp/DecompiledSource/CSharpDecompiledSourceFormattingRule.cs b/src/Features/CSharp/Portable/DecompiledSource/CSharpDecompiledSourceFormattingRule.cs similarity index 97% rename from src/EditorFeatures/CSharp/DecompiledSource/CSharpDecompiledSourceFormattingRule.cs rename to src/Features/CSharp/Portable/DecompiledSource/CSharpDecompiledSourceFormattingRule.cs index cfe01da1dd3f0..f71bb31bf957b 100644 --- a/src/EditorFeatures/CSharp/DecompiledSource/CSharpDecompiledSourceFormattingRule.cs +++ b/src/Features/CSharp/Portable/DecompiledSource/CSharpDecompiledSourceFormattingRule.cs @@ -6,7 +6,7 @@ using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Formatting.Rules; -namespace Microsoft.CodeAnalysis.Editor.CSharp.DecompiledSource +namespace Microsoft.CodeAnalysis.CSharp.DecompiledSource { internal class CSharpDecompiledSourceFormattingRule : AbstractFormattingRule { diff --git a/src/EditorFeatures/CSharp/DecompiledSource/CSharpDecompiledSourceService.cs b/src/Features/CSharp/Portable/DecompiledSource/CSharpDecompiledSourceService.cs similarity index 65% rename from src/EditorFeatures/CSharp/DecompiledSource/CSharpDecompiledSourceService.cs rename to src/Features/CSharp/Portable/DecompiledSource/CSharpDecompiledSourceService.cs index 184b598a8262b..7ceec38be0b5e 100644 --- a/src/EditorFeatures/CSharp/DecompiledSource/CSharpDecompiledSourceService.cs +++ b/src/Features/CSharp/Portable/DecompiledSource/CSharpDecompiledSourceService.cs @@ -7,16 +7,8 @@ using System.Composition; using System.Diagnostics; using System.Linq; -using System.Reflection.PortableExecutable; -using System.Text; using System.Threading; using System.Threading.Tasks; -using ICSharpCode.Decompiler; -using ICSharpCode.Decompiler.CSharp; -using ICSharpCode.Decompiler.CSharp.Transforms; -using ICSharpCode.Decompiler.Metadata; -using ICSharpCode.Decompiler.TypeSystem; -using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.DocumentationComments; using Microsoft.CodeAnalysis.DecompiledSource; using Microsoft.CodeAnalysis.DocumentationComments; @@ -25,16 +17,13 @@ using Microsoft.CodeAnalysis.Host.Mef; using Microsoft.CodeAnalysis.MetadataAsSource; using Microsoft.CodeAnalysis.Shared.Extensions; -using Microsoft.CodeAnalysis.Text; using Roslyn.Utilities; -namespace Microsoft.CodeAnalysis.Editor.CSharp.DecompiledSource +namespace Microsoft.CodeAnalysis.CSharp.DecompiledSource { [ExportLanguageService(typeof(IDecompiledSourceService), LanguageNames.CSharp), Shared] internal class CSharpDecompiledSourceService : IDecompiledSourceService { - private static readonly FileVersionInfo s_decompilerVersion = FileVersionInfo.GetVersionInfo(typeof(CSharpDecompiler).Assembly.Location); - [ImportingConstructor] [Obsolete(MefConstruction.ImportingConstructorMessage, error: true)] public CSharpDecompiledSourceService() @@ -48,14 +37,15 @@ public CSharpDecompiledSourceService() var fullName = GetFullReflectionName(containingOrThis); // Decompile - var decompiledDocument = PerformDecompilation(document, fullName, symbolCompilation, metadataReference, assemblyLocation); + var decompilationService = document.GetRequiredLanguageService(); + var decompiledDocument = decompilationService.PerformDecompilation(document, fullName, symbolCompilation, metadataReference, assemblyLocation); if (decompiledDocument is null) return null; document = decompiledDocument; - document = await AddAssemblyInfoRegionAsync(document, symbol, cancellationToken).ConfigureAwait(false); + document = await AddAssemblyInfoRegionAsync(document, symbol, decompilationService, cancellationToken).ConfigureAwait(false); // Convert XML doc comments to regular comments, just like MAS var docCommentFormattingService = document.GetRequiredLanguageService(); @@ -79,48 +69,7 @@ public static async Task FormatDocumentAsync(Document document, Syntax return formattedDoc; } - private static Document? PerformDecompilation(Document document, string fullName, Compilation compilation, MetadataReference? metadataReference, string? assemblyLocation) - { - var logger = new StringBuilder(); - var resolver = new AssemblyResolver(compilation, logger); - - // Load the assembly. - PEFile? file = null; - if (metadataReference is not null) - file = resolver.TryResolve(metadataReference, PEStreamOptions.PrefetchEntireImage); - - if (file is null && assemblyLocation is not null) - file = new PEFile(assemblyLocation, PEStreamOptions.PrefetchEntireImage); - - if (file is null) - return null; - - // Initialize a decompiler with default settings. - var decompiler = new CSharpDecompiler(file, resolver, new DecompilerSettings()); - // Escape invalid identifiers to prevent Roslyn from failing to parse the generated code. - // (This happens for example, when there is compiler-generated code that is not yet recognized/transformed by the decompiler.) - decompiler.AstTransforms.Add(new EscapeInvalidIdentifiers()); - - var fullTypeName = new FullTypeName(fullName); - - // ILSpy only allows decompiling a type that comes from the 'Main Module'. They will throw on anything - // else. Prevent this by doing this quick check corresponding to: - // https://github.com/icsharpcode/ILSpy/blob/4ebe075e5859939463ae420446f024f10c3bf077/ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs#L978 - var type = decompiler.TypeSystem.MainModule.GetTypeDefinition(fullTypeName); - if (type is null) - return null; - - // Try to decompile; if an exception is thrown the caller will handle it - var text = decompiler.DecompileTypeAsString(fullTypeName); - - text += "#if false // " + CSharpEditorResources.Decompilation_log + Environment.NewLine; - text += logger.ToString(); - text += "#endif" + Environment.NewLine; - - return document.WithText(SourceText.From(text, encoding: null, checksumAlgorithm: SourceHashAlgorithms.Default)); - } - - private static async Task AddAssemblyInfoRegionAsync(Document document, ISymbol symbol, CancellationToken cancellationToken) + private static async Task AddAssemblyInfoRegionAsync(Document document, ISymbol symbol, IDecompilationService decompilationService, CancellationToken cancellationToken) { var assemblyInfo = MetadataAsSourceHelpers.GetAssemblyInfo(symbol.ContainingAssembly); var compilation = await document.Project.GetRequiredCompilationAsync(cancellationToken).ConfigureAwait(false); @@ -129,6 +78,8 @@ private static async Task AddAssemblyInfoRegionAsync(Document document var regionTrivia = SyntaxFactory.RegionDirectiveTrivia(true) .WithTrailingTrivia(new[] { SyntaxFactory.Space, SyntaxFactory.PreprocessingMessage(assemblyInfo) }); + var decompilerVersion = decompilationService.GetDecompilerVersion(); + var oldRoot = await document.GetRequiredSyntaxRootAsync(cancellationToken).ConfigureAwait(false); var newRoot = oldRoot.WithLeadingTrivia(new[] { @@ -136,7 +87,7 @@ private static async Task AddAssemblyInfoRegionAsync(Document document SyntaxFactory.CarriageReturnLineFeed, SyntaxFactory.Comment("// " + assemblyPath), SyntaxFactory.CarriageReturnLineFeed, - SyntaxFactory.Comment($"// Decompiled with ICSharpCode.Decompiler {s_decompilerVersion.FileVersion}"), + SyntaxFactory.Comment($"// Decompiled with ICSharpCode.Decompiler {decompilerVersion.FileVersion}"), SyntaxFactory.CarriageReturnLineFeed, SyntaxFactory.Trivia(SyntaxFactory.EndRegionDirectiveTrivia(true)), SyntaxFactory.CarriageReturnLineFeed, diff --git a/src/Features/Core/Portable/DecompiledSource/IDecompilationService.cs b/src/Features/Core/Portable/DecompiledSource/IDecompilationService.cs new file mode 100644 index 0000000000000..5126547cb8ea6 --- /dev/null +++ b/src/Features/Core/Portable/DecompiledSource/IDecompilationService.cs @@ -0,0 +1,18 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.Diagnostics; +using Microsoft.CodeAnalysis.Host; + +namespace Microsoft.CodeAnalysis.DecompiledSource; + +/// +/// Abstraction over the actual decompilation libraries so we can avoid shipping them in source built assemblies. +/// +internal interface IDecompilationService : ILanguageService +{ + Document? PerformDecompilation(Document document, string fullName, Compilation compilation, MetadataReference? metadataReference, string? assemblyLocation); + + FileVersionInfo GetDecompilerVersion(); +} diff --git a/src/Features/Core/Portable/FeaturesResources.resx b/src/Features/Core/Portable/FeaturesResources.resx index 3db7158d4d71d..3a0b32684dc6a 100644 --- a/src/Features/Core/Portable/FeaturesResources.resx +++ b/src/Features/Core/Portable/FeaturesResources.resx @@ -3195,4 +3195,43 @@ Zero-width positive lookbehind assertions are typically used at the beginning of Debug Test + + Chosen version: '{0}' + + + Could not find by name: '{0}' + + + Decompilation log + + + Found '{0}' assemblies for '{1}': + + + Found exact match: '{0}' + + + Found higher version match: '{0}' + + + Found single assembly: '{0}' + + + Load from: '{0}' + + + Module not found! + + + Resolve: '{0}' + + + Resolve module: '{0}' of '{1}' + + + WARN: Version mismatch. Expected: '{0}', Got: '{1}' + + + '{0}' items in cache + \ No newline at end of file diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.cs.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.cs.xlf index 7c75f95ffff61..551032f49ed01 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.cs.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.cs.xlf @@ -495,6 +495,11 @@ Ujistěte se, že specifikátor tt použijete pro jazyky, pro které je nezbytn Změna viditelnosti {0} vyžaduje restartování aplikace. + + Chosen version: '{0}' + Chosen version: '{0}' + + Code snippet for '{0}' Fragment kódu pro {0} @@ -585,6 +590,11 @@ Ujistěte se, že specifikátor tt použijete pro jazyky, pro které je nezbytn Soubor PDB nelze najít na disku, vloženém nebo na serveru symbolů. + + Could not find by name: '{0}' + Could not find by name: '{0}' + + Could not find implementation of symbol '{0}' Nepovedlo se najít implementaci symbolu {0}. @@ -620,6 +630,11 @@ Ujistěte se, že specifikátor tt použijete pro jazyky, pro které je nezbytn Debug Test + + Decompilation log + Decompilation log + + decompiled dekompilováno @@ -775,6 +790,11 @@ Ujistěte se, že specifikátor tt použijete pro jazyky, pro které je nezbytn Formátuje se dokument. + + Found '{0}' assemblies for '{1}': + Found '{0}' assemblies for '{1}': + + Found PDB file at '{0}' V {0} se našel soubor PDB. @@ -795,6 +815,21 @@ Ujistěte se, že specifikátor tt použijete pro jazyky, pro které je nezbytn Byl nalezen vložený soubor PDB. + + Found exact match: '{0}' + Found exact match: '{0}' + + + + Found higher version match: '{0}' + Found higher version match: '{0}' + + + + Found single assembly: '{0}' + Found single assembly: '{0}' + + Generate abstract method '{0}' Generovat abstraktní metodu {0} @@ -1070,6 +1105,11 @@ Ujistěte se, že specifikátor tt použijete pro jazyky, pro které je nezbytn Převrátit podmínku + + Load from: '{0}' + Load from: '{0}' + + Making a method an iterator requires restarting the application because is not supported by the runtime. Nastavení metody jako iterátor vyžaduje restartování aplikace, protože tuto akci modul runtime nepodporuje. @@ -1200,6 +1240,11 @@ Ujistěte se, že specifikátor tt použijete pro jazyky, pro které je nezbytn Úprava zdroje s povolenými experimentálními jazykovými funkcemi vyžaduje restartování aplikace. + + Module not found! + Module not found! + + Move contents to namespace... Přesunout obsah do oboru názvů... @@ -2550,11 +2595,21 @@ Pozitivní kontrolní výrazy zpětného vyhledávání s nulovou délkou se obv povinné Used in the object initializer completion. + + Resolve: '{0}' + Resolve: '{0}' + + Resolve conflict markers Vyřešit značky konfliktů + + Resolve module: '{0}' of '{1}' + Resolve module: '{0}' of '{1}' + + Rude edit Hrubá úprava @@ -2940,6 +2995,11 @@ Pozitivní kontrolní výrazy zpětného vyhledávání s nulovou délkou se obv Hodnota je povinná + + WARN: Version mismatch. Expected: '{0}', Got: '{1}' + WARN: Version mismatch. Expected: '{0}', Got: '{1}' + + Warning: Changing namespace may produce invalid code and change code meaning. Upozornění: Změna oboru názvů může vést k vytvoření neplatného kódu a změnit význam kódu. @@ -3120,6 +3180,11 @@ Pozitivní kontrolní výrazy zpětného vyhledávání s nulovou délkou se obv {0} tady není null. + + '{0}' items in cache + '{0}' items in cache + + '{0}' literal not allowed Literál {0} není povolený. diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.de.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.de.xlf index 473da74e2d30b..c78a86d16e837 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.de.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.de.xlf @@ -495,6 +495,11 @@ Stellen Sie sicher, dass Sie den Bezeichner "tt" für Sprachen verwenden, für d Das Ändern der Sichtbarkeit von {0} erfordert einen Neustart der Anwendung. + + Chosen version: '{0}' + Chosen version: '{0}' + + Code snippet for '{0}' Codeschnipsel für „{0}“ @@ -585,6 +590,11 @@ Stellen Sie sicher, dass Sie den Bezeichner "tt" für Sprachen verwenden, für d Die PDB-Datei wurde nicht auf dem Datenträger, eingebettet oder auf einem Symbolserver gefunden. + + Could not find by name: '{0}' + Could not find by name: '{0}' + + Could not find implementation of symbol '{0}' Implementierung des Symbols '{0}' konnte nicht gefunden werden @@ -620,6 +630,11 @@ Stellen Sie sicher, dass Sie den Bezeichner "tt" für Sprachen verwenden, für d Debug Test + + Decompilation log + Decompilation log + + decompiled Dekompiliert @@ -775,6 +790,11 @@ Stellen Sie sicher, dass Sie den Bezeichner "tt" für Sprachen verwenden, für d Dokument wird formatiert + + Found '{0}' assemblies for '{1}': + Found '{0}' assemblies for '{1}': + + Found PDB file at '{0}' Die PDB-Datei wurde unter „{0}“ gefunden @@ -795,6 +815,21 @@ Stellen Sie sicher, dass Sie den Bezeichner "tt" für Sprachen verwenden, für d Die eingebettete PDB-Datei wurde gefunden. + + Found exact match: '{0}' + Found exact match: '{0}' + + + + Found higher version match: '{0}' + Found higher version match: '{0}' + + + + Found single assembly: '{0}' + Found single assembly: '{0}' + + Generate abstract method '{0}' Abstrakte Methode „{0}“ generieren @@ -1070,6 +1105,11 @@ Stellen Sie sicher, dass Sie den Bezeichner "tt" für Sprachen verwenden, für d Bedingten Operator umkehren + + Load from: '{0}' + Load from: '{0}' + + Making a method an iterator requires restarting the application because is not supported by the runtime. Das Festlegen einer Methode als Iterator erfordert einen Neustart der Anwendung, da es von der Laufzeit nicht unterstützt wird. @@ -1200,6 +1240,11 @@ Stellen Sie sicher, dass Sie den Bezeichner "tt" für Sprachen verwenden, für d Das Ändern der Quelle mit aktivierten experimentellen Sprachfeatures erfordert einen Neustart der Anwendung. + + Module not found! + Module not found! + + Move contents to namespace... Inhalt in Namespace verschieben... @@ -2550,11 +2595,21 @@ Positive Lookbehindassertionen mit Nullbreite werden normalerweise am Anfang reg erforderlich Used in the object initializer completion. + + Resolve: '{0}' + Resolve: '{0}' + + Resolve conflict markers Konfliktmarkierungen auflösen + + Resolve module: '{0}' of '{1}' + Resolve module: '{0}' of '{1}' + + Rude edit Grobe Bearbeitung @@ -2940,6 +2995,11 @@ Positive Lookbehindassertionen mit Nullbreite werden normalerweise am Anfang reg Wert erforderlich + + WARN: Version mismatch. Expected: '{0}', Got: '{1}' + WARN: Version mismatch. Expected: '{0}', Got: '{1}' + + Warning: Changing namespace may produce invalid code and change code meaning. Warnung: Durch die Änderung des Namespaces kann der Code ungültig werden oder seine Bedeutung verändern. @@ -3120,6 +3180,11 @@ Positive Lookbehindassertionen mit Nullbreite werden normalerweise am Anfang reg "{0}" ist hier nicht NULL. + + '{0}' items in cache + '{0}' items in cache + + '{0}' literal not allowed '{0}' Literal nicht zulässig diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.es.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.es.xlf index 5e0c6266e53ee..db80a7c37beba 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.es.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.es.xlf @@ -495,6 +495,11 @@ Asegúrese de usar el especificador "tt" para los idiomas para los que es necesa Para cambiar la visibilidad de {0} es necesario reiniciar la aplicación. + + Chosen version: '{0}' + Chosen version: '{0}' + + Code snippet for '{0}' Fragmento de código para “{0}” @@ -585,6 +590,11 @@ Asegúrese de usar el especificador "tt" para los idiomas para los que es necesa No se encontró el archivo PDB en el disco, incrustado o en un servidor de símbolos. + + Could not find by name: '{0}' + Could not find by name: '{0}' + + Could not find implementation of symbol '{0}' No se pudo encontrar la implementación del símbolo '{0}' @@ -620,6 +630,11 @@ Asegúrese de usar el especificador "tt" para los idiomas para los que es necesa Debug Test + + Decompilation log + Decompilation log + + decompiled descompilado @@ -775,6 +790,11 @@ Asegúrese de usar el especificador "tt" para los idiomas para los que es necesa Aplicando formato al documento + + Found '{0}' assemblies for '{1}': + Found '{0}' assemblies for '{1}': + + Found PDB file at '{0}' Se encontró el archivo PDB en '{0}' @@ -795,6 +815,21 @@ Asegúrese de usar el especificador "tt" para los idiomas para los que es necesa Se encontró un archivo PDB incrustado. + + Found exact match: '{0}' + Found exact match: '{0}' + + + + Found higher version match: '{0}' + Found higher version match: '{0}' + + + + Found single assembly: '{0}' + Found single assembly: '{0}' + + Generate abstract method '{0}' Generar método abstracto "{0}" @@ -1070,6 +1105,11 @@ Asegúrese de usar el especificador "tt" para los idiomas para los que es necesa Invertir condicional + + Load from: '{0}' + Load from: '{0}' + + Making a method an iterator requires restarting the application because is not supported by the runtime. Para convertir un método en iterador, es necesario reiniciar la aplicación porque no es compatible con el tiempo de ejecución. @@ -1200,6 +1240,11 @@ Asegúrese de usar el especificador "tt" para los idiomas para los que es necesa Para modificar el origen con las características de lenguaje experimental habilitadas se requiere reiniciar la aplicación. + + Module not found! + Module not found! + + Move contents to namespace... Mover contenido al espacio de nombres... @@ -2550,11 +2595,21 @@ Las aserciones de búsqueda retrasada (lookbehind) positivas de ancho cero se us obligatorio Used in the object initializer completion. + + Resolve: '{0}' + Resolve: '{0}' + + Resolve conflict markers Resolver los marcadores de conflicto + + Resolve module: '{0}' of '{1}' + Resolve module: '{0}' of '{1}' + + Rude edit Edición superficial @@ -2940,6 +2995,11 @@ Las aserciones de búsqueda retrasada (lookbehind) positivas de ancho cero se us Valor obligatorio + + WARN: Version mismatch. Expected: '{0}', Got: '{1}' + WARN: Version mismatch. Expected: '{0}', Got: '{1}' + + Warning: Changing namespace may produce invalid code and change code meaning. Advertencia: si cambia Cambiar el espacio de nombres puede producir código inválido y cambiar el significado del código. @@ -3120,6 +3180,11 @@ Las aserciones de búsqueda retrasada (lookbehind) positivas de ancho cero se us "{0}" no es NULL aquí. + + '{0}' items in cache + '{0}' items in cache + + '{0}' literal not allowed Literal \"{0}\" no permitido diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.fr.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.fr.xlf index bfc142e4d0607..1e5e8078925bd 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.fr.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.fr.xlf @@ -495,6 +495,11 @@ Veillez à utiliser le spécificateur "tt" pour les langues où il est nécessai La modification de la visibilité de {0} requiert le redémarrage de l’application. + + Chosen version: '{0}' + Chosen version: '{0}' + + Code snippet for '{0}' Extrait de code pour '{0}' @@ -585,6 +590,11 @@ Veillez à utiliser le spécificateur "tt" pour les langues où il est nécessai PDB introuvable sur le disque, ou incorporé, ou sur un serveur de symboles. + + Could not find by name: '{0}' + Could not find by name: '{0}' + + Could not find implementation of symbol '{0}' Implémentation du symbole '{0}' introuvable @@ -620,6 +630,11 @@ Veillez à utiliser le spécificateur "tt" pour les langues où il est nécessai Debug Test + + Decompilation log + Decompilation log + + decompiled décompilé @@ -775,6 +790,11 @@ Veillez à utiliser le spécificateur "tt" pour les langues où il est nécessai Mise en forme du document + + Found '{0}' assemblies for '{1}': + Found '{0}' assemblies for '{1}': + + Found PDB file at '{0}' Fichier PDB trouvé sur '{0}' @@ -795,6 +815,21 @@ Veillez à utiliser le spécificateur "tt" pour les langues où il est nécessai Fichier PDB incorporé trouvé. + + Found exact match: '{0}' + Found exact match: '{0}' + + + + Found higher version match: '{0}' + Found higher version match: '{0}' + + + + Found single assembly: '{0}' + Found single assembly: '{0}' + + Generate abstract method '{0}' Générer la méthode abstraite '{0}' @@ -1070,6 +1105,11 @@ Veillez à utiliser le spécificateur "tt" pour les langues où il est nécessai Inverser un élément conditionnel + + Load from: '{0}' + Load from: '{0}' + + Making a method an iterator requires restarting the application because is not supported by the runtime. La création d’une méthode en itérateur nécessite le redémarrage de l’application, car elle n’est pas prise en charge par le runtime. @@ -1200,6 +1240,11 @@ Veillez à utiliser le spécificateur "tt" pour les langues où il est nécessai La modification de la source avec les fonctionnalités de langage expérimentales activées requiert le redémarrage de l’application. + + Module not found! + Module not found! + + Move contents to namespace... Déplacer le contenu vers un espace de noms... @@ -2550,11 +2595,21 @@ Les assertions arrière positives de largeur nulle sont généralement utilisée obligatoire Used in the object initializer completion. + + Resolve: '{0}' + Resolve: '{0}' + + Resolve conflict markers Résoudre les marqueurs de conflit + + Resolve module: '{0}' of '{1}' + Resolve module: '{0}' of '{1}' + + Rude edit Modification non applicable @@ -2940,6 +2995,11 @@ Les assertions arrière positives de largeur nulle sont généralement utilisée Valeur obligatoire + + WARN: Version mismatch. Expected: '{0}', Got: '{1}' + WARN: Version mismatch. Expected: '{0}', Got: '{1}' + + Warning: Changing namespace may produce invalid code and change code meaning. Avertissement : Le changement d’espace de noms peut produire du code non valide et changer la signification du code. @@ -3120,6 +3180,11 @@ Les assertions arrière positives de largeur nulle sont généralement utilisée '{0}' n'a pas une valeur null ici. + + '{0}' items in cache + '{0}' items in cache + + '{0}' literal not allowed littéral '{0}' non autorisé diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.it.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.it.xlf index 35caa4d844104..e881e5b030a18 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.it.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.it.xlf @@ -495,6 +495,11 @@ Assicurarsi di usare l'identificatore "tt" per le lingue per le quali è necessa Se si modifica la visibilità di {0}, è necessario riavviare l'applicazione. + + Chosen version: '{0}' + Chosen version: '{0}' + + Code snippet for '{0}' Frammento di codice per '{0}' @@ -585,6 +590,11 @@ Assicurarsi di usare l'identificatore "tt" per le lingue per le quali è necessa Impossibile trovare PDB su disco, incorporato o su un server di simboli. + + Could not find by name: '{0}' + Could not find by name: '{0}' + + Could not find implementation of symbol '{0}' Non è stato possibile trovare l'implementazione del simbolo '{0}' @@ -620,6 +630,11 @@ Assicurarsi di usare l'identificatore "tt" per le lingue per le quali è necessa Debug Test + + Decompilation log + Decompilation log + + decompiled decompilato @@ -775,6 +790,11 @@ Assicurarsi di usare l'identificatore "tt" per le lingue per le quali è necessa Formattazione del documento + + Found '{0}' assemblies for '{1}': + Found '{0}' assemblies for '{1}': + + Found PDB file at '{0}' Trovato file PDB in '{0}' @@ -795,6 +815,21 @@ Assicurarsi di usare l'identificatore "tt" per le lingue per le quali è necessa Trovato file PDB incorporato. + + Found exact match: '{0}' + Found exact match: '{0}' + + + + Found higher version match: '{0}' + Found higher version match: '{0}' + + + + Found single assembly: '{0}' + Found single assembly: '{0}' + + Generate abstract method '{0}' Genera il metodo astratto '{0}' @@ -1070,6 +1105,11 @@ Assicurarsi di usare l'identificatore "tt" per le lingue per le quali è necessa Inverti espressione condizionale + + Load from: '{0}' + Load from: '{0}' + + Making a method an iterator requires restarting the application because is not supported by the runtime. Per rendere un metodo un iteratore, è necessario riavviare l'applicazione perché non è supportata dal runtime. @@ -1200,6 +1240,11 @@ Assicurarsi di usare l'identificatore "tt" per le lingue per le quali è necessa Se si modifica l'origine con le funzionalità del linguaggio sperimentali abilitate, è necessario riavviare l'applicazione. + + Module not found! + Module not found! + + Move contents to namespace... Sposta contenuto nello spazio dei nomi... @@ -2550,11 +2595,21 @@ Le asserzioni lookbehind positive di larghezza zero vengono usate in genere all' obbligatorio Used in the object initializer completion. + + Resolve: '{0}' + Resolve: '{0}' + + Resolve conflict markers Risolvi gli indicatori di conflitto + + Resolve module: '{0}' of '{1}' + Resolve module: '{0}' of '{1}' + + Rude edit Modifica non applicabile @@ -2940,6 +2995,11 @@ Le asserzioni lookbehind positive di larghezza zero vengono usate in genere all' Valore obbligatorio + + WARN: Version mismatch. Expected: '{0}', Got: '{1}' + WARN: Version mismatch. Expected: '{0}', Got: '{1}' + + Warning: Changing namespace may produce invalid code and change code meaning. Avviso: la modifica dello spazio dei nomi può comportare la creazione di codice non valido e modificare il significato del codice. @@ -3120,6 +3180,11 @@ Le asserzioni lookbehind positive di larghezza zero vengono usate in genere all' '{0}' non è Null in questo punto. + + '{0}' items in cache + '{0}' items in cache + + '{0}' literal not allowed Valore letterale '{0}' non consentito diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.ja.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.ja.xlf index ec261d1bafc4c..631b1228ee04b 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.ja.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.ja.xlf @@ -495,6 +495,11 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma {0} の可視性を変更するには、アプリケーションを再起動する必要があります。 + + Chosen version: '{0}' + Chosen version: '{0}' + + Code snippet for '{0}' '{0}' のコード スニペット @@ -585,6 +590,11 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma ディスク、埋め込み、またはシンボル サーバーで PDB が見つかりませんでした。 + + Could not find by name: '{0}' + Could not find by name: '{0}' + + Could not find implementation of symbol '{0}' シンボル '{0}'の実装が見つかりませんでした @@ -620,6 +630,11 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma Debug Test + + Decompilation log + Decompilation log + + decompiled 逆コンパイル済み @@ -775,6 +790,11 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma ドキュメントの書式設定 + + Found '{0}' assemblies for '{1}': + Found '{0}' assemblies for '{1}': + + Found PDB file at '{0}' '{0}' で PDB ファイルが見つかりました @@ -795,6 +815,21 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma 埋め込み PDB ファイルが見つかりました。 + + Found exact match: '{0}' + Found exact match: '{0}' + + + + Found higher version match: '{0}' + Found higher version match: '{0}' + + + + Found single assembly: '{0}' + Found single assembly: '{0}' + + Generate abstract method '{0}' 抽象メソッド '{0}' を生成する @@ -1070,6 +1105,11 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma 条件を反転します + + Load from: '{0}' + Load from: '{0}' + + Making a method an iterator requires restarting the application because is not supported by the runtime. ランタイムでサポートされていないため、メソッドを反復子にするには、アプリケーションを再起動する必要があります。 @@ -1200,6 +1240,11 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma 試験的な言語機能を有効にしてソースを変更するには、アプリケーションを再起動する必要があります。 + + Module not found! + Module not found! + + Move contents to namespace... 名前空間へのコンテンツの移動... @@ -2550,11 +2595,21 @@ Zero-width positive lookbehind assertions are typically used at the beginning of 必須 Used in the object initializer completion. + + Resolve: '{0}' + Resolve: '{0}' + + Resolve conflict markers 競合マーカーの解決 + + Resolve module: '{0}' of '{1}' + Resolve module: '{0}' of '{1}' + + Rude edit Rude 編集 @@ -2940,6 +2995,11 @@ Zero-width positive lookbehind assertions are typically used at the beginning of 値が必要です + + WARN: Version mismatch. Expected: '{0}', Got: '{1}' + WARN: Version mismatch. Expected: '{0}', Got: '{1}' + + Warning: Changing namespace may produce invalid code and change code meaning. 警告: 名前空間を変更すると無効なコードが生成され、コードの意味が変更される可能性があります。 @@ -3120,6 +3180,11 @@ Zero-width positive lookbehind assertions are typically used at the beginning of ここでは、'{0}' は null ではありません。 + + '{0}' items in cache + '{0}' items in cache + + '{0}' literal not allowed '{0}' リテラルは使用できません diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.ko.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.ko.xlf index 71760b2919df0..2d27a94e25ec0 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.ko.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.ko.xlf @@ -495,6 +495,11 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma {0} 표시 유형을 변경하려면 애플리케이션을 다시 시작해야 합니다. + + Chosen version: '{0}' + Chosen version: '{0}' + + Code snippet for '{0}' '{0}'의 코드 조각 @@ -585,6 +590,11 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma 디스크에서 PDB를 찾거나 포함된 PDB 또는 기호 서버에서 PDB를 찾을 수 없습니다. + + Could not find by name: '{0}' + Could not find by name: '{0}' + + Could not find implementation of symbol '{0}' '{0}' 기호의 구현을 찾을 수 없습니다. @@ -620,6 +630,11 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma Debug Test + + Decompilation log + Decompilation log + + decompiled 디컴파일됨 @@ -775,6 +790,11 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma 문서 서식을 지정하는 중 + + Found '{0}' assemblies for '{1}': + Found '{0}' assemblies for '{1}': + + Found PDB file at '{0}' '{0}'에서 PDB 파일을 찾음 @@ -795,6 +815,21 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma 포함된 PDB 파일을 찾았습니다. + + Found exact match: '{0}' + Found exact match: '{0}' + + + + Found higher version match: '{0}' + Found higher version match: '{0}' + + + + Found single assembly: '{0}' + Found single assembly: '{0}' + + Generate abstract method '{0}' '{0}' 요약 메서드 생성 @@ -1070,6 +1105,11 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma 조건 반전 + + Load from: '{0}' + Load from: '{0}' + + Making a method an iterator requires restarting the application because is not supported by the runtime. 런타임에서 지원하지 않기 때문에 메서드를 반복기로 만들려면 애플리케이션을 다시 시작해야 합니다. @@ -1200,6 +1240,11 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma 실험 언어 기능이 활성화된 원본를 수정하려면 응용 프로그램을 다시 시작해야 합니다. + + Module not found! + Module not found! + + Move contents to namespace... 네임스페이스로 콘텐츠 이동... @@ -2550,11 +2595,21 @@ Zero-width positive lookbehind assertions are typically used at the beginning of 필수 사항 Used in the object initializer completion. + + Resolve: '{0}' + Resolve: '{0}' + + Resolve conflict markers 충돌 표식 확인 + + Resolve module: '{0}' of '{1}' + Resolve module: '{0}' of '{1}' + + Rude edit 편집 다시 실행 @@ -2940,6 +2995,11 @@ Zero-width positive lookbehind assertions are typically used at the beginning of 값이 필요함 + + WARN: Version mismatch. Expected: '{0}', Got: '{1}' + WARN: Version mismatch. Expected: '{0}', Got: '{1}' + + Warning: Changing namespace may produce invalid code and change code meaning. 경고: 네임스페이스를 변경하면 잘못된 코드가 발생하고 코드 의미가 변경될 수 있습니다. @@ -3120,6 +3180,11 @@ Zero-width positive lookbehind assertions are typically used at the beginning of '{0}'은(는) 여기에서 null이 아닙니다. + + '{0}' items in cache + '{0}' items in cache + + '{0}' literal not allowed '{0}' 리터럴을 사용할 수 없습니다. diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.pl.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.pl.xlf index 037e93d75d460..d55cf8cd0e189 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.pl.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.pl.xlf @@ -495,6 +495,11 @@ Pamiętaj, aby nie używać specyfikatora „tt” dla wszystkich języków, w k Zmiana widoczności elementu {0} wymaga ponownego uruchomienia aplikacji. + + Chosen version: '{0}' + Chosen version: '{0}' + + Code snippet for '{0}' Fragment kodu dla elementu „{0}” @@ -585,6 +590,11 @@ Pamiętaj, aby nie używać specyfikatora „tt” dla wszystkich języków, w k Nie można odnaleźć pliku PDB na dysku, w trybie osadzonym lub na serwerze symboli. + + Could not find by name: '{0}' + Could not find by name: '{0}' + + Could not find implementation of symbol '{0}' Nie można odnaleźć implementacji symbolu „{0}” @@ -620,6 +630,11 @@ Pamiętaj, aby nie używać specyfikatora „tt” dla wszystkich języków, w k Debug Test + + Decompilation log + Decompilation log + + decompiled zdekompilowane @@ -775,6 +790,11 @@ Pamiętaj, aby nie używać specyfikatora „tt” dla wszystkich języków, w k Trwa formatowanie dokumentu... + + Found '{0}' assemblies for '{1}': + Found '{0}' assemblies for '{1}': + + Found PDB file at '{0}' Znaleziono plik PDB w lokalizacji „{0}” @@ -795,6 +815,21 @@ Pamiętaj, aby nie używać specyfikatora „tt” dla wszystkich języków, w k Znaleziono osadzony plik PDB. + + Found exact match: '{0}' + Found exact match: '{0}' + + + + Found higher version match: '{0}' + Found higher version match: '{0}' + + + + Found single assembly: '{0}' + Found single assembly: '{0}' + + Generate abstract method '{0}' Generuj metodę abstrakcyjną „{0}” @@ -1070,6 +1105,11 @@ Pamiętaj, aby nie używać specyfikatora „tt” dla wszystkich języków, w k Odwróć warunkowe + + Load from: '{0}' + Load from: '{0}' + + Making a method an iterator requires restarting the application because is not supported by the runtime. Ustanawianie metody interatorem wymaga ponownego uruchomienia aplikacji, ponieważ nie jest to obsługiwane przez środowisko uruchomieniowe. @@ -1200,6 +1240,11 @@ Pamiętaj, aby nie używać specyfikatora „tt” dla wszystkich języków, w k Modyfikowanie źródła z włączonymi funkcjami eksperymentalnymi języka wymaga ponownego uruchomienia aplikacji. + + Module not found! + Module not found! + + Move contents to namespace... Przenieś zawartość do przestrzeni nazw... @@ -2550,11 +2595,21 @@ Pozytywne asercje wsteczne o zerowej szerokości są zwykle używane na początk wymagane Used in the object initializer completion. + + Resolve: '{0}' + Resolve: '{0}' + + Resolve conflict markers Rozwiąż znaczniki konfliktów + + Resolve module: '{0}' of '{1}' + Resolve module: '{0}' of '{1}' + + Rude edit Edycja reguły @@ -2940,6 +2995,11 @@ Pozytywne asercje wsteczne o zerowej szerokości są zwykle używane na początk Wartość wymagana + + WARN: Version mismatch. Expected: '{0}', Got: '{1}' + WARN: Version mismatch. Expected: '{0}', Got: '{1}' + + Warning: Changing namespace may produce invalid code and change code meaning. Ostrzeżenie: Zmiana przestrzeni nazw może skutkować nieprawidłowym kodem i zmianą jego znaczenia. @@ -3120,6 +3180,11 @@ Pozytywne asercje wsteczne o zerowej szerokości są zwykle używane na początk Element „{0}” nie ma wartości null w tym miejscu. + + '{0}' items in cache + '{0}' items in cache + + '{0}' literal not allowed Literał „{0}” jest niedozwolony diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.pt-BR.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.pt-BR.xlf index cbc2855825eeb..fad1d8c8703f7 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.pt-BR.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.pt-BR.xlf @@ -495,6 +495,11 @@ Verifique se o especificador "tt" foi usado para idiomas para os quais é necess Para alterar a visibilidade de {0}, é necessário reiniciar o aplicativo. + + Chosen version: '{0}' + Chosen version: '{0}' + + Code snippet for '{0}' Trecho de código para '{0}' @@ -585,6 +590,11 @@ Verifique se o especificador "tt" foi usado para idiomas para os quais é necess Não foi possível localizar o PDB no disco, integrado ou em um servidor de símbolo. + + Could not find by name: '{0}' + Could not find by name: '{0}' + + Could not find implementation of symbol '{0}' Não foi possível localizar a implementação do símbolo '{0}' @@ -620,6 +630,11 @@ Verifique se o especificador "tt" foi usado para idiomas para os quais é necess Debug Test + + Decompilation log + Decompilation log + + decompiled descompilado @@ -775,6 +790,11 @@ Verifique se o especificador "tt" foi usado para idiomas para os quais é necess Formatando documento + + Found '{0}' assemblies for '{1}': + Found '{0}' assemblies for '{1}': + + Found PDB file at '{0}' Arquivo PDB encontrado em '{0}' @@ -795,6 +815,21 @@ Verifique se o especificador "tt" foi usado para idiomas para os quais é necess Arquivo PDB incorporado encontrado. + + Found exact match: '{0}' + Found exact match: '{0}' + + + + Found higher version match: '{0}' + Found higher version match: '{0}' + + + + Found single assembly: '{0}' + Found single assembly: '{0}' + + Generate abstract method '{0}' Gerar o método abstrato '{0}' @@ -1070,6 +1105,11 @@ Verifique se o especificador "tt" foi usado para idiomas para os quais é necess Inverter condicional + + Load from: '{0}' + Load from: '{0}' + + Making a method an iterator requires restarting the application because is not supported by the runtime. Tornar um método um iterador requer a reinicialização do aplicativo porque não há suporte para o tempo de execução. @@ -1200,6 +1240,11 @@ Verifique se o especificador "tt" foi usado para idiomas para os quais é necess Modificar a origem com recursos de linguagem experimental habilitados requer a reinicialização do aplicativo. + + Module not found! + Module not found! + + Move contents to namespace... Mover conteúdo para o namespace... @@ -2550,11 +2595,21 @@ As declarações de lookbehind positivas de largura zero normalmente são usadas obrigatório Used in the object initializer completion. + + Resolve: '{0}' + Resolve: '{0}' + + Resolve conflict markers Resolver marcadores de conflitos + + Resolve module: '{0}' of '{1}' + Resolve module: '{0}' of '{1}' + + Rude edit Edição rudimentar @@ -2940,6 +2995,11 @@ As declarações de lookbehind positivas de largura zero normalmente são usadas Valor obrigatório + + WARN: Version mismatch. Expected: '{0}', Got: '{1}' + WARN: Version mismatch. Expected: '{0}', Got: '{1}' + + Warning: Changing namespace may produce invalid code and change code meaning. Aviso: a alteração do namespace pode produzir código inválido e mudar o significado do código. @@ -3120,6 +3180,11 @@ As declarações de lookbehind positivas de largura zero normalmente são usadas '{0}' não é nulo aqui. + + '{0}' items in cache + '{0}' items in cache + + '{0}' literal not allowed Literal de “{0}” não permitida diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.ru.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.ru.xlf index 6a7a6873e78b8..02fc2dc6e5421 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.ru.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.ru.xlf @@ -495,6 +495,11 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma Для изменения видимости {0} требуется перезапустить приложение. + + Chosen version: '{0}' + Chosen version: '{0}' + + Code snippet for '{0}' Фрагмент кода для "{0}" @@ -585,6 +590,11 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma Не удалось найти PDB-файл на диске, во внедренном источнике или на сервере символов. + + Could not find by name: '{0}' + Could not find by name: '{0}' + + Could not find implementation of symbol '{0}' Не найдена реализация символа "{0}" @@ -620,6 +630,11 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma Debug Test + + Decompilation log + Decompilation log + + decompiled декомпилировано @@ -775,6 +790,11 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma Форматирование документа + + Found '{0}' assemblies for '{1}': + Found '{0}' assemblies for '{1}': + + Found PDB file at '{0}' Найден PDB-файл в "{0}" @@ -795,6 +815,21 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma Найден внедренный PDB-файл. + + Found exact match: '{0}' + Found exact match: '{0}' + + + + Found higher version match: '{0}' + Found higher version match: '{0}' + + + + Found single assembly: '{0}' + Found single assembly: '{0}' + + Generate abstract method '{0}' Создать абстрактный метод "{0}" @@ -1070,6 +1105,11 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma Инвертировать условный оператор + + Load from: '{0}' + Load from: '{0}' + + Making a method an iterator requires restarting the application because is not supported by the runtime. Чтобы сделать метод итератором, требуется перезапустить приложение, так как это не поддерживается средой выполнения. @@ -1200,6 +1240,11 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma Для изменения исходного кода с включенными экспериментальными функциями языка требуется перезапустить приложение.. + + Module not found! + Module not found! + + Move contents to namespace... Переместить содержимое в пространство имен... @@ -2550,11 +2595,21 @@ Zero-width positive lookbehind assertions are typically used at the beginning of требуется Used in the object initializer completion. + + Resolve: '{0}' + Resolve: '{0}' + + Resolve conflict markers Разрешение меток конфликтов + + Resolve module: '{0}' of '{1}' + Resolve module: '{0}' of '{1}' + + Rude edit Грубая редакция @@ -2940,6 +2995,11 @@ Zero-width positive lookbehind assertions are typically used at the beginning of Требуется значение + + WARN: Version mismatch. Expected: '{0}', Got: '{1}' + WARN: Version mismatch. Expected: '{0}', Got: '{1}' + + Warning: Changing namespace may produce invalid code and change code meaning. Предупреждение: изменение пространства имен может привести к появлению недопустимого кода и к изменению значения кода. @@ -3120,6 +3180,11 @@ Zero-width positive lookbehind assertions are typically used at the beginning of Здесь "{0}" имеет значение, отличное от NULL. + + '{0}' items in cache + '{0}' items in cache + + '{0}' literal not allowed Литерал {0} не разрешен diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.tr.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.tr.xlf index a3018a25cc0c7..a6fa29f026579 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.tr.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.tr.xlf @@ -495,6 +495,11 @@ AM ve PM arasındaki farkın korunmasının gerekli olduğu diller için "tt" be {0} öğesinin görünürlüğünün değiştirilmesi, uygulamanın yeniden başlatılmasını gerektirir. + + Chosen version: '{0}' + Chosen version: '{0}' + + Code snippet for '{0}' '{0}' için kod parçacığı @@ -585,6 +590,11 @@ AM ve PM arasındaki farkın korunmasının gerekli olduğu diller için "tt" be PDB diskte, gömülü veya bir sembol sunucusunda bulunamadı. + + Could not find by name: '{0}' + Could not find by name: '{0}' + + Could not find implementation of symbol '{0}' '{0}' sembolünün uygulaması bulunamadı @@ -620,6 +630,11 @@ AM ve PM arasındaki farkın korunmasının gerekli olduğu diller için "tt" be Debug Test + + Decompilation log + Decompilation log + + decompiled kaynak koda dönüştürüldü @@ -775,6 +790,11 @@ AM ve PM arasındaki farkın korunmasının gerekli olduğu diller için "tt" be Belge biçimlendiriliyor + + Found '{0}' assemblies for '{1}': + Found '{0}' assemblies for '{1}': + + Found PDB file at '{0}' “{0}” konumunda PDB dosyası bulundu @@ -795,6 +815,21 @@ AM ve PM arasındaki farkın korunmasının gerekli olduğu diller için "tt" be Gömülü PDB dosyası bulundu. + + Found exact match: '{0}' + Found exact match: '{0}' + + + + Found higher version match: '{0}' + Found higher version match: '{0}' + + + + Found single assembly: '{0}' + Found single assembly: '{0}' + + Generate abstract method '{0}' '{0}' soyut metodunu üret @@ -1070,6 +1105,11 @@ AM ve PM arasındaki farkın korunmasının gerekli olduğu diller için "tt" be Koşullu öğeyi ters çevir + + Load from: '{0}' + Load from: '{0}' + + Making a method an iterator requires restarting the application because is not supported by the runtime. Bir metodu yineleyici yapmak çalışma zamanı tarafından desteklenmediğinden uygulamanın yeniden başlatılmasını gerektirir. @@ -1200,6 +1240,11 @@ AM ve PM arasındaki farkın korunmasının gerekli olduğu diller için "tt" be Deneysel dil özellikleri etkinken kaynağı değiştirme, uygulamanın yeniden başlatılmasını gerektirir. + + Module not found! + Module not found! + + Move contents to namespace... İçerikleri ad alanına taşı... @@ -2550,11 +2595,21 @@ Sıfır genişlikli pozitif geri yönlü onaylamalar genellikle normal ifadeleri gerekli Used in the object initializer completion. + + Resolve: '{0}' + Resolve: '{0}' + + Resolve conflict markers Çakışma işaretçilerini çözümle + + Resolve module: '{0}' of '{1}' + Resolve module: '{0}' of '{1}' + + Rude edit İşlenmemiş düzenleme @@ -2940,6 +2995,11 @@ Sıfır genişlikli pozitif geri yönlü onaylamalar genellikle normal ifadeleri Değer gerekiyor + + WARN: Version mismatch. Expected: '{0}', Got: '{1}' + WARN: Version mismatch. Expected: '{0}', Got: '{1}' + + Warning: Changing namespace may produce invalid code and change code meaning. Uyarı: Ad alanının değiştirilmesi geçersiz kod oluşturabilir ve kodun anlamını değiştirebilir. @@ -3120,6 +3180,11 @@ Sıfır genişlikli pozitif geri yönlü onaylamalar genellikle normal ifadeleri '{0}' burada null değil. + + '{0}' items in cache + '{0}' items in cache + + '{0}' literal not allowed '{0}' sabit değerine izin verilmiyor diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.zh-Hans.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.zh-Hans.xlf index 2005454715739..4427bca661fac 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.zh-Hans.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.zh-Hans.xlf @@ -495,6 +495,11 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma 更改 {0} 的可见性要求重启应用程序。 + + Chosen version: '{0}' + Chosen version: '{0}' + + Code snippet for '{0}' "{0}" 的代码片段 @@ -585,6 +590,11 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma 在磁盘、嵌入源或符号服务器上找不到 PDB。 + + Could not find by name: '{0}' + Could not find by name: '{0}' + + Could not find implementation of symbol '{0}' 找不到符号 "{0}" 的实现 @@ -620,6 +630,11 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma Debug Test + + Decompilation log + Decompilation log + + decompiled 反编译 @@ -775,6 +790,11 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma 设置文档格式 + + Found '{0}' assemblies for '{1}': + Found '{0}' assemblies for '{1}': + + Found PDB file at '{0}' 在“{0}”处找到 PDB 文件 @@ -795,6 +815,21 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma 找到嵌入的 PDB 文件。 + + Found exact match: '{0}' + Found exact match: '{0}' + + + + Found higher version match: '{0}' + Found higher version match: '{0}' + + + + Found single assembly: '{0}' + Found single assembly: '{0}' + + Generate abstract method '{0}' 生成抽象方法“{0}” @@ -1070,6 +1105,11 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma 反转条件 + + Load from: '{0}' + Load from: '{0}' + + Making a method an iterator requires restarting the application because is not supported by the runtime. 使方法成为迭代器需要重启应用程序,因为运行时不支持此操作。 @@ -1200,6 +1240,11 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma 在启用实验语言功能的情况下修改源需要重新启动应用程序。 + + Module not found! + Module not found! + + Move contents to namespace... 将内容移动到命名空间... @@ -2550,11 +2595,21 @@ Zero-width positive lookbehind assertions are typically used at the beginning of 必需 Used in the object initializer completion. + + Resolve: '{0}' + Resolve: '{0}' + + Resolve conflict markers 解决冲突标记 + + Resolve module: '{0}' of '{1}' + Resolve module: '{0}' of '{1}' + + Rude edit 原始编辑 @@ -2940,6 +2995,11 @@ Zero-width positive lookbehind assertions are typically used at the beginning of 值是必需的 + + WARN: Version mismatch. Expected: '{0}', Got: '{1}' + WARN: Version mismatch. Expected: '{0}', Got: '{1}' + + Warning: Changing namespace may produce invalid code and change code meaning. 警告: 更改命名空间可能会产生无效的代码并更改代码的含义。 @@ -3120,6 +3180,11 @@ Zero-width positive lookbehind assertions are typically used at the beginning of “{0}”在此处不为 null。 + + '{0}' items in cache + '{0}' items in cache + + '{0}' literal not allowed 不允许 \"{0}\" 字面量 diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.zh-Hant.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.zh-Hant.xlf index 8c165a65b2382..f6502fa6b1fc6 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.zh-Hant.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.zh-Hant.xlf @@ -495,6 +495,11 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma 變更 {0} 的可見度需要重新啟動應用程式。 + + Chosen version: '{0}' + Chosen version: '{0}' + + Code snippet for '{0}' '{0}' 的程式碼片段 @@ -585,6 +590,11 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma 在磁碟、內嵌或符號伺服器上找不到 PDB。 + + Could not find by name: '{0}' + Could not find by name: '{0}' + + Could not find implementation of symbol '{0}' 找不到符號 '{0}' 的實作 @@ -620,6 +630,11 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma Debug Test + + Decompilation log + Decompilation log + + decompiled 已反向組譯 @@ -775,6 +790,11 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma 正在將文件格式化 + + Found '{0}' assemblies for '{1}': + Found '{0}' assemblies for '{1}': + + Found PDB file at '{0}' 在 '{0}' 找到 PDB 檔案 @@ -795,6 +815,21 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma 找到內嵌的 PDB 檔案。 + + Found exact match: '{0}' + Found exact match: '{0}' + + + + Found higher version match: '{0}' + Found higher version match: '{0}' + + + + Found single assembly: '{0}' + Found single assembly: '{0}' + + Generate abstract method '{0}' 產生抽象方法 '{0}' @@ -1070,6 +1105,11 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma 反轉條件 + + Load from: '{0}' + Load from: '{0}' + + Making a method an iterator requires restarting the application because is not supported by the runtime. 因為執行時間不支援,所以製作迭代器方法需要重新開機應用程式。 @@ -1200,6 +1240,11 @@ Make sure to use the "tt" specifier for languages for which it's necessary to ma 以啟用的實驗語言功能修改原始檔,需要重新啟動應用程式。 + + Module not found! + Module not found! + + Move contents to namespace... 將內容移到命名空間... @@ -2550,11 +2595,21 @@ Zero-width positive lookbehind assertions are typically used at the beginning of 必要項 Used in the object initializer completion. + + Resolve: '{0}' + Resolve: '{0}' + + Resolve conflict markers 解決衝突標記 + + Resolve module: '{0}' of '{1}' + Resolve module: '{0}' of '{1}' + + Rude edit 粗略編輯 @@ -2940,6 +2995,11 @@ Zero-width positive lookbehind assertions are typically used at the beginning of 必須有值 + + WARN: Version mismatch. Expected: '{0}', Got: '{1}' + WARN: Version mismatch. Expected: '{0}', Got: '{1}' + + Warning: Changing namespace may produce invalid code and change code meaning. 警告: 變更命名空間可能會產生無效的程式碼及變更程式碼意義。 @@ -3120,6 +3180,11 @@ Zero-width positive lookbehind assertions are typically used at the beginning of '{0}' 在此不是 null。 + + '{0}' items in cache + '{0}' items in cache + + '{0}' literal not allowed 不允許 '{0}' 常值 diff --git a/src/EditorFeatures/CSharp/DecompiledSource/AssemblyResolver.cs b/src/Features/LanguageServer/Protocol/Features/DecompiledSource/AssemblyResolver.cs similarity index 85% rename from src/EditorFeatures/CSharp/DecompiledSource/AssemblyResolver.cs rename to src/Features/LanguageServer/Protocol/Features/DecompiledSource/AssemblyResolver.cs index c48ebf2508246..03488bc8ff9d3 100644 --- a/src/EditorFeatures/CSharp/DecompiledSource/AssemblyResolver.cs +++ b/src/Features/LanguageServer/Protocol/Features/DecompiledSource/AssemblyResolver.cs @@ -17,7 +17,7 @@ using Microsoft.CodeAnalysis.Shared.Extensions; using Roslyn.Utilities; -namespace Microsoft.CodeAnalysis.Editor.CSharp.DecompiledSource +namespace Microsoft.CodeAnalysis.CSharp.DecompiledSource { internal class AssemblyResolver : IAssemblyResolver { @@ -32,7 +32,7 @@ public AssemblyResolver(Compilation parentCompilation, StringBuilder logger) _parentCompilation = parentCompilation; _logger = logger; BuildReferenceCache(); - Log(CSharpEditorResources._0_items_in_cache, _cache.Count); + Log(FeaturesResources._0_items_in_cache, _cache.Count); void BuildReferenceCache() { @@ -73,12 +73,12 @@ public PEFile TryResolve(MetadataReference metadataReference, PEStreamOptions st public PEFile Resolve(IAssemblyReference name) { Log("------------------"); - Log(CSharpEditorResources.Resolve_0, name.FullName); + Log(FeaturesResources.Resolve_0, name.FullName); // First, find the correct list of assemblies by name if (!_cache.TryGetValue(name.Name, out var assemblies)) { - Log(CSharpEditorResources.Could_not_find_by_name_0, name.FullName); + Log(FeaturesResources.Could_not_find_by_name_0, name.FullName); return null; } @@ -87,17 +87,17 @@ public PEFile Resolve(IAssemblyReference name) // but still might have a version different from what the decompiler asks for. if (assemblies.Count == 1) { - Log(CSharpEditorResources.Found_single_assembly_0, assemblies[0]); + Log(FeaturesResources.Found_single_assembly_0, assemblies[0]); if (assemblies[0].Identity.Version != name.Version) { - Log(CSharpEditorResources.WARN_Version_mismatch_Expected_0_Got_1, name.Version, assemblies[0].Identity.Version); + Log(FeaturesResources.WARN_Version_mismatch_Expected_0_Got_1, name.Version, assemblies[0].Identity.Version); } return MakePEFile(assemblies[0]); } // There are multiple assemblies - Log(CSharpEditorResources.Found_0_assemblies_for_1, assemblies.Count, name.Name); + Log(FeaturesResources.Found_0_assemblies_for_1, assemblies.Count, name.Name); // Get an exact match or highest version match from the list IAssemblySymbol highestVersion = null; @@ -113,24 +113,24 @@ public PEFile Resolve(IAssemblyReference name) if (version == name.Version && publicKeyToken.SequenceEqual(publicKeyTokenOfName)) { exactMatch = assembly; - Log(CSharpEditorResources.Found_exact_match_0, assembly); + Log(FeaturesResources.Found_exact_match_0, assembly); } else if (highestVersion == null || highestVersion.Identity.Version < version) { highestVersion = assembly; - Log(CSharpEditorResources.Found_higher_version_match_0, assembly); + Log(FeaturesResources.Found_higher_version_match_0, assembly); } } var chosen = exactMatch ?? highestVersion; - Log(CSharpEditorResources.Chosen_version_0, chosen); + Log(FeaturesResources.Chosen_version_0, chosen); return MakePEFile(chosen); PEFile MakePEFile(IAssemblySymbol assembly) { // reference assemblies should be fine here, we only need the metadata of references. var reference = _parentCompilation.GetMetadataReference(assembly); - Log(CSharpEditorResources.Load_from_0, reference.Display); + Log(FeaturesResources.Load_from_0, reference.Display); var result = TryResolve(reference, PEStreamOptions.PrefetchMetadata); if (result is not null) @@ -150,7 +150,7 @@ PEFile MakePEFile(IAssemblySymbol assembly) public PEFile ResolveModule(PEFile mainModule, string moduleName) { Log("-------------"); - Log(CSharpEditorResources.Resolve_module_0_of_1, moduleName, mainModule.FullName); + Log(FeaturesResources.Resolve_module_0_of_1, moduleName, mainModule.FullName); // Primitive implementation to support multi-module assemblies // where all modules are located next to the main module. @@ -158,11 +158,11 @@ public PEFile ResolveModule(PEFile mainModule, string moduleName) var moduleFileName = Path.Combine(baseDirectory, moduleName); if (!File.Exists(moduleFileName)) { - Log(CSharpEditorResources.Module_not_found); + Log(FeaturesResources.Module_not_found); return null; } - Log(CSharpEditorResources.Load_from_0, moduleFileName); + Log(FeaturesResources.Load_from_0, moduleFileName); return new PEFile(moduleFileName, PEStreamOptions.PrefetchMetadata); } diff --git a/src/Features/LanguageServer/Protocol/Features/DecompiledSource/CSharpCodeDecompilerDecompilationService.cs b/src/Features/LanguageServer/Protocol/Features/DecompiledSource/CSharpCodeDecompilerDecompilationService.cs new file mode 100644 index 0000000000000..49aaa86be0ab9 --- /dev/null +++ b/src/Features/LanguageServer/Protocol/Features/DecompiledSource/CSharpCodeDecompilerDecompilationService.cs @@ -0,0 +1,78 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; +using System.Composition; +using System.Diagnostics; +using System.Reflection.PortableExecutable; +using System.Text; +using ICSharpCode.Decompiler; +using ICSharpCode.Decompiler.CSharp; +using ICSharpCode.Decompiler.CSharp.Transforms; +using ICSharpCode.Decompiler.Metadata; +using ICSharpCode.Decompiler.TypeSystem; +using Microsoft.CodeAnalysis.DecompiledSource; +using Microsoft.CodeAnalysis.Host.Mef; +using Microsoft.CodeAnalysis.Text; + +namespace Microsoft.CodeAnalysis.CSharp.DecompiledSource +{ + [ExportLanguageService(typeof(IDecompilationService), LanguageNames.CSharp), Shared] + internal class CSharpDecompilationService : IDecompilationService + { + private static readonly FileVersionInfo s_decompilerVersion = FileVersionInfo.GetVersionInfo(typeof(CSharpDecompiler).Assembly.Location); + + [ImportingConstructor] + [Obsolete(MefConstruction.ImportingConstructorMessage, error: true)] + public CSharpDecompilationService() + { + } + + public FileVersionInfo GetDecompilerVersion() + { + return s_decompilerVersion; + } + + public Document? PerformDecompilation(Document document, string fullName, Compilation compilation, MetadataReference? metadataReference, string? assemblyLocation) + { + var logger = new StringBuilder(); + var resolver = new AssemblyResolver(compilation, logger); + + // Load the assembly. + PEFile? file = null; + if (metadataReference is not null) + file = resolver.TryResolve(metadataReference, PEStreamOptions.PrefetchEntireImage); + + if (file is null && assemblyLocation is not null) + file = new PEFile(assemblyLocation, PEStreamOptions.PrefetchEntireImage); + + if (file is null) + return null; + + // Initialize a decompiler with default settings. + var decompiler = new CSharpDecompiler(file, resolver, new DecompilerSettings()); + // Escape invalid identifiers to prevent Roslyn from failing to parse the generated code. + // (This happens for example, when there is compiler-generated code that is not yet recognized/transformed by the decompiler.) + decompiler.AstTransforms.Add(new EscapeInvalidIdentifiers()); + + var fullTypeName = new FullTypeName(fullName); + + // ILSpy only allows decompiling a type that comes from the 'Main Module'. They will throw on anything + // else. Prevent this by doing this quick check corresponding to: + // https://github.com/icsharpcode/ILSpy/blob/4ebe075e5859939463ae420446f024f10c3bf077/ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs#L978 + var type = decompiler.TypeSystem.MainModule.GetTypeDefinition(fullTypeName); + if (type is null) + return null; + + // Try to decompile; if an exception is thrown the caller will handle it + var text = decompiler.DecompileTypeAsString(fullTypeName); + + text += "#if false // " + FeaturesResources.Decompilation_log + Environment.NewLine; + text += logger.ToString(); + text += "#endif" + Environment.NewLine; + + return document.WithText(SourceText.From(text, encoding: null, checksumAlgorithm: SourceHashAlgorithms.Default)); + } + } +} diff --git a/src/Features/LanguageServer/Protocol/Microsoft.CodeAnalysis.LanguageServer.Protocol.csproj b/src/Features/LanguageServer/Protocol/Microsoft.CodeAnalysis.LanguageServer.Protocol.csproj index 4bc1d40062f24..9d63f873a1027 100644 --- a/src/Features/LanguageServer/Protocol/Microsoft.CodeAnalysis.LanguageServer.Protocol.csproj +++ b/src/Features/LanguageServer/Protocol/Microsoft.CodeAnalysis.LanguageServer.Protocol.csproj @@ -19,6 +19,7 @@ +