diff --git a/eng/Versions.props b/eng/Versions.props index dc832eb9ac4c9..1cb698f45ec00 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -33,7 +33,7 @@ 3.6.0-2.20157.5 16.4.248 5.0.0-alpha1.19409.1 - 16.3.27-develop-gdd55e997 + 16.6.34 12.0.2 - 2.2.34 + 2.3.99 1.5.0 1.6.0 0.1.102-alpha @@ -295,6 +295,7 @@ + diff --git a/eng/common/tools.ps1 b/eng/common/tools.ps1 index 92a053bd16b46..2070bd1b8daa2 100644 --- a/eng/common/tools.ps1 +++ b/eng/common/tools.ps1 @@ -102,14 +102,14 @@ function InitializeDotNetCli([bool]$install) { } # Don't resolve runtime, shared framework, or SDK from other locations to ensure build determinism - $env:DOTNET_MULTILEVEL_LOOKUP=0 + $env:DOTNET_MULTILEVEL_LOOKUP = 0 # Disable first run since we do not need all ASP.NET packages restored. - $env:DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 + $env:DOTNET_SKIP_FIRST_TIME_EXPERIENCE = 1 # Disable telemetry on CI. if ($ci) { - $env:DOTNET_CLI_TELEMETRY_OPTOUT=1 + $env:DOTNET_CLI_TELEMETRY_OPTOUT = 1 } # Source Build uses DotNetCoreSdkDir variable @@ -194,7 +194,7 @@ function InstallDotNet([string] $dotnetRoot, $installScript = GetDotNetInstallScript $dotnetRoot $installParameters = @{ - Version = $version + Version = $version InstallDir = $dotnetRoot } @@ -225,7 +225,8 @@ function InstallDotNet([string] $dotnetRoot, Write-PipelineTelemetryError -Category "InitializeToolset" -Message "Failed to install dotnet runtime '$runtime' from custom location '$runtimeSourceFeed'." ExitWithExitCode 1 } - } else { + } + else { ExitWithExitCode 1 } } @@ -275,12 +276,14 @@ function InitializeVisualStudioMSBuild([bool]$install, [object]$vsRequirements = $vsMajorVersion = $vsInfo.installationVersion.Split('.')[0] InitializeVisualStudioEnvironmentVariables $vsInstallDir $vsMajorVersion - } else { + } + else { if (Get-Member -InputObject $GlobalJson.tools -Name "xcopy-msbuild") { $xcopyMSBuildVersion = $GlobalJson.tools.'xcopy-msbuild' $vsMajorVersion = $xcopyMSBuildVersion.Split('.')[0] - } else { + } + else { $vsMajorVersion = $vsMinVersion.Major $xcopyMSBuildVersion = "$vsMajorVersion.$($vsMinVersion.Minor).0-alpha" } @@ -374,7 +377,7 @@ function LocateVisualStudio([object]$vsRequirements = $null){ } } - $vsInfo =& $vsWhereExe $args | ConvertFrom-Json + $vsInfo = & $vsWhereExe $args | ConvertFrom-Json if ($lastExitCode -ne 0) { return $null diff --git a/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.cs.xlf b/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.cs.xlf index 6ebecd456711b..632bdc4eb4866 100644 --- a/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.cs.xlf +++ b/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.cs.xlf @@ -4,232 +4,232 @@ Add braces - Add braces + Přidat složené závorky Add braces to '{0}' statement. - Add braces to '{0}' statement. + Přidat složené závorky do příkazu {0}. Convert switch statement to expression - Convert switch statement to expression + Převést příkaz switch na výraz Deconstruct variable declaration - Deconstruct variable declaration + Dekonstruovat deklaraci proměnné Indexing can be simplified - Indexing can be simplified + Indexování se dá zjednodušit. Misplaced using directive - Misplaced using directive + Nesprávné umístění direktivy using {Locked="using"} "using" is a C# keyword and should not be localized. Move misplaced using directives - Move misplaced using directives + Přesunout nesprávně umístěné direktivy using {Locked="using"} "using" is a C# keyword and should not be localized. Make readonly fields writable - Make readonly fields writable + Umožnit zápis do polí jen pro čtení (readonly) {Locked="readonly"} "readonly" is C# keyword and should not be localized. Local function can be made static - Local function can be made static + Místní funkce se dá nastavit jako statická. Make local function 'static' - Make local function 'static' + Nastavit místní funkci jako statickou Simplify 'default' expression - Simplify 'default' expression + Zjednodušit výraz default Struct contains assignment to 'this' outside of constructor. Make readonly fields writable - Struct contains assignment to 'this' outside of constructor. Make readonly fields writable + Struct obsahuje přiřazení do this mimo konstruktor. Nastavte pole určená jen pro čtení jako zapisovatelná. {Locked="Struct"}{Locked="this"} these are C#/VB keywords and should not be localized. Unreachable code detected - Unreachable code detected + Byl zjištěn nedosažitelný kód. Use block body for accessors - Use block body for accessors + Pro přístupové objekty používat text bloku Use block body for constructors - Use block body for constructors + Pro konstruktory používat text bloku Use block body for indexers - Use block body for indexers + Pro indexery používat text bloku Use block body for local functions - Use block body for local functions + Pro místní funkce používat text bloku Use block body for methods - Use block body for methods + Pro metody používat text bloku Use block body for operators - Use block body for operators + Pro operátory používat text bloku Use block body for properties - Use block body for properties + Pro vlastnosti používat text bloku Use explicit type - Use explicit type + Použít explicitní typ Use explicit type instead of 'var' - Use explicit type instead of 'var' + Použít explicitní typ místo var Use expression body for accessors - Use expression body for accessors + Pro přístupové objekty používat text výrazu Use expression body for constructors - Use expression body for constructors + Pro konstruktory používat text výrazu Use expression body for indexers - Use expression body for indexers + Pro indexery používat text výrazu Use expression body for local functions - Use expression body for local functions + Pro místní funkce používat text výrazu Use expression body for methods - Use expression body for methods + Pro metody používat text výrazu Use expression body for operators - Use expression body for operators + Pro operátory používat text výrazu Use expression body for properties - Use expression body for properties + Pro vlastnosti používat text výrazu Use implicit type - Use implicit type + Použít implicitní typ Use index operator - Use index operator + Použít operátor indexu Use 'is null' check - Use 'is null' check + Použít kontrolu „is null“ Use pattern matching - Use pattern matching + Použít porovnávání vzorů Use range operator - Use range operator + Použít operátor rozsahu Use simple 'using' statement - Use simple 'using' statement + Použít jednoduchý příkaz using Use 'switch' expression - Use 'switch' expression + Použít výraz switch Using directives must be placed inside of a namespace declaration - Using directives must be placed inside of a namespace declaration + Direktivy using se musí umístit do deklarace namespace. {Locked="using"} "using" is a C# keyword and should not be localized. {Locked="namespace"} "namespace" is a C# keyword and should not be localized. Using directives must be placed outside of a namespace declaration - Using directives must be placed outside of a namespace declaration + Direktivy using se musí umístit mimo deklaraci namespace. {Locked="using"} "using" is a C# keyword and should not be localized. {Locked="namespace"} "namespace" is a C# keyword and should not be localized. Variable declaration can be deconstructed - Variable declaration can be deconstructed + Deklaraci proměnné je možné dekonstruovat. Warning: Moving using directives may change code meaning. - Warning: Moving using directives may change code meaning. + Upozornění: Přesunutí direktiv using může změnit význam kódu. {Locked="using"} "using" is a C# keyword and should not be localized. {0} can be simplified - {0} can be simplified + {0} se dá zjednodušit. 'default' expression can be simplified - 'default' expression can be simplified + 'Výraz default se dá zjednodušit. 'if' statement can be simplified - 'if' statement can be simplified + Příkaz if lze zjednodušit. use 'var' instead of explicit type - use 'var' instead of explicit type + Použít var místo explicitního typu Using directive is unnecessary. - Using directive is unnecessary. + Direktiva Using není potřebná. 'using' statement can be simplified - 'using' statement can be simplified + Příkaz using lze zjednodušit. diff --git a/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.de.xlf b/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.de.xlf index 6d5bb0a48c0a2..eb332fd5ef19d 100644 --- a/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.de.xlf +++ b/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.de.xlf @@ -4,232 +4,232 @@ Add braces - Add braces + Geschweifte Klammern hinzufügen Add braces to '{0}' statement. - Add braces to '{0}' statement. + Der Anweisung "{0}" geschweifte Klammern hinzufügen Convert switch statement to expression - Convert switch statement to expression + Switch-Anweisung in Ausdruck konvertieren Deconstruct variable declaration - Deconstruct variable declaration + Variablendeklaration dekonstruieren Indexing can be simplified - Indexing can be simplified + Die Indizierung kann vereinfacht werden Misplaced using directive - Misplaced using directive + Die using-Anweisung wurde falsch platziert. {Locked="using"} "using" is a C# keyword and should not be localized. Move misplaced using directives - Move misplaced using directives + Falsch platzierte using-Anweisungen verschieben {Locked="using"} "using" is a C# keyword and should not be localized. Make readonly fields writable - Make readonly fields writable + readonly-Felder als schreibbar festlegen {Locked="readonly"} "readonly" is C# keyword and should not be localized. Local function can be made static - Local function can be made static + Die lokale Funktion kann als statisch festgelegt werden. Make local function 'static' - Make local function 'static' + Lokale Funktion als "static" festlegen Simplify 'default' expression - Simplify 'default' expression + "default"-Ausdruck vereinfachen Struct contains assignment to 'this' outside of constructor. Make readonly fields writable - Struct contains assignment to 'this' outside of constructor. Make readonly fields writable + Struct enthält eine Zuweisung zu "this" außerhalb des Konstruktors. Legen Sie schreibgeschützte Felder als beschreibbar fest. {Locked="Struct"}{Locked="this"} these are C#/VB keywords and should not be localized. Unreachable code detected - Unreachable code detected + Unerreichbarer Code wurde entdeckt. Use block body for accessors - Use block body for accessors + Blocktextkörper für Accessoren verwenden Use block body for constructors - Use block body for constructors + Blocktextkörper für Konstruktoren verwenden Use block body for indexers - Use block body for indexers + Blocktextkörper für Indexer verwenden Use block body for local functions - Use block body for local functions + Blocktextkörper für lokale Funktionen verwenden Use block body for methods - Use block body for methods + Blocktextkörper für Methoden verwenden Use block body for operators - Use block body for operators + Blocktextkörper für Operatoren verwenden Use block body for properties - Use block body for properties + Blocktextkörper für Eigenschaften verwenden Use explicit type - Use explicit type + Expliziten Typ verwenden Use explicit type instead of 'var' - Use explicit type instead of 'var' + Expliziten Typ anstelle von "var" verwenden Use expression body for accessors - Use expression body for accessors + Ausdruckskörper für Accessoren verwenden Use expression body for constructors - Use expression body for constructors + Ausdruckskörper für Konstruktoren verwenden Use expression body for indexers - Use expression body for indexers + Ausdruckskörper für Indexer verwenden Use expression body for local functions - Use expression body for local functions + Ausdruckstext für lokale Funktionen verwenden Use expression body for methods - Use expression body for methods + Ausdruckskörper für Methoden verwenden Use expression body for operators - Use expression body for operators + Ausdruckskörper für Operatoren verwenden Use expression body for properties - Use expression body for properties + Ausdruckskörper für Eigenschaften verwenden Use implicit type - Use implicit type + Impliziten Typ verwenden Use index operator - Use index operator + Indexoperator verwenden Use 'is null' check - Use 'is null' check + "Ist NULL"-Prüfung verwenden Use pattern matching - Use pattern matching + Musterabgleich verwenden Use range operator - Use range operator + Bereichsoperator verwenden Use simple 'using' statement - Use simple 'using' statement + Einfache using-Anweisung verwenden Use 'switch' expression - Use 'switch' expression + Switch-Ausdruck verwenden Using directives must be placed inside of a namespace declaration - Using directives must be placed inside of a namespace declaration + Using-Anweisungen müssen in einer namespace-Deklaration platziert werden. {Locked="using"} "using" is a C# keyword and should not be localized. {Locked="namespace"} "namespace" is a C# keyword and should not be localized. Using directives must be placed outside of a namespace declaration - Using directives must be placed outside of a namespace declaration + Using-Anweisungen müssen außerhalb einer namespace-Deklaration platziert werden. {Locked="using"} "using" is a C# keyword and should not be localized. {Locked="namespace"} "namespace" is a C# keyword and should not be localized. Variable declaration can be deconstructed - Variable declaration can be deconstructed + Die Variablendeklaration kann dekonstruiert werden. Warning: Moving using directives may change code meaning. - Warning: Moving using directives may change code meaning. + Warnung: Durch das Verschieben von using-Anweisungen kann sich die Codebedeutung ändern. {Locked="using"} "using" is a C# keyword and should not be localized. {0} can be simplified - {0} can be simplified + {0} kann vereinfacht werden 'default' expression can be simplified - 'default' expression can be simplified + '"default"-Ausdruck kann vereinfacht werden 'if' statement can be simplified - 'if' statement can be simplified + Die If-Anweisung kann vereinfacht werden. use 'var' instead of explicit type - use 'var' instead of explicit type + "var" anstelle des expliziten Typs verwenden Using directive is unnecessary. - Using directive is unnecessary. + Using-Direktive ist unnötig. 'using' statement can be simplified - 'using' statement can be simplified + Die using-Anweisung kann vereinfacht werden. diff --git a/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.es.xlf b/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.es.xlf index 9f043211492ba..60210066dc9a1 100644 --- a/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.es.xlf +++ b/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.es.xlf @@ -4,232 +4,232 @@ Add braces - Add braces + Agregar llaves Add braces to '{0}' statement. - Add braces to '{0}' statement. + Agregar llaves a la instrucción '{0}'. Convert switch statement to expression - Convert switch statement to expression + Convertir una instrucción switch en expresión Deconstruct variable declaration - Deconstruct variable declaration + Desconstruir la declaración de variable Indexing can be simplified - Indexing can be simplified + La indexación de direcciones puede ser simplificado Misplaced using directive - Misplaced using directive + Directiva using mal colocada {Locked="using"} "using" is a C# keyword and should not be localized. Move misplaced using directives - Move misplaced using directives + Mover directivas using mal colocadas {Locked="using"} "using" is a C# keyword and should not be localized. Make readonly fields writable - Make readonly fields writable + Convertir en editables los campos readonly {Locked="readonly"} "readonly" is C# keyword and should not be localized. Local function can be made static - Local function can be made static + La función local se puede convertir en estática Make local function 'static' - Make local function 'static' + Convertir la función local "static" Simplify 'default' expression - Simplify 'default' expression + Simplificar la expresión "predeterminada" Struct contains assignment to 'this' outside of constructor. Make readonly fields writable - Struct contains assignment to 'this' outside of constructor. Make readonly fields writable + Struct contiene una asignación a "this" fuera del constructor. Convertir en editables los campos de solo lectura {Locked="Struct"}{Locked="this"} these are C#/VB keywords and should not be localized. Unreachable code detected - Unreachable code detected + Se detectó código inaccesible Use block body for accessors - Use block body for accessors + Usar cuerpo del bloque para los descriptores de acceso Use block body for constructors - Use block body for constructors + Usar cuerpo del bloque para los constructores Use block body for indexers - Use block body for indexers + Usar cuerpo del bloque para los indizadores Use block body for local functions - Use block body for local functions + Usar cuerpo del bloque para las funciones locales Use block body for methods - Use block body for methods + Usar cuerpo del bloque para los métodos Use block body for operators - Use block body for operators + Usar cuerpo del bloque para los operadores Use block body for properties - Use block body for properties + Usar cuerpo del bloque para las propiedades Use explicit type - Use explicit type + Usar un tipo explícito Use explicit type instead of 'var' - Use explicit type instead of 'var' + Usar un tipo explícito en lugar de 'var' Use expression body for accessors - Use expression body for accessors + Usar cuerpo de expresiones para los descriptores de acceso Use expression body for constructors - Use expression body for constructors + Usar cuerpo de expresiones para los constructores Use expression body for indexers - Use expression body for indexers + Usar cuerpo de expresiones para los indizadores Use expression body for local functions - Use expression body for local functions + Usar el cuerpo de la expresión para las funciones locales Use expression body for methods - Use expression body for methods + Usar cuerpo de expresiones para los métodos Use expression body for operators - Use expression body for operators + Usar cuerpo de expresiones para los operadores Use expression body for properties - Use expression body for properties + Usar cuerpo de expresiones para las propiedades Use implicit type - Use implicit type + Usar un tipo implícito Use index operator - Use index operator + Usar operador de índice Use 'is null' check - Use 'is null' check + Usar comprobación "is null" Use pattern matching - Use pattern matching + Usar coincidencia de patrones Use range operator - Use range operator + Usar el operador de intervalo Use simple 'using' statement - Use simple 'using' statement + Use la instrucción "using" simple Use 'switch' expression - Use 'switch' expression + Usar la expresión "switch" Using directives must be placed inside of a namespace declaration - Using directives must be placed inside of a namespace declaration + Las directivas using deben colocarse dentro de una declaración de namespace {Locked="using"} "using" is a C# keyword and should not be localized. {Locked="namespace"} "namespace" is a C# keyword and should not be localized. Using directives must be placed outside of a namespace declaration - Using directives must be placed outside of a namespace declaration + Las directivas using deben colocarse fuera de una declaración de namespace {Locked="using"} "using" is a C# keyword and should not be localized. {Locked="namespace"} "namespace" is a C# keyword and should not be localized. Variable declaration can be deconstructed - Variable declaration can be deconstructed + La declaración de variables se puede desconstruir. Warning: Moving using directives may change code meaning. - Warning: Moving using directives may change code meaning. + Advertencia: El movimiento de directivas using puede cambiar el significado del código. {Locked="using"} "using" is a C# keyword and should not be localized. {0} can be simplified - {0} can be simplified + {0} se puede simplificar. 'default' expression can be simplified - 'default' expression can be simplified + 'La expresión "predeterminada" se puede simplificar 'if' statement can be simplified - 'if' statement can be simplified + La instrucción "if" se puede simplificar use 'var' instead of explicit type - use 'var' instead of explicit type + Usar 'var' en lugar de un tipo explícito Using directive is unnecessary. - Using directive is unnecessary. + El uso de la directiva no es necesario. 'using' statement can be simplified - 'using' statement can be simplified + La instrucción "using" se puede simplificar diff --git a/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.fr.xlf b/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.fr.xlf index 9e4da3b429bca..04badef82af3b 100644 --- a/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.fr.xlf +++ b/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.fr.xlf @@ -4,232 +4,232 @@ Add braces - Add braces + Ajouter des accolades Add braces to '{0}' statement. - Add braces to '{0}' statement. + Ajouter des accolades à l'instruction '{0}'. Convert switch statement to expression - Convert switch statement to expression + Convertir l'instruction switch en expression Deconstruct variable declaration - Deconstruct variable declaration + Déconstruire la déclaration de variable Indexing can be simplified - Indexing can be simplified + L'indexation peut être simplifiée Misplaced using directive - Misplaced using directive + Directive using mal placée {Locked="using"} "using" is a C# keyword and should not be localized. Move misplaced using directives - Move misplaced using directives + Déplacer les directives using mal placées {Locked="using"} "using" is a C# keyword and should not be localized. Make readonly fields writable - Make readonly fields writable + Rendre les champs readonly accessibles en écriture {Locked="readonly"} "readonly" is C# keyword and should not be localized. Local function can be made static - Local function can be made static + Une fonction locale peut être rendue statique Make local function 'static' - Make local function 'static' + Rendre la fonction locale 'static' Simplify 'default' expression - Simplify 'default' expression + Simplifier l'expression 'default' Struct contains assignment to 'this' outside of constructor. Make readonly fields writable - Struct contains assignment to 'this' outside of constructor. Make readonly fields writable + Struct contient une assignation à 'this' en dehors du constructeur. Rendre les champs readonly accessibles en écriture {Locked="Struct"}{Locked="this"} these are C#/VB keywords and should not be localized. Unreachable code detected - Unreachable code detected + Code inaccessible détecté Use block body for accessors - Use block body for accessors + Utiliser un corps de bloc pour les accesseurs Use block body for constructors - Use block body for constructors + Utiliser un corps de bloc pour les constructeurs Use block body for indexers - Use block body for indexers + Utiliser un corps de bloc pour les indexeurs Use block body for local functions - Use block body for local functions + Utiliser le corps de bloc pour les fonctions locales Use block body for methods - Use block body for methods + Utiliser un corps de bloc pour les méthodes Use block body for operators - Use block body for operators + Utiliser un corps de bloc pour les opérateurs Use block body for properties - Use block body for properties + Utiliser un corps de bloc pour les propriétés Use explicit type - Use explicit type + Utiliser un type explicite Use explicit type instead of 'var' - Use explicit type instead of 'var' + Utiliser un type explicite au lieu de 'var' Use expression body for accessors - Use expression body for accessors + Utiliser un corps d'expression pour les accesseurs Use expression body for constructors - Use expression body for constructors + Utiliser un corps d'expression pour les constructeurs Use expression body for indexers - Use expression body for indexers + Utiliser un corps d'expression pour les indexeurs Use expression body for local functions - Use expression body for local functions + Utiliser le corps d'expression pour des fonctions locales Use expression body for methods - Use expression body for methods + Utiliser un corps d'expression pour les méthodes Use expression body for operators - Use expression body for operators + Utiliser un corps d'expression pour les opérateurs Use expression body for properties - Use expression body for properties + Utiliser un corps d'expression pour les propriétés Use implicit type - Use implicit type + Utiliser un type implicite Use index operator - Use index operator + Utiliser l'opérateur d'index Use 'is null' check - Use 'is null' check + Utiliser la vérification 'is null' Use pattern matching - Use pattern matching + Utiliser les critères spéciaux Use range operator - Use range operator + Utiliser l'opérateur de plage Use simple 'using' statement - Use simple 'using' statement + Utiliser une instruction 'using' simple Use 'switch' expression - Use 'switch' expression + Utiliser l'expression 'switch' Using directives must be placed inside of a namespace declaration - Using directives must be placed inside of a namespace declaration + Les directives using doivent être placées dans une déclaration namespace {Locked="using"} "using" is a C# keyword and should not be localized. {Locked="namespace"} "namespace" is a C# keyword and should not be localized. Using directives must be placed outside of a namespace declaration - Using directives must be placed outside of a namespace declaration + Les directives using doivent être placées en dehors d'une déclaration namespace {Locked="using"} "using" is a C# keyword and should not be localized. {Locked="namespace"} "namespace" is a C# keyword and should not be localized. Variable declaration can be deconstructed - Variable declaration can be deconstructed + La déclaration de variable peut être déconstruite Warning: Moving using directives may change code meaning. - Warning: Moving using directives may change code meaning. + Avertissement : Le déplacement des directives using peut changer la signification du code. {Locked="using"} "using" is a C# keyword and should not be localized. {0} can be simplified - {0} can be simplified + {0} peut être simplifié 'default' expression can be simplified - 'default' expression can be simplified + 'l'expression 'default' peut être simplifiée 'if' statement can be simplified - 'if' statement can be simplified + L'instruction 'if' peut être simplifiée use 'var' instead of explicit type - use 'var' instead of explicit type + utiliser 'var' au lieu d'un type explicite Using directive is unnecessary. - Using directive is unnecessary. + La directive using n'est pas nécessaire. 'using' statement can be simplified - 'using' statement can be simplified + L'instruction 'using' peut être simplifiée diff --git a/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.it.xlf b/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.it.xlf index b8a0de3cfc1ad..ad940f58952a7 100644 --- a/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.it.xlf +++ b/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.it.xlf @@ -4,232 +4,232 @@ Add braces - Add braces + Aggiungi parentesi graffe Add braces to '{0}' statement. - Add braces to '{0}' statement. + Aggiunge le parentesi graffe all'istruzione '{0}'. Convert switch statement to expression - Convert switch statement to expression + Converti l'istruzione switch in espressione Deconstruct variable declaration - Deconstruct variable declaration + Decostruisci la dichiarazione di variabile Indexing can be simplified - Indexing can be simplified + L'indicizzazione può essere semplificata Misplaced using directive - Misplaced using directive + Direttiva using in posizione errata {Locked="using"} "using" is a C# keyword and should not be localized. Move misplaced using directives - Move misplaced using directives + Sposta le direttive using in posizione errata {Locked="using"} "using" is a C# keyword and should not be localized. Make readonly fields writable - Make readonly fields writable + Rendi scrivibili i campi readonly {Locked="readonly"} "readonly" is C# keyword and should not be localized. Local function can be made static - Local function can be made static + La funzione locale può essere resa statica Make local function 'static' - Make local function 'static' + Rendi la funzione locale 'static' Simplify 'default' expression - Simplify 'default' expression + Semplifica l'espressione 'default' Struct contains assignment to 'this' outside of constructor. Make readonly fields writable - Struct contains assignment to 'this' outside of constructor. Make readonly fields writable + Struct contiene l'assegnazione a 'this' all'esterno del costruttore. Impostare i campi di sola lettura come scrivibili {Locked="Struct"}{Locked="this"} these are C#/VB keywords and should not be localized. Unreachable code detected - Unreachable code detected + È stato rilevato codice non raggiungibile Use block body for accessors - Use block body for accessors + Usa il corpo del blocco per le funzioni di accesso Use block body for constructors - Use block body for constructors + Usa il corpo del blocco per i costruttori Use block body for indexers - Use block body for indexers + Usa il corpo del blocco per gli indicizzatori Use block body for local functions - Use block body for local functions + Usa il corpo del blocco per le funzioni locali Use block body for methods - Use block body for methods + Usa il corpo del blocco per i metodi Use block body for operators - Use block body for operators + Usa il corpo del blocco per gli operatori Use block body for properties - Use block body for properties + Usa il corpo del blocco per le proprietà Use explicit type - Use explicit type + Usa il tipo esplicito Use explicit type instead of 'var' - Use explicit type instead of 'var' + Usa il tipo esplicito invece di 'var' Use expression body for accessors - Use expression body for accessors + Usa il corpo dell'espressione per le funzioni di accesso Use expression body for constructors - Use expression body for constructors + Usa il corpo dell'espressione per i costruttori Use expression body for indexers - Use expression body for indexers + Usa il corpo dell'espressione per gli indicizzatori Use expression body for local functions - Use expression body for local functions + Usa corpo dell'espressione per funzioni locali Use expression body for methods - Use expression body for methods + Usa il corpo dell'espressione per i metodi Use expression body for operators - Use expression body for operators + Usa il corpo dell'espressione per gli operatori Use expression body for properties - Use expression body for properties + Usa il corpo dell'espressione per le proprietà Use implicit type - Use implicit type + Usa il tipo implicito Use index operator - Use index operator + Usa operatore di indice Use 'is null' check - Use 'is null' check + Usa controllo 'is null' Use pattern matching - Use pattern matching + Usa i criteri di ricerca Use range operator - Use range operator + Usa l'operatore di intervallo Use simple 'using' statement - Use simple 'using' statement + Usa l'istruzione 'using' semplice Use 'switch' expression - Use 'switch' expression + Usa l'espressione 'switch' Using directives must be placed inside of a namespace declaration - Using directives must be placed inside of a namespace declaration + Le direttive using devono essere inserite all'interno di una dichiarazione di namespace {Locked="using"} "using" is a C# keyword and should not be localized. {Locked="namespace"} "namespace" is a C# keyword and should not be localized. Using directives must be placed outside of a namespace declaration - Using directives must be placed outside of a namespace declaration + Le direttive using devono essere inserite all'esterno di una dichiarazione di namespace {Locked="using"} "using" is a C# keyword and should not be localized. {Locked="namespace"} "namespace" is a C# keyword and should not be localized. Variable declaration can be deconstructed - Variable declaration can be deconstructed + La dichiarazione di variabile può essere decostruita Warning: Moving using directives may change code meaning. - Warning: Moving using directives may change code meaning. + Avviso: in seguito allo spostamento di direttive using, il significato del codice può cambiare. {Locked="using"} "using" is a C# keyword and should not be localized. {0} can be simplified - {0} can be simplified + {0} può essere semplificato 'default' expression can be simplified - 'default' expression can be simplified + 'L'espressione 'default' può essere semplificata 'if' statement can be simplified - 'if' statement can be simplified + L'istruzione 'If' può essere semplificata use 'var' instead of explicit type - use 'var' instead of explicit type + usa 'var' invece del tipo esplicito Using directive is unnecessary. - Using directive is unnecessary. + La direttiva using non è necessaria. 'using' statement can be simplified - 'using' statement can be simplified + L'istruzione 'using' può essere semplificata diff --git a/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.ja.xlf b/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.ja.xlf index 51cffe8ce83ac..267c0339c3e36 100644 --- a/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.ja.xlf +++ b/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.ja.xlf @@ -4,232 +4,232 @@ Add braces - Add braces + 波かっこを追加します Add braces to '{0}' statement. - Add braces to '{0}' statement. + {0}' ステートメントに波かっこを追加します。 Convert switch statement to expression - Convert switch statement to expression + switch ステートメントを式に変換します Deconstruct variable declaration - Deconstruct variable declaration + 変数の宣言を分解 Indexing can be simplified - Indexing can be simplified + インデックスの作成を簡略化することができます Misplaced using directive - Misplaced using directive + using ディレクティブが正しく配置されていません {Locked="using"} "using" is a C# keyword and should not be localized. Move misplaced using directives - Move misplaced using directives + 誤って配置された using ディレクティブを移動します {Locked="using"} "using" is a C# keyword and should not be localized. Make readonly fields writable - Make readonly fields writable + readonly フィールドを書き込み可能にします {Locked="readonly"} "readonly" is C# keyword and should not be localized. Local function can be made static - Local function can be made static + ローカル関数を静的にすることができます Make local function 'static' - Make local function 'static' + ローカル関数を 'static' にします Simplify 'default' expression - Simplify 'default' expression + default' 式を単純化する Struct contains assignment to 'this' outside of constructor. Make readonly fields writable - Struct contains assignment to 'this' outside of constructor. Make readonly fields writable + Struct に、コンストラクターの外部での 'this' への代入が含まれています。読み取り専用フィールドを書き込み可能にしてください {Locked="Struct"}{Locked="this"} these are C#/VB keywords and should not be localized. Unreachable code detected - Unreachable code detected + 到達できないコードが検出されました Use block body for accessors - Use block body for accessors + アクセサーにブロック本体を使用する Use block body for constructors - Use block body for constructors + コンストラクターにブロック本体を使用する Use block body for indexers - Use block body for indexers + インデクサーにブロック本体を使用する Use block body for local functions - Use block body for local functions + ローカル関数にブロック本体を使用します Use block body for methods - Use block body for methods + メソッドにブロック本体を使用する Use block body for operators - Use block body for operators + オペレーターにブロック本体を使用する Use block body for properties - Use block body for properties + プロパティにブロック本体を使用する Use explicit type - Use explicit type + 明示的な型の使用 Use explicit type instead of 'var' - Use explicit type instead of 'var' + var' ではなく明示的な型を使用します Use expression body for accessors - Use expression body for accessors + アクセサーに式本体を使用する Use expression body for constructors - Use expression body for constructors + コンストラクターに式本体を使用する Use expression body for indexers - Use expression body for indexers + インデクサーに式本体を使用する Use expression body for local functions - Use expression body for local functions + ローカル関数に式本体を使用します Use expression body for methods - Use expression body for methods + メソッドに式本体を使用する Use expression body for operators - Use expression body for operators + オペレーターに式本体を使用する Use expression body for properties - Use expression body for properties + プロパティに式本体を使用する Use implicit type - Use implicit type + 暗黙的な型の使用 Use index operator - Use index operator + インデックス演算子を使用 Use 'is null' check - Use 'is null' check + is null' チェックを使用します Use pattern matching - Use pattern matching + パターン マッチングを使用します Use range operator - Use range operator + 範囲演算子を使用 Use simple 'using' statement - Use simple 'using' statement + 単純な 'using' ステートメントを使用する Use 'switch' expression - Use 'switch' expression + 'switch' 式を使用します Using directives must be placed inside of a namespace declaration - Using directives must be placed inside of a namespace declaration + using ディレクティブを namespace 宣言の中に配置する必要があります {Locked="using"} "using" is a C# keyword and should not be localized. {Locked="namespace"} "namespace" is a C# keyword and should not be localized. Using directives must be placed outside of a namespace declaration - Using directives must be placed outside of a namespace declaration + using ディレクティブを namespace 宣言の外に配置する必要があります {Locked="using"} "using" is a C# keyword and should not be localized. {Locked="namespace"} "namespace" is a C# keyword and should not be localized. Variable declaration can be deconstructed - Variable declaration can be deconstructed + 変数の宣言を分解できます Warning: Moving using directives may change code meaning. - Warning: Moving using directives may change code meaning. + 警告: using ディレクティブを移動すると、コードの意味が変わる可能性があります。 {Locked="using"} "using" is a C# keyword and should not be localized. {0} can be simplified - {0} can be simplified + {0} を簡略化できます。 'default' expression can be simplified - 'default' expression can be simplified + 'default' 式を単純化できます 'if' statement can be simplified - 'if' statement can be simplified + 'if' ステートメントは簡素化できます use 'var' instead of explicit type - use 'var' instead of explicit type + 明示的な型ではなく 'var' を使用します Using directive is unnecessary. - Using directive is unnecessary. + Using ディレクティブは必要ありません。 'using' statement can be simplified - 'using' statement can be simplified + 'using' ステートメントは単純にできます diff --git a/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.ko.xlf b/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.ko.xlf index 4a7a1b5e3f334..b2df989cf4ece 100644 --- a/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.ko.xlf +++ b/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.ko.xlf @@ -4,232 +4,232 @@ Add braces - Add braces + 중괄호 추가 Add braces to '{0}' statement. - Add braces to '{0}' statement. + {0}' 문에 중괄호를 추가합니다. Convert switch statement to expression - Convert switch statement to expression + switch 문을 식으로 변환 Deconstruct variable declaration - Deconstruct variable declaration + 변수 선언 분해 Indexing can be simplified - Indexing can be simplified + 인덱싱은 단순화될 수 있습니다. Misplaced using directive - Misplaced using directive + 위치가 잘못된 using 지시문 {Locked="using"} "using" is a C# keyword and should not be localized. Move misplaced using directives - Move misplaced using directives + 위치가 잘못된 using 지시문 이동 {Locked="using"} "using" is a C# keyword and should not be localized. Make readonly fields writable - Make readonly fields writable + readonly 필드를 쓰기 가능으로 지정 {Locked="readonly"} "readonly" is C# keyword and should not be localized. Local function can be made static - Local function can be made static + 로컬 함수를 정적으로 지정할 수 있습니다. Make local function 'static' - Make local function 'static' + 로컬 함수를 '정적'으로 지정 Simplify 'default' expression - Simplify 'default' expression + default' 식 단순화 Struct contains assignment to 'this' outside of constructor. Make readonly fields writable - Struct contains assignment to 'this' outside of constructor. Make readonly fields writable + Struct에서 'this'에 대한 할당이 생성자 외부에 있습니다. 읽기 전용 필드를 쓰기 가능으로 설정하세요. {Locked="Struct"}{Locked="this"} these are C#/VB keywords and should not be localized. Unreachable code detected - Unreachable code detected + 접근할 수 없는 코드가 있습니다. Use block body for accessors - Use block body for accessors + 접근자에 블록 본문 사용 Use block body for constructors - Use block body for constructors + 생성자에 블록 본문 사용 Use block body for indexers - Use block body for indexers + 인덱서에 블록 본문 사용 Use block body for local functions - Use block body for local functions + 로컬 함수에 블록 본문 사용 Use block body for methods - Use block body for methods + 메서드에 블록 본문 사용 Use block body for operators - Use block body for operators + 연산자에 블록 본문 사용 Use block body for properties - Use block body for properties + 속성에 블록 본문 사용 Use explicit type - Use explicit type + 명시적 형식 사용 Use explicit type instead of 'var' - Use explicit type instead of 'var' + var' 대신에 명시적 형식을 사용합니다. Use expression body for accessors - Use expression body for accessors + 접근자에 식 본문 사용 Use expression body for constructors - Use expression body for constructors + 생성자에 식 본문 사용 Use expression body for indexers - Use expression body for indexers + 인덱서에 식 본문 사용 Use expression body for local functions - Use expression body for local functions + 로컬 함수의 식 본문 사용 Use expression body for methods - Use expression body for methods + 메서드에 식 본문 사용 Use expression body for operators - Use expression body for operators + 연산자에 식 본문 사용 Use expression body for properties - Use expression body for properties + 속성에 식 본문 사용 Use implicit type - Use implicit type + 암시적 형식 사용 Use index operator - Use index operator + 인덱스 연산자 사용 Use 'is null' check - Use 'is null' check + is null' 검사 사용 Use pattern matching - Use pattern matching + 패턴 일치 사용 Use range operator - Use range operator + 범위 연산자 사용 Use simple 'using' statement - Use simple 'using' statement + 간단한 'using' 문 사용 Use 'switch' expression - Use 'switch' expression + 'switch' 식 사용 Using directives must be placed inside of a namespace declaration - Using directives must be placed inside of a namespace declaration + Using 지시문은 namespace 선언 내부에 배치되어야 합니다. {Locked="using"} "using" is a C# keyword and should not be localized. {Locked="namespace"} "namespace" is a C# keyword and should not be localized. Using directives must be placed outside of a namespace declaration - Using directives must be placed outside of a namespace declaration + Using 지시문은 namespace 선언 외부에 배치되어야 합니다. {Locked="using"} "using" is a C# keyword and should not be localized. {Locked="namespace"} "namespace" is a C# keyword and should not be localized. Variable declaration can be deconstructed - Variable declaration can be deconstructed + 변수 선언을 분해할 수 있습니다. Warning: Moving using directives may change code meaning. - Warning: Moving using directives may change code meaning. + 경고: using 지시문을 이동하면 코드 의미가 변경될 수 있습니다. {Locked="using"} "using" is a C# keyword and should not be localized. {0} can be simplified - {0} can be simplified + {0}은(는) 단순화될 수 있습니다. 'default' expression can be simplified - 'default' expression can be simplified + 'default' 식을 단순화할 수 있습니다. 'if' statement can be simplified - 'if' statement can be simplified + 'if' 문을 간단하게 줄일 수 있습니다. use 'var' instead of explicit type - use 'var' instead of explicit type + 대신 명시적 형식의 'var'을 사용합니다. Using directive is unnecessary. - Using directive is unnecessary. + Using 지시문은 필요하지 않습니다. 'using' statement can be simplified - 'using' statement can be simplified + 'using' 문을 간소화할 수 있습니다. diff --git a/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.pl.xlf b/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.pl.xlf index 472875ab6aa64..9e2d55b315164 100644 --- a/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.pl.xlf +++ b/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.pl.xlf @@ -4,232 +4,232 @@ Add braces - Add braces + Dodaj nawiasy klamrowe Add braces to '{0}' statement. - Add braces to '{0}' statement. + Dodaj nawiasy klamrowe do instrukcji „{0}”. Convert switch statement to expression - Convert switch statement to expression + Konwertuj instrukcję switch na wyrażenie Deconstruct variable declaration - Deconstruct variable declaration + Zdekonstruuj deklarację zmiennej Indexing can be simplified - Indexing can be simplified + Indeksowanie można uprościć Misplaced using directive - Misplaced using directive + Nieprawidłowo umieszczona dyrektywa using {Locked="using"} "using" is a C# keyword and should not be localized. Move misplaced using directives - Move misplaced using directives + Przenieś nieprawidłowo umieszczone dyrektywy using {Locked="using"} "using" is a C# keyword and should not be localized. Make readonly fields writable - Make readonly fields writable + Ustaw możliwość zapisu dla pól z deklaracją readonly {Locked="readonly"} "readonly" is C# keyword and should not be localized. Local function can be made static - Local function can be made static + Funkcję lokalną można ustawić jako statyczną Make local function 'static' - Make local function 'static' + Ustaw funkcję lokalną jako „static” Simplify 'default' expression - Simplify 'default' expression + Uprość wyrażenie „default” Struct contains assignment to 'this' outside of constructor. Make readonly fields writable - Struct contains assignment to 'this' outside of constructor. Make readonly fields writable + Element Struct zawiera przypisanie do elementu „this” poza konstruktorem. Ustaw pola tylko do odczytu jako zapisywalne {Locked="Struct"}{Locked="this"} these are C#/VB keywords and should not be localized. Unreachable code detected - Unreachable code detected + Wykryto nieosiągalny kod Use block body for accessors - Use block body for accessors + Użyj treści bloku dla metod dostępu Use block body for constructors - Use block body for constructors + Użyj treści bloku dla konstruktorów Use block body for indexers - Use block body for indexers + Użyj treści bloku dla indeksatorów Use block body for local functions - Use block body for local functions + Użyj treści bloku dla funkcji lokalnych Use block body for methods - Use block body for methods + Użyj treści bloku dla metod Use block body for operators - Use block body for operators + Użyj treści bloku dla operatorów Use block body for properties - Use block body for properties + Użyj treści bloku dla właściwości Use explicit type - Use explicit type + Użyj jawnego typu Use explicit type instead of 'var' - Use explicit type instead of 'var' + Użyj jawnego typu zamiast deklaracji „var” Use expression body for accessors - Use expression body for accessors + Użyj treści wyrażenia dla metod dostępu Use expression body for constructors - Use expression body for constructors + Użyj treści wyrażenia dla konstruktorów Use expression body for indexers - Use expression body for indexers + Użyj treści wyrażenia dla indeksatorów Use expression body for local functions - Use expression body for local functions + Użyj treści wyrażenia dla funkcji lokalnych Use expression body for methods - Use expression body for methods + Użyj treści wyrażenia dla metod Use expression body for operators - Use expression body for operators + Użyj treści wyrażenia dla operatorów Use expression body for properties - Use expression body for properties + Użyj treści wyrażenia dla właściwości Use implicit type - Use implicit type + Użyj niejawnego typu Use index operator - Use index operator + Użyj operatora indeksu Use 'is null' check - Use 'is null' check + Użyj sprawdzania „is null” Use pattern matching - Use pattern matching + Użyj dopasowywania wzorców Use range operator - Use range operator + Użyj operatora zakresu Use simple 'using' statement - Use simple 'using' statement + Użyj prostej instrukcji „using” Use 'switch' expression - Use 'switch' expression + Użyj wyrażenia „switch” Using directives must be placed inside of a namespace declaration - Using directives must be placed inside of a namespace declaration + Dyrektywy using muszą znajdować się wewnątrz deklaracji namespace {Locked="using"} "using" is a C# keyword and should not be localized. {Locked="namespace"} "namespace" is a C# keyword and should not be localized. Using directives must be placed outside of a namespace declaration - Using directives must be placed outside of a namespace declaration + Dyrektywy using muszą znajdować się poza deklaracją namespace {Locked="using"} "using" is a C# keyword and should not be localized. {Locked="namespace"} "namespace" is a C# keyword and should not be localized. Variable declaration can be deconstructed - Variable declaration can be deconstructed + Deklaracja zmiennej może zostać zdekonstruowana Warning: Moving using directives may change code meaning. - Warning: Moving using directives may change code meaning. + Uwaga: przeniesienie dyrektyw using może zmienić znaczenie kodu. {Locked="using"} "using" is a C# keyword and should not be localized. {0} can be simplified - {0} can be simplified + Element {0} można uprościć 'default' expression can be simplified - 'default' expression can be simplified + 'Wyrażenie „default” można uprościć 'if' statement can be simplified - 'if' statement can be simplified + Instrukcja „if” może zostać uproszczona use 'var' instead of explicit type - use 'var' instead of explicit type + użyj deklaracji „var” zamiast jawnego typu Using directive is unnecessary. - Using directive is unnecessary. + Dyrektywa using jest niepotrzebna. 'using' statement can be simplified - 'using' statement can be simplified + Instrukcję „using” można uprościć diff --git a/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.pt-BR.xlf b/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.pt-BR.xlf index d05d599127394..31dc15d90ef53 100644 --- a/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.pt-BR.xlf +++ b/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.pt-BR.xlf @@ -4,232 +4,232 @@ Add braces - Add braces + Adicionar chaves Add braces to '{0}' statement. - Add braces to '{0}' statement. + Adicionar chaves à instrução '{0}'. Convert switch statement to expression - Convert switch statement to expression + Converter a instrução switch em expressão Deconstruct variable declaration - Deconstruct variable declaration + Desconstruir declaração de variável Indexing can be simplified - Indexing can be simplified + A indexação pode ser simplificada Misplaced using directive - Misplaced using directive + Diretiva using em local incorreto {Locked="using"} "using" is a C# keyword and should not be localized. Move misplaced using directives - Move misplaced using directives + Mover diretivas using no local incorreto {Locked="using"} "using" is a C# keyword and should not be localized. Make readonly fields writable - Make readonly fields writable + Alterar os campos readonly para graváveis {Locked="readonly"} "readonly" is C# keyword and should not be localized. Local function can be made static - Local function can be made static + A função local pode ser alterada para estática Make local function 'static' - Make local function 'static' + Alterar a função local para 'static' Simplify 'default' expression - Simplify 'default' expression + Simplificar expressão 'default' Struct contains assignment to 'this' outside of constructor. Make readonly fields writable - Struct contains assignment to 'this' outside of constructor. Make readonly fields writable + Struct contém atribuição para 'this' fora do construtor. Torne os campos somente leitura graváveis {Locked="Struct"}{Locked="this"} these are C#/VB keywords and should not be localized. Unreachable code detected - Unreachable code detected + Código inacessível detectado Use block body for accessors - Use block body for accessors + Usar o corpo do bloco para acessadores Use block body for constructors - Use block body for constructors + Usar o corpo do bloco para construtores Use block body for indexers - Use block body for indexers + Usar o corpo do bloco para indexadores Use block body for local functions - Use block body for local functions + Usar o corpo do bloco para funções locais Use block body for methods - Use block body for methods + Usar o corpo do bloco para métodos Use block body for operators - Use block body for operators + Usar o corpo do bloco para operadores Use block body for properties - Use block body for properties + Usar o corpo do bloco para propriedades Use explicit type - Use explicit type + Usar o tipo explícito Use explicit type instead of 'var' - Use explicit type instead of 'var' + Usar o tipo explícito em vez de 'var' Use expression body for accessors - Use expression body for accessors + Usar o corpo da expressão para acessadores Use expression body for constructors - Use expression body for constructors + Usar o corpo da expressão para construtores Use expression body for indexers - Use expression body for indexers + Usar o corpo da expressão para indexadores Use expression body for local functions - Use expression body for local functions + Usar o corpo da expressão para funções locais Use expression body for methods - Use expression body for methods + Usar o corpo da expressão para métodos Use expression body for operators - Use expression body for operators + Usar o corpo da expressão para operadores Use expression body for properties - Use expression body for properties + Usar o corpo da expressão para propriedades Use implicit type - Use implicit type + Usar o tipo implícito Use index operator - Use index operator + Usar operador de índice Use 'is null' check - Use 'is null' check + Usar verificação 'is null' Use pattern matching - Use pattern matching + Usar a correspondência de padrão Use range operator - Use range operator + Usar operador de intervalo Use simple 'using' statement - Use simple 'using' statement + Usar a instrução 'using' simples Use 'switch' expression - Use 'switch' expression + Usar a expressão 'switch' Using directives must be placed inside of a namespace declaration - Using directives must be placed inside of a namespace declaration + As diretivas using precisam ser colocadas dentro de uma declaração de namespace {Locked="using"} "using" is a C# keyword and should not be localized. {Locked="namespace"} "namespace" is a C# keyword and should not be localized. Using directives must be placed outside of a namespace declaration - Using directives must be placed outside of a namespace declaration + As diretivas using precisam ser colocadas fora de uma declaração de namespace {Locked="using"} "using" is a C# keyword and should not be localized. {Locked="namespace"} "namespace" is a C# keyword and should not be localized. Variable declaration can be deconstructed - Variable declaration can be deconstructed + A declaração de variável pode ser desconstruída Warning: Moving using directives may change code meaning. - Warning: Moving using directives may change code meaning. + Aviso: a movimentação das diretivas using pode alterar o significado do código. {Locked="using"} "using" is a C# keyword and should not be localized. {0} can be simplified - {0} can be simplified + {0} pode ser simplificado 'default' expression can be simplified - 'default' expression can be simplified + 'a expressão 'default' pode ser simplificada 'if' statement can be simplified - 'if' statement can be simplified + A instrução 'if' pode ser simplificada use 'var' instead of explicit type - use 'var' instead of explicit type + usar 'var' em vez do tipo explícito Using directive is unnecessary. - Using directive is unnecessary. + O uso da diretiva é desnecessário. 'using' statement can be simplified - 'using' statement can be simplified + A instrução 'using' pode ser simplificada diff --git a/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.ru.xlf b/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.ru.xlf index f3d344df0ee33..677e886e66503 100644 --- a/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.ru.xlf +++ b/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.ru.xlf @@ -4,232 +4,232 @@ Add braces - Add braces + Добавить фигурные скобки Add braces to '{0}' statement. - Add braces to '{0}' statement. + Добавить фигурные скобки в оператор "{0}". Convert switch statement to expression - Convert switch statement to expression + Преобразовать оператор switch в выражение Deconstruct variable declaration - Deconstruct variable declaration + Деконструировать объявление переменной Indexing can be simplified - Indexing can be simplified + Вы можете упростить индексирование Misplaced using directive - Misplaced using directive + Неправильно расположенная директива using {Locked="using"} "using" is a C# keyword and should not be localized. Move misplaced using directives - Move misplaced using directives + Переместить неправильно расположенные директивы using {Locked="using"} "using" is a C# keyword and should not be localized. Make readonly fields writable - Make readonly fields writable + Сделать поля readonly доступными для записи {Locked="readonly"} "readonly" is C# keyword and should not be localized. Local function can be made static - Local function can be made static + Локальную функцию можно сделать статической Make local function 'static' - Make local function 'static' + Сделать локальную функцию статической Simplify 'default' expression - Simplify 'default' expression + Упростить выражение default Struct contains assignment to 'this' outside of constructor. Make readonly fields writable - Struct contains assignment to 'this' outside of constructor. Make readonly fields writable + Struct содержит назначение для "this" вне конструктора. Сделайте поля, доступные только для чтения, доступными для записи. {Locked="Struct"}{Locked="this"} these are C#/VB keywords and should not be localized. Unreachable code detected - Unreachable code detected + Обнаружен недостижимый код Use block body for accessors - Use block body for accessors + Использовать тело блока для методов доступа Use block body for constructors - Use block body for constructors + Использовать тело блока для конструкторов Use block body for indexers - Use block body for indexers + Использовать тело блока для индексаторов Use block body for local functions - Use block body for local functions + Использовать тело блока для локальных функций Use block body for methods - Use block body for methods + Использовать тело блока для методов Use block body for operators - Use block body for operators + Использовать тело блока для операторов Use block body for properties - Use block body for properties + Использовать тело блока для свойств Use explicit type - Use explicit type + Использование явного типа Use explicit type instead of 'var' - Use explicit type instead of 'var' + Использовать явный тип вместо var Use expression body for accessors - Use expression body for accessors + Использовать тело выражения для методов доступа Use expression body for constructors - Use expression body for constructors + Использовать тело выражения для конструкторов Use expression body for indexers - Use expression body for indexers + Использовать тело выражения для индексаторов Use expression body for local functions - Use expression body for local functions + Использовать тело выражения для локальных функций Use expression body for methods - Use expression body for methods + Использовать тело выражения для методов Use expression body for operators - Use expression body for operators + Использовать тело выражения для операторов Use expression body for properties - Use expression body for properties + Использовать тело выражения для свойств Use implicit type - Use implicit type + Использование неявного типа Use index operator - Use index operator + Использовать оператор индекса Use 'is null' check - Use 'is null' check + Использовать флажок "is NULL" Use pattern matching - Use pattern matching + Используйте сопоставление шаблонов Use range operator - Use range operator + Использовать оператор диапазона Use simple 'using' statement - Use simple 'using' statement + Использовать простой оператор using Use 'switch' expression - Use 'switch' expression + Использовать выражение switch Using directives must be placed inside of a namespace declaration - Using directives must be placed inside of a namespace declaration + Директивы using должны находиться внутри объявления namespace {Locked="using"} "using" is a C# keyword and should not be localized. {Locked="namespace"} "namespace" is a C# keyword and should not be localized. Using directives must be placed outside of a namespace declaration - Using directives must be placed outside of a namespace declaration + Директивы using должны находиться вне объявления namespace {Locked="using"} "using" is a C# keyword and should not be localized. {Locked="namespace"} "namespace" is a C# keyword and should not be localized. Variable declaration can be deconstructed - Variable declaration can be deconstructed + Объявление переменной можно деконструировать Warning: Moving using directives may change code meaning. - Warning: Moving using directives may change code meaning. + Предупреждение! Перемещение директив using может изменить значение кода. {Locked="using"} "using" is a C# keyword and should not be localized. {0} can be simplified - {0} can be simplified + {0} можно упростить 'default' expression can be simplified - 'default' expression can be simplified + 'выражение default можно упростить 'if' statement can be simplified - 'if' statement can be simplified + Оператор if можно упростить use 'var' instead of explicit type - use 'var' instead of explicit type + Использовать var вместо явного типа Using directive is unnecessary. - Using directive is unnecessary. + Директива using не нужна. 'using' statement can be simplified - 'using' statement can be simplified + Оператор using можно упростить diff --git a/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.tr.xlf b/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.tr.xlf index 5268e3129172c..5cf0a502e2f77 100644 --- a/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.tr.xlf +++ b/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.tr.xlf @@ -4,232 +4,232 @@ Add braces - Add braces + Küme ayracı ekle Add braces to '{0}' statement. - Add braces to '{0}' statement. + {0}' deyimine küme ayracı ekleyin. Convert switch statement to expression - Convert switch statement to expression + Switch deyimini ifadeye dönüştür Deconstruct variable declaration - Deconstruct variable declaration + Değişken bildirimini ayrıştır Indexing can be simplified - Indexing can be simplified + Dizin oluşturma basitleştirilebilir Misplaced using directive - Misplaced using directive + Yanlış yerleştirilmiş using yönergesi {Locked="using"} "using" is a C# keyword and should not be localized. Move misplaced using directives - Move misplaced using directives + Yanlış yerleştirilmiş using yönergelerini taşı {Locked="using"} "using" is a C# keyword and should not be localized. Make readonly fields writable - Make readonly fields writable + readonly alanları yazılabilir yap {Locked="readonly"} "readonly" is C# keyword and should not be localized. Local function can be made static - Local function can be made static + Yerel işlev statik yapılabilir Make local function 'static' - Make local function 'static' + Yerel işlevi 'static' yap Simplify 'default' expression - Simplify 'default' expression + Default' ifadesini basitleştir Struct contains assignment to 'this' outside of constructor. Make readonly fields writable - Struct contains assignment to 'this' outside of constructor. Make readonly fields writable + Struct, oluşturucu dışında 'this' öğesine yönelik atama içeriyor. Salt okunur alanları yazılabilir yapın {Locked="Struct"}{Locked="this"} these are C#/VB keywords and should not be localized. Unreachable code detected - Unreachable code detected + Ulaşılamayan kod algılandı Use block body for accessors - Use block body for accessors + Erişimciler için blok gövdesi kullan Use block body for constructors - Use block body for constructors + Oluşturucular için blok gövdesi kullan Use block body for indexers - Use block body for indexers + Dizin oluşturucular için blok gövdesi kullan Use block body for local functions - Use block body for local functions + Yerel işlevler için blok gövdesi kullan Use block body for methods - Use block body for methods + Metotlar için blok gövdesi kullan Use block body for operators - Use block body for operators + İşleçler için blok gövdesi kullan Use block body for properties - Use block body for properties + Özellikler için blok gövdesi kullan Use explicit type - Use explicit type + Açık tür kullanma Use explicit type instead of 'var' - Use explicit type instead of 'var' + Var' yerine açık tür kullan Use expression body for accessors - Use expression body for accessors + Erişimciler için ifade gövdesi kullan Use expression body for constructors - Use expression body for constructors + Oluşturucular için ifade gövdesi kullan Use expression body for indexers - Use expression body for indexers + Dizin oluşturucular için ifade gövdesi kullan Use expression body for local functions - Use expression body for local functions + Yerel işlevler için ifade gövdesi kullan Use expression body for methods - Use expression body for methods + Metotlar için ifade gövdesi kullan Use expression body for operators - Use expression body for operators + İşleçler için ifade gövdesi kullan Use expression body for properties - Use expression body for properties + Özellikler için ifade gövdesi kullan Use implicit type - Use implicit type + Örtük tür kullanma Use index operator - Use index operator + Dizin işleci kullan Use 'is null' check - Use 'is null' check + is null' denetimini kullan Use pattern matching - Use pattern matching + Desen eşleştirme kullan Use range operator - Use range operator + Aralık işleci kullan Use simple 'using' statement - Use simple 'using' statement + Basit 'using' deyimini kullan Use 'switch' expression - Use 'switch' expression + 'Switch' ifadesini kullan Using directives must be placed inside of a namespace declaration - Using directives must be placed inside of a namespace declaration + Using yönergelerinin bir namespace bildiriminin içine yerleştirilmesi gerekir {Locked="using"} "using" is a C# keyword and should not be localized. {Locked="namespace"} "namespace" is a C# keyword and should not be localized. Using directives must be placed outside of a namespace declaration - Using directives must be placed outside of a namespace declaration + Using yönergelerinin bir namespace bildiriminin dışına yerleştirilmesi gerekir {Locked="using"} "using" is a C# keyword and should not be localized. {Locked="namespace"} "namespace" is a C# keyword and should not be localized. Variable declaration can be deconstructed - Variable declaration can be deconstructed + Değişken bildirimi ayrıştırılabilir Warning: Moving using directives may change code meaning. - Warning: Moving using directives may change code meaning. + Uyarı: using yönergelerini taşımak, kodun anlamını değiştirebilir. {Locked="using"} "using" is a C# keyword and should not be localized. {0} can be simplified - {0} can be simplified + {0} basitleştirilebilir 'default' expression can be simplified - 'default' expression can be simplified + 'default' ifadesi basitleştirilebilir 'if' statement can be simplified - 'if' statement can be simplified + 'If' deyimi basitleştirilebilir use 'var' instead of explicit type - use 'var' instead of explicit type + açık tür yerine 'var' kullan Using directive is unnecessary. - Using directive is unnecessary. + Using yönergesi gerekli değildir. 'using' statement can be simplified - 'using' statement can be simplified + 'using' deyimi basitleştirilebilir diff --git a/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.zh-Hans.xlf b/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.zh-Hans.xlf index 814634e1e897d..8922d36eab1ac 100644 --- a/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.zh-Hans.xlf +++ b/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.zh-Hans.xlf @@ -4,232 +4,232 @@ Add braces - Add braces + 添加大括号 Add braces to '{0}' statement. - Add braces to '{0}' statement. + 向“{0}”报表添加大括号。 Convert switch statement to expression - Convert switch statement to expression + 将 switch 语句转换为表达式 Deconstruct variable declaration - Deconstruct variable declaration + 析构变量声明 Indexing can be simplified - Indexing can be simplified + 索引可以简化 Misplaced using directive - Misplaced using directive + 错放了 using 指令 {Locked="using"} "using" is a C# keyword and should not be localized. Move misplaced using directives - Move misplaced using directives + 移动错放的 using 指令 {Locked="using"} "using" is a C# keyword and should not be localized. Make readonly fields writable - Make readonly fields writable + 使 readonly 字段可写 {Locked="readonly"} "readonly" is C# keyword and should not be localized. Local function can be made static - Local function can be made static + 可以使本地函数成为静态函数 Make local function 'static' - Make local function 'static' + 使本地函数成为静态函数 Simplify 'default' expression - Simplify 'default' expression + 简化 "default" 表达式 Struct contains assignment to 'this' outside of constructor. Make readonly fields writable - Struct contains assignment to 'this' outside of constructor. Make readonly fields writable + Struct 包含对构造函数之外的 "this" 的赋值。使只读字段可写 {Locked="Struct"}{Locked="this"} these are C#/VB keywords and should not be localized. Unreachable code detected - Unreachable code detected + 检测到无法访问的代码 Use block body for accessors - Use block body for accessors + 使用访问器的程序块主体 Use block body for constructors - Use block body for constructors + 使用构造函数的程序块主体 Use block body for indexers - Use block body for indexers + 使用索引器的程序块主体 Use block body for local functions - Use block body for local functions + 对本地函数使用块主体 Use block body for methods - Use block body for methods + 使用方法的程序块主体 Use block body for operators - Use block body for operators + 使用运算符的程序块主体 Use block body for properties - Use block body for properties + 使用属性的程序块主体 Use explicit type - Use explicit type + 使用显式类型 Use explicit type instead of 'var' - Use explicit type instead of 'var' + 用显式类型代替 "var" Use expression body for accessors - Use expression body for accessors + 使用访问器的表达式主体 Use expression body for constructors - Use expression body for constructors + 使用构造函数的表达式主体 Use expression body for indexers - Use expression body for indexers + 使用索引器的表达式主体 Use expression body for local functions - Use expression body for local functions + 将表达式主体用于本地函数 Use expression body for methods - Use expression body for methods + 使用方法的表达式主体 Use expression body for operators - Use expression body for operators + 使用运算符的表达式主体 Use expression body for properties - Use expression body for properties + 使用属性的表达式主体 Use implicit type - Use implicit type + 使用隐式类型 Use index operator - Use index operator + 使用索引运算符 Use 'is null' check - Use 'is null' check + 使用 "is null" 检查 Use pattern matching - Use pattern matching + 使用模式匹配 Use range operator - Use range operator + 使用范围运算符 Use simple 'using' statement - Use simple 'using' statement + 使用简单的 "using" 语句 Use 'switch' expression - Use 'switch' expression + 使用 "switch" 表达式 Using directives must be placed inside of a namespace declaration - Using directives must be placed inside of a namespace declaration + using 指令必须放在 namespace 声明的内部 {Locked="using"} "using" is a C# keyword and should not be localized. {Locked="namespace"} "namespace" is a C# keyword and should not be localized. Using directives must be placed outside of a namespace declaration - Using directives must be placed outside of a namespace declaration + using 指令必须放在 namespace 声明之外 {Locked="using"} "using" is a C# keyword and should not be localized. {Locked="namespace"} "namespace" is a C# keyword and should not be localized. Variable declaration can be deconstructed - Variable declaration can be deconstructed + 可以析构变量声明 Warning: Moving using directives may change code meaning. - Warning: Moving using directives may change code meaning. + 警告: 移动 using 指令可能会更改代码含义。 {Locked="using"} "using" is a C# keyword and should not be localized. {0} can be simplified - {0} can be simplified + {0} 可以简化 'default' expression can be simplified - 'default' expression can be simplified + '可以简化 "default" 表达式 'if' statement can be simplified - 'if' statement can be simplified + 可简化“If”语句 use 'var' instead of explicit type - use 'var' instead of explicit type + 用 "var" 代替显式类型 Using directive is unnecessary. - Using directive is unnecessary. + Using 指令是不需要的。 'using' statement can be simplified - 'using' statement can be simplified + 可简化 "using" 语句 diff --git a/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.zh-Hant.xlf b/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.zh-Hant.xlf index 7e0e917e4d752..e1db190330b8e 100644 --- a/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.zh-Hant.xlf +++ b/src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.zh-Hant.xlf @@ -4,232 +4,232 @@ Add braces - Add braces + 加入大括號 Add braces to '{0}' statement. - Add braces to '{0}' statement. + 為 '{0}' 陳述式加入大括號。 Convert switch statement to expression - Convert switch statement to expression + 將 switch 陳述式轉換為運算式 Deconstruct variable declaration - Deconstruct variable declaration + 解構變數宣告 Indexing can be simplified - Indexing can be simplified + 可簡化索引 Misplaced using directive - Misplaced using directive + using 指示詞位置錯誤 {Locked="using"} "using" is a C# keyword and should not be localized. Move misplaced using directives - Move misplaced using directives + 移動位置錯誤的 using 指示詞 {Locked="using"} "using" is a C# keyword and should not be localized. Make readonly fields writable - Make readonly fields writable + 將 readonly 欄位設為可寫入 {Locked="readonly"} "readonly" is C# keyword and should not be localized. Local function can be made static - Local function can be made static + 區域函式可以變成靜態 Make local function 'static' - Make local function 'static' + 將區域函式設為 'static' Simplify 'default' expression - Simplify 'default' expression + 簡化 'default' 運算式 Struct contains assignment to 'this' outside of constructor. Make readonly fields writable - Struct contains assignment to 'this' outside of constructor. Make readonly fields writable + Struct 包含建構函式外對 'this' 的指派。請將唯讀欄位設為可寫入 {Locked="Struct"}{Locked="this"} these are C#/VB keywords and should not be localized. Unreachable code detected - Unreachable code detected + 偵測到執行不到的程式碼 Use block body for accessors - Use block body for accessors + 使用存取子的區塊主體 Use block body for constructors - Use block body for constructors + 使用建構函式的區塊主體 Use block body for indexers - Use block body for indexers + 使用索引子的區塊主體 Use block body for local functions - Use block body for local functions + 為區域函式使用區塊主體 Use block body for methods - Use block body for methods + 使用方法的區塊主體 Use block body for operators - Use block body for operators + 使用運算子的區塊主體 Use block body for properties - Use block body for properties + 使用屬性的區塊主體 Use explicit type - Use explicit type + 使用明確類型 Use explicit type instead of 'var' - Use explicit type instead of 'var' + 使用明確類型,而非 'var' Use expression body for accessors - Use expression body for accessors + 使用存取子的運算式主體 Use expression body for constructors - Use expression body for constructors + 使用建構函式的運算式主體 Use expression body for indexers - Use expression body for indexers + 使用索引子的運算式主體 Use expression body for local functions - Use expression body for local functions + 為區域函式使用運算式主體 Use expression body for methods - Use expression body for methods + 使用方法的運算式主體 Use expression body for operators - Use expression body for operators + 使用運算子的運算式主體 Use expression body for properties - Use expression body for properties + 使用屬性的運算式主體 Use implicit type - Use implicit type + 使用隱含類型 Use index operator - Use index operator + 使用索引運算子 Use 'is null' check - Use 'is null' check + 使用 'is null' 檢查 Use pattern matching - Use pattern matching + 使用模式比對 Use range operator - Use range operator + 使用範圍運算子 Use simple 'using' statement - Use simple 'using' statement + 使用簡單的 'using' 陳述式 Use 'switch' expression - Use 'switch' expression + 使用 'switch' 運算式 Using directives must be placed inside of a namespace declaration - Using directives must be placed inside of a namespace declaration + using 指示詞必須放在 namespace 宣告內 {Locked="using"} "using" is a C# keyword and should not be localized. {Locked="namespace"} "namespace" is a C# keyword and should not be localized. Using directives must be placed outside of a namespace declaration - Using directives must be placed outside of a namespace declaration + using 指示詞必須放在 namespace 宣告外 {Locked="using"} "using" is a C# keyword and should not be localized. {Locked="namespace"} "namespace" is a C# keyword and should not be localized. Variable declaration can be deconstructed - Variable declaration can be deconstructed + 變數宣告可進行解構 Warning: Moving using directives may change code meaning. - Warning: Moving using directives may change code meaning. + 警告: 移動 using 指示詞可能會變更程式碼意義。 {Locked="using"} "using" is a C# keyword and should not be localized. {0} can be simplified - {0} can be simplified + 可簡化 {0} 'default' expression can be simplified - 'default' expression can be simplified + 'default' 運算式可予簡化 'if' statement can be simplified - 'if' statement can be simplified + 'if' 陳述式可簡化 use 'var' instead of explicit type - use 'var' instead of explicit type + 使用 'var',而非明確類型 Using directive is unnecessary. - Using directive is unnecessary. + 無須使用指示詞。 'using' statement can be simplified - 'using' statement can be simplified + 'using' 陳述式可簡化 diff --git a/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.cs.xlf b/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.cs.xlf index d16c46761e333..6a2378117c80b 100644 --- a/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.cs.xlf +++ b/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.cs.xlf @@ -4,27 +4,27 @@ Add 'this.' - Add 'this.' + Přidejte položku this. Pass in captured variables as arguments - Pass in captured variables as arguments + Předat zachycené proměnné jako argumenty Remove Unnecessary Usings - Remove Unnecessary Usings + Odebrat nepotřebné direktivy using Remove unreachable code - Remove unreachable code + Odebrat nedosažitelný kód Warning: Adding parameters to local function declaration may produce invalid code. - Warning: Adding parameters to local function declaration may produce invalid code. + Upozornění: Když se do deklarace místní funkce přidají parametry, může to vytvořit neplatný kód. diff --git a/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.de.xlf b/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.de.xlf index fe2f64f2dc71e..99bcec231c0d5 100644 --- a/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.de.xlf +++ b/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.de.xlf @@ -4,27 +4,27 @@ Add 'this.' - Add 'this.' + "this." hinzufügen Pass in captured variables as arguments - Pass in captured variables as arguments + Erfasste Variablen als Argumente übergeben Remove Unnecessary Usings - Remove Unnecessary Usings + Nicht benötigte Using-Direktiven entfernen Remove unreachable code - Remove unreachable code + Nicht erreichbaren Code entfernen Warning: Adding parameters to local function declaration may produce invalid code. - Warning: Adding parameters to local function declaration may produce invalid code. + Warnung: Das Hinzufügen von Parametern zur Deklaration einer lokalen Funktion kann zu ungültigem Code führen. diff --git a/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.es.xlf b/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.es.xlf index 4f326f0cad583..1411650835cc1 100644 --- a/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.es.xlf +++ b/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.es.xlf @@ -4,27 +4,27 @@ Add 'this.' - Add 'this.' + Agregar "this." Pass in captured variables as arguments - Pass in captured variables as arguments + Pasar variables capturadas como argumentos Remove Unnecessary Usings - Remove Unnecessary Usings + Eliminar instrucciones Using innecesarias Remove unreachable code - Remove unreachable code + Quitar código inaccesible Warning: Adding parameters to local function declaration may produce invalid code. - Warning: Adding parameters to local function declaration may produce invalid code. + Advertencia: Agregar parámetros a la declaración de función local puede generar código no válido. diff --git a/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.fr.xlf b/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.fr.xlf index bc9d877db4ecf..25ddaf8f1171e 100644 --- a/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.fr.xlf +++ b/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.fr.xlf @@ -4,27 +4,27 @@ Add 'this.' - Add 'this.' + Ajouter 'this.' Pass in captured variables as arguments - Pass in captured variables as arguments + Passer les variables capturées en tant qu'arguments Remove Unnecessary Usings - Remove Unnecessary Usings + Supprimer les Usings inutiles Remove unreachable code - Remove unreachable code + Supprimer le code inaccessible Warning: Adding parameters to local function declaration may produce invalid code. - Warning: Adding parameters to local function declaration may produce invalid code. + Avertissement : L'ajout de paramètres à la déclaration de fonction locale peut produire du code non valide. diff --git a/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.it.xlf b/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.it.xlf index fd5f9f462901e..745b65578e018 100644 --- a/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.it.xlf +++ b/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.it.xlf @@ -4,27 +4,27 @@ Add 'this.' - Add 'this.' + Aggiungi 'this.' Pass in captured variables as arguments - Pass in captured variables as arguments + Passa le variabili acquisite come argomenti Remove Unnecessary Usings - Remove Unnecessary Usings + Rimuovi istruzioni using non necessarie Remove unreachable code - Remove unreachable code + Rimuovi il codice non eseguibile Warning: Adding parameters to local function declaration may produce invalid code. - Warning: Adding parameters to local function declaration may produce invalid code. + Avviso: l'aggiunta di parametri alla dichiarazione di funzione locale potrebbe produrre codice non valido. diff --git a/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.ja.xlf b/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.ja.xlf index 844f6a0dbcfe4..e7fb22c43b50c 100644 --- a/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.ja.xlf +++ b/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.ja.xlf @@ -4,27 +4,27 @@ Add 'this.' - Add 'this.' + this' を追加します。 Pass in captured variables as arguments - Pass in captured variables as arguments + キャプチャされた変数を引数として渡す Remove Unnecessary Usings - Remove Unnecessary Usings + 不要な using の削除 Remove unreachable code - Remove unreachable code + 到達できないコードを削除します Warning: Adding parameters to local function declaration may produce invalid code. - Warning: Adding parameters to local function declaration may produce invalid code. + 警告: ローカル関数の宣言にパラメーターを追加すると、無効なコードが生成される可能性があります。 diff --git a/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.ko.xlf b/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.ko.xlf index c8f1eefb2942c..358fad7b9d35b 100644 --- a/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.ko.xlf +++ b/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.ko.xlf @@ -4,27 +4,27 @@ Add 'this.' - Add 'this.' + this'를 추가합니다. Pass in captured variables as arguments - Pass in captured variables as arguments + 캡처된 변수를 인수로 전달 Remove Unnecessary Usings - Remove Unnecessary Usings + 불필요한 Using 제거 Remove unreachable code - Remove unreachable code + 접근할 수 없는 코드 제거 Warning: Adding parameters to local function declaration may produce invalid code. - Warning: Adding parameters to local function declaration may produce invalid code. + 경고: 로컬 함수 선언에 매개 변수를 추가할 경우 잘못된 코드가 생성될 수 있습니다. diff --git a/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.pl.xlf b/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.pl.xlf index 8f935f803fbbf..564c83396a470 100644 --- a/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.pl.xlf +++ b/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.pl.xlf @@ -4,27 +4,27 @@ Add 'this.' - Add 'this.' + Dodaj „this.” Pass in captured variables as arguments - Pass in captured variables as arguments + Przekaż przechwycone zmienne jako argumenty Remove Unnecessary Usings - Remove Unnecessary Usings + Usuń niepotrzebne użycia Remove unreachable code - Remove unreachable code + Usuń nieosiągalny kod Warning: Adding parameters to local function declaration may produce invalid code. - Warning: Adding parameters to local function declaration may produce invalid code. + Ostrzeżenie: Dodanie parametrów do deklaracji funkcji lokalnej może prowadzić do powstania nieprawidłowego kodu. diff --git a/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.pt-BR.xlf b/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.pt-BR.xlf index 68ab4387159cf..43e8ff839b21e 100644 --- a/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.pt-BR.xlf +++ b/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.pt-BR.xlf @@ -4,27 +4,27 @@ Add 'this.' - Add 'this.' + Adicionar 'isso.' Pass in captured variables as arguments - Pass in captured variables as arguments + Passar variáveis capturadas como argumentos Remove Unnecessary Usings - Remove Unnecessary Usings + Remover Usos Desnecessários Remove unreachable code - Remove unreachable code + Remover código inacessível Warning: Adding parameters to local function declaration may produce invalid code. - Warning: Adding parameters to local function declaration may produce invalid code. + Aviso: a adição de parâmetros à declaração de função local pode produzir um código inválido. diff --git a/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.ru.xlf b/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.ru.xlf index c32379510f394..f1e0f439d3a55 100644 --- a/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.ru.xlf +++ b/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.ru.xlf @@ -4,27 +4,27 @@ Add 'this.' - Add 'this.' + Добавьте "this". Pass in captured variables as arguments - Pass in captured variables as arguments + Передача захваченных переменных в качестве аргументов Remove Unnecessary Usings - Remove Unnecessary Usings + Удалить ненужные директивы using Remove unreachable code - Remove unreachable code + Удалить недостижимый код Warning: Adding parameters to local function declaration may produce invalid code. - Warning: Adding parameters to local function declaration may produce invalid code. + Предупреждение! Добавление параметров в объявление локальной функции может привести к недопустимому коду. diff --git a/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.tr.xlf b/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.tr.xlf index 2c1550ba99dbb..b0e40aefa8dfd 100644 --- a/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.tr.xlf +++ b/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.tr.xlf @@ -4,27 +4,27 @@ Add 'this.' - Add 'this.' + this' ekleyin. Pass in captured variables as arguments - Pass in captured variables as arguments + Yakalanan değişkenleri bağımsız değişken olarak geçir Remove Unnecessary Usings - Remove Unnecessary Usings + Gereksiz Kullanımları Kaldır Remove unreachable code - Remove unreachable code + Erişilemeyen kodları kaldır Warning: Adding parameters to local function declaration may produce invalid code. - Warning: Adding parameters to local function declaration may produce invalid code. + Uyarı: Yerel işlev bildirimine parametre eklendiğinde geçersiz kod üretilebilir. diff --git a/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.zh-Hans.xlf b/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.zh-Hans.xlf index 33190633aebe9..7785c450e291b 100644 --- a/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.zh-Hans.xlf +++ b/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.zh-Hans.xlf @@ -4,27 +4,27 @@ Add 'this.' - Add 'this.' + 添加 "this." Pass in captured variables as arguments - Pass in captured variables as arguments + 以参数形式传入捕获的变量 Remove Unnecessary Usings - Remove Unnecessary Usings + 删除不必要的 Using Remove unreachable code - Remove unreachable code + 删除无法访问的代码 Warning: Adding parameters to local function declaration may produce invalid code. - Warning: Adding parameters to local function declaration may produce invalid code. + 警告: 将参数添加到本地函数声明可能产生无效的代码。 diff --git a/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.zh-Hant.xlf b/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.zh-Hant.xlf index 3370cdf2e35b0..15278fecd09a3 100644 --- a/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.zh-Hant.xlf +++ b/src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.zh-Hant.xlf @@ -4,27 +4,27 @@ Add 'this.' - Add 'this.' + 新增 'this.' Pass in captured variables as arguments - Pass in captured variables as arguments + 以引數形式傳入擷取到的變數 Remove Unnecessary Usings - Remove Unnecessary Usings + 移除不必要的 Using Remove unreachable code - Remove unreachable code + 移除執行不到的程式碼 Warning: Adding parameters to local function declaration may produce invalid code. - Warning: Adding parameters to local function declaration may produce invalid code. + 警告: 新增參數到區域函式宣告可能會產生無效的程式碼。 diff --git a/src/Analyzers/Core/Analyzers/UseConditionalExpression/UseConditionalExpressionHelpers.cs b/src/Analyzers/Core/Analyzers/UseConditionalExpression/UseConditionalExpressionHelpers.cs index 6c70fdeb30039..2cac285793f68 100644 --- a/src/Analyzers/Core/Analyzers/UseConditionalExpression/UseConditionalExpressionHelpers.cs +++ b/src/Analyzers/Core/Analyzers/UseConditionalExpression/UseConditionalExpressionHelpers.cs @@ -13,7 +13,7 @@ public static bool CanConvert( ISyntaxFacts syntaxFacts, IConditionalOperation ifOperation, IOperation whenTrue, IOperation whenFalse) { - // Will likely screw things up if the if directive spans any preprocessor directives. So + // Will likely not work as intended if the if directive spans any preprocessor directives. So // do not offer for now. Note: we pass in both the node for the ifOperation and the // whenFalse portion. The whenFalse portion isn't necessary under the ifOperation. For // example in: diff --git a/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.cs.xlf b/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.cs.xlf index e46fe7f78cf08..6b69b8f9a295b 100644 --- a/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.cs.xlf +++ b/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.cs.xlf @@ -4,287 +4,287 @@ A source file contains a header that does not match the required text - A source file contains a header that does not match the required text + Zdrojový soubor obsahuje hlavičku, která neodpovídá požadovanému textu. A source file is missing a required header. - A source file is missing a required header. + Ve zdrojovém souboru chybí požadovaná hlavička. Accessibility modifiers required - Accessibility modifiers required + Vyžadují se modifikátory dostupnosti. Add accessibility modifiers - Add accessibility modifiers + Přidat Modifikátory dostupnosti Add parentheses for clarity - Add parentheses for clarity + Přidat závorky kvůli srozumitelnosti Add readonly modifier - Add readonly modifier + Přidat modifikátor jen pro čtení Add 'this' or 'Me' qualification. - Add 'this' or 'Me' qualification. + Přidat kvalifikaci „this“ nebo „Me“ Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. - Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Vyhněte se v kódu přiřazením nepotřebných hodnot, protože ta pravděpodobně indikují nadbytečné výpočty hodnot. Pokud výpočet hodnoty není nadbytečný a chcete dané přiřazení zachovat, změňte cíl přiřazení na místní proměnnou, jejíž název začíná podtržítkem, za kterým volitelně následuje celé číslo, například _, _1, _2 atd. Tyto řetězce se považují za názvy speciálních symbolů pro vyřazení. Avoid unused parameters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. - Avoid unused parameters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Vyhněte se v kódu nepoužitým parametrům. Pokud parametr nelze odebrat, změňte jeho název tak, aby začínal podtržítkem, za kterým volitelně následuje celé číslo, například _, _1, _2 atd. Tyto řetězce se považují za názvy speciálních symbolů pro vyřazení. Changes to expression trees may result in behavior changes at runtime - Changes to expression trees may result in behavior changes at runtime + Změny ve stromech výrazů můžou způsobit změny chování za běhu. Convert to conditional expression - Convert to conditional expression + Převést na podmíněný výraz Convert to tuple - Convert to tuple + Převést na řazenou kolekci členů Expression value is never used - Expression value is never used + Hodnota výrazu se nikdy nepoužívá. Collection initialization can be simplified - Collection initialization can be simplified + Inicializace kolekce se dá zjednodušit. Format string contains invalid placeholder - Format string contains invalid placeholder + Formátovací řetězec obsahuje neplatný zástupný symbol. 'GetHashCode' implementation can be simplified - 'GetHashCode' implementation can be simplified + Implementace GetHashCode se dá zjednodušit. Invalid format string - Invalid format string + Neplatný formátovací řetězec Make field readonly - Make field readonly + Nastavit pole jen pro čtení Member access should be qualified. - Member access should be qualified. + Přístup členů by měl být kvalifikovaný. Add missing cases - Add missing cases + Přidat chybějící malá a velká písmena Modifiers are not ordered - Modifiers are not ordered + Modifikátory nejsou seřazené. Naming Styles - Naming Styles + Styly pojmenování Naming rule violation: {0} - Naming rule violation: {0} + Porušení pravidla pojmenování: {0} {0} is the rule title, {1} is the way in which the rule was violated Null check can be simplified - Null check can be simplified + Kontrola hodnot null se dá zjednodušit. Order modifiers - Order modifiers + Seřadit modifikátory Parameter '{0}' can be removed if it is not part of a shipped public API; its initial value is never used - Parameter '{0}' can be removed if it is not part of a shipped public API; its initial value is never used + Parametr {0} je možné odebrat, pokud není součástí dodaného veřejného rozhraní API. Jeho počáteční hodnota se nikdy nepoužívá. Parameter '{0}' can be removed; its initial value is never used - Parameter '{0}' can be removed; its initial value is never used + Parametr {0} je možné odebrat, jeho počáteční hodnota se nikdy nepoužívá. Object initialization can be simplified - Object initialization can be simplified + Inicializace objektu se může zjednodušit. Parentheses can be removed - Parentheses can be removed + Je možné odebrat závorky. Parentheses should be added for clarity - Parentheses should be added for clarity + Kvůli srozumitelnosti by se měly přidat závorky. Populate switch - Populate switch + Naplnit přepínač Prefer explicitly provided tuple element name - Prefer explicitly provided tuple element name + Preferovat výslovně zadaný název prvku řazené kolekce členů Private member '{0}' can be removed as the value assigned to it is never read. - Private member '{0}' can be removed as the value assigned to it is never read. + Soukromý člen {0} se může odebrat, jak jeho přiřazená hodnota se nikdy nečte. Private member '{0}' is unused. - Private member '{0}' is unused. + Soukromý člen {0} se nepoužívá. Private method '{0}' can be removed as it is never invoked. - Private method '{0}' can be removed as it is never invoked. + Soukromá metoda {0} se může odebrat, protože se nikdy nevolá. Private property '{0}' can be converted to a method as its get accessor is never invoked. - Private property '{0}' can be converted to a method as its get accessor is never invoked. + Privátní vlastnost {0} se dá převést na metodu, protože její přístupový objekt get se nikdy nevyvolá. Remove Unnecessary Cast - Remove Unnecessary Cast + Odebrat nepotřebné přetypování Remove unnecessary parentheses - Remove unnecessary parentheses + Odebrat nadbytečné závorky Remove unread private members - Remove unread private members + Odebrat nepřečtené soukromé členy Remove unused member - Remove unused member + Odebrat nepoužitý člen Remove unused parameter - Remove unused parameter + Odebrat nepoužívaný parametr Remove unused parameter '{0}' - Remove unused parameter '{0}' + Odebrat nepoužívaný parametr {0} Remove unused parameter '{0}' if it is not part of a shipped public API - Remove unused parameter '{0}' if it is not part of a shipped public API + Odeberte nepoužívaný parametr {0}, pokud není součástí dodávaného veřejného rozhraní API. Remove unused private members - Remove unused private members + Odebrat nepoužité soukromé členy Simplify collection initialization - Simplify collection initialization + Zjednodušit inicializaci kolekce Simplify object initialization - Simplify object initialization + Zjednodušit inicializaci objektu The file header does not match the required text - The file header does not match the required text + Hlavička souboru neodpovídá požadovanému textu. The file header is missing or not located at the top of the file - The file header is missing or not located at the top of the file + Hlavička souboru chybí, nebo není umístěná na začátku souboru. Unnecessary assignment of a value - Unnecessary assignment of a value + Nepotřebné přiřazení hodnoty Unnecessary assignment of a value to '{0}' - Unnecessary assignment of a value to '{0}' + Nepotřebné přiřazení hodnoty do {0} Use 'System.HashCode' - Use 'System.HashCode' + Použijte System.HashCode. Use auto property - Use auto property + Použít automatickou vlastnost Use coalesce expression - Use coalesce expression + Použít slučovací výraz Use compound assignment - Use compound assignment + Použít složené přiřazení Use explicitly provided tuple name - Use explicitly provided tuple name + Použít výslovně zadaný název řazené kolekce členů Use null propagation - Use null propagation + Použít šíření hodnot null Use 'throw' expression - Use 'throw' expression + Použít výraz throw diff --git a/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.de.xlf b/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.de.xlf index 4532f45f1c1a7..9a8c9065daac5 100644 --- a/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.de.xlf +++ b/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.de.xlf @@ -4,287 +4,287 @@ A source file contains a header that does not match the required text - A source file contains a header that does not match the required text + Eine Quelldatei enthält einen Header, der nicht mit dem erforderlichen Text übereinstimmt. A source file is missing a required header. - A source file is missing a required header. + In einer Quelldatei fehlt ein erforderlicher Header. Accessibility modifiers required - Accessibility modifiers required + Zugriffsmodifizierer erforderlich Add accessibility modifiers - Add accessibility modifiers + Zugriffsmodifizierer hinzufügen Add parentheses for clarity - Add parentheses for clarity + Zur besseren Unterscheidung Klammern hinzufügen Add readonly modifier - Add readonly modifier + Modifizierer "readonly" hinzufügen Add 'this' or 'Me' qualification. - Add 'this' or 'Me' qualification. + Qualifizierung "this" oder "Me" hinzufügen. Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. - Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Vermeiden Sie unnötige Wertzuweisungen in Ihrem Code, weil diese wahrscheinlich auf redundante Wertberechnungen hinweisen. Wenn die Wertberechnung nicht redundant ist und die Zuweisung beibehalten werden soll, ändern Sie das Zuweisungsziel in eine lokale Variable, deren Name mit einem Unterstrich beginnt, dem optional eine Zahl angefügt wird. Beispiel: "_", "_1", "_2" usw. Diese werden als spezielle Symbolnamen für Ausschussvariablen behandelt. Avoid unused parameters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. - Avoid unused parameters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Vermeiden Sie nicht verwendete Parameter in Ihrem Code. Wenn der Parameter nicht entfernt werden kann, ändern Sie dessen Namen so, dass er mit einem Unterstrich beginnt, dem optional eine Zahl angefügt wird. Beispiel: "_", "_1", "_2" usw. Diese werden als spezielle Symbolnamen für Ausschussparameter behandelt. Changes to expression trees may result in behavior changes at runtime - Changes to expression trees may result in behavior changes at runtime + Änderungen an Ausdrucksstrukturen führen unter Umständen zu Verhaltensänderungen zur Laufzeit Convert to conditional expression - Convert to conditional expression + In bedingten Ausdruck konvertieren Convert to tuple - Convert to tuple + In Tupel konvertieren Expression value is never used - Expression value is never used + Der Ausdruckswert wird niemals verwendet. Collection initialization can be simplified - Collection initialization can be simplified + Die Initialisierung der Sammlung kann vereinfacht werden. Format string contains invalid placeholder - Format string contains invalid placeholder + Die Formatzeichenfolge enthält einen ungültigen Platzhalter. 'GetHashCode' implementation can be simplified - 'GetHashCode' implementation can be simplified + Die Implementierung von "GetHashCode" kann vereinfacht werden. Invalid format string - Invalid format string + Ungültige Formatzeichenfolge Make field readonly - Make field readonly + Schreibschutz für Feld festlegen Member access should be qualified. - Member access should be qualified. + Der Memberzugriff sollte qualifiziert sein. Add missing cases - Add missing cases + Fehlende Fälle hinzufügen Modifiers are not ordered - Modifiers are not ordered + Modifizierer sind nicht angeordnet. Naming Styles - Naming Styles + Benennungsstile Naming rule violation: {0} - Naming rule violation: {0} + Verstoß gegen Benennungsregel: {0} {0} is the rule title, {1} is the way in which the rule was violated Null check can be simplified - Null check can be simplified + Die NULL-Überprüfung kann vereinfacht werden. Order modifiers - Order modifiers + Modifizierer anordnen Parameter '{0}' can be removed if it is not part of a shipped public API; its initial value is never used - Parameter '{0}' can be removed if it is not part of a shipped public API; its initial value is never used + Der Parameter "{0}" kann entfernt werden, wenn er nicht Bestandteil einer öffentlich verfügbaren API ist. Sein Initialisierungswert wird niemals verwendet. Parameter '{0}' can be removed; its initial value is never used - Parameter '{0}' can be removed; its initial value is never used + Der Parameter "{0}" kann entfernt werden, sein Initialisierungswert wird niemals verwendet. Object initialization can be simplified - Object initialization can be simplified + Die Objektinitialisierung kann vereinfacht werden. Parentheses can be removed - Parentheses can be removed + Klammern können entfernt werden. Parentheses should be added for clarity - Parentheses should be added for clarity + Zur besseren Unterscheidung sollten Klammern hinzugefügt werden. Populate switch - Populate switch + Switch mit Daten auffüllen Prefer explicitly provided tuple element name - Prefer explicitly provided tuple element name + Explizit angegebenen Tupelelementnamen bevorzugen Private member '{0}' can be removed as the value assigned to it is never read. - Private member '{0}' can be removed as the value assigned to it is never read. + Der private Member "{0}" kann entfernt werden, da der zugewiesene Wert nie gelesen wird. Private member '{0}' is unused. - Private member '{0}' is unused. + Der private Member "{0}" wird nicht verwendet. Private method '{0}' can be removed as it is never invoked. - Private method '{0}' can be removed as it is never invoked. + Die private Methode "{0}" kann entfernt werden, da sie nie aufgerufen wird. Private property '{0}' can be converted to a method as its get accessor is never invoked. - Private property '{0}' can be converted to a method as its get accessor is never invoked. + Die private Eigenschaft "{0}" kann in eine Methode konvertiert werden, weil ihr get-Accessor niemals aufgerufen wird. Remove Unnecessary Cast - Remove Unnecessary Cast + Nicht erforderliche Umwandlung entfernen Remove unnecessary parentheses - Remove unnecessary parentheses + Unnötige Klammern entfernen Remove unread private members - Remove unread private members + Ungelesene private Member entfernen Remove unused member - Remove unused member + Nicht verwendete Member entfernen Remove unused parameter - Remove unused parameter + Nicht verwendete Parameter entfernen Remove unused parameter '{0}' - Remove unused parameter '{0}' + Nicht verwendeten Parameter "{0}" entfernen Remove unused parameter '{0}' if it is not part of a shipped public API - Remove unused parameter '{0}' if it is not part of a shipped public API + Nicht verwendeten Parameter "{0}" entfernen, wenn dieser nicht Bestandteil einer öffentlich verfügbaren API ist Remove unused private members - Remove unused private members + Nicht verwendete private Member entfernen Simplify collection initialization - Simplify collection initialization + Initialisierung der Sammlung vereinfachen Simplify object initialization - Simplify object initialization + Initialisierung von Objekten vereinfachen The file header does not match the required text - The file header does not match the required text + Der Dateiheader stimmt nicht mit dem erforderlichen Text überein. The file header is missing or not located at the top of the file - The file header is missing or not located at the top of the file + Der Dateiheader fehlt oder befindet sich nicht am Anfang der Datei. Unnecessary assignment of a value - Unnecessary assignment of a value + Unnötige Zuweisung eines Werts. Unnecessary assignment of a value to '{0}' - Unnecessary assignment of a value to '{0}' + Unnötige Zuweisung eines Werts zu "{0}". Use 'System.HashCode' - Use 'System.HashCode' + "System.Hashcode" verwenden Use auto property - Use auto property + Automatisch generierte Eigenschaft verwenden Use coalesce expression - Use coalesce expression + COALESCE-Ausdruck verwenden Use compound assignment - Use compound assignment + Verbundzuweisung verwenden Use explicitly provided tuple name - Use explicitly provided tuple name + Explizit angegebenen Tupelelementnamen verwenden Use null propagation - Use null propagation + NULL-Weitergabe verwenden Use 'throw' expression - Use 'throw' expression + throw-Ausdruck verwenden diff --git a/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.es.xlf b/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.es.xlf index 875fe930be3f6..77885599f67ad 100644 --- a/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.es.xlf +++ b/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.es.xlf @@ -4,287 +4,287 @@ A source file contains a header that does not match the required text - A source file contains a header that does not match the required text + Un archivo de código fuente contiene un encabezado que no coincide con el texto requerido. A source file is missing a required header. - A source file is missing a required header. + Falta un encabezado obligatorio en un archivo de código fuente. Accessibility modifiers required - Accessibility modifiers required + Modificadores de accesibilidad requeridos Add accessibility modifiers - Add accessibility modifiers + Agregar modificadores de accesibilidad Add parentheses for clarity - Add parentheses for clarity + Agregar paréntesis para claridad Add readonly modifier - Add readonly modifier + Agregar modificador de solo lectura Add 'this' or 'Me' qualification. - Add 'this' or 'Me' qualification. + Agregar cualificación 'this' o 'Me'. Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. - Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Evite las asignaciones de valores innecesarias en el código, ya que probablemente indican cálculos de valores redundantes. Si el cálculo de valor no es redundante y tiene intención de retener la asignación, cambie el destino de la asignación a una variable local cuyo nombre empiece por un carácter de subrayado, seguido opcionalmente por un entero, como "_", "_1", "_2", etc. Estos se tratan como nombres de símbolos de descarte especiales. Avoid unused parameters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. - Avoid unused parameters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Evite los parámetros sin usar en el código. Si el parámetro no se puede quitar, cámbielo de nombre para que empiece por un carácter de subrayado, seguido opcionalmente por un entero, como "_", "_1", "_2", etc. Estos se tratan como nombres de símbolos de descarte especiales. Changes to expression trees may result in behavior changes at runtime - Changes to expression trees may result in behavior changes at runtime + Los cambios en los árboles de expresión pueden originar cambios de comportamiento en tiempo de ejecución Convert to conditional expression - Convert to conditional expression + Convertir a expresión condicional Convert to tuple - Convert to tuple + Convertir a tupla Expression value is never used - Expression value is never used + El valor de la expresión no se utiliza nunca. Collection initialization can be simplified - Collection initialization can be simplified + La inicialización de la recopilación se pueden simplificar Format string contains invalid placeholder - Format string contains invalid placeholder + La cadena de formato contiene un marcador de posición no válido. 'GetHashCode' implementation can be simplified - 'GetHashCode' implementation can be simplified + La implementación de "GetHashCode" se puede simplificar. Invalid format string - Invalid format string + Cadena de formato no válida Make field readonly - Make field readonly + Hacer el archivo de solo lectura Member access should be qualified. - Member access should be qualified. + Debe calificarse el acceso a miembros. Add missing cases - Add missing cases + Agregar casos que faltan Modifiers are not ordered - Modifiers are not ordered + Los modificadores no están ordenados. Naming Styles - Naming Styles + Estilos de nombres Naming rule violation: {0} - Naming rule violation: {0} + Infracción de la regla de nomenclatura: {0} {0} is the rule title, {1} is the way in which the rule was violated Null check can be simplified - Null check can be simplified + La comprobación de valores null se puede simplificar Order modifiers - Order modifiers + Ordenar modificadores Parameter '{0}' can be removed if it is not part of a shipped public API; its initial value is never used - Parameter '{0}' can be removed if it is not part of a shipped public API; its initial value is never used + Se puede quitar el parámetro "{0}" si no forma parte de una API pública enviada; su valor inicial no se usa nunca. Parameter '{0}' can be removed; its initial value is never used - Parameter '{0}' can be removed; its initial value is never used + Se puede quitar el parámetro "{0}"; su valor inicial no se usa nunca. Object initialization can be simplified - Object initialization can be simplified + La inicialización del objeto se puede simplificar Parentheses can be removed - Parentheses can be removed + Los paréntesis se pueden quitar Parentheses should be added for clarity - Parentheses should be added for clarity + Los paréntesis deben agregarse para mejorar la claridad Populate switch - Populate switch + Rellenar switch Prefer explicitly provided tuple element name - Prefer explicitly provided tuple element name + Preferir el nombre del elemento de tupla proporcionado explícitamente Private member '{0}' can be removed as the value assigned to it is never read. - Private member '{0}' can be removed as the value assigned to it is never read. + Un miembro privado "{0}" puede retirarse porque el valor asignado a él no se lee nunca. Private member '{0}' is unused. - Private member '{0}' is unused. + Un miembro privado "{0}" está sin usar. Private method '{0}' can be removed as it is never invoked. - Private method '{0}' can be removed as it is never invoked. + El método privado "{0}" se puede quitar porque nunca se invoca. Private property '{0}' can be converted to a method as its get accessor is never invoked. - Private property '{0}' can be converted to a method as its get accessor is never invoked. + La propiedad privada "{0}" se puede convertir en un método porque su descriptor de acceso get nunca se invoca. Remove Unnecessary Cast - Remove Unnecessary Cast + Quitar conversión innecesaria Remove unnecessary parentheses - Remove unnecessary parentheses + Quitar los paréntesis innecesarios Remove unread private members - Remove unread private members + Quitar miembros privados no leídos Remove unused member - Remove unused member + Quitar miembros sin usar Remove unused parameter - Remove unused parameter + Quitar el parámetro no utilizado Remove unused parameter '{0}' - Remove unused parameter '{0}' + Retirar el parámetro "{0}" sin usar Remove unused parameter '{0}' if it is not part of a shipped public API - Remove unused parameter '{0}' if it is not part of a shipped public API + Quitar el parámetro "{0}" sin usar si no forma parte de una API pública enviada Remove unused private members - Remove unused private members + Quitar miembros privados no utilizados Simplify collection initialization - Simplify collection initialization + Simplificar la inicialización de la recopilación Simplify object initialization - Simplify object initialization + Simplificar la inicialización de objetos The file header does not match the required text - The file header does not match the required text + El encabezado de archivo no coincide con el texto requerido. The file header is missing or not located at the top of the file - The file header is missing or not located at the top of the file + Falta el encabezado del archivo o no se encuentra en la parte superior del archivo. Unnecessary assignment of a value - Unnecessary assignment of a value + Asignación innecesaria de un valor Unnecessary assignment of a value to '{0}' - Unnecessary assignment of a value to '{0}' + Asignación innecesaria de un valor a "{0}" Use 'System.HashCode' - Use 'System.HashCode' + Usar "System.HashCode" Use auto property - Use auto property + Usar propiedad automática Use coalesce expression - Use coalesce expression + Usar expresión coalesce Use compound assignment - Use compound assignment + Usar la asignación compuesta Use explicitly provided tuple name - Use explicitly provided tuple name + Usar el nombre de tupla proporcionado explícitamente Use null propagation - Use null propagation + Usar propagación de null Use 'throw' expression - Use 'throw' expression + Usar expresión "throw" diff --git a/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.fr.xlf b/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.fr.xlf index d2b94d84d5b1b..18ed9c8876670 100644 --- a/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.fr.xlf +++ b/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.fr.xlf @@ -4,287 +4,287 @@ A source file contains a header that does not match the required text - A source file contains a header that does not match the required text + Un fichier source contient un en-tête qui ne correspond pas au texte nécessaire A source file is missing a required header. - A source file is missing a required header. + Il manque un en-tête nécessaire dans un fichier source. Accessibility modifiers required - Accessibility modifiers required + Modificateurs d'accessibilité obligatoires Add accessibility modifiers - Add accessibility modifiers + Ajouter des modificateurs d'accessibilité Add parentheses for clarity - Add parentheses for clarity + Ajouter des parenthèses pour plus de clarté Add readonly modifier - Add readonly modifier + Ajouter un modificateur readonly Add 'this' or 'Me' qualification. - Add 'this' or 'Me' qualification. + Ajoutez la qualification 'this' ou 'Me'. Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. - Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Évitez les assignations de valeurs inutiles dans votre code, car elles représentent probablement des calculs de valeurs redondants. Si un calcul de valeur n'est pas redondant et si vous souhaitez conserver l'assignation, remplacez la cible de l'assignation par une variable locale dont le nom commence par un trait de soulignement éventuellement suivi d'un entier, par exemple '_', '_1', '_2', etc. Ces types d'élément sont traités en tant que noms de symboles discard spéciaux. Avoid unused parameters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. - Avoid unused parameters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Évitez les paramètres inutilisés dans votre code. Évitez les paramètres inutilisés dans votre code. Si vous ne pouvez pas supprimer un paramètre, changez son nom en le faisant commencer par un trait de soulignement éventuellement suivi d'un entier, par exemple '_', '_1', '_2', etc. Ces types d'élément sont traités en tant que noms de symboles discard spéciaux. Changes to expression trees may result in behavior changes at runtime - Changes to expression trees may result in behavior changes at runtime + Les changements apportés aux arborescences d'expression peuvent entraîner des changements de comportement au moment de l'exécution Convert to conditional expression - Convert to conditional expression + Convertir en expression conditionnelle Convert to tuple - Convert to tuple + Convertir en tuple Expression value is never used - Expression value is never used + La valeur d'expression n'est jamais utilisée Collection initialization can be simplified - Collection initialization can be simplified + L'initialisation des collections peut être simplifiée Format string contains invalid placeholder - Format string contains invalid placeholder + La chaîne de format contient un espace réservé non valide 'GetHashCode' implementation can be simplified - 'GetHashCode' implementation can be simplified + L'implémentation de 'GetHashCode' peut être simplifiée Invalid format string - Invalid format string + Chaîne de format non valide Make field readonly - Make field readonly + Rendre le champ readonly Member access should be qualified. - Member access should be qualified. + L'accès au membre doit être qualifié. Add missing cases - Add missing cases + Ajouter les instructions case manquantes Modifiers are not ordered - Modifiers are not ordered + Les modificateurs ne sont pas ordonnés Naming Styles - Naming Styles + Styles d'affectation de noms Naming rule violation: {0} - Naming rule violation: {0} + Violation des règles de nommage : {0} {0} is the rule title, {1} is the way in which the rule was violated Null check can be simplified - Null check can be simplified + Le contrôle de valeurs Null peut être simplifié Order modifiers - Order modifiers + Ordonner les modificateurs Parameter '{0}' can be removed if it is not part of a shipped public API; its initial value is never used - Parameter '{0}' can be removed if it is not part of a shipped public API; its initial value is never used + Impossible de supprimer le paramètre '{0}' s'il ne fait pas partie d'une API publique fournie, sa valeur initiale n'est jamais utilisée Parameter '{0}' can be removed; its initial value is never used - Parameter '{0}' can be removed; its initial value is never used + Le paramètre '{0}' peut être supprimé, sa valeur initiale n'est jamais utilisée Object initialization can be simplified - Object initialization can be simplified + L'initialisation de l'objet peut être simplifiée Parentheses can be removed - Parentheses can be removed + Vous pouvez supprimer les parenthèses Parentheses should be added for clarity - Parentheses should be added for clarity + Vous devez ajouter des parenthèses pour plus de clarté Populate switch - Populate switch + Remplir une instruction switch Prefer explicitly provided tuple element name - Prefer explicitly provided tuple element name + Préférer le nom d'élément tuple fourni explicitement Private member '{0}' can be removed as the value assigned to it is never read. - Private member '{0}' can be removed as the value assigned to it is never read. + Vous pouvez supprimer le membre privé '{0}', car la valeur qui lui est attribuée n'est jamais lue. Private member '{0}' is unused. - Private member '{0}' is unused. + Le membre privé '{0}' n'est pas utilisé. Private method '{0}' can be removed as it is never invoked. - Private method '{0}' can be removed as it is never invoked. + Impossible de supprimer la méthode privée '{0}', car elle n'est jamais appelée. Private property '{0}' can be converted to a method as its get accessor is never invoked. - Private property '{0}' can be converted to a method as its get accessor is never invoked. + La propriété privée '{0}' peut être convertie en méthode, car son accesseur get n'est jamais appelé. Remove Unnecessary Cast - Remove Unnecessary Cast + Supprimer le cast inutile Remove unnecessary parentheses - Remove unnecessary parentheses + Supprimer les parenthèses inutiles Remove unread private members - Remove unread private members + Supprimer les membres privés non lus Remove unused member - Remove unused member + Supprimer les membres non utilisés Remove unused parameter - Remove unused parameter + Supprimer le paramètre inutilisé Remove unused parameter '{0}' - Remove unused parameter '{0}' + Supprimer le paramètre '{0}' inutilisé Remove unused parameter '{0}' if it is not part of a shipped public API - Remove unused parameter '{0}' if it is not part of a shipped public API + Supprimer le paramètre inutilisé '{0}' si celui-ci ne fait pas partie d’une API publique livrée Remove unused private members - Remove unused private members + Supprimer les membres privés non utilisés Simplify collection initialization - Simplify collection initialization + Simplifier l'initialisation des collections Simplify object initialization - Simplify object initialization + Simplifier l'initialisation des objets The file header does not match the required text - The file header does not match the required text + L'en-tête du fichier ne correspond pas au texte nécessaire The file header is missing or not located at the top of the file - The file header is missing or not located at the top of the file + L'en-tête du fichier est manquant ou ne se trouve pas en haut du fichier Unnecessary assignment of a value - Unnecessary assignment of a value + Assignation inutile d'une valeur Unnecessary assignment of a value to '{0}' - Unnecessary assignment of a value to '{0}' + Assignation inutile d'une valeur à '{0}' Use 'System.HashCode' - Use 'System.HashCode' + Utiliser 'System.HashCode' Use auto property - Use auto property + Utiliser auto-property Use coalesce expression - Use coalesce expression + Utiliser l'expression de fusion Use compound assignment - Use compound assignment + Utiliser une assignation composée Use explicitly provided tuple name - Use explicitly provided tuple name + Utiliser le nom de tuple fourni explicitement Use null propagation - Use null propagation + Utiliser la propagation nulle Use 'throw' expression - Use 'throw' expression + Utiliser l'expression 'throw' diff --git a/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.it.xlf b/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.it.xlf index 7e437daa88869..0d8f864c738fe 100644 --- a/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.it.xlf +++ b/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.it.xlf @@ -4,287 +4,287 @@ A source file contains a header that does not match the required text - A source file contains a header that does not match the required text + Un file di origine contiene un'intestazione che non corrisponde al testo obbligatorio A source file is missing a required header. - A source file is missing a required header. + In un file di origine manca un'intestazione obbligatoria. Accessibility modifiers required - Accessibility modifiers required + Modificatori di accessibilità obbligatori Add accessibility modifiers - Add accessibility modifiers + Aggiungi i modificatori di accessibilità Add parentheses for clarity - Add parentheses for clarity + Aggiungi le parentesi per chiarezza Add readonly modifier - Add readonly modifier + Aggiungi modificatore readonly Add 'this' or 'Me' qualification. - Add 'this' or 'Me' qualification. + Aggiunge la qualificazione 'this' o 'Me'. Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. - Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Evitare assegnazioni di valori non necessarie nel codice perché indicano probabilmente calcoli di valori ridondanti. Se il calcolo del valore non è ridondante e si intende mantenere l'assegnazione, modificare la destinazione dell'assegnazione in una variabile locale il cui nome inizia con un carattere di sottolineatura e, facoltativamente, è seguito da un numero intero, ad esempio '_', '_1', '_2' e così via. Questi vengono considerati come nomi di simboli speciali di rimozione. Avoid unused parameters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. - Avoid unused parameters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Evitare parametri inutilizzati nel codice. Se non è possibile rimuovere il parametro, modificarne il nome in modo che inizi con un carattere di sottolineatura e, facoltativamente, sia seguito da un numero intero, ad esempio '_', '_1', '_2' e così via. Questi vengono considerati come nomi di simboli speciali di rimozione. Changes to expression trees may result in behavior changes at runtime - Changes to expression trees may result in behavior changes at runtime + Le modifiche apportate agli alberi delle espressioni possono causare modifiche di comportamento in fase di esecuzione Convert to conditional expression - Convert to conditional expression + Converti nell'espressione condizionale Convert to tuple - Convert to tuple + Converti in tupla Expression value is never used - Expression value is never used + Il valore dell'espressione non viene mai usato Collection initialization can be simplified - Collection initialization can be simplified + L'inizializzazione della raccolta può essere semplificata Format string contains invalid placeholder - Format string contains invalid placeholder + La stringa di formato contiene un segnaposto non valido 'GetHashCode' implementation can be simplified - 'GetHashCode' implementation can be simplified + L'implementazione di 'GetHashCode' può essere semplificata Invalid format string - Invalid format string + Stringa di formato non valida Make field readonly - Make field readonly + Imposta il campo come di sola lettura Member access should be qualified. - Member access should be qualified. + L'accesso ai membri deve essere qualificato. Add missing cases - Add missing cases + Aggiungi case mancanti Modifiers are not ordered - Modifiers are not ordered + I modificatori non sono ordinati Naming Styles - Naming Styles + Stili di denominazione Naming rule violation: {0} - Naming rule violation: {0} + Violazione della regola di denominazione: {0} {0} is the rule title, {1} is the way in which the rule was violated Null check can be simplified - Null check can be simplified + Il controllo Null può essere semplificato Order modifiers - Order modifiers + Ordina i modificatori Parameter '{0}' can be removed if it is not part of a shipped public API; its initial value is never used - Parameter '{0}' can be removed if it is not part of a shipped public API; its initial value is never used + È possibile rimuovere il parametro '{0}' se non fa parte di un'API pubblica. Il relativo valore iniziale non viene mai usato Parameter '{0}' can be removed; its initial value is never used - Parameter '{0}' can be removed; its initial value is never used + È possibile rimuovere il parametro '{0}'. Il relativo valore iniziale non viene mai usato Object initialization can be simplified - Object initialization can be simplified + L'inizializzazione dell'oggetto può essere semplificata Parentheses can be removed - Parentheses can be removed + È possibile rimuovere le parentesi Parentheses should be added for clarity - Parentheses should be added for clarity + È necessario aggiungere le parentesi per chiarezza Populate switch - Populate switch + Popola switch Prefer explicitly provided tuple element name - Prefer explicitly provided tuple element name + Preferisci il nome di elemento di tupla specificato in modo esplicito Private member '{0}' can be removed as the value assigned to it is never read. - Private member '{0}' can be removed as the value assigned to it is never read. + È possibile rimuovere il membro privato '{0}' perché il valore assegnato ad esso non viene mai letto. Private member '{0}' is unused. - Private member '{0}' is unused. + Il membro privato '{0}' è inutilizzato. Private method '{0}' can be removed as it is never invoked. - Private method '{0}' can be removed as it is never invoked. + Il metodo privato '{0}' può essere rimosso perché non viene mai richiamato. Private property '{0}' can be converted to a method as its get accessor is never invoked. - Private property '{0}' can be converted to a method as its get accessor is never invoked. + È possibile convertire la proprietà privata '{0}' in un metodo perché la relativa funzione di accesso get non viene mai richiamata. Remove Unnecessary Cast - Remove Unnecessary Cast + Rimuovi cast non necessario Remove unnecessary parentheses - Remove unnecessary parentheses + Rimuovi le parentesi non necessarie Remove unread private members - Remove unread private members + Rimuovi i membri privati non letti Remove unused member - Remove unused member + Rimuovi il membro inutilizzato Remove unused parameter - Remove unused parameter + Rimuovere il parametro inutilizzato Remove unused parameter '{0}' - Remove unused parameter '{0}' + Rimuovi il parametro inutilizzato '{0}' Remove unused parameter '{0}' if it is not part of a shipped public API - Remove unused parameter '{0}' if it is not part of a shipped public API + Rimuovi il parametro inutilizzato '{0}' se non fa parte di un'API pubblica fornita Remove unused private members - Remove unused private members + Rimuovi i membri privati inutilizzati Simplify collection initialization - Simplify collection initialization + Semplifica l'inizializzazione della raccolta Simplify object initialization - Simplify object initialization + Semplifica l'inizializzazione degli oggetti The file header does not match the required text - The file header does not match the required text + L'intestazione del file non corrisponde al testo obbligatorio The file header is missing or not located at the top of the file - The file header is missing or not located at the top of the file + L'intestazione del file manca o non si trova all'inizio del file Unnecessary assignment of a value - Unnecessary assignment of a value + Assegnazione non necessaria di un valore Unnecessary assignment of a value to '{0}' - Unnecessary assignment of a value to '{0}' + Assegnazione non necessaria di un valore a '{0}' Use 'System.HashCode' - Use 'System.HashCode' + Usa 'System.HashCode' Use auto property - Use auto property + Usa la proprietà automatica Use coalesce expression - Use coalesce expression + Usa l'espressione COALESCE Use compound assignment - Use compound assignment + Usa l'assegnazione composta Use explicitly provided tuple name - Use explicitly provided tuple name + Usa il nome di tupla specificato in modo esplicito Use null propagation - Use null propagation + Usa la propagazione di valori Null Use 'throw' expression - Use 'throw' expression + Usa l'espressione 'throw' diff --git a/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.ja.xlf b/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.ja.xlf index c2de060559807..282f70a85e2d7 100644 --- a/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.ja.xlf +++ b/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.ja.xlf @@ -4,287 +4,287 @@ A source file contains a header that does not match the required text - A source file contains a header that does not match the required text + ソース ファイルに、必要なテキストと一致しないヘッダーが含まれています A source file is missing a required header. - A source file is missing a required header. + ソース ファイルに、必要なヘッダーがありません。 Accessibility modifiers required - Accessibility modifiers required + アクセシビリティ修飾子が必要です Add accessibility modifiers - Add accessibility modifiers + アクセシビリティ修飾子を追加します Add parentheses for clarity - Add parentheses for clarity + わかりやすくするためにかっこを追加 Add readonly modifier - Add readonly modifier + 読み取り専用修飾子を追加します Add 'this' or 'Me' qualification. - Add 'this' or 'Me' qualification. + this' または 'Me' 修飾子を追加します。 Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. - Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + コード内における不必要な値代入は、値計算が重複する原因になり得るため、避けてください。値計算が重複しておらず、代入を保持する場合は、代入先をアンダースコアの後にオプションで整数が続く名前 ('_'、'_1'、'_2' など) のローカル変数に変更してください。これらは、特別なディスカード シンボル名として扱われます。 Avoid unused parameters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. - Avoid unused parameters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + コードに未使用のパラメーターを指定しないでください。パラメーターを削除できない場合は、パラメーターの名前をアンダースコアの後にオプションで整数が続く名前 ('_'、'_1'、'_2' など) に変更してください。これらは、特別なディスカード シンボル名として扱われます。 Changes to expression trees may result in behavior changes at runtime - Changes to expression trees may result in behavior changes at runtime + 式ツリーを変更すると、実行時の動作が変わる可能性があります Convert to conditional expression - Convert to conditional expression + 条件式に変換します Convert to tuple - Convert to tuple + タプルに変換 Expression value is never used - Expression value is never used + 式の値が使用されていません Collection initialization can be simplified - Collection initialization can be simplified + コレクションの初期化を簡略化できます Format string contains invalid placeholder - Format string contains invalid placeholder + 書式設定文字列に無効なプレース ホルダーが含まれています 'GetHashCode' implementation can be simplified - 'GetHashCode' implementation can be simplified + 'GetHashCode' の実装を簡略化できます Invalid format string - Invalid format string + 無効な書式設定文字列 Make field readonly - Make field readonly + フィールドを読み取り専用にします Member access should be qualified. - Member access should be qualified. + メンバー アクセスを修飾する必要があります。 Add missing cases - Add missing cases + 欠落しているケースの追加 Modifiers are not ordered - Modifiers are not ordered + 修飾子が順序付けされていません Naming Styles - Naming Styles + 命名スタイル Naming rule violation: {0} - Naming rule violation: {0} + 名前付けルール違反: {0} {0} is the rule title, {1} is the way in which the rule was violated Null check can be simplified - Null check can be simplified + Null チェックを簡略化できます Order modifiers - Order modifiers + 修飾子を順序付けます Parameter '{0}' can be removed if it is not part of a shipped public API; its initial value is never used - Parameter '{0}' can be removed if it is not part of a shipped public API; its initial value is never used + パラメーター '{0}' は、それが同梱のパブリック API の一部ではない場合に削除できます。その初期値は使用されていません Parameter '{0}' can be removed; its initial value is never used - Parameter '{0}' can be removed; its initial value is never used + パラメーター '{0}' を削除できます。その初期値は使用されていません Object initialization can be simplified - Object initialization can be simplified + オブジェクトの初期化を簡略化できます Parentheses can be removed - Parentheses can be removed + かっこは削除できます Parentheses should be added for clarity - Parentheses should be added for clarity + わかりやすくするためにかっこを追加してください Populate switch - Populate switch + スイッチを設定する Prefer explicitly provided tuple element name - Prefer explicitly provided tuple element name + 明示的に提供されたタプル要素名を優先します Private member '{0}' can be removed as the value assigned to it is never read. - Private member '{0}' can be removed as the value assigned to it is never read. + 割り当てられている値が読み取られることがないようにプライベートメンバー '{0}' を削除できます。 Private member '{0}' is unused. - Private member '{0}' is unused. + プライベート メンバー '{0}' は使用されていません。 Private method '{0}' can be removed as it is never invoked. - Private method '{0}' can be removed as it is never invoked. + プライベート メソッド '{0}' が呼び出されることがないよう削除できます。 Private property '{0}' can be converted to a method as its get accessor is never invoked. - Private property '{0}' can be converted to a method as its get accessor is never invoked. + プライベート プロパティ '{0}' は、その get アクセサーが呼び出されることがないため、メソッドに変換できます。 Remove Unnecessary Cast - Remove Unnecessary Cast + 不要なキャストの削除 Remove unnecessary parentheses - Remove unnecessary parentheses + 不要なかっこの削除 Remove unread private members - Remove unread private members + 読み取られていないプライベート メンバーを削除 Remove unused member - Remove unused member + 未使用のメンバーを削除 Remove unused parameter - Remove unused parameter + 未使用のパラメーターを削除します Remove unused parameter '{0}' - Remove unused parameter '{0}' + 未使用のパラメーター '{0}' を削除 Remove unused parameter '{0}' if it is not part of a shipped public API - Remove unused parameter '{0}' if it is not part of a shipped public API + 未使用のパラメーター '{0}' が同梱のパブリック API の一部ではない場合に削除します Remove unused private members - Remove unused private members + 使用されていないプライベート メンバーを削除する Simplify collection initialization - Simplify collection initialization + コレクションの初期化を簡略化します Simplify object initialization - Simplify object initialization + オブジェクトの初期化を簡略化します The file header does not match the required text - The file header does not match the required text + ファイル ヘッダーが、必要なテキストと一致しません The file header is missing or not located at the top of the file - The file header is missing or not located at the top of the file + ファイル ヘッダーが存在しないか、ファイルの先頭にありません Unnecessary assignment of a value - Unnecessary assignment of a value + 値の不必要な代入 Unnecessary assignment of a value to '{0}' - Unnecessary assignment of a value to '{0}' + 値の '{0}' への不必要な代入 Use 'System.HashCode' - Use 'System.HashCode' + 'System.HashCode' を使用する Use auto property - Use auto property + 自動プロパティを使用する Use coalesce expression - Use coalesce expression + coalesce 式を使用します Use compound assignment - Use compound assignment + 複合代入を使用 Use explicitly provided tuple name - Use explicitly provided tuple name + 明示的に提供されたタプル名を使用します Use null propagation - Use null propagation + null 値の反映を使用します Use 'throw' expression - Use 'throw' expression + スロー' 式を使用する diff --git a/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.ko.xlf b/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.ko.xlf index 69d75e23ea708..0a7fd68d51015 100644 --- a/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.ko.xlf +++ b/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.ko.xlf @@ -4,287 +4,287 @@ A source file contains a header that does not match the required text - A source file contains a header that does not match the required text + 소스 파일에 포함된 헤더가 필요한 텍스트와 일치하지 않습니다. A source file is missing a required header. - A source file is missing a required header. + 소스 파일에 필요한 헤더가 없습니다. Accessibility modifiers required - Accessibility modifiers required + 접근성 한정자 필요 Add accessibility modifiers - Add accessibility modifiers + 접근성 한정자 추가 Add parentheses for clarity - Add parentheses for clarity + 명확하게 하기 위해 괄호 추가 Add readonly modifier - Add readonly modifier + 읽기 전용 한정자 추가 Add 'this' or 'Me' qualification. - Add 'this' or 'Me' qualification. + this' 또는 'Me' 한정자를 추가합니다. Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. - Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + 코드에 불필요한 값을 할당하면 값의 중복 계산으로 표시될 수 있으므로 이와 같은 할당을 사용하지 않도록 합니다. 값의 중복 계산이 아닌 할당을 유지하려는 경우 할당 대상을 이름이 밑줄로 시작하고 필요에 따라 뒤에 정수가 있는(예: '_', '_1', '_2' 등) 지역 변수로 변경합니다. 해당 이름은 특수 무시 기호 이름으로 처리됩니다. Avoid unused parameters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. - Avoid unused parameters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + 코드에 사용되지 않는 매개 변수를 사용하지 않도록 합니다. 매개 변수를 제거할 수 없는 경우 이름을 변경하여 밑줄로 시작하고 필요에 따라 뒤에 정수가 있도록 합니다(예: '_', '_1', '_2' 등). 해당 이름은 특수 무시 기호 이름으로 처리됩니다. Changes to expression trees may result in behavior changes at runtime - Changes to expression trees may result in behavior changes at runtime + 식 트리를 변경하면 런타임에 동작이 변경될 수 있습니다. Convert to conditional expression - Convert to conditional expression + 조건식으로 변환 Convert to tuple - Convert to tuple + 튜플로 변환 Expression value is never used - Expression value is never used + 식 값은 절대 사용되지 않습니다. Collection initialization can be simplified - Collection initialization can be simplified + 컬렉션 초기화를 단순화할 수 있습니다. Format string contains invalid placeholder - Format string contains invalid placeholder + 형식 문자열에 잘못된 자리 표시자가 포함되어 있습니다. 'GetHashCode' implementation can be simplified - 'GetHashCode' implementation can be simplified + 'GetHashCode' 구현이 간소화될 수 있습니다. Invalid format string - Invalid format string + 잘못된 형식 문자열 Make field readonly - Make field readonly + 필드를 읽기 전용으로 만들기 Member access should be qualified. - Member access should be qualified. + 멤버 액세스를 한정해야 합니다. Add missing cases - Add missing cases + 누락된 사례 추가 Modifiers are not ordered - Modifiers are not ordered + 한정자가 순서대로 정렬되지 않음 Naming Styles - Naming Styles + 명명 스타일 Naming rule violation: {0} - Naming rule violation: {0} + 명명 규칙 위반: {0} {0} is the rule title, {1} is the way in which the rule was violated Null check can be simplified - Null check can be simplified + Null 검사를 단순화할 수 있습니다. Order modifiers - Order modifiers + 순서 한정자 Parameter '{0}' can be removed if it is not part of a shipped public API; its initial value is never used - Parameter '{0}' can be removed if it is not part of a shipped public API; its initial value is never used + '{0}' 매개 변수가 제공된 퍼블릭 API의 일부가 아닌 경우 제거할 수 있습니다. 해당 초기 값은 사용되지 않습니다. Parameter '{0}' can be removed; its initial value is never used - Parameter '{0}' can be removed; its initial value is never used + '{0}' 매개 변수는 제거할 수 있습니다. 해당 초기 값은 사용되지 않습니다. Object initialization can be simplified - Object initialization can be simplified + 개체 초기화를 간단하게 만들 수 있습니다. Parentheses can be removed - Parentheses can be removed + 괄호를 제거할 수 있습니다. Parentheses should be added for clarity - Parentheses should be added for clarity + 명확하게 하기 위해 괄호를 추가해야 합니다. Populate switch - Populate switch + 스위치 채우기 Prefer explicitly provided tuple element name - Prefer explicitly provided tuple element name + 명시적으로 제공된 튜플 요소 이름 기본 사용 Private member '{0}' can be removed as the value assigned to it is never read. - Private member '{0}' can be removed as the value assigned to it is never read. + Private 멤버 '{0}'에 할당된 값을 읽을 수 없으므로 이 멤버를 제거할 수 있습니다. Private member '{0}' is unused. - Private member '{0}' is unused. + Private 멤버 '{0}'을(를) 사용하지 않습니다. Private method '{0}' can be removed as it is never invoked. - Private method '{0}' can be removed as it is never invoked. + 프라이빗 메서드 '{0}'은(는) 호출되지 않으므로 제거할 수 있습니다. Private property '{0}' can be converted to a method as its get accessor is never invoked. - Private property '{0}' can be converted to a method as its get accessor is never invoked. + 해당 get 접근자가 호출되지 않았으므로 프라이빗 속성 '{0}'을(를) 메서드로 변환할 수 있습니다. Remove Unnecessary Cast - Remove Unnecessary Cast + 불필요한 캐스트 제거 Remove unnecessary parentheses - Remove unnecessary parentheses + 불필요한 괄호 제거 Remove unread private members - Remove unread private members + 읽지 않은 private 멤버 제거 Remove unused member - Remove unused member + 사용되지 않은 멤버 제거 Remove unused parameter - Remove unused parameter + 사용하지 않는 매개 변수를 제거하세요. Remove unused parameter '{0}' - Remove unused parameter '{0}' + 사용하지 않는 매개 변수 '{0}' 제거 Remove unused parameter '{0}' if it is not part of a shipped public API - Remove unused parameter '{0}' if it is not part of a shipped public API + 제공된 공용 API의 일부가 아닌 경우 사용하지 않는 매개 변수 '{0}' 제거 Remove unused private members - Remove unused private members + 사용되지 않는 private 멤버 제거 Simplify collection initialization - Simplify collection initialization + 컬렉션 초기화 단순화 Simplify object initialization - Simplify object initialization + 개체 초기화 단순화 The file header does not match the required text - The file header does not match the required text + 파일 헤더가 필요한 텍스트와 일치하지 않습니다. The file header is missing or not located at the top of the file - The file header is missing or not located at the top of the file + 파일 헤더가 없거나 파일 맨 위에 없습니다. Unnecessary assignment of a value - Unnecessary assignment of a value + 불필요한 값 할당 Unnecessary assignment of a value to '{0}' - Unnecessary assignment of a value to '{0}' + '{0}'에 불필요한 값 할당 Use 'System.HashCode' - Use 'System.HashCode' + 'System.HashCode' 사용 Use auto property - Use auto property + auto 속성 사용 Use coalesce expression - Use coalesce expression + COALESCE 식 사용 Use compound assignment - Use compound assignment + 복합형 할당 사용 Use explicitly provided tuple name - Use explicitly provided tuple name + 명시적으로 제공된 튜플 이름 사용 Use null propagation - Use null propagation + Null 전파 사용 Use 'throw' expression - Use 'throw' expression + throw' 식 사용 diff --git a/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.pl.xlf b/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.pl.xlf index a763fa547b7e0..95ab77a248d9e 100644 --- a/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.pl.xlf +++ b/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.pl.xlf @@ -4,287 +4,287 @@ A source file contains a header that does not match the required text - A source file contains a header that does not match the required text + Plik źródłowy zawiera nagłówek, który nie jest zgodny z wymaganym tekstem A source file is missing a required header. - A source file is missing a required header. + Brak wymaganego nagłówka w pliku źródłowym. Accessibility modifiers required - Accessibility modifiers required + Wymagane modyfikatory dostępności Add accessibility modifiers - Add accessibility modifiers + Dodaj modyfikatory dostępności Add parentheses for clarity - Add parentheses for clarity + Dodaj nawiasy w celu zapewnienia jednoznaczności Add readonly modifier - Add readonly modifier + Dodaj modyfikator tylko do odczytu Add 'this' or 'Me' qualification. - Add 'this' or 'Me' qualification. + Dodaj kwalifikacje „this” lub „Me”. Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. - Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Unikaj niepotrzebnych przypisań wartości w kodzie, ponieważ mogą one wskazywać nadmiarowe obliczenia wartości. Jeśli obliczenie wartości nie jest nadmiarowe i zamierzasz zachować przypisanie, zmień wartość docelową przypisania na zmienną lokalną, której nazwa rozpoczyna się od znaku podkreślenia, a opcjonalnie następuje po niej liczba całkowita, taka jak „_”, „_1”, „_2” itp. Są one traktowane jako specjalne nazwy symboli odrzucenia. Avoid unused parameters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. - Avoid unused parameters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Unikaj nieużywanych parametrów w kodzie. Jeśli nie można usunąć parametru, zmień jego nazwę, tak aby rozpoczynała się od znaku podkreślenia, a opcjonalnie następowała po niej liczba całkowita, na przykład „_”, „_1”, „_2” itp. Są one traktowane jako specjalne nazwy symboli odrzucenia. Changes to expression trees may result in behavior changes at runtime - Changes to expression trees may result in behavior changes at runtime + Wprowadzenie zmian w drzewach wyrażeń może spowodować zmiany zachowania w czasie wykonywania Convert to conditional expression - Convert to conditional expression + Konwertuj na wyrażenie warunkowe Convert to tuple - Convert to tuple + Konwertuj na spójną kolekcję Expression value is never used - Expression value is never used + Wartość wyrażenia nie jest nigdy używana. Collection initialization can be simplified - Collection initialization can be simplified + Można uprościć inicjowanie kolekcji Format string contains invalid placeholder - Format string contains invalid placeholder + Ciąg formatu zawiera nieprawidłowy symbol zastępczy 'GetHashCode' implementation can be simplified - 'GetHashCode' implementation can be simplified + Implementację „GetHashCode” można uprościć Invalid format string - Invalid format string + Nieprawidłowy ciąg formatu Make field readonly - Make field readonly + Ustaw pole jako tylko do odczytu Member access should be qualified. - Member access should be qualified. + Dostęp do składowej powinien mieć kwalifikator. Add missing cases - Add missing cases + Dodaj brakujące przypadki Modifiers are not ordered - Modifiers are not ordered + Modyfikatory nie są uporządkowane Naming Styles - Naming Styles + Style nazewnictwa Naming rule violation: {0} - Naming rule violation: {0} + Naruszenie reguły nazewnictwa: {0} {0} is the rule title, {1} is the way in which the rule was violated Null check can be simplified - Null check can be simplified + Można uprościć test na obecność wartości null Order modifiers - Order modifiers + Uporządkuj modyfikatory Parameter '{0}' can be removed if it is not part of a shipped public API; its initial value is never used - Parameter '{0}' can be removed if it is not part of a shipped public API; its initial value is never used + Parametr „{0}” można usunąć, jeśli nie jest częścią dostarczonego publicznego interfejsu API, ponieważ jego wartość początkowa nie jest nigdy używana Parameter '{0}' can be removed; its initial value is never used - Parameter '{0}' can be removed; its initial value is never used + Parametr „{0}” można usunąć, ponieważ jego wartość początkowa nie jest nigdy używana Object initialization can be simplified - Object initialization can be simplified + Inicjowanie obiektu można uprościć Parentheses can be removed - Parentheses can be removed + Nawiasy można usunąć Parentheses should be added for clarity - Parentheses should be added for clarity + Nawiasy powinny zostać dodane w celu zapewnienia jednoznaczności Populate switch - Populate switch + Wypełnij instrukcję switch Prefer explicitly provided tuple element name - Prefer explicitly provided tuple element name + Preferuj jawnie podaną nazwę elementu krotki Private member '{0}' can be removed as the value assigned to it is never read. - Private member '{0}' can be removed as the value assigned to it is never read. + Prywatną składową „{0}” można usunąć, ponieważ przypisana do niej wartość nie jest nigdy odczytywana. Private member '{0}' is unused. - Private member '{0}' is unused. + Prywatna składowa „{0}” jest nieużywana. Private method '{0}' can be removed as it is never invoked. - Private method '{0}' can be removed as it is never invoked. + Metodę prywatną „{0}” można usunąć, ponieważ nie jest nigdy wywoływana. Private property '{0}' can be converted to a method as its get accessor is never invoked. - Private property '{0}' can be converted to a method as its get accessor is never invoked. + Właściwość prywatną „{0}” można przekonwertować na metodę, ponieważ jej metoda dostępu get nie jest nigdy wywoływana. Remove Unnecessary Cast - Remove Unnecessary Cast + Usuń niepotrzebne rzutowanie Remove unnecessary parentheses - Remove unnecessary parentheses + Usuń niepotrzebne nawiasy Remove unread private members - Remove unread private members + Usuń nieodczytywane składowe prywatne Remove unused member - Remove unused member + Usuń nieużywaną składową Remove unused parameter - Remove unused parameter + Usuń nieużywany parametr Remove unused parameter '{0}' - Remove unused parameter '{0}' + Usuń nieużywany parametr „{0}” Remove unused parameter '{0}' if it is not part of a shipped public API - Remove unused parameter '{0}' if it is not part of a shipped public API + Usuń nieużywany parametr „{0}”, jeśli nie jest częścią dostarczonego publicznego API Remove unused private members - Remove unused private members + Usuń nieużywane prywatne składowe Simplify collection initialization - Simplify collection initialization + Uprość inicjowanie kolekcji Simplify object initialization - Simplify object initialization + Uprość inicjowanie obiektów The file header does not match the required text - The file header does not match the required text + Nagłówek pliku nie jest zgodny z wymaganym tekstem The file header is missing or not located at the top of the file - The file header is missing or not located at the top of the file + Brak nagłówka pliku lub nie znajduje się on w górnej części pliku Unnecessary assignment of a value - Unnecessary assignment of a value + Niepotrzebne przypisanie wartości Unnecessary assignment of a value to '{0}' - Unnecessary assignment of a value to '{0}' + Niepotrzebne przypisanie wartości do elementu „{0}” Use 'System.HashCode' - Use 'System.HashCode' + Użyj elementu „System.HashCode” Use auto property - Use auto property + Użyj właściwości automatycznej Use coalesce expression - Use coalesce expression + Użyj wyrażenia łączącego Use compound assignment - Use compound assignment + Użyj przypisania złożonego Use explicitly provided tuple name - Use explicitly provided tuple name + Użyj jawnie podanej nazwy krotki Use null propagation - Use null propagation + Użyj propagacji wartości null Use 'throw' expression - Use 'throw' expression + Użyj wyrażenia „throw“ diff --git a/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.pt-BR.xlf b/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.pt-BR.xlf index e3ef971a8ab2b..52a6482c81074 100644 --- a/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.pt-BR.xlf +++ b/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.pt-BR.xlf @@ -4,287 +4,287 @@ A source file contains a header that does not match the required text - A source file contains a header that does not match the required text + Um arquivo de origem contém um cabeçalho que não corresponde ao texto necessário A source file is missing a required header. - A source file is missing a required header. + Um arquivo de origem não tem um cabeçalho necessário. Accessibility modifiers required - Accessibility modifiers required + Modificadores de acessibilidade necessários Add accessibility modifiers - Add accessibility modifiers + Adicionar modificadores de acessibilidade Add parentheses for clarity - Add parentheses for clarity + Adicionar parênteses para esclarecimento Add readonly modifier - Add readonly modifier + Adicionar modificador somente leitura Add 'this' or 'Me' qualification. - Add 'this' or 'Me' qualification. + Adicionar a qualificação 'this' ou 'Me'. Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. - Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Evite atribuições de valor desnecessárias no código, pois isso pode indicar cálculos de valor redundantes. Se o cálculo do valor não for redundante e você pretender reter a atribuição, altere o destino da atribuição para uma variável local cujo nome comece com um sublinhado e seja seguido opcionalmente por um inteiro, como '_', '_1', '_2' etc. Esses nomes são tratados como nomes de símbolo de descarte especiais. Avoid unused parameters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. - Avoid unused parameters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Evite parâmetros não usados no seu código. Se o parâmetro não puder ser removido, altere o nome para que ele comece com um sublinhado e seja seguido opcionalmente por um inteiro, como '_', '_1', '_2' etc. Esses nomes são tratados como nomes de símbolo de descarte especiais. Changes to expression trees may result in behavior changes at runtime - Changes to expression trees may result in behavior changes at runtime + Alterações nas árvores de expressão podem resultar em alterações de comportamento no tempo de execução Convert to conditional expression - Convert to conditional expression + Converter em expressão condicional Convert to tuple - Convert to tuple + Converter a tupla Expression value is never used - Expression value is never used + O valor da expressão nunca é usado Collection initialization can be simplified - Collection initialization can be simplified + A inicialização de coleção pode ser simplificada Format string contains invalid placeholder - Format string contains invalid placeholder + A cadeia de formato contém espaço reservado inválido 'GetHashCode' implementation can be simplified - 'GetHashCode' implementation can be simplified + A implementação de 'GetHashCode' pode ser simplificada Invalid format string - Invalid format string + Cadeia de formato inválida Make field readonly - Make field readonly + Tornar campo somente leitura Member access should be qualified. - Member access should be qualified. + O acesso de membro deve ser qualificado. Add missing cases - Add missing cases + Adicionar casos ausentes Modifiers are not ordered - Modifiers are not ordered + Os modificadores não são ordenados Naming Styles - Naming Styles + Estilos de Nomenclatura Naming rule violation: {0} - Naming rule violation: {0} + Violação da regra de nomenclatura: {0} {0} is the rule title, {1} is the way in which the rule was violated Null check can be simplified - Null check can be simplified + A seleção nula pode ser simplificada Order modifiers - Order modifiers + Modificadores de ordem Parameter '{0}' can be removed if it is not part of a shipped public API; its initial value is never used - Parameter '{0}' can be removed if it is not part of a shipped public API; its initial value is never used + O parâmetro '{0}' pode ser removido quando não faz parte de uma API pública enviada. Seu valor inicial nunca é usado Parameter '{0}' can be removed; its initial value is never used - Parameter '{0}' can be removed; its initial value is never used + O parâmetro '{0}' pode ser removido. Seu valor inicial nunca é usado Object initialization can be simplified - Object initialization can be simplified + A inicialização do objeto pode ser simplificada Parentheses can be removed - Parentheses can be removed + Os parênteses podem ser removidos Parentheses should be added for clarity - Parentheses should be added for clarity + Os parênteses devem ser adicionados para esclarecimento Populate switch - Populate switch + Popular comutador Prefer explicitly provided tuple element name - Prefer explicitly provided tuple element name + Preferir o nome do elemento de tupla fornecido explicitamente Private member '{0}' can be removed as the value assigned to it is never read. - Private member '{0}' can be removed as the value assigned to it is never read. + O membro particular '{0}' pode ser removido pois o valor atribuído a ele nunca é lido. Private member '{0}' is unused. - Private member '{0}' is unused. + O membro privado '{0}' não é utilizado. Private method '{0}' can be removed as it is never invoked. - Private method '{0}' can be removed as it is never invoked. + O método particular '{0}' pode ser removido pois nunca é invocado. Private property '{0}' can be converted to a method as its get accessor is never invoked. - Private property '{0}' can be converted to a method as its get accessor is never invoked. + A propriedade privada '{0}' pode ser convertida em um método porque seu acessador get nunca é invocado. Remove Unnecessary Cast - Remove Unnecessary Cast + Remover Conversão Desnecessária Remove unnecessary parentheses - Remove unnecessary parentheses + Remover os parênteses desnecessários Remove unread private members - Remove unread private members + Remover membros particulares não lidos Remove unused member - Remove unused member + Remover membro não utilizado Remove unused parameter - Remove unused parameter + Remover o parâmetro não utilizado Remove unused parameter '{0}' - Remove unused parameter '{0}' + Remover o parâmetro não usado '{0}' Remove unused parameter '{0}' if it is not part of a shipped public API - Remove unused parameter '{0}' if it is not part of a shipped public API + Remover o parâmetro não usado '{0}' se ele não fizer parte de uma API pública enviada Remove unused private members - Remove unused private members + Remover membros privados não utilizados Simplify collection initialization - Simplify collection initialization + Simplificar a inicialização de coleção Simplify object initialization - Simplify object initialization + Simplificar a inicialização de objeto The file header does not match the required text - The file header does not match the required text + O cabeçalho do arquivo não corresponde ao texto necessário The file header is missing or not located at the top of the file - The file header is missing or not located at the top of the file + O cabeçalho do arquivo está ausente ou não está localizado na parte superior do arquivo Unnecessary assignment of a value - Unnecessary assignment of a value + Atribuição desnecessária de um valor Unnecessary assignment of a value to '{0}' - Unnecessary assignment of a value to '{0}' + Atribuição desnecessária de um valor para '{0}' Use 'System.HashCode' - Use 'System.HashCode' + Use 'System.HashCode' Use auto property - Use auto property + Usar a propriedade auto Use coalesce expression - Use coalesce expression + Usar a expressão de união Use compound assignment - Use compound assignment + Usar a atribuição composta Use explicitly provided tuple name - Use explicitly provided tuple name + Usar o nome de tupla fornecido explicitamente Use null propagation - Use null propagation + Usar tratamento simplificado de nulo Use 'throw' expression - Use 'throw' expression + Use a expressão 'throw' diff --git a/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.ru.xlf b/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.ru.xlf index a86919711df1e..6b824b3c791d0 100644 --- a/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.ru.xlf +++ b/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.ru.xlf @@ -4,287 +4,287 @@ A source file contains a header that does not match the required text - A source file contains a header that does not match the required text + Исходный файл содержит заголовок, который не соответствует требуемому тексту A source file is missing a required header. - A source file is missing a required header. + В исходном файле отсутствует обязательный заголовок. Accessibility modifiers required - Accessibility modifiers required + Требуются модификаторы доступности Add accessibility modifiers - Add accessibility modifiers + Добавьте модификаторы доступности Add parentheses for clarity - Add parentheses for clarity + Добавить круглые скобки для ясности Add readonly modifier - Add readonly modifier + Добавить модификатор только для чтения Add 'this' or 'Me' qualification. - Add 'this' or 'Me' qualification. + Добавьте квалификацию "this" или "Me". Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. - Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Избегайте ненужных операций присваивания значений в коде, так как это может свидетельствовать об избыточных вычислениях значений. Если вычисление значения не является избыточным и предполагается сохранить присваивание, измените целевой объект присваивания на локальную переменную, имя которой начинается с символа подчеркивания, за которым при необходимости следует целое число, например, "_", "_1", "_2" и т. д. Эти имена рассматриваются как специальные имена для освобождаемых переменных. Avoid unused parameters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. - Avoid unused parameters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Избегайте неиспользуемых параметров в коде. Если удалить параметр невозможно, измените его имя так, чтобы оно начиналось с символа подчеркивания, за которым при необходимости следует целое число, например, "_", "_1", "_2" и т. д. Эти имена считаются особыми пустыми именами символов. Changes to expression trees may result in behavior changes at runtime - Changes to expression trees may result in behavior changes at runtime + Изменения в деревьях выражений могут привести к изменениям поведения во время выполнения. Convert to conditional expression - Convert to conditional expression + Преобразовать в условное выражение Convert to tuple - Convert to tuple + Преобразовать в кортеж Expression value is never used - Expression value is never used + Значение выражения никогда не используется Collection initialization can be simplified - Collection initialization can be simplified + Инициализацию коллекции можно упростить. Format string contains invalid placeholder - Format string contains invalid placeholder + Строка формата содержит недопустимый заполнитель 'GetHashCode' implementation can be simplified - 'GetHashCode' implementation can be simplified + Реализацию "GetHashCode" можно упростить. Invalid format string - Invalid format string + Недопустимая строка формата Make field readonly - Make field readonly + Сделать поле доступным только для чтения Member access should be qualified. - Member access should be qualified. + Доступ к члену должен быть квалифицирован. Add missing cases - Add missing cases + Добавить отсутствующие варианты Modifiers are not ordered - Modifiers are not ordered + Модификаторы не упорядочены Naming Styles - Naming Styles + Стили именования Naming rule violation: {0} - Naming rule violation: {0} + Нарушение правила именования: {0} {0} is the rule title, {1} is the way in which the rule was violated Null check can be simplified - Null check can be simplified + Проверку значения NULL можно упростить. Order modifiers - Order modifiers + Упорядочить модификаторы Parameter '{0}' can be removed if it is not part of a shipped public API; its initial value is never used - Parameter '{0}' can be removed if it is not part of a shipped public API; its initial value is never used + Параметр "{0}" можно удалить, если он не является частью предоставляемого общедоступного API. Начальное значение этого параметра никогда не используется. Parameter '{0}' can be removed; its initial value is never used - Parameter '{0}' can be removed; its initial value is never used + Параметр "{0}" можно удалить. Его начальное значение никогда не используется. Object initialization can be simplified - Object initialization can be simplified + Инициализацию объекта можно упростить. Parentheses can be removed - Parentheses can be removed + Круглые скобки можно удалить Parentheses should be added for clarity - Parentheses should be added for clarity + Добавьте скобки для большей ясности Populate switch - Populate switch + Заполнить оператор switch Prefer explicitly provided tuple element name - Prefer explicitly provided tuple element name + Предпочитать явно указанное имя элемента кортежа Private member '{0}' can be removed as the value assigned to it is never read. - Private member '{0}' can be removed as the value assigned to it is never read. + Закрытый член «{0}» может быть удален как значение, присвоенное него никогда не читал. Private member '{0}' is unused. - Private member '{0}' is unused. + Закрытый член «{0}» не используется. Private method '{0}' can be removed as it is never invoked. - Private method '{0}' can be removed as it is never invoked. + Закрытый метод "{0}" можно удалить, так как он никогда не вызывается. Private property '{0}' can be converted to a method as its get accessor is never invoked. - Private property '{0}' can be converted to a method as its get accessor is never invoked. + Частное свойство "{0}" можно преобразовать в метод, так как его метод доступа get никогда не вызывается. Remove Unnecessary Cast - Remove Unnecessary Cast + Удалить ненужное приведение Remove unnecessary parentheses - Remove unnecessary parentheses + Удалить ненужные круглые скобки Remove unread private members - Remove unread private members + Удалить непрочитанные закрытые члены Remove unused member - Remove unused member + Удалить неиспользуемый член Remove unused parameter - Remove unused parameter + Удалите неиспользуемый параметр Remove unused parameter '{0}' - Remove unused parameter '{0}' + Удалить неиспользуемый параметр "{0}" Remove unused parameter '{0}' if it is not part of a shipped public API - Remove unused parameter '{0}' if it is not part of a shipped public API + Удалить неиспользуемый параметр "{0}", если он не является частью предоставляемого общедоступного API Remove unused private members - Remove unused private members + Удалите неиспользуемые закрытые члены Simplify collection initialization - Simplify collection initialization + Упростите инициализацию коллекции Simplify object initialization - Simplify object initialization + Упростите инициализацию объекта The file header does not match the required text - The file header does not match the required text + Заголовок файла не соответствует требуемому тексту The file header is missing or not located at the top of the file - The file header is missing or not located at the top of the file + Заголовок файла отсутствует или находится не в начале файла Unnecessary assignment of a value - Unnecessary assignment of a value + Ненужное присваивание значения Unnecessary assignment of a value to '{0}' - Unnecessary assignment of a value to '{0}' + Ненужное присваивание значения "{0}" Use 'System.HashCode' - Use 'System.HashCode' + Используйте "System.HashCode". Use auto property - Use auto property + Использовать свойство auto Use coalesce expression - Use coalesce expression + Используйте выражение объединения Use compound assignment - Use compound assignment + Использовать составной оператор назначения Use explicitly provided tuple name - Use explicitly provided tuple name + Использовать явно указанное имя кортежа Use null propagation - Use null propagation + Используйте распространение значения NULL Use 'throw' expression - Use 'throw' expression + Использовать выражение "throw" diff --git a/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.tr.xlf b/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.tr.xlf index 5414790241e59..81635123c7999 100644 --- a/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.tr.xlf +++ b/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.tr.xlf @@ -4,287 +4,287 @@ A source file contains a header that does not match the required text - A source file contains a header that does not match the required text + Kaynak dosya, gerekli metinle eşleşmeyen bir üst bilgi içeriyor A source file is missing a required header. - A source file is missing a required header. + Kaynak dosyada gerekli üst bilgi eksik. Accessibility modifiers required - Accessibility modifiers required + Erişilebilirlik değiştiricileri gerekli Add accessibility modifiers - Add accessibility modifiers + Erişilebilirlik değiştiricileri Ekle Add parentheses for clarity - Add parentheses for clarity + Açıklık sağlamak için parantez ekleyin Add readonly modifier - Add readonly modifier + Salt okunur değiştirici ekle Add 'this' or 'Me' qualification. - Add 'this' or 'Me' qualification. + 'this' veya 'Me' niteliği ekle. Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. - Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Kodunuzda gereksiz değer atamaları yapmaktan kaçının; bunlar genelde gereksiz değer hesaplamalarını belirtir. Değer hesaplaması gereksiz değilse ve atamayı korumak istiyorsanız, atama hedefini adı bir alt çizgiyle başlayan ve isteğe bağlı olarak tamsayı ile devam eden yerel bir değişkene çevirin, örneğin '_', '_1', '_2' vb. Bunlar özel atma sembol adları olarak değerlendirilir. Avoid unused parameters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. - Avoid unused parameters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Kodunuzda kullanılmayan parametreler bulundurmamaya çalışın. Parametre kaldırılamıyorsa adını, bir alt çizgiyle başlayacak ve ardından isteğe bağlı olarak bir tamsayı gelecek ('_', '_1', '_2' gibi) şekilde değiştirin. Bu değerler özel atılabilir sembol adı olarak işlenir. Changes to expression trees may result in behavior changes at runtime - Changes to expression trees may result in behavior changes at runtime + İfade ağaçlarında yapılan değişiklikler çalışma zamanında davranış değişikliklerine neden olabilir Convert to conditional expression - Convert to conditional expression + Koşullu ifadeye dönüştürme Convert to tuple - Convert to tuple + Başlığa dönüştür Expression value is never used - Expression value is never used + İfade değeri asla kullanılmaz Collection initialization can be simplified - Collection initialization can be simplified + Koleksiyon başlatma işlemi kolaylaştırılabilir Format string contains invalid placeholder - Format string contains invalid placeholder + Biçim dizesi, geçersiz yer tutucu içeriyor 'GetHashCode' implementation can be simplified - 'GetHashCode' implementation can be simplified + 'GetHashCode' uygulaması basitleştirilebilir Invalid format string - Invalid format string + Geçersiz biçim dizesi Make field readonly - Make field readonly + Alanı salt okunur yap Member access should be qualified. - Member access should be qualified. + Üye erişimi nitelenmiş olmalıdır. Add missing cases - Add missing cases + Eksik durumları ekle Modifiers are not ordered - Modifiers are not ordered + Değiştiriciler sıralı değil Naming Styles - Naming Styles + Adlandırma Stilleri Naming rule violation: {0} - Naming rule violation: {0} + Adlandırma kuralı ihlali: {0} {0} is the rule title, {1} is the way in which the rule was violated Null check can be simplified - Null check can be simplified + Null denetimi kolaylaştırılabilir Order modifiers - Order modifiers + Değiştiricileri sırala Parameter '{0}' can be removed if it is not part of a shipped public API; its initial value is never used - Parameter '{0}' can be removed if it is not part of a shipped public API; its initial value is never used + Gönderilmiş bir genel API'nin parçası değilse '{0}' parametresi kaldırılabilir. Parametrenin ilk değeri asla kullanılmaz Parameter '{0}' can be removed; its initial value is never used - Parameter '{0}' can be removed; its initial value is never used + '{0}' parametresi kaldırılabilir. İlk değeri asla kullanılmaz Object initialization can be simplified - Object initialization can be simplified + Nesne başlatma basitleştirilebilir Parentheses can be removed - Parentheses can be removed + Parantezler kaldırılabilir Parentheses should be added for clarity - Parentheses should be added for clarity + Açıklık sağlamak için parantez eklenmelidir Populate switch - Populate switch + PopulateSwitch Prefer explicitly provided tuple element name - Prefer explicitly provided tuple element name + Açıkça sağlanan demet öğesi adını tercih et Private member '{0}' can be removed as the value assigned to it is never read. - Private member '{0}' can be removed as the value assigned to it is never read. + Kendisine atanmış değeri hiç okurken özel üye '{0}'-ebilmek var olmak çıkarmak. Private member '{0}' is unused. - Private member '{0}' is unused. + Özel üye '{0}' kullanılmamış olur. Private method '{0}' can be removed as it is never invoked. - Private method '{0}' can be removed as it is never invoked. + '{0}' özel metodu hiç çağrılmadığından kaldırılabilir. Private property '{0}' can be converted to a method as its get accessor is never invoked. - Private property '{0}' can be converted to a method as its get accessor is never invoked. + {0}' özel özelliği, bu özelliğin get erişimcisi hiçbir zaman çağrılmadığı için bir yönteme dönüştürülebilir. Remove Unnecessary Cast - Remove Unnecessary Cast + Gereksiz Atamayı Kaldır Remove unnecessary parentheses - Remove unnecessary parentheses + Gereksiz parantezleri kaldırın Remove unread private members - Remove unread private members + Okunmamış özel üyeleri kaldır Remove unused member - Remove unused member + Kullanılmayan üye kaldırma Remove unused parameter - Remove unused parameter + Kullanılmayan parametreyi kaldırma Remove unused parameter '{0}' - Remove unused parameter '{0}' + Kullanılmayan '{0}' parametresini kaldır Remove unused parameter '{0}' if it is not part of a shipped public API - Remove unused parameter '{0}' if it is not part of a shipped public API + Kullanılmayan '{0}' parametresi gönderilmiş bir genel API'nin parçası değilse parametreyi kaldırın Remove unused private members - Remove unused private members + Kullanılmayan özel üyeleri kaldır Simplify collection initialization - Simplify collection initialization + Koleksiyon başlatmayı kolaylaştır Simplify object initialization - Simplify object initialization + Nesne başlatmayı kolaylaştır The file header does not match the required text - The file header does not match the required text + Dosya üst bilgisi gerekli metinle eşleşmiyor The file header is missing or not located at the top of the file - The file header is missing or not located at the top of the file + Dosya üst bilgisi eksik veya dosyanın en üstünde yer almıyor Unnecessary assignment of a value - Unnecessary assignment of a value + Bir değerin gereksiz ataması Unnecessary assignment of a value to '{0}' - Unnecessary assignment of a value to '{0}' + '{0}' için bir değerin gereksiz ataması Use 'System.HashCode' - Use 'System.HashCode' + 'System.HashCode' kullan Use auto property - Use auto property + Otomatik özellik kullan Use coalesce expression - Use coalesce expression + Birleştirme ifadesi kullan Use compound assignment - Use compound assignment + Bileşik atama kullan Use explicitly provided tuple name - Use explicitly provided tuple name + Açıkça sağlanan demet adını kullan Use null propagation - Use null propagation + Null yayılması kullan Use 'throw' expression - Use 'throw' expression + 'throw' ifadesi kullan diff --git a/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.zh-Hans.xlf b/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.zh-Hans.xlf index 57d199ef14116..4d96cd18afa94 100644 --- a/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.zh-Hans.xlf +++ b/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.zh-Hans.xlf @@ -4,287 +4,287 @@ A source file contains a header that does not match the required text - A source file contains a header that does not match the required text + 源文件包含一个与所需文本不匹配的标题 A source file is missing a required header. - A source file is missing a required header. + 源文件缺少所需的标题。 Accessibility modifiers required - Accessibility modifiers required + 需要可访问性修饰符 Add accessibility modifiers - Add accessibility modifiers + 添加可访问性修饰符 Add parentheses for clarity - Add parentheses for clarity + 为清楚起见,请添加括号 Add readonly modifier - Add readonly modifier + 添加只读修饰符 Add 'this' or 'Me' qualification. - Add 'this' or 'Me' qualification. + 添加 "this" 或 "Me" 限定。 Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. - Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + 请避免在代码中使用不必要的值赋值,因为这些值极有可能指示冗余的值计算。如果值计算不是冗余的,并且打算保留该赋值,请将分配目标更改为名称以下划线开头或在下划线后面跟一个整数的局部变量(如 "_"、"_1"、"_2" 等)。这些被视为特殊丢弃符号名。 Avoid unused parameters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. - Avoid unused parameters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + 请避免在代码中使用未使用的参数。如果无法删除该参数,请更改其名称,使其以下划线开头,也可在下划线后面跟一个整数(如 "_"、"_1"、"_2" 等)。这些被视为特殊丢弃符号名。 Changes to expression trees may result in behavior changes at runtime - Changes to expression trees may result in behavior changes at runtime + 对表达式树的更改可能导致运行时的行为改变 Convert to conditional expression - Convert to conditional expression + 转换为条件表达式 Convert to tuple - Convert to tuple + 转换为元组 Expression value is never used - Expression value is never used + 永远不会使用表达式值 Collection initialization can be simplified - Collection initialization can be simplified + 可以简化集合初始化 Format string contains invalid placeholder - Format string contains invalid placeholder + 格式字符串包含无效的占位符 'GetHashCode' implementation can be simplified - 'GetHashCode' implementation can be simplified + 可简化 "GetHashCode" 实现 Invalid format string - Invalid format string + 无效的格式字符串 Make field readonly - Make field readonly + 将字段设置为只读 Member access should be qualified. - Member access should be qualified. + 应限定成员访问。 Add missing cases - Add missing cases + 添加缺失的事例 Modifiers are not ordered - Modifiers are not ordered + 未对修饰符排序 Naming Styles - Naming Styles + 命名样式 Naming rule violation: {0} - Naming rule violation: {0} + 命名规则冲突: {0} {0} is the rule title, {1} is the way in which the rule was violated Null check can be simplified - Null check can be simplified + 可以简化 Null 检查。 Order modifiers - Order modifiers + 对修饰符排序 Parameter '{0}' can be removed if it is not part of a shipped public API; its initial value is never used - Parameter '{0}' can be removed if it is not part of a shipped public API; its initial value is never used + 如果参数“{0}”不是已发布的公共 API 的一部分,可将其删除,因为永远不会使用其初始值 Parameter '{0}' can be removed; its initial value is never used - Parameter '{0}' can be removed; its initial value is never used + 可删除参数“{0}”,因为永远不会使用其初始值 Object initialization can be simplified - Object initialization can be simplified + 可以简化对象初始化 Parentheses can be removed - Parentheses can be removed + 可以删除括号 Parentheses should be added for clarity - Parentheses should be added for clarity + 为清楚起见,应添加括号 Populate switch - Populate switch + 填充开关 Prefer explicitly provided tuple element name - Prefer explicitly provided tuple element name + 首选显式提供的元组元素名称 Private member '{0}' can be removed as the value assigned to it is never read. - Private member '{0}' can be removed as the value assigned to it is never read. + 可删除私有成员“{0}”,因为永不会读取分配给它的值。 Private member '{0}' is unused. - Private member '{0}' is unused. + 未使用私有成员“{0}”。 Private method '{0}' can be removed as it is never invoked. - Private method '{0}' can be removed as it is never invoked. + 私有方法“{0}”可以删除,因为它永远不会被调用。 Private property '{0}' can be converted to a method as its get accessor is never invoked. - Private property '{0}' can be converted to a method as its get accessor is never invoked. + 私有属性 "{0}" 可以转换为方法,因为永远不会调用它的 get 访问器。 Remove Unnecessary Cast - Remove Unnecessary Cast + 删除不必要的转换 Remove unnecessary parentheses - Remove unnecessary parentheses + 删除不必要的括号 Remove unread private members - Remove unread private members + 删除未读的私有成员 Remove unused member - Remove unused member + 删除未使用的成员 Remove unused parameter - Remove unused parameter + 删除未使用的参数 Remove unused parameter '{0}' - Remove unused parameter '{0}' + 删除未使用的参数 "{0}" Remove unused parameter '{0}' if it is not part of a shipped public API - Remove unused parameter '{0}' if it is not part of a shipped public API + 如果未使用的参数 "{0}" 不是已发布的公共 api 的一部分, 请将其删除 Remove unused private members - Remove unused private members + 删除未使用的私有成员 Simplify collection initialization - Simplify collection initialization + 简化集合初始化 Simplify object initialization - Simplify object initialization + 简化对象初始化 The file header does not match the required text - The file header does not match the required text + 文件标题与所需文本不匹配 The file header is missing or not located at the top of the file - The file header is missing or not located at the top of the file + 文件标题缺失或不位于文件的顶部 Unnecessary assignment of a value - Unnecessary assignment of a value + 不需要赋值 Unnecessary assignment of a value to '{0}' - Unnecessary assignment of a value to '{0}' + 不需要对 "{0}" 赋值 Use 'System.HashCode' - Use 'System.HashCode' + 使用 "System.HashCode" Use auto property - Use auto property + 使用自动属性 Use coalesce expression - Use coalesce expression + 使用 COALESCE 表达式 Use compound assignment - Use compound assignment + 使用复合分配 Use explicitly provided tuple name - Use explicitly provided tuple name + 使用显式提供的元组名称 Use null propagation - Use null propagation + 使用 null 传播 Use 'throw' expression - Use 'throw' expression + 使用 "throw" 表达式 diff --git a/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.zh-Hant.xlf b/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.zh-Hant.xlf index 3c43ea97cae07..de5796aac274a 100644 --- a/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.zh-Hant.xlf +++ b/src/Analyzers/Core/Analyzers/xlf/AnalyzersResources.zh-Hant.xlf @@ -4,287 +4,287 @@ A source file contains a header that does not match the required text - A source file contains a header that does not match the required text + 來源檔案包含的標頭與必要文字不相符 A source file is missing a required header. - A source file is missing a required header. + 來源檔案缺少必要標頭。 Accessibility modifiers required - Accessibility modifiers required + 協助工具修飾元為必要項 Add accessibility modifiers - Add accessibility modifiers + 新增協助工具修飾元 Add parentheses for clarity - Add parentheses for clarity + 新增括號以明確表示 Add readonly modifier - Add readonly modifier + 新增唯讀修飾元 Add 'this' or 'Me' qualification. - Add 'this' or 'Me' qualification. + 新增 'this' 或 'Me' 限定性條件。 Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. - Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + 請避免在您的程式碼中指派非必要的值,因為這可能表示值會重複計算。如果值未重複計算,而且您想要保留指派,請將指派目標變更為名稱以底線開頭的區域變數,並可選擇在後面接著整數,例如 '_'、'_1'、'_2' 等。這些會視為特殊的捨棄符號名稱。 Avoid unused parameters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. - Avoid unused parameters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + 請避免在您的程式碼中使用參數。如果無法移除參數,請變更其名稱,使其以底線開頭,並可選擇在後面接著整數,例如 '_'、'_1'、'_2' 等。這些會視為特殊的捨棄符號名稱。 Changes to expression trees may result in behavior changes at runtime - Changes to expression trees may result in behavior changes at runtime + 變更運算式樹狀架構可能會導致執行階段的行為變更 Convert to conditional expression - Convert to conditional expression + 轉換至條件運算式 Convert to tuple - Convert to tuple + 轉換為元組 Expression value is never used - Expression value is never used + 永遠不會使用運算式值 Collection initialization can be simplified - Collection initialization can be simplified + 集合初始化可簡化 Format string contains invalid placeholder - Format string contains invalid placeholder + 格式字串包含無效的預留位置 'GetHashCode' implementation can be simplified - 'GetHashCode' implementation can be simplified + 'GetHashCode' 實作可簡化 Invalid format string - Invalid format string + 格式字串無效 Make field readonly - Make field readonly + 使欄位唯讀 Member access should be qualified. - Member access should be qualified. + 必須限定成員存取。 Add missing cases - Add missing cases + 新增遺漏的案例 Modifiers are not ordered - Modifiers are not ordered + 修飾元未排序 Naming Styles - Naming Styles + 命名樣式 Naming rule violation: {0} - Naming rule violation: {0} + 違反命名規則: {0} {0} is the rule title, {1} is the way in which the rule was violated Null check can be simplified - Null check can be simplified + Null 檢查可簡化 Order modifiers - Order modifiers + 為修飾元排序 Parameter '{0}' can be removed if it is not part of a shipped public API; its initial value is never used - Parameter '{0}' can be removed if it is not part of a shipped public API; its initial value is never used + 若參數 '{0}' 不屬於已經出貨的公用 API,將無法移除; 其初始值一律不會使用 Parameter '{0}' can be removed; its initial value is never used - Parameter '{0}' can be removed; its initial value is never used + 參數 '{0}' 可以移除; 其初始值一律不會使用 Object initialization can be simplified - Object initialization can be simplified + 物件初始化可以簡化 Parentheses can be removed - Parentheses can be removed + 可以移除括號 Parentheses should be added for clarity - Parentheses should be added for clarity + 應新增括號以明確表示 Populate switch - Populate switch + 填入切換 Prefer explicitly provided tuple element name - Prefer explicitly provided tuple element name + 建議使用明確提供的元組元素名稱 Private member '{0}' can be removed as the value assigned to it is never read. - Private member '{0}' can be removed as the value assigned to it is never read. + 因為永遠不會讀取指派給私用成員 '{0}' 的值,所以可移除該成員。 Private member '{0}' is unused. - Private member '{0}' is unused. + 未使用私用成員 '{0}'。 Private method '{0}' can be removed as it is never invoked. - Private method '{0}' can be removed as it is never invoked. + 因為永遠不會叫用私用方法 ‘{0}’,所以可予以移除。 Private property '{0}' can be converted to a method as its get accessor is never invoked. - Private property '{0}' can be converted to a method as its get accessor is never invoked. + 系統永遠不會叫用私用屬性 '{0}' 的 get 存取子,因此該屬性可以轉換成方法。 Remove Unnecessary Cast - Remove Unnecessary Cast + 移除不必要的 Cast Remove unnecessary parentheses - Remove unnecessary parentheses + 移除不必要的括號 Remove unread private members - Remove unread private members + 刪除未讀取的私用成員 Remove unused member - Remove unused member + 移除未使用的成員 Remove unused parameter - Remove unused parameter + 移除未使用的參數 Remove unused parameter '{0}' - Remove unused parameter '{0}' + 移除未使用的參數 ‘{0}’ Remove unused parameter '{0}' if it is not part of a shipped public API - Remove unused parameter '{0}' if it is not part of a shipped public API + 如果未使用的參數 ‘{0}’ 不屬於已發行的公用 API,請予以移除 Remove unused private members - Remove unused private members + 刪除未使用的私用成員 Simplify collection initialization - Simplify collection initialization + 簡化集合初始化 Simplify object initialization - Simplify object initialization + 簡化物件初始化 The file header does not match the required text - The file header does not match the required text + 檔案標頭與必要文字不相符 The file header is missing or not located at the top of the file - The file header is missing or not located at the top of the file + 缺少檔案標頭或其不在檔案的頂端 Unnecessary assignment of a value - Unnecessary assignment of a value + 指派了不必要的值 Unnecessary assignment of a value to '{0}' - Unnecessary assignment of a value to '{0}' + 對 '{0}' 指派了不必要的值 Use 'System.HashCode' - Use 'System.HashCode' + 使用 'System.HashCode' Use auto property - Use auto property + 使用 Auto 屬性 Use coalesce expression - Use coalesce expression + 使用 coalesce 運算式 Use compound assignment - Use compound assignment + 使用複合指派 Use explicitly provided tuple name - Use explicitly provided tuple name + 使用明確提供的元組名稱 Use null propagation - Use null propagation + 使用 null 傳播 Use 'throw' expression - Use 'throw' expression + 使用 'throw' 運算式 diff --git a/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.cs.xlf b/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.cs.xlf index fa82d77681c81..c351b4fe17a09 100644 --- a/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.cs.xlf +++ b/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.cs.xlf @@ -4,12 +4,12 @@ Add both - Add both + Přidat obojí Add default case - Add default case + Přidat výchozí malá a velká písmena @@ -19,22 +19,22 @@ Fix Name Violation: {0} - Fix Name Violation: {0} + Opravit porušení názvu: {0} Remove redundant assignment - Remove redundant assignment + Odebrat redundantní přiřazení Use discard '_' - Use discard '_' + Použít zahození _ Use discarded local - Use discarded local + Použít zahozenou místní diff --git a/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.de.xlf b/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.de.xlf index f2804455a7514..de82b9fb1f853 100644 --- a/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.de.xlf +++ b/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.de.xlf @@ -4,12 +4,12 @@ Add both - Add both + Beide hinzufügen Add default case - Add default case + Standardfall hinzufügen @@ -19,22 +19,22 @@ Fix Name Violation: {0} - Fix Name Violation: {0} + Namensverletzung beheben: {0} Remove redundant assignment - Remove redundant assignment + Überflüssige Zuweisung entfernen Use discard '_' - Use discard '_' + Ausschussvariable "_" verwenden Use discarded local - Use discarded local + Verworfene lokale Variable verwenden diff --git a/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.es.xlf b/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.es.xlf index ac0fc65578f23..bd1b2743e50c7 100644 --- a/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.es.xlf +++ b/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.es.xlf @@ -4,12 +4,12 @@ Add both - Add both + Agregar ambos Add default case - Add default case + Agregar caso predeterminado @@ -19,22 +19,22 @@ Fix Name Violation: {0} - Fix Name Violation: {0} + Corregir infracción de nombre: {0} Remove redundant assignment - Remove redundant assignment + Quitar asignación redundante Use discard '_' - Use discard '_' + Usar opción de descarte "_" Use discarded local - Use discarded local + Usar el local descartado diff --git a/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.fr.xlf b/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.fr.xlf index 8aa77ac92b459..7bb74133dd7c6 100644 --- a/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.fr.xlf +++ b/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.fr.xlf @@ -4,12 +4,12 @@ Add both - Add both + Ajouter les deux Add default case - Add default case + Ajouter une instruction case par défaut @@ -19,22 +19,22 @@ Fix Name Violation: {0} - Fix Name Violation: {0} + Corrigez la violation de nom : {0} Remove redundant assignment - Remove redundant assignment + Supprimer l'attribution redondante Use discard '_' - Use discard '_' + Utiliser Ignorer '_' Use discarded local - Use discarded local + Utiliser un élément local ignoré diff --git a/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.it.xlf b/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.it.xlf index cd16bcafd16de..4f0d9641e54c8 100644 --- a/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.it.xlf +++ b/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.it.xlf @@ -4,12 +4,12 @@ Add both - Add both + Aggiungi entrambi Add default case - Add default case + Aggiungi case predefinito @@ -19,22 +19,22 @@ Fix Name Violation: {0} - Fix Name Violation: {0} + Correggi violazione del nome: {0} Remove redundant assignment - Remove redundant assignment + Rimuovi l'assegnazione ridondante Use discard '_' - Use discard '_' + Usa '_' rimosso Use discarded local - Use discarded local + Usa variabili locali rimosse diff --git a/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.ja.xlf b/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.ja.xlf index 19ac910efb31a..b3c6e98962cc5 100644 --- a/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.ja.xlf +++ b/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.ja.xlf @@ -4,12 +4,12 @@ Add both - Add both + 両方を追加する Add default case - Add default case + 既定のケースの追加 @@ -19,22 +19,22 @@ Fix Name Violation: {0} - Fix Name Violation: {0} + 名前の違反を修正します: {0} Remove redundant assignment - Remove redundant assignment + 冗長な代入を削除します Use discard '_' - Use discard '_' + 破棄 '_' を使用 Use discarded local - Use discarded local + 破棄されたローカルを使用します diff --git a/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.ko.xlf b/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.ko.xlf index 433dbce0b8f3e..ab76387ece7ff 100644 --- a/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.ko.xlf +++ b/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.ko.xlf @@ -4,12 +4,12 @@ Add both - Add both + 둘 다 추가 Add default case - Add default case + Default Case 추가 @@ -19,22 +19,22 @@ Fix Name Violation: {0} - Fix Name Violation: {0} + 이름 위반 수정: {0} Remove redundant assignment - Remove redundant assignment + 중복 할당 제거 Use discard '_' - Use discard '_' + 무시 항목 '_' 사용 Use discarded local - Use discarded local + 무시된 로컬 사용 diff --git a/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.pl.xlf b/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.pl.xlf index 6259fa5d77306..a1e880c35df7a 100644 --- a/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.pl.xlf +++ b/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.pl.xlf @@ -4,12 +4,12 @@ Add both - Add both + Dodaj oba Add default case - Add default case + Dodaj przypadek domyślny @@ -19,22 +19,22 @@ Fix Name Violation: {0} - Fix Name Violation: {0} + Napraw naruszenie nazwy: {0} Remove redundant assignment - Remove redundant assignment + Usuń nadmiarowe przypisanie Use discard '_' - Use discard '_' + Użyj odrzucenia „_” Use discarded local - Use discarded local + Użyj odrzuconej zmiennej lokalnej diff --git a/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.pt-BR.xlf b/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.pt-BR.xlf index e32c36ecabcff..d48bebe4bf9c5 100644 --- a/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.pt-BR.xlf +++ b/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.pt-BR.xlf @@ -4,12 +4,12 @@ Add both - Add both + Adicionar ambos Add default case - Add default case + Adicionar caso padrão @@ -19,22 +19,22 @@ Fix Name Violation: {0} - Fix Name Violation: {0} + Corrigir Violação de Nome: {0} Remove redundant assignment - Remove redundant assignment + Remover a atribuição redundante Use discard '_' - Use discard '_' + Usar o descarte de '_' Use discarded local - Use discarded local + Usar local descartado diff --git a/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.ru.xlf b/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.ru.xlf index 7c4edcc3eff81..87a316dfce7c1 100644 --- a/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.ru.xlf +++ b/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.ru.xlf @@ -4,12 +4,12 @@ Add both - Add both + Добавить оба Add default case - Add default case + Добавить вариант по умолчанию @@ -19,22 +19,22 @@ Fix Name Violation: {0} - Fix Name Violation: {0} + Устраните нарушение имени: {0} Remove redundant assignment - Remove redundant assignment + Удалить избыточные операторы назначения Use discard '_' - Use discard '_' + Используйте символ удаления "_" Use discarded local - Use discarded local + Использовать удаленный локальный оператор diff --git a/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.tr.xlf b/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.tr.xlf index e15ee15a7d126..8cff4d3ce7aff 100644 --- a/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.tr.xlf +++ b/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.tr.xlf @@ -4,12 +4,12 @@ Add both - Add both + Her ikisini de ekle Add default case - Add default case + Varsayılan durum ekle @@ -19,22 +19,22 @@ Fix Name Violation: {0} - Fix Name Violation: {0} + Ad İhlalini Düzelt: {0} Remove redundant assignment - Remove redundant assignment + Gereksiz atamayı kaldır Use discard '_' - Use discard '_' + '_' atmasını kullan Use discarded local - Use discarded local + Atılmış yereli kullan diff --git a/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.zh-Hans.xlf b/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.zh-Hans.xlf index 0dc2943fdd03b..25526742af3c8 100644 --- a/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.zh-Hans.xlf +++ b/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.zh-Hans.xlf @@ -4,12 +4,12 @@ Add both - Add both + 添加两者 Add default case - Add default case + 添加默认事例 @@ -19,22 +19,22 @@ Fix Name Violation: {0} - Fix Name Violation: {0} + 解决名称冲突: {0} Remove redundant assignment - Remove redundant assignment + 删除冗余分配 Use discard '_' - Use discard '_' + 使用丢弃 "_" Use discarded local - Use discarded local + 使用丢弃的本地 diff --git a/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.zh-Hant.xlf b/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.zh-Hant.xlf index 98990a130254f..61afcc743881a 100644 --- a/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.zh-Hant.xlf +++ b/src/Analyzers/Core/CodeFixes/xlf/CodeFixesResources.zh-Hant.xlf @@ -4,12 +4,12 @@ Add both - Add both + 新增兩者 Add default case - Add default case + 新增預設案例 @@ -19,22 +19,22 @@ Fix Name Violation: {0} - Fix Name Violation: {0} + 修正名稱違規: {0} Remove redundant assignment - Remove redundant assignment + 移除多餘的指派 Use discard '_' - Use discard '_' + 使用捨棄 '_’ Use discarded local - Use discarded local + 使用捨棄的區域函式 diff --git a/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.cs.xlf b/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.cs.xlf index 7439d7599c5de..59a3c6b27d3aa 100644 --- a/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.cs.xlf +++ b/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.cs.xlf @@ -4,22 +4,22 @@ 'If' statement can be simplified - 'If' statement can be simplified + Příkaz if lze zjednodušit. Imports statement is unnecessary. - Imports statement is unnecessary. + Příkaz Imports není potřebný. Use 'IsNot Nothing' check - Use 'IsNot Nothing' check + Použít kontrolu „IsNot Nothing“ Use 'Is Nothing' check - Use 'Is Nothing' check + Použít kontrolu „Is Nothing“ diff --git a/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.de.xlf b/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.de.xlf index 7001c94ed4089..367a925250e6c 100644 --- a/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.de.xlf +++ b/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.de.xlf @@ -4,22 +4,22 @@ 'If' statement can be simplified - 'If' statement can be simplified + Die If-Anweisung kann vereinfacht werden. Imports statement is unnecessary. - Imports statement is unnecessary. + Imports-Anweisung ist unnötig. Use 'IsNot Nothing' check - Use 'IsNot Nothing' check + Prüfung "IsNot Nothing" verwenden Use 'Is Nothing' check - Use 'Is Nothing' check + Prüfung "Is Nothing" verwenden diff --git a/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.es.xlf b/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.es.xlf index 34f60686426f3..45c2791f9c4d8 100644 --- a/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.es.xlf +++ b/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.es.xlf @@ -4,22 +4,22 @@ 'If' statement can be simplified - 'If' statement can be simplified + La instrucción "if" se puede simplificar Imports statement is unnecessary. - Imports statement is unnecessary. + La declaración de importaciones no es necesaria. Use 'IsNot Nothing' check - Use 'IsNot Nothing' check + Usar comprobación "IsNot Nothing" Use 'Is Nothing' check - Use 'Is Nothing' check + Usar comprobación "Is Nothing" diff --git a/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.fr.xlf b/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.fr.xlf index e20b0761ed54c..40b8542a00617 100644 --- a/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.fr.xlf +++ b/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.fr.xlf @@ -4,22 +4,22 @@ 'If' statement can be simplified - 'If' statement can be simplified + L'instruction 'If' peut être simplifiée Imports statement is unnecessary. - Imports statement is unnecessary. + L'instruction Imports n'est pas utile. Use 'IsNot Nothing' check - Use 'IsNot Nothing' check + Utiliser la vérification 'IsNot Nothing' Use 'Is Nothing' check - Use 'Is Nothing' check + Utiliser la vérification 'Is Nothing' diff --git a/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.it.xlf b/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.it.xlf index fe5e6197c1e8d..6455d335bd010 100644 --- a/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.it.xlf +++ b/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.it.xlf @@ -4,22 +4,22 @@ 'If' statement can be simplified - 'If' statement can be simplified + L'istruzione 'If' può essere semplificata Imports statement is unnecessary. - Imports statement is unnecessary. + L'istruzione Imports non è necessaria. Use 'IsNot Nothing' check - Use 'IsNot Nothing' check + Usa controllo 'IsNot Nothing' Use 'Is Nothing' check - Use 'Is Nothing' check + Usa controllo 'Is Nothing' diff --git a/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.ja.xlf b/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.ja.xlf index 6904481d9503d..01631098fde87 100644 --- a/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.ja.xlf +++ b/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.ja.xlf @@ -4,22 +4,22 @@ 'If' statement can be simplified - 'If' statement can be simplified + 'if' ステートメントは簡素化できます Imports statement is unnecessary. - Imports statement is unnecessary. + Imports ステートメントは不要です。 Use 'IsNot Nothing' check - Use 'IsNot Nothing' check + IsNot Nothing' チェックを使用します Use 'Is Nothing' check - Use 'Is Nothing' check + Is Nothing' チェックを使用します diff --git a/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.ko.xlf b/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.ko.xlf index 9990e64080d90..dee8c43198695 100644 --- a/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.ko.xlf +++ b/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.ko.xlf @@ -4,22 +4,22 @@ 'If' statement can be simplified - 'If' statement can be simplified + 'if' 문을 간단하게 줄일 수 있습니다. Imports statement is unnecessary. - Imports statement is unnecessary. + Imports 문은 필요하지 않습니다. Use 'IsNot Nothing' check - Use 'IsNot Nothing' check + IsNot Nothing' 검사 사용 Use 'Is Nothing' check - Use 'Is Nothing' check + Is Nothing' 검사 사용 diff --git a/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.pl.xlf b/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.pl.xlf index fe19be690e590..ea50ae3fa9075 100644 --- a/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.pl.xlf +++ b/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.pl.xlf @@ -4,22 +4,22 @@ 'If' statement can be simplified - 'If' statement can be simplified + Instrukcja „if” może zostać uproszczona Imports statement is unnecessary. - Imports statement is unnecessary. + Instrukcja imports jest niepotrzebna. Use 'IsNot Nothing' check - Use 'IsNot Nothing' check + Użyj sprawdzania „IsNot Nothing” Use 'Is Nothing' check - Use 'Is Nothing' check + Użyj sprawdzania „Is Nothing” diff --git a/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.pt-BR.xlf b/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.pt-BR.xlf index d96d64cb6ed24..e2634c9d7a726 100644 --- a/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.pt-BR.xlf +++ b/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.pt-BR.xlf @@ -4,22 +4,22 @@ 'If' statement can be simplified - 'If' statement can be simplified + A instrução 'If' pode ser simplificada Imports statement is unnecessary. - Imports statement is unnecessary. + A instrução Imports é desnecessária. Use 'IsNot Nothing' check - Use 'IsNot Nothing' check + Usar a verificação 'IsNot Nothing' Use 'Is Nothing' check - Use 'Is Nothing' check + Usar a verificação 'Is Nothing' diff --git a/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.ru.xlf b/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.ru.xlf index 5ba5edc41b38f..18ab8f52b5453 100644 --- a/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.ru.xlf +++ b/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.ru.xlf @@ -4,22 +4,22 @@ 'If' statement can be simplified - 'If' statement can be simplified + Оператор if можно упростить Imports statement is unnecessary. - Imports statement is unnecessary. + Оператор Imports не нужен. Use 'IsNot Nothing' check - Use 'IsNot Nothing' check + Использовать флажок "IsNot Nothing" Use 'Is Nothing' check - Use 'Is Nothing' check + Использовать флажок "Is Nothing" diff --git a/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.tr.xlf b/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.tr.xlf index 823074f9e3e69..6e43885e1132e 100644 --- a/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.tr.xlf +++ b/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.tr.xlf @@ -4,22 +4,22 @@ 'If' statement can be simplified - 'If' statement can be simplified + 'If' deyimi basitleştirilebilir Imports statement is unnecessary. - Imports statement is unnecessary. + Imports deyimi gerekli değildir. Use 'IsNot Nothing' check - Use 'IsNot Nothing' check + IsNot Nothing' denetimi kullan Use 'Is Nothing' check - Use 'Is Nothing' check + Is Nothing' denetimi kullan diff --git a/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.zh-Hans.xlf b/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.zh-Hans.xlf index f14a06b657322..9801bbe3b2019 100644 --- a/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.zh-Hans.xlf +++ b/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.zh-Hans.xlf @@ -4,22 +4,22 @@ 'If' statement can be simplified - 'If' statement can be simplified + 可简化“If”语句 Imports statement is unnecessary. - Imports statement is unnecessary. + Imports 语句是不需要的。 Use 'IsNot Nothing' check - Use 'IsNot Nothing' check + 使用 "IsNot Nothing" 检查 Use 'Is Nothing' check - Use 'Is Nothing' check + 使用 "Is Nothing" 检查 diff --git a/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.zh-Hant.xlf b/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.zh-Hant.xlf index 05ad69e565c4a..37113b03be8a6 100644 --- a/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.zh-Hant.xlf +++ b/src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.zh-Hant.xlf @@ -4,22 +4,22 @@ 'If' statement can be simplified - 'If' statement can be simplified + 'If' 陳述式可簡化 Imports statement is unnecessary. - Imports statement is unnecessary. + 無須 Imports 陳述式。 Use 'IsNot Nothing' check - Use 'IsNot Nothing' check + 使用 'IsNot Nothing' 檢查 Use 'Is Nothing' check - Use 'Is Nothing' check + 使用 'Is Nothing' 檢查 diff --git a/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.cs.xlf b/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.cs.xlf index 2c71af8be0460..0f610832fe708 100644 --- a/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.cs.xlf +++ b/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.cs.xlf @@ -4,12 +4,12 @@ Add 'Me.' - Add 'Me.' + Přidejte položku Me. Remove Unnecessary Imports - Remove Unnecessary Imports + Odebrat nepotřebné importy diff --git a/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.de.xlf b/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.de.xlf index d80a92c660306..d6b74954a5882 100644 --- a/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.de.xlf +++ b/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.de.xlf @@ -4,12 +4,12 @@ Add 'Me.' - Add 'Me.' + "Me." hinzufügen Remove Unnecessary Imports - Remove Unnecessary Imports + Unnötige Import-Direktiven entfernen diff --git a/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.es.xlf b/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.es.xlf index 92862806d6342..0759d86c0f09f 100644 --- a/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.es.xlf +++ b/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.es.xlf @@ -4,12 +4,12 @@ Add 'Me.' - Add 'Me.' + Agregar "Me." Remove Unnecessary Imports - Remove Unnecessary Imports + Quitar instrucciones Import innecesarias diff --git a/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.fr.xlf b/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.fr.xlf index f8166f5968627..e3efef85db54a 100644 --- a/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.fr.xlf +++ b/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.fr.xlf @@ -4,12 +4,12 @@ Add 'Me.' - Add 'Me.' + Ajouter 'Me.' Remove Unnecessary Imports - Remove Unnecessary Imports + Supprimer les importations superflues diff --git a/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.it.xlf b/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.it.xlf index 45720673f6427..24b864ec7e2af 100644 --- a/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.it.xlf +++ b/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.it.xlf @@ -4,12 +4,12 @@ Add 'Me.' - Add 'Me.' + Aggiungi 'Me.' Remove Unnecessary Imports - Remove Unnecessary Imports + Rimuovi Import non necessari diff --git a/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.ja.xlf b/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.ja.xlf index fd42263df84f3..7161f2fb9271a 100644 --- a/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.ja.xlf +++ b/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.ja.xlf @@ -4,12 +4,12 @@ Add 'Me.' - Add 'Me.' + Me' を追加します。 Remove Unnecessary Imports - Remove Unnecessary Imports + 不要なインポートの削除 diff --git a/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.ko.xlf b/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.ko.xlf index 7bae7f5d392e9..edd8219d59ea0 100644 --- a/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.ko.xlf +++ b/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.ko.xlf @@ -4,12 +4,12 @@ Add 'Me.' - Add 'Me.' + Me'를 추가하세요. Remove Unnecessary Imports - Remove Unnecessary Imports + 불필요한 Imports 제거 diff --git a/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.pl.xlf b/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.pl.xlf index 9f66a32cff7a1..624a01ffe38b7 100644 --- a/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.pl.xlf +++ b/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.pl.xlf @@ -4,12 +4,12 @@ Add 'Me.' - Add 'Me.' + Dodaj „mnie”. Remove Unnecessary Imports - Remove Unnecessary Imports + Usuń niepotrzebne importy diff --git a/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.pt-BR.xlf b/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.pt-BR.xlf index d06fa9e74947d..cc9fdb25285fc 100644 --- a/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.pt-BR.xlf +++ b/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.pt-BR.xlf @@ -4,12 +4,12 @@ Add 'Me.' - Add 'Me.' + Adicionar 'Me.' Remove Unnecessary Imports - Remove Unnecessary Imports + Remover Importações Desnecessárias diff --git a/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.ru.xlf b/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.ru.xlf index 6a4c415a191f7..96f65e2c9bc8b 100644 --- a/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.ru.xlf +++ b/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.ru.xlf @@ -4,12 +4,12 @@ Add 'Me.' - Add 'Me.' + Добавьте "'Me". Remove Unnecessary Imports - Remove Unnecessary Imports + Удалить ненужные импорты diff --git a/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.tr.xlf b/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.tr.xlf index 8bf2bef177eda..a4758ea146b8e 100644 --- a/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.tr.xlf +++ b/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.tr.xlf @@ -4,12 +4,12 @@ Add 'Me.' - Add 'Me.' + Me' ekleyin. Remove Unnecessary Imports - Remove Unnecessary Imports + Gereksiz İçeri Aktarmaları Kaldır diff --git a/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.zh-Hans.xlf b/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.zh-Hans.xlf index d454545691d8e..47b615020058c 100644 --- a/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.zh-Hans.xlf +++ b/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.zh-Hans.xlf @@ -4,12 +4,12 @@ Add 'Me.' - Add 'Me.' + 添加 "Me." Remove Unnecessary Imports - Remove Unnecessary Imports + 删除不必要的导入 diff --git a/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.zh-Hant.xlf b/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.zh-Hant.xlf index ae42e1bb48a63..d318307b9aabf 100644 --- a/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.zh-Hant.xlf +++ b/src/Analyzers/VisualBasic/CodeFixes/xlf/VisualBasicCodeFixesResources.zh-Hant.xlf @@ -4,12 +4,12 @@ Add 'Me.' - Add 'Me.' + 新增 'Me.' Remove Unnecessary Imports - Remove Unnecessary Imports + 移除不必要的匯入 diff --git a/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.cs.xlf b/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.cs.xlf index 06c0f5c59a708..136601d0f1bbe 100644 --- a/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.cs.xlf +++ b/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.cs.xlf @@ -14,17 +14,17 @@ Arrays with more than one dimension cannot be serialized. - Arrays with more than one dimension cannot be serialized. + Pole s víc než jedním rozměrem nejsou serializované. Cannot serialize type '{0}'. - Cannot serialize type '{0}'. + Typ {0} nejde serializovat. Deserialization reader for '{0}' read incorrect number of values. - Deserialization reader for '{0}' read incorrect number of values. + Čtečka deserializace pro {0} přečetla nesprávný počet hodnot. @@ -59,7 +59,7 @@ Stream is too long. - Stream is too long. + Stream je moc dlouhý. @@ -69,12 +69,12 @@ The type '{0}' is not understood by the serialization binder. - The type '{0}' is not understood by the serialization binder. + Vazač serializace nerozumí typu {0}. Value too large to be represented as a 30 bit unsigned integer. - Value too large to be represented as a 30 bit unsigned integer. + Hodnota je moc velká, než aby se dala vyjádřit jako 30bitové nepodepsané celé číslo. diff --git a/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.de.xlf b/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.de.xlf index 73cf77ee14d53..7844eec29efe1 100644 --- a/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.de.xlf +++ b/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.de.xlf @@ -14,17 +14,17 @@ Arrays with more than one dimension cannot be serialized. - Arrays with more than one dimension cannot be serialized. + Arrays mit mehr als einer Dimension können nicht serialisiert werden. Cannot serialize type '{0}'. - Cannot serialize type '{0}'. + Typ "{0}" kann nicht serialisiert werden. Deserialization reader for '{0}' read incorrect number of values. - Deserialization reader for '{0}' read incorrect number of values. + Der Deserialisierungsreader für "{0}" hat eine falsche Anzahl von Werten gelesen. @@ -59,7 +59,7 @@ Stream is too long. - Stream is too long. + Der Datenstrom ist zu lang. @@ -69,12 +69,12 @@ The type '{0}' is not understood by the serialization binder. - The type '{0}' is not understood by the serialization binder. + Der Typ "{0}" wird vom Serialisierungsbinder nicht verstanden. Value too large to be represented as a 30 bit unsigned integer. - Value too large to be represented as a 30 bit unsigned integer. + Der Wert ist zu groß, um als ganze 30-Bit-Zahl ohne Vorzeichen dargestellt zu werden. diff --git a/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.es.xlf b/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.es.xlf index ff604e67d730d..2a14d8cc85096 100644 --- a/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.es.xlf +++ b/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.es.xlf @@ -14,17 +14,17 @@ Arrays with more than one dimension cannot be serialized. - Arrays with more than one dimension cannot be serialized. + Las matrices con más de una dimensión no se pueden serializar. Cannot serialize type '{0}'. - Cannot serialize type '{0}'. + No se puede serializar el tipo "{0}". Deserialization reader for '{0}' read incorrect number of values. - Deserialization reader for '{0}' read incorrect number of values. + El lector de deserialización de "{0}" leyó un número incorrecto de valores. @@ -59,7 +59,7 @@ Stream is too long. - Stream is too long. + Secuencia demasiado larga. @@ -69,12 +69,12 @@ The type '{0}' is not understood by the serialization binder. - The type '{0}' is not understood by the serialization binder. + El enlazador de serialización no comprende el tipo "{0}". Value too large to be represented as a 30 bit unsigned integer. - Value too large to be represented as a 30 bit unsigned integer. + Valor demasiado largo para representarse como entero sin signo de 30 bits. diff --git a/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.fr.xlf b/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.fr.xlf index 02cf20ccdec2c..c37704a5aa9a6 100644 --- a/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.fr.xlf +++ b/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.fr.xlf @@ -14,17 +14,17 @@ Arrays with more than one dimension cannot be serialized. - Arrays with more than one dimension cannot be serialized. + Impossible de sérialiser les tableaux de plus d'une dimension. Cannot serialize type '{0}'. - Cannot serialize type '{0}'. + Impossible de sérialiser le type '{0}'. Deserialization reader for '{0}' read incorrect number of values. - Deserialization reader for '{0}' read incorrect number of values. + Le lecteur de désérialisation pour '{0}' a lu un nombre incorrect de valeurs. @@ -59,7 +59,7 @@ Stream is too long. - Stream is too long. + Le flux est trop long. @@ -69,12 +69,12 @@ The type '{0}' is not understood by the serialization binder. - The type '{0}' is not understood by the serialization binder. + Le type '{0}' n'est pas pris en charge par le binder de sérialisation. Value too large to be represented as a 30 bit unsigned integer. - Value too large to be represented as a 30 bit unsigned integer. + La valeur est trop grande pour être représentée comme un entier non signé 30 bits. diff --git a/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.it.xlf b/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.it.xlf index 42c82683c0763..e813878f47158 100644 --- a/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.it.xlf +++ b/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.it.xlf @@ -14,17 +14,17 @@ Arrays with more than one dimension cannot be serialized. - Arrays with more than one dimension cannot be serialized. + Non è possibile serializzare le matrice con più di una dimensione. Cannot serialize type '{0}'. - Cannot serialize type '{0}'. + Non è possibile serializzare il tipo '{0}'. Deserialization reader for '{0}' read incorrect number of values. - Deserialization reader for '{0}' read incorrect number of values. + Il numero di valori letto dal lettore di deserializzazioni per '{0}' non è corretto. @@ -59,7 +59,7 @@ Stream is too long. - Stream is too long. + Il flusso è troppo lungo. @@ -69,12 +69,12 @@ The type '{0}' is not understood by the serialization binder. - The type '{0}' is not understood by the serialization binder. + Il tipo '{0}' non è riconosciuto dal binder di serializzazioni. Value too large to be represented as a 30 bit unsigned integer. - Value too large to be represented as a 30 bit unsigned integer. + Il valore è troppo grande per essere rappresentato come intero senza segno a 30 bit. diff --git a/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.ja.xlf b/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.ja.xlf index 4fbeeb045ad00..3e5cc2ae67715 100644 --- a/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.ja.xlf +++ b/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.ja.xlf @@ -14,17 +14,17 @@ Arrays with more than one dimension cannot be serialized. - Arrays with more than one dimension cannot be serialized. + 複数の次元を持つ配列はシリアル化できません。 Cannot serialize type '{0}'. - Cannot serialize type '{0}'. + 型 '{0}' をシリアル化できません。 Deserialization reader for '{0}' read incorrect number of values. - Deserialization reader for '{0}' read incorrect number of values. + {0}' の逆シリアル化のリーダーが、正しくない数の値を読み取りました。 @@ -59,7 +59,7 @@ Stream is too long. - Stream is too long. + ストリームが長すぎます。 @@ -69,12 +69,12 @@ The type '{0}' is not understood by the serialization binder. - The type '{0}' is not understood by the serialization binder. + 型 '{0}' がシリアル化バインダーで認識されません。 Value too large to be represented as a 30 bit unsigned integer. - Value too large to be represented as a 30 bit unsigned integer. + 値が大きすぎるため、30 ビットの符号なし整数として表すことができません。 diff --git a/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.ko.xlf b/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.ko.xlf index 35f0444fbd0f0..e8a94c83918dc 100644 --- a/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.ko.xlf +++ b/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.ko.xlf @@ -14,17 +14,17 @@ Arrays with more than one dimension cannot be serialized. - Arrays with more than one dimension cannot be serialized. + 차원이 두 개 이상인 배열을 직렬화할 수 없습니다. Cannot serialize type '{0}'. - Cannot serialize type '{0}'. + {0}' 형식을 직렬화할 수 없습니다. Deserialization reader for '{0}' read incorrect number of values. - Deserialization reader for '{0}' read incorrect number of values. + {0}'에 대한 역직렬화 판독기가 잘못된 숫자 값을 읽습니다. @@ -59,7 +59,7 @@ Stream is too long. - Stream is too long. + 스트림이 너무 깁니다. @@ -69,12 +69,12 @@ The type '{0}' is not understood by the serialization binder. - The type '{0}' is not understood by the serialization binder. + 직렬화 바인더가 '{0}' 형식을 인식할 수 없습니다. Value too large to be represented as a 30 bit unsigned integer. - Value too large to be represented as a 30 bit unsigned integer. + 값이 너무 커서 30비트 정수로 표시할 수 없습니다. diff --git a/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.pl.xlf b/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.pl.xlf index 452811f4de1bc..69470fec89c14 100644 --- a/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.pl.xlf +++ b/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.pl.xlf @@ -14,17 +14,17 @@ Arrays with more than one dimension cannot be serialized. - Arrays with more than one dimension cannot be serialized. + Nie można przeprowadzić serializacji tablic z więcej niż jednym wymiarem. Cannot serialize type '{0}'. - Cannot serialize type '{0}'. + Nie można serializować typu „{0}”. Deserialization reader for '{0}' read incorrect number of values. - Deserialization reader for '{0}' read incorrect number of values. + Czytnik deserializacji dla elementu „{0}” odczytuje nieprawidłową liczbę wartości. @@ -59,7 +59,7 @@ Stream is too long. - Stream is too long. + Strumień jest za długi. @@ -69,12 +69,12 @@ The type '{0}' is not understood by the serialization binder. - The type '{0}' is not understood by the serialization binder. + Typ „{0}” nie jest zrozumiały dla integratora serializacji. Value too large to be represented as a 30 bit unsigned integer. - Value too large to be represented as a 30 bit unsigned integer. + Wartość jest zbyt duża, dlatego nie może być reprezentowana jako 30-bitowa liczba całkowita bez znaku. diff --git a/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.pt-BR.xlf b/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.pt-BR.xlf index d515b20b43067..07eb624eee393 100644 --- a/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.pt-BR.xlf +++ b/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.pt-BR.xlf @@ -14,17 +14,17 @@ Arrays with more than one dimension cannot be serialized. - Arrays with more than one dimension cannot be serialized. + As matrizes com mais de uma dimensão não podem ser serializadas. Cannot serialize type '{0}'. - Cannot serialize type '{0}'. + Não é possível serializar o tipo '{0}'. Deserialization reader for '{0}' read incorrect number of values. - Deserialization reader for '{0}' read incorrect number of values. + O leitor de desserialização para '{0}' lê o número incorreto de valores. @@ -59,7 +59,7 @@ Stream is too long. - Stream is too long. + O fluxo é muito longo. @@ -69,12 +69,12 @@ The type '{0}' is not understood by the serialization binder. - The type '{0}' is not understood by the serialization binder. + O tipo '{0}' não é compreendido pelo associador de serialização. Value too large to be represented as a 30 bit unsigned integer. - Value too large to be represented as a 30 bit unsigned integer. + Valor muito grande para ser representado como um inteiro não assinado de 30 bits. diff --git a/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.ru.xlf b/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.ru.xlf index 957132292be27..fde68c6c45f3c 100644 --- a/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.ru.xlf +++ b/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.ru.xlf @@ -14,17 +14,17 @@ Arrays with more than one dimension cannot be serialized. - Arrays with more than one dimension cannot be serialized. + Массивы с несколькими измерениями нельзя сериализовать. Cannot serialize type '{0}'. - Cannot serialize type '{0}'. + Невозможно сериализовать тип "{0}". Deserialization reader for '{0}' read incorrect number of values. - Deserialization reader for '{0}' read incorrect number of values. + Считыватель десериализации для "{0}" считал неверное количество значений. @@ -59,7 +59,7 @@ Stream is too long. - Stream is too long. + Слишком длинный поток. @@ -69,12 +69,12 @@ The type '{0}' is not understood by the serialization binder. - The type '{0}' is not understood by the serialization binder. + Тип "{0}" не распознан модулем привязки сериализации. Value too large to be represented as a 30 bit unsigned integer. - Value too large to be represented as a 30 bit unsigned integer. + Слишком большое значение для представления в виде 30-разрядного целого числа без знака. diff --git a/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.tr.xlf b/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.tr.xlf index a73eee2a2aa51..957cd9aca8dd0 100644 --- a/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.tr.xlf +++ b/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.tr.xlf @@ -14,17 +14,17 @@ Arrays with more than one dimension cannot be serialized. - Arrays with more than one dimension cannot be serialized. + Birden çok boyutlu diziler seri hale getirilemez. Cannot serialize type '{0}'. - Cannot serialize type '{0}'. + {0}' türü seri hale getirilemiyor. Deserialization reader for '{0}' read incorrect number of values. - Deserialization reader for '{0}' read incorrect number of values. + {0}' türünün seri durumdan çıkarma okuyucusu, yanlış sayıda değer okudu. @@ -59,7 +59,7 @@ Stream is too long. - Stream is too long. + Akış çok uzun. @@ -69,12 +69,12 @@ The type '{0}' is not understood by the serialization binder. - The type '{0}' is not understood by the serialization binder. + {0}' türü, serileştirme bağlayıcısı tarafından anlaşılamıyor. Value too large to be represented as a 30 bit unsigned integer. - Value too large to be represented as a 30 bit unsigned integer. + Değer, 30 bit işaretsiz tamsayı olarak temsil edilemeyecek kadar büyük. diff --git a/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.zh-Hans.xlf b/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.zh-Hans.xlf index 88dfe395d5a2e..4ebf61b0e734d 100644 --- a/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.zh-Hans.xlf +++ b/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.zh-Hans.xlf @@ -14,17 +14,17 @@ Arrays with more than one dimension cannot be serialized. - Arrays with more than one dimension cannot be serialized. + 不能序列化具有多个维度的数组。 Cannot serialize type '{0}'. - Cannot serialize type '{0}'. + 无法序列化类型“{0}”。 Deserialization reader for '{0}' read incorrect number of values. - Deserialization reader for '{0}' read incorrect number of values. + “{0}”的反序列化读取器读取到错误数量的值。 @@ -59,7 +59,7 @@ Stream is too long. - Stream is too long. + “流”过长。 @@ -69,12 +69,12 @@ The type '{0}' is not understood by the serialization binder. - The type '{0}' is not understood by the serialization binder. + 序列化绑定器不理解“{0}”类型。 Value too large to be represented as a 30 bit unsigned integer. - Value too large to be represented as a 30 bit unsigned integer. + 值太大,无法表示为 30 位无符号整数。 diff --git a/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.zh-Hant.xlf b/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.zh-Hant.xlf index e29f74fb25483..314e425ff1bfb 100644 --- a/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.zh-Hant.xlf +++ b/src/CodeStyle/Core/Analyzers/xlf/CodeStyleResources.zh-Hant.xlf @@ -14,17 +14,17 @@ Arrays with more than one dimension cannot be serialized. - Arrays with more than one dimension cannot be serialized. + 無法序列化包含多個維度的陣列。 Cannot serialize type '{0}'. - Cannot serialize type '{0}'. + 無法將類型 '{0}' 序列化。 Deserialization reader for '{0}' read incorrect number of values. - Deserialization reader for '{0}' read incorrect number of values. + {0}' 的還原序列化讀取器所讀取的值數目不正確。 @@ -59,7 +59,7 @@ Stream is too long. - Stream is too long. + 資料流過長。 @@ -69,12 +69,12 @@ The type '{0}' is not understood by the serialization binder. - The type '{0}' is not understood by the serialization binder. + 序列化繫結器無法辨識類型 '{0}'。 Value too large to be represented as a 30 bit unsigned integer. - Value too large to be represented as a 30 bit unsigned integer. + 值太大,無法呈現為 30 位元不帶正負號的整數。 diff --git a/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.cs.xlf b/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.cs.xlf index 417ef135e0a58..559726ff639c6 100644 --- a/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.cs.xlf +++ b/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.cs.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Odebrat tuto hodnotu, když se přidá jiná https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.de.xlf b/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.de.xlf index e62584a8010ac..d5a6d6aaca6f7 100644 --- a/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.de.xlf +++ b/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.de.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Dieser Wert wird entfernt, wenn ein anderer hinzugefügt wird. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.es.xlf b/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.es.xlf index d71598e9338ae..2d94e4f72ae08 100644 --- a/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.es.xlf +++ b/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.es.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Quite este valor cuando se agregue otro. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.fr.xlf b/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.fr.xlf index 402287ae29cce..d090cec024319 100644 --- a/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.fr.xlf +++ b/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.fr.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Supprimer cette valeur quand une autre est ajoutée. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.it.xlf b/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.it.xlf index 8bb321b31fae2..39117266e3829 100644 --- a/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.it.xlf +++ b/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.it.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Rimuovere questo valore quando ne viene aggiunto un altro. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.ja.xlf b/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.ja.xlf index 4a93ec0fd92ed..c6f9b412ca04e 100644 --- a/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.ja.xlf +++ b/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.ja.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + 別の値が追加されたら、この値を削除します。 https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.ko.xlf b/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.ko.xlf index ee620f1a28fa2..2fdb94976762d 100644 --- a/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.ko.xlf +++ b/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.ko.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + 다른 값을 추가할 때 이 값을 제거하세요. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.pl.xlf b/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.pl.xlf index bb4d8115c8a65..676ecc024083f 100644 --- a/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.pl.xlf +++ b/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.pl.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Usuń tę wartość, gdy dodawana jest kolejna. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.pt-BR.xlf b/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.pt-BR.xlf index 9701a816179b9..4b35061ad6e5c 100644 --- a/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.pt-BR.xlf +++ b/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.pt-BR.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Remover este valor quando outro for adicionado. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.ru.xlf b/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.ru.xlf index 1f27af27054fd..a5527cc1adace 100644 --- a/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.ru.xlf +++ b/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.ru.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Удалите это значение при добавлении другого значения. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.tr.xlf b/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.tr.xlf index d5bebc2836ac3..65ac78f824b91 100644 --- a/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.tr.xlf +++ b/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.tr.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Başka bir değer eklendiğinde bu değeri kaldırın. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.zh-Hans.xlf b/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.zh-Hans.xlf index 2c8e822f8144d..1a6295ceca776 100644 --- a/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.zh-Hans.xlf +++ b/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.zh-Hans.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + 在添加其他值时删除此值。 https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.zh-Hant.xlf b/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.zh-Hant.xlf index 947024c7afb02..47e57451acb6b 100644 --- a/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.zh-Hant.xlf +++ b/src/CodeStyle/Core/CodeFixes/xlf/CodeStyleFixesResources.zh-Hant.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + 當新增另一個值時移除此值。 https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Compilers/CSharp/Portable/xlf/CSharpResources.cs.xlf b/src/Compilers/CSharp/Portable/xlf/CSharpResources.cs.xlf index c910a1f397979..2c2fe18078cd4 100644 --- a/src/Compilers/CSharp/Portable/xlf/CSharpResources.cs.xlf +++ b/src/Compilers/CSharp/Portable/xlf/CSharpResources.cs.xlf @@ -104,7 +104,7 @@ Local function '{0}' must be 'static' in order to use the Conditional attribute - Local function '{0}' must be 'static' in order to use the Conditional attribute + Aby bylo možné používat atribut Conditional, musí být místní funkce {0} static. @@ -179,17 +179,17 @@ An expression tree may not contain a from-end index ('^') expression. - An expression tree may not contain a from-end index ('^') expression. + Strom výrazů nesmí obsahovat výraz indexu od-do (^). An expression tree may not contain a pattern System.Index or System.Range indexer access - An expression tree may not contain a pattern System.Index or System.Range indexer access + Strom výrazů možná neobsahuje vzor přístupu indexeru System.Index nebo System.Range. An expression tree may not contain a range ('..') expression. - An expression tree may not contain a range ('..') expression. + Strom výrazů nesmí obsahovat výraz rozsahu (..). @@ -344,7 +344,7 @@ Output directory could not be determined - Output directory could not be determined + Nepovedlo se určit výstupní adresář. @@ -459,7 +459,7 @@ stdin argument '-' is specified, but input has not been redirected from the standard input stream. - stdin argument '-' is specified, but input has not been redirected from the standard input stream. + Zadal se argument stdin -, ale vstup se nepřesměroval na stream standardního vstupu. @@ -691,7 +691,7 @@ a part of -modulename:<string> Specify the name of the source module - + Parametry kompilátoru Visual C# - VÝSTUPNÍ SOUBORY - @@ -756,13 +756,15 @@ -refonly Vytvoří referenční sestavení na místě hlavního výstupu. -instrument:TestCoverage Vytvoří sestavení instrumentované ke shromažďování informací o pokrytí. --sourcelink:<soubor> Informace o zdrojovém odkazu vkládané do souboru PDB. - +-sourcelink:<soubor> Informace o zdrojovém odkazu vkládané do souboru PDB.. + - CHYBY A UPOZORNĚNÍ - -warnaserror[+|-] Hlásí všechna upozornění jako chyby. -warnaserror[+|-]:<seznam upozornění> Hlásí zadaná upozornění jako chyby. + (Pro všechna upozornění na možnost použití hodnoty null použijte nullable.) -warn:<n> Nastaví úroveň pro upozornění (0–4). (Krátký formát: -w) -nowarn:<seznam upozornění> Zakáže zadaná upozornění. + (Pro všechna upozornění na možnost použití hodnoty null použijte nullable.) -ruleset:<soubor> Určuje soubor sady pravidel, která zakazuje specifickou diagnostiku. -errorlog:<soubor>>[,version=<verze_sarif>] @@ -891,7 +893,7 @@ extern local functions - extern local functions + externí místní funkce @@ -906,7 +908,7 @@ local function attributes - local function attributes + atributy místních funkcí @@ -916,7 +918,7 @@ MemberNotNull attribute - MemberNotNull attribute + Atribut MemberNotNull @@ -1441,12 +1443,12 @@ Method '{0}' lacks `[DoesNotReturn]` annotation to match implemented or overridden member. - Method '{0}' lacks `[DoesNotReturn]` annotation to match implemented or overridden member. + Metodě {0} chybí poznámka [DoesNotReturn], která by odpovídala implementovanému nebo přepsanému členu. Method lacks `[DoesNotReturn]` annotation to match implemented or overridden member. - Method lacks `[DoesNotReturn]` annotation to match implemented or overridden member. + Metodě chybí poznámka [DoesNotReturn], která by odpovídala implementovanému nebo přepsanému členu @@ -1461,22 +1463,22 @@ Generator '{0}' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. - Generator '{0}' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. + Generátor {0} nemohl vygenerovat zdroj. V důsledku toho může docházet k chybám kompilace a generátor nebude přispívat na výstup. Generator failed to generate source. - Generator failed to generate source. + Generátoru se nepovedlo vygenerovat zdroj Generator '{0}' failed to initialize. It will not contribute to the output and compilation errors may occur as a result. - Generator '{0}' failed to initialize. It will not contribute to the output and compilation errors may occur as a result. + Generátor {0} se nepovedlo inicializovat. V důsledku toho může docházet k chybám kompilace a generátor nebude přispívat na výstup. Generator failed to initialize. - Generator failed to initialize. + Generátor se nepovedlo inicializovat @@ -1521,32 +1523,32 @@ Member '{0}' must have a non-null value when exiting. - Member '{0}' must have a non-null value when exiting. + Člen {0} musí mít při ukončení hodnotu jinou než null. Member '{0}' cannot be used in this attribute. - Member '{0}' cannot be used in this attribute. + Člen {0} se v tomto atributu nedá použít. Member cannot be used in this attribute. - Member cannot be used in this attribute. + Člen se v tomto atributu nedá použít. Member '{0}' must have a non-null value when exiting with '{1}'. - Member '{0}' must have a non-null value when exiting with '{1}'. + Člen {0} musí mít při ukončení s návratovou hodnotou {1} hodnotu jinou než null. Member must have a non-null value when exiting in some condition. - Member must have a non-null value when exiting in some condition. + Člen musí mít při ukončení za určité podmínky hodnotu jinou než null Member must have a non-null value when exiting. - Member must have a non-null value when exiting. + Člen musí mít při ukončení hodnotu jinou než null @@ -1861,22 +1863,22 @@ Parameter '{0}' must have a non-null value when exiting with '{1}'. - Parametr {0} nemusí mít při ukončení s {1} hodnotu null. + Parametr {0} musí mít při ukončení s návratovou hodnotou {1} hodnotu jinou než null. Parameter must have a non-null value when exiting in some condition. - Parametr nemusí mít při ukončení za určité podmínky hodnotu null + Parametr musí mít při ukončení za určité podmínky hodnotu jinou než null Parameter '{0}' must have a non-null value when exiting. - Parameter '{0}' must have a non-null value when exiting. + Parametr {0} musí mít při ukončení hodnotu jinou než null. Parameter must have a non-null value when exiting. - Parameter must have a non-null value when exiting. + Parametr musí mít při ukončení hodnotu jinou než null @@ -1886,7 +1888,7 @@ A method marked [DoesNotReturn] should not return. - Metoda označená jako [DoesNotReturn] by neměla vracet hodnotu + Metoda označená jako [DoesNotReturn] by se neměla ukončit standardním způsobem @@ -1921,62 +1923,62 @@ Nullability of reference types in type of parameter '{0}' doesn't match implemented member '{1}' (possibly because of nullability attributes). - Nullability of reference types in type of parameter '{0}' doesn't match implemented member '{1}' (possibly because of nullability attributes). + Typ odkazu s možnou hodnotou null v typu parametru {0} neodpovídá implementovanému členu {1} (pravděpodobně kvůli atributům možnosti použití hodnoty null). Nullability of reference types in type of parameter doesn't match implemented member (possibly because of nullability attributes). - Nullability of reference types in type of parameter doesn't match implemented member (possibly because of nullability attributes). + Typ odkazu s možnou hodnotou null v typu parametru neodpovídá implementovanému členu (pravděpodobně kvůli atributům možnosti použití hodnoty null) Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match implicitly implemented member '{2}' (possibly because of nullability attributes). - Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match implicitly implemented member '{2}' (possibly because of nullability attributes). + Typ odkazu s možnou hodnotou null v typu parametru {0} z {1} neodpovídá implicitně implementovanému členu {2} (pravděpodobně kvůli atributům možnosti použití hodnoty null). Nullability of reference types in type of parameter doesn't match implicitly implemented member (possibly because of nullability attributes). - Nullability of reference types in type of parameter doesn't match implicitly implemented member (possibly because of nullability attributes). + Typ odkazu s možnou hodnotou null v typu parametru neodpovídá implicitně implementovanému členu (pravděpodobně kvůli atributům možnosti použití hodnoty null) Nullability of type of parameter '{0}' doesn't match overridden member (possibly because of nullability attributes). - Nullability of type of parameter '{0}' doesn't match overridden member (possibly because of nullability attributes). + Možnost použití hodnoty null u typu parametru {0} neodpovídá přepsanému členu (pravděpodobně kvůli atributům možnosti použití hodnoty null). Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes). - Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes). + Možnost použití hodnoty null u typu parametru neodpovídá přepsanému členu (pravděpodobně kvůli atributům možnosti použití hodnoty null) Nullability of reference types in return type doesn't match implemented member '{0}' (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implemented member '{0}' (possibly because of nullability attributes). + Typ odkazu s možnou hodnotou null ve vráceném typu neodpovídá implementovanému členu {0} (pravděpodobně kvůli atributům možnosti použití hodnoty null). Nullability of reference types in return type doesn't match implemented member (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implemented member (possibly because of nullability attributes). + Typ odkazu s možnou hodnotou null v návratovém typu neodpovídá implementovanému členu (pravděpodobně kvůli atributům možnosti použití hodnoty null) Nullability of reference types in return type of '{0}' doesn't match implicitly implemented member '{1}' (possibly because of nullability attributes). - Nullability of reference types in return type of '{0}' doesn't match implicitly implemented member '{1}' (possibly because of nullability attributes). + Typ odkazu s možnou hodnotou null v návratovém typu {0} neodpovídá implicitně implementovanému členu {1} (pravděpodobně kvůli atributům možnosti použití hodnoty null). Nullability of reference types in return type doesn't match implicitly implemented member (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implicitly implemented member (possibly because of nullability attributes). + Typ odkazu s možnou hodnotou null v návratovém typu neodpovídá implicitně implementovanému členu (pravděpodobně kvůli atributům možnosti použití hodnoty null) Nullability of return type doesn't match overridden member (possibly because of nullability attributes). - Nullability of return type doesn't match overridden member (possibly because of nullability attributes). + Možnost použití hodnoty null u návratového typu neodpovídá přepsanému členu (pravděpodobně kvůli atributům možnosti použití hodnoty null) Nullability of return type doesn't match overridden member (possibly because of nullability attributes). - Nullability of return type doesn't match overridden member (possibly because of nullability attributes). + Možnost použití hodnoty null u návratového typu neodpovídá přepsanému členu (pravděpodobně kvůli atributům možnosti použití hodnoty null) @@ -4265,7 +4267,7 @@ Pokud se taková třída používá jako základní třída a pokud odvozující The DllImport attribute cannot be applied to a method that is generic or contained in a generic method or type. - Atribut DllImport nejde použít u metody, která je obecná nebo obsažená v obecném typu. + Atribut DllImport se nedá použít u metody, která je obecná nebo obsažená v obecné metodě nebo typu. @@ -6139,7 +6141,7 @@ Blok catch() po bloku catch (System.Exception e) může zachytit výjimky, kter A readonly field cannot be assigned to (except in a constructor of the class in which the field is defined or a variable initializer)) - Do pole jen pro čtení nejde provést přiřazení (kromě případu, kdy je v konstruktoru třídy, ve které je pole definované, nebo v inicializátoru proměnné). + Do pole jen pro čtení není možné přiřazovat hodnoty (kromě případu, kdy je v konstruktoru třídy, ve které je pole definované, nebo v inicializátoru proměnné). @@ -9767,7 +9769,7 @@ Pokud chcete odstranit toto varování, můžete místo toho použít /reference Local function '{0}' must declare a body because it is not marked 'static extern'. - '{0} je lokální funkce a musí proto vždy obsahovat text. + Místní funkce {0} musí deklarovat tělo, protože není označená jako static extern. diff --git a/src/Compilers/CSharp/Portable/xlf/CSharpResources.de.xlf b/src/Compilers/CSharp/Portable/xlf/CSharpResources.de.xlf index ccfde990cee99..6f83f5309fcba 100644 --- a/src/Compilers/CSharp/Portable/xlf/CSharpResources.de.xlf +++ b/src/Compilers/CSharp/Portable/xlf/CSharpResources.de.xlf @@ -104,7 +104,7 @@ Local function '{0}' must be 'static' in order to use the Conditional attribute - Local function '{0}' must be 'static' in order to use the Conditional attribute + Die lokale Funktion "{0}" muss als "static" gekennzeichnet sein, um das Conditional-Attribut verwenden zu können. @@ -179,17 +179,17 @@ An expression tree may not contain a from-end index ('^') expression. - An expression tree may not contain a from-end index ('^') expression. + Eine Ausdrucksbaumstruktur darf keinen vom Ende ausgehenden Indexausdruck ("^") enthalten. An expression tree may not contain a pattern System.Index or System.Range indexer access - An expression tree may not contain a pattern System.Index or System.Range indexer access + Eine Ausdrucksbaumstruktur darf keinen System.Index- oder System.Range-Musterindexerzugriff enthalten. An expression tree may not contain a range ('..') expression. - An expression tree may not contain a range ('..') expression. + Eine Ausdrucksbaumstruktur darf keinen Bereichsausdruck ("..") enthalten. @@ -344,7 +344,7 @@ Output directory could not be determined - Output directory could not be determined + Das Ausgabeverzeichnis konnte nicht bestimmt werden. @@ -459,7 +459,7 @@ stdin argument '-' is specified, but input has not been redirected from the standard input stream. - stdin argument '-' is specified, but input has not been redirected from the standard input stream. + Das stdin-Argument "-" ist angegeben, aber die Eingabe wurde nicht vom Standardeingabestream umgeleitet. @@ -691,7 +691,7 @@ a part of -modulename:<string> Specify the name of the source module - + Visual C#-Compileroptionen – AUSGABEDATEIEN – @@ -760,9 +760,11 @@ – FEHLER UND WARNUNGEN – -warnaserror[+|-] Meldet alle Warnungen als Fehler. --warnaserror[+|-]:<Warnungsliste> Meldet bestimmte Warnungen als Fehler. +-warnaserror[+|-]:<Warnungsliste> Meldet bestimmte Warnungen als Fehler + (Verwendung von "nullable" für alle Warnungen zur NULL-Zulässigkeit). -warn:<n> Legt die Warnstufe fest (0–4) (Kurzform: -w). --nowarn:<Warnungsliste> Deaktiviert bestimmte Warnmeldungen. +-nowarn:<Warnungsliste> Deaktiviert bestimmte Warnmeldungen + (Verwendung von "nullable" für alle Warnungen zur NULL-Zulässigkeit). -ruleset:<Datei> Gibt eine Regelsatzdatei an, die bestimmte Diagnosevorgänge deaktiviert. -errorlog:<Datei>[,version=<sarif_version>] @@ -891,7 +893,7 @@ extern local functions - extern local functions + Externe lokale Funktionen @@ -906,7 +908,7 @@ local function attributes - local function attributes + Attribute lokaler Funktionen @@ -916,7 +918,7 @@ MemberNotNull attribute - MemberNotNull attribute + MemberNotNull-Attribut @@ -1441,12 +1443,12 @@ Method '{0}' lacks `[DoesNotReturn]` annotation to match implemented or overridden member. - Method '{0}' lacks `[DoesNotReturn]` annotation to match implemented or overridden member. + In der Methode "{0}" fehlt die Anmerkung "[DoesNotReturn]" für den Abgleich mit dem implementierten oder überschriebenen Member. Method lacks `[DoesNotReturn]` annotation to match implemented or overridden member. - Method lacks `[DoesNotReturn]` annotation to match implemented or overridden member. + In der Methode fehlt die Anmerkung "[DoesNotReturn]" für den Abgleich mit dem implementierten oder überschriebenen Member. @@ -1461,22 +1463,22 @@ Generator '{0}' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. - Generator '{0}' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. + Fehler beim Generieren der Quelle durch den Generator "{0}". Er wird bei der Ausgabe nicht berücksichtigt, deshalb kann es zu Kompilierungsfehlern kommen. Generator failed to generate source. - Generator failed to generate source. + Fehler beim Generieren der Quelle durch den Generator. Generator '{0}' failed to initialize. It will not contribute to the output and compilation errors may occur as a result. - Generator '{0}' failed to initialize. It will not contribute to the output and compilation errors may occur as a result. + Fehler beim Initialisieren des Generators "{0}". Er wird bei der Ausgabe nicht berücksichtigt, deshalb kann es zu Kompilierungsfehlern kommen. Generator failed to initialize. - Generator failed to initialize. + Fehler beim Initialisieren des Generators. @@ -1521,32 +1523,32 @@ Member '{0}' must have a non-null value when exiting. - Member '{0}' must have a non-null value when exiting. + Der Member "{0}" muss beim Beenden einen Wert ungleich NULL aufweisen. Member '{0}' cannot be used in this attribute. - Member '{0}' cannot be used in this attribute. + Der Member "{0}" kann in diesem Attribut nicht verwendet werden. Member cannot be used in this attribute. - Member cannot be used in this attribute. + Der Member kann in diesem Attribut nicht verwendet werden. Member '{0}' must have a non-null value when exiting with '{1}'. - Member '{0}' must have a non-null value when exiting with '{1}'. + Der Member "{0}" muss beim Beenden mit "{1}" einen Wert ungleich NULL aufweisen. Member must have a non-null value when exiting in some condition. - Member must have a non-null value when exiting in some condition. + Der Member muss beim Beenden mit einer bestimmten Bedingung einen Wert ungleich NULL aufweisen. Member must have a non-null value when exiting. - Member must have a non-null value when exiting. + Der Member muss beim Beenden einen Wert ungleich NULL aufweisen. @@ -1861,22 +1863,22 @@ Parameter '{0}' must have a non-null value when exiting with '{1}'. - Der Parameter "{0}" darf beim Beenden mit "{1}" keinen NULL-Wert aufweisen. + Der Parameter "{0}" muss beim Beenden mit "{1}" einen Wert ungleich NULL aufweisen. Parameter must have a non-null value when exiting in some condition. - Der Parameter darf keinen NULL-Wert aufweisen, wenn er in einer Bedingung beendet wird. + Der Parameter muss beim Beenden mit einer bestimmten Bedingung einen Wert ungleich NULL aufweisen. Parameter '{0}' must have a non-null value when exiting. - Parameter '{0}' must have a non-null value when exiting. + Der Parameter "{0}" muss beim Beenden einen Wert ungleich NULL aufweisen. Parameter must have a non-null value when exiting. - Parameter must have a non-null value when exiting. + Der Parameter muss beim Beenden einen Wert ungleich NULL aufweisen. @@ -1921,62 +1923,62 @@ Nullability of reference types in type of parameter '{0}' doesn't match implemented member '{1}' (possibly because of nullability attributes). - Nullability of reference types in type of parameter '{0}' doesn't match implemented member '{1}' (possibly because of nullability attributes). + Die NULL-Zulässigkeit von Verweistypen im Typ des Parameters "{0}" entspricht (möglicherweise aufgrund von Attributen für die NULL-Zulässigkeit) nicht dem implementierten Member "{1}". Nullability of reference types in type of parameter doesn't match implemented member (possibly because of nullability attributes). - Nullability of reference types in type of parameter doesn't match implemented member (possibly because of nullability attributes). + Die NULL-Zulässigkeit von Verweistypen im Typ des Parameters entspricht (möglicherweise aufgrund von Attributen für die NULL-Zulässigkeit) nicht dem implementierten Member. Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match implicitly implemented member '{2}' (possibly because of nullability attributes). - Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match implicitly implemented member '{2}' (possibly because of nullability attributes). + Die NULL-Zulässigkeit von Verweistypen im Typ des Parameters "{0}" von "{1}" entspricht (möglicherweise aufgrund von Attributen für die NULL-Zulässigkeit) nicht dem implizit implementierten Member "{2}". Nullability of reference types in type of parameter doesn't match implicitly implemented member (possibly because of nullability attributes). - Nullability of reference types in type of parameter doesn't match implicitly implemented member (possibly because of nullability attributes). + Die NULL-Zulässigkeit von Verweistypen im Typ des Parameters entspricht (möglicherweise aufgrund von Attributen für die NULL-Zulässigkeit) nicht dem implizit implementierten Member. Nullability of type of parameter '{0}' doesn't match overridden member (possibly because of nullability attributes). - Nullability of type of parameter '{0}' doesn't match overridden member (possibly because of nullability attributes). + Die NULL-Zulässigkeit des Typs des Parameters "{0}" entspricht (möglicherweise aufgrund von Attributen für die NULL-Zulässigkeit) nicht dem überschriebenen Member. Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes). - Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes). + Die NULL-Zulässigkeit des Typs des Parameters entspricht (möglicherweise aufgrund von Attributen für die NULL-Zulässigkeit) nicht dem überschriebenen Member. Nullability of reference types in return type doesn't match implemented member '{0}' (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implemented member '{0}' (possibly because of nullability attributes). + Die NULL-Zulässigkeit von Verweistypen im Rückgabetyp entspricht (möglicherweise aufgrund von Attributen für die NULL-Zulässigkeit) nicht dem implementierten Member "{0}". Nullability of reference types in return type doesn't match implemented member (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implemented member (possibly because of nullability attributes). + Die NULL-Zulässigkeit von Verweistypen im Rückgabetyp entspricht (möglicherweise aufgrund von Attributen für die NULL-Zulässigkeit) nicht dem implementierten Member. Nullability of reference types in return type of '{0}' doesn't match implicitly implemented member '{1}' (possibly because of nullability attributes). - Nullability of reference types in return type of '{0}' doesn't match implicitly implemented member '{1}' (possibly because of nullability attributes). + Die NULL-Zulässigkeit von Verweistypen im Rückgabetyp "{0}" entspricht (möglicherweise aufgrund von Attributen für die NULL-Zulässigkeit) nicht dem implizit implementierten Member "{1}". Nullability of reference types in return type doesn't match implicitly implemented member (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implicitly implemented member (possibly because of nullability attributes). + Die NULL-Zulässigkeit von Verweistypen im Rückgabetyp entspricht (möglicherweise aufgrund von Attributen für die NULL-Zulässigkeit) nicht dem implizit implementierten Member. Nullability of return type doesn't match overridden member (possibly because of nullability attributes). - Nullability of return type doesn't match overridden member (possibly because of nullability attributes). + Die NULL-Zulässigkeit des Rückgabetyps entspricht (möglicherweise aufgrund von Attributen für die NULL-Zulässigkeit) nicht dem überschriebenen Member. Nullability of return type doesn't match overridden member (possibly because of nullability attributes). - Nullability of return type doesn't match overridden member (possibly because of nullability attributes). + Die NULL-Zulässigkeit des Rückgabetyps entspricht (möglicherweise aufgrund von Attributen für die NULL-Zulässigkeit) nicht dem überschriebenen Member. @@ -4265,7 +4267,7 @@ Wenn solch eine Klasse als Basisklasse verwendet wird und die ableitende Klasse The DllImport attribute cannot be applied to a method that is generic or contained in a generic method or type. - Das DllImport-Attribut kann nicht auf eine generische oder in einem generischen Typ enthaltene Methode angewendet werden. + Das DllImport-Attribut kann nicht auf eine Methode angewendet werden, die generisch ist oder in einer generischen Methode oder einem generischen Typ enthalten ist. @@ -9767,7 +9769,7 @@ Um die Warnung zu beheben, können Sie stattdessen /reference verwenden (Einbett Local function '{0}' must declare a body because it is not marked 'static extern'. - '"{0}" ist eine lokale Funktion und muss daher immer Text enthalten. + Die lokale Funktion "{0}" muss einen Textkörper deklarieren, weil sie nicht als "static extern" gekennzeichnet ist. diff --git a/src/Compilers/CSharp/Portable/xlf/CSharpResources.es.xlf b/src/Compilers/CSharp/Portable/xlf/CSharpResources.es.xlf index 59c27490225d7..9839080f96957 100644 --- a/src/Compilers/CSharp/Portable/xlf/CSharpResources.es.xlf +++ b/src/Compilers/CSharp/Portable/xlf/CSharpResources.es.xlf @@ -24,7 +24,7 @@ Operator '{0}' cannot be applied to 'default' and operand of type '{1}' because it is a type parameter that is not known to be a reference type - No se puede aplicar el operador "{0}" a "Predeterminado" y a un operando de tipo "{1}", ya que es un parámetro de tipo del que no se conoce que sea un tipo de referencia. + No se puede aplicar el operador "{0}" a "default" y a un operando de tipo "{1}", ya que es un parámetro de tipo del que no se conoce que sea un tipo de referencia. @@ -104,7 +104,7 @@ Local function '{0}' must be 'static' in order to use the Conditional attribute - Local function '{0}' must be 'static' in order to use the Conditional attribute + La función local "{0}" debe ser "static" para poder usar el atributo Conditional. @@ -179,17 +179,17 @@ An expression tree may not contain a from-end index ('^') expression. - An expression tree may not contain a from-end index ('^') expression. + Un árbol de expresión no puede contener una expresión de índice del otro extremo ("^"). An expression tree may not contain a pattern System.Index or System.Range indexer access - An expression tree may not contain a pattern System.Index or System.Range indexer access + Un árbol de expresión no puede contener un patrón System.Index o un acceso a indizador System.Range. An expression tree may not contain a range ('..') expression. - An expression tree may not contain a range ('..') expression. + Un árbol de expresión no puede contener una expresión de intervalo (".."). @@ -344,7 +344,7 @@ Output directory could not be determined - Output directory could not be determined + No se pudo determinar el directorio de salida. @@ -459,7 +459,7 @@ stdin argument '-' is specified, but input has not been redirected from the standard input stream. - stdin argument '-' is specified, but input has not been redirected from the standard input stream. + Se ha especificado el argumento stdin "-", pero la entrada no se ha redirigido desde el flujo de entrada estándar. @@ -691,64 +691,64 @@ a part of -modulename:<string> Specify the name of the source module - + Opciones del compilador de Visual C# - ARCHIVOS DE SALIDA - - -out:<archivo> Especifica el nombre del archivo de salida (el valor predeterminado: nombre base del archivo + -out:<archivo> Especifica el nombre del archivo de salida (el valor predeterminado: nombre base del archivo con la clase principal o el primer archivo) - -target:exe Compila un archivo ejecutable de consola (predeterminado) (forma + -target:exe Compila un archivo ejecutable de consola (predeterminado) (forma corta: -t:exe) - -target:winexe Compila un archivo ejecutable de Windows (forma corta: + -target:winexe Compila un archivo ejecutable de Windows (forma corta: -t:winexe) -target:library Compila una biblioteca (forma corta: -t:library) - -target:module Compila un módulo que se puede agregar a otro + -target:module Compila un módulo que se puede agregar a otro ensamblado (forma corta: -t:module) - -target:appcontainerexe Compila un archivo ejecutable Appcontainer (forma corta: + -target:appcontainerexe Compila un archivo ejecutable Appcontainer (forma corta: -t:appcontainerexe) - -target:winmdobj Compila un archivo intermedio de Windows Runtime - para que consuma WinMDExp (forma corta: -t:winmdobj) + -target:winmdobj Compila un archivo intermedio de Windows Runtime + para que lo consuma WinMDExp (forma corta: -t:winmdobj) -doc:<archivo> Archivo de documentación XML que se va a generar -refout:<archivo> Salida de ensamblado de referencia para generar -platform:<cadena> Limita en qué plataformas se puede ejecutar este código: x86, - Itanium, x64, arm, anycpu32bitpreferred o + Itanium, x64, arm, anycpu32bitpreferred o anycpu. La predeterminada es anycpu. - ARCHIVOS DE ENTRADA - - -recurse:<comodín> Incluye todos los archivos del directorio actual y los - subdirectorios de acuerdo con las especificaciones del + -recurse:<comodín> Incluye todos los archivos del directorio actual y los + subdirectorios de acuerdo con las especificaciones del comodín - -reference:<alias>=<archivo> Metadatos de referencia del archivo de + -reference:<alias>=<archivo> Metadatos de referencia del archivo de ensamblado especificado mediante el alias dado (forma corta: -r) - -reference:<lista de archivos> Metadatos de referencia de los archivos de + -reference:<lista de archivos> Metadatos de referencia de los archivos de ensamblado especificados (forma corta: -r) -addmodule:<lista de archivos> Vincula los módulos especificados en este ensamblado - -link:<lista de archivos> Inserta metadatos de los archivos de ensamblado de + -link:<lista de archivos> Inserta metadatos de los archivos de ensamblado de interoperabilidad especificados (forma corta: -l) -analyzer:<lista de archivos> Ejecuta los analizadores de este ensamblado (forma corta: -a) - -additionalfile:<lista de archivos> Archivos adicionales que no afectan directamente a la generación de código + -additionalfile:<lista de archivos> Archivos adicionales que no afectan directamente a la generación de código, pero que pueden usar los analizadores para producir errores o advertencias. -embed Inserta todos los archivos de origen en el PDB. - -embed:<lista de archivos> Inserta los archivos especificados en el PDB + -embed:<lista de archivos> Inserta archivos específicos en el PDB. - - RECURSOS - + - RECURSOS - -win32res:<archivo> Especifica un archivo de recursos Win32 (.res) -win32icon:<archivo> Usa este icono para la salida -win32manifest:<archivo> Especifica un archivo de manifiesto Win32 (.xml) -nowin32manifest No incluye el manifiesto Win32 predeterminado - -resource:<resinfo> Insertar el recurso especificado (forma corta: -res) - -linkresource:<info recurso> Vincula el recurso especificado con este ensamblado - (forma corta: -linkres) Donde el formato de resinfo + -resource:<info recurso> Inserta el recurso especificado (forma corta: -res) + -linkresource:<info recurso> Vincula el recurso especificado con este ensamblado + (forma corta: -linkres) Donde el formato de información del recurso es <archivo>[,<nombre de cadena>[,public|private]] - - GENERACIÓN DE CÓDIGO - + - GENERACIÓN DE CÓDIGO - -debug[+|-] Emite información de depuración -debug:{full|pdbonly|portable|embedded} - Especifica el tipo de depuración ("full"' es el valor predeterminado, + Especifica el tipo de depuración ("full"' es el valor predeterminado, "portable" es un formato multiplataforma, - "embedded" es un formato multiplataforma insertado en + "embedded" es un formato multiplataforma insertado en el archivo .dll o .exe de destino) -optimize[+|-] Permite optimizaciones (forma corta: -o) -deterministic Produce un ensamblado determinista @@ -761,38 +761,40 @@ - ERRORES Y ADVERTENCIAS - -warnaserror[+|-] Notifica todas las advertencias como errores -warnaserror[+|-]:<lista de advertencias> Notifica advertencias específicas como errores - -warn:<n> Establece el nivel de advertencia (de 0 a 4) (forma corta: -w) + (use "nullable" para todas las advertencias de nulabilidad) +-warn:<n> Establece el nivel de advertencia (de 0 a 4) (forma corta: -w) -nowarn:<lista de advertencias> Deshabilita mensajes de advertencia específicos - -ruleset:<archivo> Especifica un archivo de conjunto de reglas que deshabilite + (use "nullable" para todas las advertencias de nulabilidad) + -ruleset:<archivo> Especifica un archivo de conjunto de reglas que deshabilita diagnósticos específicos. -errorlog:<archivo>[,version=<versión_de_sarif >] Especifica un archivo para registrar todos los diagnósticos del compilador y el analizador. - sarif_version:{1|2|2.1} El valor predeterminado es 1. 2 y 2.1 - significa SARIF versión 2.1.0. + sarif_version:{1|2|2.1} El valor predeterminado es 1. 2 y 2.1, + ambos significan SARIF versión 2.1.0. -reportanalyzer Notifica información adicional del analizador, como el tiempo de ejecución. - LENGUAJE - -checked[+|-] Genera comprobaciones de desbordamiento -unsafe[+|-] Permite código "no seguro" - -define:<lista de símbolos> Define símbolos de compilación condicional (forma + -define:<lista de símbolos> Define símbolos de compilación condicional (forma corta: -d) --langversion:? Muestra los valores permitidos para la versión de lenguaje\ r --langversion:<cadena> Especifica la versión de lenguaje como - “latest” (última versión, incluidas las secundarias, +-langversion:? Muestra los valores permitidos para la versión de lenguaje +-langversion:<cadena> Especifica la versión de lenguaje, como + “latest” (última versión, incluidas las secundarias), “default” (igual que “latest”), “latestmajor” (última versión, excluidas las secundarias), - “preview” (última versión, incluidas las características en la versión preliminar no admitida) + “preview” (última versión, incluidas las características en versión preliminar no admitida) o versiones específicas como “6” o “7.1” -nullable[+|-] Especifique la opción de contexto anulable enable|disable. -nullable:{enable|disable|warnings|annotations} Especifique la opción de contexto anulable enable|disable|warnings|annotations. - SEGURIDAD - - -delaysign[+|-] Retrasa la firma del ensamblado usando solo la parte pública + -delaysign[+|-] Retrasa la firma del ensamblado usando solo la parte pública de la clave de nombre seguro - -publicsign[+|-] Publica la firma del ensamblado usando solo la parte pública + -publicsign[+|-] Firma pública del ensamblado usando solo la parte pública de la clave de nombre seguro -keyfile:<archivo> Especifica un archivo de clave de nombre seguro -keycontainer:<cadena> Especifica un contenedor de claves de nombres seguros @@ -811,34 +813,34 @@ -checksumalgorithm:<alg> Especifica el algoritmo para calcular la suma de comprobación del archivo de origen almacenado en PDB. Los valores admitidos son: SHA1 o SHA256 (predeterminado). - -codepage:<n> Especifica la página de código que se usará al abrir los archivos de - origen + -codepage:<n> Especifica la página de código que se usará al abrir los archivos de + código fuente -utf8output Mensajes de compilador de salida en codificación UTF-8 - -main:<tipo> Especifica el tipo que contiene el punto de entrada - (ignora todos los demás puntos de entrada posibles) (Forma + -main:<tipo> Especifica el tipo que contiene el punto de entrada + (ignora todos los demás puntos de entrada posibles) (Forma corta: -m) -fullpaths El compilador genera rutas de acceso completas - -filealign:<n> Especifica la alineación usada para las secciones del + -filealign:<n> Especifica la alineación usada para las secciones del archivo de salida -pathmap:<K1>=<V1>,<K2>=<V2>,... Especifica una asignación para los nombres de rutas de acceso de origen emitidos por el compilador. - -pdb:<archivo> Especifica el nombre de archivo de información de depuración (valor predeterminado: + -pdb:<archivo> Especifica el nombre de archivo de información de depuración (valor predeterminado: nombre de archivo de salida con la extensión .pdb) - -errorendlocation Línea y columna de salida de la ubicación final de + -errorendlocation Línea y columna de salida de la ubicación final de cada error -preferreduilang Especifica el nombre del lenguaje de salida preferido. -nosdkpath Deshabilita la búsqueda de la ruta del SDK predeterminada para los ensamblados de biblioteca estándar. -nostdlib[+|-] No hace referencia a la biblioteca estándar (mscorlib.dll) -subsystemversion:<cadena> Especifica la versión del subsistema de este ensamblado - -lib:<lista de archivos> Especifica directorios adicionales en los que buscar + -lib:<lista de archivos> Especifica directorios adicionales en los que buscar referencias - -errorreport:<cadena> Especifica cómo tratar los errores internos del compilador: - avisar, enviar, poner en cola o ninguno. El valor predeterminado es + -errorreport:<cadena> Especifica cómo tratar los errores internos del compilador: + avisar, enviar, poner en cola o ninguno. El valor predeterminado es poner en cola. - -appconfig:<archivo> Especifica un archivo de configuración de aplicación + -appconfig:<archivo> Especifica un archivo de configuración de aplicación que contenga opciones de enlace de ensamblado - -moduleassemblyname:<cadena> Nombre del ensamblado del que esté módulo + -moduleassemblyname:<cadena> Nombre del ensamblado del que esté módulo formará parte -modulename:<cadena> Especifica el nombre del módulo de origen @@ -891,7 +893,7 @@ extern local functions - extern local functions + funciones locales extern @@ -906,7 +908,7 @@ local function attributes - local function attributes + atributos de función local @@ -916,7 +918,7 @@ MemberNotNull attribute - MemberNotNull attribute + Atributo MemberNotNull @@ -1441,12 +1443,12 @@ Method '{0}' lacks `[DoesNotReturn]` annotation to match implemented or overridden member. - Method '{0}' lacks `[DoesNotReturn]` annotation to match implemented or overridden member. + El método "{0}" carece de una anotación "[DoesNotReturn]" que coincida con un miembro implementado o invalidado. Method lacks `[DoesNotReturn]` annotation to match implemented or overridden member. - Method lacks `[DoesNotReturn]` annotation to match implemented or overridden member. + El método carece de una anotación "[DoesNotReturn]" que coincida con un miembro implementado o invalidado. @@ -1461,22 +1463,22 @@ Generator '{0}' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. - Generator '{0}' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. + Error del generador "{0}" al crear código fuente. No contribuirá a la salida y pueden producirse errores de compilación como resultado. Generator failed to generate source. - Generator failed to generate source. + Error del generador al crear código fuente. Generator '{0}' failed to initialize. It will not contribute to the output and compilation errors may occur as a result. - Generator '{0}' failed to initialize. It will not contribute to the output and compilation errors may occur as a result. + Error de inicialización del generador "{0}". No contribuirá a la salida y pueden producirse errores de compilación como resultado. Generator failed to initialize. - Generator failed to initialize. + Error de inicialización del generador. @@ -1521,32 +1523,32 @@ Member '{0}' must have a non-null value when exiting. - Member '{0}' must have a non-null value when exiting. + El miembro "{0}" debe tener un valor que no sea nulo al salir. Member '{0}' cannot be used in this attribute. - Member '{0}' cannot be used in this attribute. + No se puede usar el miembro "{0}" en este atributo. Member cannot be used in this attribute. - Member cannot be used in this attribute. + No se puede usar el miembro en este atributo. Member '{0}' must have a non-null value when exiting with '{1}'. - Member '{0}' must have a non-null value when exiting with '{1}'. + El miembro "{0}" debe tener un valor que no sea nulo al salir con "{1}". Member must have a non-null value when exiting in some condition. - Member must have a non-null value when exiting in some condition. + El miembro debe tener un valor que no sea nulo al salir en alguna condición. Member must have a non-null value when exiting. - Member must have a non-null value when exiting. + El miembro debe tener un valor que no sea nulo al salir. @@ -1861,32 +1863,32 @@ Parameter '{0}' must have a non-null value when exiting with '{1}'. - El parámetro "{0}" no puede tener un valor NULL al salir con "{1}". + El parámetro "{0}" debe tener un valor que no sea nulo al salir con "{1}". Parameter must have a non-null value when exiting in some condition. - El parámetro no puede tener un valor NULL al salir en alguna condición. + El parámetro debe tener un valor que no sea nulo al salir en alguna condición. Parameter '{0}' must have a non-null value when exiting. - Parameter '{0}' must have a non-null value when exiting. + El parámetro "{0}" debe tener un valor que no sea nulo al salir. Parameter must have a non-null value when exiting. - Parameter must have a non-null value when exiting. + El parámetro debe tener un valor que no sea nulo al salir. A method marked [DoesNotReturn] should not return. - Un método marcado [DoesNotReturn] no debe devolver. + Un método marcado como [DoesNotReturn] no debe devolver nada. A method marked [DoesNotReturn] should not return. - Un método marcado [DoesNotReturn] no debe devolver. + Un método marcado como [DoesNotReturn] no debe devolver nada. @@ -1921,62 +1923,62 @@ Nullability of reference types in type of parameter '{0}' doesn't match implemented member '{1}' (possibly because of nullability attributes). - Nullability of reference types in type of parameter '{0}' doesn't match implemented member '{1}' (possibly because of nullability attributes). + La nulabilidad de los tipos de referencia del tipo de parámetro "{0}" no coincide con el miembro implementado "{1}" (posiblemente debido a los atributos de nulabilidad). Nullability of reference types in type of parameter doesn't match implemented member (possibly because of nullability attributes). - Nullability of reference types in type of parameter doesn't match implemented member (possibly because of nullability attributes). + La nulabilidad de los tipos de referencia del tipo de parámetro no coincide con el miembro implementado (posiblemente debido a los atributos de nulabilidad). Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match implicitly implemented member '{2}' (possibly because of nullability attributes). - Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match implicitly implemented member '{2}' (possibly because of nullability attributes). + La nulabilidad de los tipos de referencia del tipo de parámetro"{0}" de "{1}" no coincide con el miembro "{2}" implementado de forma implícita (posiblemente debido a los atributos de nulabilidad). Nullability of reference types in type of parameter doesn't match implicitly implemented member (possibly because of nullability attributes). - Nullability of reference types in type of parameter doesn't match implicitly implemented member (possibly because of nullability attributes). + La nulabilidad de los tipos de referencia del tipo de parámetro no coincide con el miembro implementado de forma implícita (posiblemente debido a los atributos de nulabilidad). Nullability of type of parameter '{0}' doesn't match overridden member (possibly because of nullability attributes). - Nullability of type of parameter '{0}' doesn't match overridden member (possibly because of nullability attributes). + La nulabilidad del tipo de parámetro "{0}" no coincide con el miembro invalidado (posiblemente debido a los atributos de nulabilidad). Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes). - Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes). + La nulabilidad del tipo de parámetro no coincide con el miembro invalidado (posiblemente debido a los atributos de nulabilidad). Nullability of reference types in return type doesn't match implemented member '{0}' (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implemented member '{0}' (possibly because of nullability attributes). + La nulabilidad de los tipos de referencia del tipo de valor devuelto no coincide con el miembro "{0}" implementado (posiblemente debido a los atributos de nulabilidad). Nullability of reference types in return type doesn't match implemented member (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implemented member (possibly because of nullability attributes). + La nulabilidad de los tipos de referencia del tipo de valor devuelto no coincide con el miembro implementado (posiblemente debido a los atributos de nulabilidad). Nullability of reference types in return type of '{0}' doesn't match implicitly implemented member '{1}' (possibly because of nullability attributes). - Nullability of reference types in return type of '{0}' doesn't match implicitly implemented member '{1}' (possibly because of nullability attributes). + La nulabilidad de los tipos de referencia del tipo de valor devuelto de "{0}" no coincide con el miembro "{1}" implementado de forma implícita (posiblemente debido a los atributos de nulabilidad). Nullability of reference types in return type doesn't match implicitly implemented member (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implicitly implemented member (possibly because of nullability attributes). + La nulabilidad de los tipos de referencia del tipo de valor devuelto no coincide con el miembro implementado de forma implícita (posiblemente debido a los atributos de nulabilidad). Nullability of return type doesn't match overridden member (possibly because of nullability attributes). - Nullability of return type doesn't match overridden member (possibly because of nullability attributes). + La nulabilidad del tipo de valor devuelto no coincide con el miembro invalidado (posiblemente debido a los atributos de nulabilidad). Nullability of return type doesn't match overridden member (possibly because of nullability attributes). - Nullability of return type doesn't match overridden member (possibly because of nullability attributes). + La nulabilidad del tipo de valor devuelto no coincide con el miembro invalidado (posiblemente debido a los atributos de nulabilidad). @@ -4265,7 +4267,7 @@ Si se utiliza una clase de este tipo como clase base y si la clase derivada defi The DllImport attribute cannot be applied to a method that is generic or contained in a generic method or type. - El atributo DllImport no se puede aplicar a un método que sea genérico o esté contenido en un tipo genérico. + El atributo DllImport no se puede aplicar a un método que sea genérico o que esté contenido en un tipo o método genérico. @@ -6139,7 +6141,7 @@ Un bloque catch() después de un bloque catch (System.Exception e) puede abarcar A readonly field cannot be assigned to (except in a constructor of the class in which the field is defined or a variable initializer)) - No se puede asignar un campo de solo lectura (excepto en un constructor de la clase en la que se define el campo o en un inicializador de variable) + No se puede asignar a un campo de solo lectura un valor (excepto en un constructor de la clase en la que se define el campo o un inicializador de variable) @@ -9767,7 +9769,7 @@ Para eliminar la advertencia puede usar /reference (establezca la propiedad Embe Local function '{0}' must declare a body because it is not marked 'static extern'. - '"{0}" es una función local y, por lo tanto, siempre debe tener un cuerpo. + La función local "{0}" debe declarar un cuerpo porque no está marcada como "static extern". diff --git a/src/Compilers/CSharp/Portable/xlf/CSharpResources.fr.xlf b/src/Compilers/CSharp/Portable/xlf/CSharpResources.fr.xlf index 85eb5468dcaba..2cf08997ca2ac 100644 --- a/src/Compilers/CSharp/Portable/xlf/CSharpResources.fr.xlf +++ b/src/Compilers/CSharp/Portable/xlf/CSharpResources.fr.xlf @@ -104,7 +104,7 @@ Local function '{0}' must be 'static' in order to use the Conditional attribute - Local function '{0}' must be 'static' in order to use the Conditional attribute + La fonction locale '{0}' doit être 'static' pour pouvoir utiliser l'attribut Conditional @@ -179,17 +179,17 @@ An expression tree may not contain a from-end index ('^') expression. - An expression tree may not contain a from-end index ('^') expression. + Une arborescence de l'expression ne peut pas contenir d'expression d'index partant de la fin ('^'). An expression tree may not contain a pattern System.Index or System.Range indexer access - An expression tree may not contain a pattern System.Index or System.Range indexer access + Une arborescence de l'expression ne peut pas contenir de modèle d'accès à l'indexeur System.Index ou System.Range An expression tree may not contain a range ('..') expression. - An expression tree may not contain a range ('..') expression. + Une arborescence de l'expression ne peut pas contenir d'expression de plage ('..'). @@ -344,7 +344,7 @@ Output directory could not be determined - Output directory could not be determined + Impossible de déterminer le répertoire de sortie @@ -459,7 +459,7 @@ stdin argument '-' is specified, but input has not been redirected from the standard input stream. - stdin argument '-' is specified, but input has not been redirected from the standard input stream. + L'argument stdin '-' est spécifié, mais l'entrée n'a pas été redirigée à partir du flux d'entrée standard. @@ -691,7 +691,7 @@ a part of -modulename:<string> Specify the name of the source module - + Options du compilateur Visual C# - FICHIERS DE SORTIE - @@ -712,7 +712,7 @@ -refout:<fichier> Sortie de l'assembly de référence à générer -platform:<chaîne> Limiter les plateformes sur lesquelles ce code peut s'exécuter : x86, Itanium, x64, arm, arm64, anycpu32bitpreferred ou - anycpu. La valeur par défaut est anycpu. + anycpu. La valeur par défaut est anycpu. - FICHIERS D'ENTRÉE - -recurse:<générique> Inclure tous les fichiers dans le répertoire et @@ -757,17 +757,19 @@ -instrument:TestCoverage Produire un assembly instrumenté pour collecter les informations de couverture -sourcelink:<fichier> Informations du lien source à incorporer dans le fichier PDB. - + - ERREURS ET AVERTISSEMENTS - -warnaserror[+|-] Signaler tous les avertissements comme des erreurs -warnaserror[+|-]:<avertiss.> Signaler des avertissements spécifiques comme des erreurs + (utiliser "nullable" pour tous les avertissements de nullabilité) -warn:<n> Définir le niveau d'avertissement (0-4) (forme abrégée : -w) -nowarn:<liste avertiss.> Désactiver des messages d'avertissement spécifiques + (utiliser "nullable" pour tous les avertissements de nullabilité) -ruleset:<fichier> Spécifier un fichier ruleset qui désactive des diagnostics spécifiques. -errorlog:<fichier>[,version=<version_sarif>] Spécifier un fichier pour journaliser tous les diagnostics du compilateur - et de l'analyseur + et de l'analyseur. version_sarif :{1|2|2.1} La valeur par défaut est 1. 2 et 2.1 Les deux signifient SARIF version 2.1.0. -reportanalyzer Signaler des informations supplémentaires sur l'analyseur, par exemple @@ -776,7 +778,7 @@ - LANGAGE - -checked[+|-] Générer des contrôles de dépassement de capacité -unsafe[+|-] Autoriser du code 'unsafe' --define:<liste_symboles> Définir les symboles de compilation conditionnelle (forme +-define:<liste_symboles> Définir les symboles de compilation conditionnelle (forme abrégée : -d) -langversion:? Afficher les valeurs autorisées pour la version du langage -langversion:<chaîne> Spécifier la version du langage, par exemple @@ -891,7 +893,7 @@ extern local functions - extern local functions + fonctions locales externes @@ -906,7 +908,7 @@ local function attributes - local function attributes + attributs de fonction locale @@ -916,7 +918,7 @@ MemberNotNull attribute - MemberNotNull attribute + Attribut MemberNotNull @@ -1441,12 +1443,12 @@ Method '{0}' lacks `[DoesNotReturn]` annotation to match implemented or overridden member. - Method '{0}' lacks `[DoesNotReturn]` annotation to match implemented or overridden member. + La méthode '{0}' n'a pas d'annotation '[DoesNotReturn]' correspondant au membre implémenté ou substitué. Method lacks `[DoesNotReturn]` annotation to match implemented or overridden member. - Method lacks `[DoesNotReturn]` annotation to match implemented or overridden member. + La méthode n'a pas d'annotation '[DoesNotReturn]' correspondant au membre implémenté ou substitué. @@ -1461,22 +1463,22 @@ Generator '{0}' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. - Generator '{0}' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. + Le générateur '{0}' n'a pas pu générer la source. Dans la mesure où il ne va pas contribuer à la sortie, des erreurs de compilation peuvent se produire. Generator failed to generate source. - Generator failed to generate source. + Le générateur n'a pas pu générer la source. Generator '{0}' failed to initialize. It will not contribute to the output and compilation errors may occur as a result. - Generator '{0}' failed to initialize. It will not contribute to the output and compilation errors may occur as a result. + Échec de l'initialisation du générateur '{0}'. Dans la mesure où il ne va pas contribuer à la sortie, des erreurs de compilation peuvent se produire. Generator failed to initialize. - Generator failed to initialize. + Échec de l'initialisation du générateur. @@ -1521,32 +1523,32 @@ Member '{0}' must have a non-null value when exiting. - Member '{0}' must have a non-null value when exiting. + Le membre '{0}' doit avoir une valeur non null au moment de la sortie. Member '{0}' cannot be used in this attribute. - Member '{0}' cannot be used in this attribute. + Le membre '{0}' ne peut pas être utilisé dans cet attribut. Member cannot be used in this attribute. - Member cannot be used in this attribute. + Le membre ne peut pas être utilisé dans cet attribut. Member '{0}' must have a non-null value when exiting with '{1}'. - Member '{0}' must have a non-null value when exiting with '{1}'. + Le membre '{0}' doit avoir une valeur non null au moment de la sortie avec '{1}'. Member must have a non-null value when exiting in some condition. - Member must have a non-null value when exiting in some condition. + Le membre doit avoir une valeur non null au moment de la sortie dans certaines conditions. Member must have a non-null value when exiting. - Member must have a non-null value when exiting. + Le membre doit avoir une valeur non null au moment de la sortie. @@ -1861,22 +1863,22 @@ Parameter '{0}' must have a non-null value when exiting with '{1}'. - Le paramètre '{0}' ne peut pas avoir une valeur null au moment de la sortie avec '{1}'. + Le paramètre '{0}' doit avoir une valeur non null au moment de la sortie avec '{1}'. Parameter must have a non-null value when exiting in some condition. - Le paramètre ne peut pas avoir une valeur null au moment de la sortie dans certaines conditions. + Le paramètre doit avoir une valeur non null au moment de la sortie dans certaines conditions. Parameter '{0}' must have a non-null value when exiting. - Parameter '{0}' must have a non-null value when exiting. + Le paramètre '{0}' doit avoir une valeur non null au moment de la sortie. Parameter must have a non-null value when exiting. - Parameter must have a non-null value when exiting. + Le paramètre doit avoir une valeur non null au moment de la sortie. @@ -1921,62 +1923,62 @@ Nullability of reference types in type of parameter '{0}' doesn't match implemented member '{1}' (possibly because of nullability attributes). - Nullability of reference types in type of parameter '{0}' doesn't match implemented member '{1}' (possibly because of nullability attributes). + La nullabilité des types référence dans le type du paramètre '{0}' ne correspond pas au membre implémenté '{1}' (probablement en raison des attributs de nullabilité). Nullability of reference types in type of parameter doesn't match implemented member (possibly because of nullability attributes). - Nullability of reference types in type of parameter doesn't match implemented member (possibly because of nullability attributes). + La nullabilité des types référence dans le type du paramètre ne correspond pas au membre implémenté (probablement en raison des attributs de nullabilité). Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match implicitly implemented member '{2}' (possibly because of nullability attributes). - Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match implicitly implemented member '{2}' (possibly because of nullability attributes). + La nullabilité des types référence dans le type du paramètre '{0}' de '{1}' ne correspond pas au membre implémenté implicitement '{2}' (probablement en raison des attributs de nullabilité). Nullability of reference types in type of parameter doesn't match implicitly implemented member (possibly because of nullability attributes). - Nullability of reference types in type of parameter doesn't match implicitly implemented member (possibly because of nullability attributes). + La nullabilité des types référence dans le type du paramètre ne correspond pas au membre implémenté implicitement (probablement en raison des attributs de nullabilité). Nullability of type of parameter '{0}' doesn't match overridden member (possibly because of nullability attributes). - Nullability of type of parameter '{0}' doesn't match overridden member (possibly because of nullability attributes). + La nullabilité de type du paramètre '{0}' ne correspond pas au membre substitué (probablement en raison des attributs de nullabilité). Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes). - Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes). + La nullabilité de type du paramètre ne correspond pas au membre substitué (probablement en raison des attributs de nullabilité). Nullability of reference types in return type doesn't match implemented member '{0}' (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implemented member '{0}' (possibly because of nullability attributes). + La nullabilité des types référence dans le type de retour ne correspond pas au membre implémenté '{0}' (probablement en raison des attributs de nullabilité). Nullability of reference types in return type doesn't match implemented member (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implemented member (possibly because of nullability attributes). + La nullabilité des types référence dans le type de retour ne correspond pas au membre implémenté (probablement en raison des attributs de nullabilité). Nullability of reference types in return type of '{0}' doesn't match implicitly implemented member '{1}' (possibly because of nullability attributes). - Nullability of reference types in return type of '{0}' doesn't match implicitly implemented member '{1}' (possibly because of nullability attributes). + La nullabilité des types référence dans le type de retour de '{0}' ne correspond pas au membre implémenté implicitement '{1}' (probablement en raison des attributs de nullabilité). Nullability of reference types in return type doesn't match implicitly implemented member (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implicitly implemented member (possibly because of nullability attributes). + La nullabilité des types référence dans le type de retour ne correspond pas au membre implémenté implicitement (probablement en raison des attributs de nullabilité). Nullability of return type doesn't match overridden member (possibly because of nullability attributes). - Nullability of return type doesn't match overridden member (possibly because of nullability attributes). + La nullabilité du type de retour ne correspond pas au membre substitué (probablement en raison des attributs de nullabilité). Nullability of return type doesn't match overridden member (possibly because of nullability attributes). - Nullability of return type doesn't match overridden member (possibly because of nullability attributes). + La nullabilité du type de retour ne correspond pas au membre substitué (probablement en raison des attributs de nullabilité). @@ -4265,7 +4267,7 @@ Si une telle classe est utilisée en tant que classe de base et si la classe dé The DllImport attribute cannot be applied to a method that is generic or contained in a generic method or type. - Impossible d'appliquer l'attribut DllImport à une méthode générique ou contenue dans un type générique. + Impossible d'appliquer l'attribut DllImport à une méthode générique ou contenue dans une méthode ou un type générique. @@ -6139,7 +6141,7 @@ Un bloc catch() après un bloc catch (System.Exception e) peut intercepter des e A readonly field cannot be assigned to (except in a constructor of the class in which the field is defined or a variable initializer)) - Un champ readonly ne peut pas faire l'objet d'une affectation (sauf dans un constructeur de la classe dans laquelle le champ est défini ou dans un initialiseur de variable) + Un champ readonly ne peut pas faire l'objet d'une affectation de valeur (sauf dans un constructeur de la classe dans laquelle le champ est défini ou dans un initialiseur de variable) @@ -9767,7 +9769,7 @@ Pour supprimer l'avertissement, vous pouvez utiliser la commande /reference (dé Local function '{0}' must declare a body because it is not marked 'static extern'. - '{0}' est une fonction locale et doit donc toujours avoir un corps. + La fonction locale '{0}' doit déclarer un corps, car il n'est pas marqué 'static extern'. diff --git a/src/Compilers/CSharp/Portable/xlf/CSharpResources.it.xlf b/src/Compilers/CSharp/Portable/xlf/CSharpResources.it.xlf index 345f12a91ccad..859d74edcd8ec 100644 --- a/src/Compilers/CSharp/Portable/xlf/CSharpResources.it.xlf +++ b/src/Compilers/CSharp/Portable/xlf/CSharpResources.it.xlf @@ -104,7 +104,7 @@ Local function '{0}' must be 'static' in order to use the Conditional attribute - Local function '{0}' must be 'static' in order to use the Conditional attribute + Per usare l'attributo Conditional, la funzione locale '{0}' deve essere 'static' @@ -179,17 +179,17 @@ An expression tree may not contain a from-end index ('^') expression. - An expression tree may not contain a from-end index ('^') expression. + Un albero delle espressioni non può contenere un'espressione di indice from end ('^'). An expression tree may not contain a pattern System.Index or System.Range indexer access - An expression tree may not contain a pattern System.Index or System.Range indexer access + Un albero delle espressioni non può contenere un accesso a indicizzatore System.Index o System.Range di criterio An expression tree may not contain a range ('..') expression. - An expression tree may not contain a range ('..') expression. + Un albero delle espressioni non può contenere un'espressione ('..'). @@ -344,7 +344,7 @@ Output directory could not be determined - Output directory could not be determined + Non è stato possibile individuare la directory di output @@ -459,7 +459,7 @@ stdin argument '-' is specified, but input has not been redirected from the standard input stream. - stdin argument '-' is specified, but input has not been redirected from the standard input stream. + è stato specificato l'argomento stdin '-', ma l'input non è stato reindirizzato dal flusso di input standard. @@ -691,7 +691,7 @@ a part of -modulename:<string> Specify the name of the source module - + Opzioni del compilatore Visual C# - FILE DI OUTPUT - @@ -743,7 +743,7 @@ Forma breve: -linkres. Il formato di info_risorsa è <file>[,<nome stringa>[,public|private]] - - GENERAZIONE CODICE - + - GENERAZIONE DEL CODICE - -debug[+|-] Crea le informazioni di debug -debug:{full|pdbonly|portable|embedded} Specifica il tipo di debug ('full' è l'impostazione predefinita, @@ -757,12 +757,14 @@ -instrument:TestCoverage Produce un assembly instrumentato per raccogliere informazioni sul code coverage -sourcelink:<file> Informazioni sul collegamento all'origine da incorporare nel file PDB. - + - ERRORI E AVVISI - -warnaserror[+|-] Segnala tutti gli avvisi come errori -warnaserror[+|-]:<elenco avvisi> Segnala determinati avvisi come errori + (usare "nullable" per tutti gli avvisi di supporto dei valori Null) -warn:<n> Imposta il livello di avviso (0-4). Forma breve: -w -nowarn:<elenco avvisi> Disabilita messaggi di avviso specifici + (usare "nullable" per tutti gli avvisi di supporto dei valori Null) -ruleset:<file> Consente di specificare un file di set di regole che disabilita diagnostica specifica. -errorlog:<file>[,version=<versione _SARIF>] @@ -833,9 +835,9 @@ -subsystemversion:<stringa> Consente di specificare la versione del sottosistema di questo assembly -lib:<elenco file> Consente di specificare le directory aggiuntive in cui cercare i riferimenti --errorreport:<stringa> Consente di specificare come gestire gli errori interni del compilatore: - prompt, send, queue o none. L'impostazione predefinita - è queue. +-errorreport:<stringa> Consente di specificare la modalità di gestione degli errori interni del compilatore: + prompt, send, queue o none. L'impostazione predefinita è + queue. -appconfig:<file> Consente di specificare un file di configurazione dell'applicazione contenente le impostazioni di binding dell'assembly -moduleassemblyname:<stringa> Nome dell'assembly di cui farà parte @@ -891,7 +893,7 @@ extern local functions - extern local functions + funzioni locali extern @@ -906,7 +908,7 @@ local function attributes - local function attributes + attributi di funzione locale @@ -916,7 +918,7 @@ MemberNotNull attribute - MemberNotNull attribute + Attributo MemberNotNull @@ -1441,12 +1443,12 @@ Method '{0}' lacks `[DoesNotReturn]` annotation to match implemented or overridden member. - Method '{0}' lacks `[DoesNotReturn]` annotation to match implemented or overridden member. + Nel metodo '{0}' manca l'annotazione `[DoesNotReturn]` per la corrispondenza del membro implementato o di cui è stato eseguito l'override. Method lacks `[DoesNotReturn]` annotation to match implemented or overridden member. - Method lacks `[DoesNotReturn]` annotation to match implemented or overridden member. + Nel metodo manca l'annotazione `[DoesNotReturn]` per la corrispondenza del membro implementato o di cui è stato eseguito l'override. @@ -1461,22 +1463,22 @@ Generator '{0}' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. - Generator '{0}' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. + Il generatore '{0}' non è riuscito a generare l'origine. Non verrà aggiunto come contributo all'output e potrebbero verificarsi errori di compilazione. Generator failed to generate source. - Generator failed to generate source. + Il generatore non è riuscito a generare l'origine. Generator '{0}' failed to initialize. It will not contribute to the output and compilation errors may occur as a result. - Generator '{0}' failed to initialize. It will not contribute to the output and compilation errors may occur as a result. + Non è stato possibile inizializzare il generatore '{0}'. Non verrà aggiunto come contributo all'output e potrebbero verificarsi errori di compilazione. Generator failed to initialize. - Generator failed to initialize. + Non è stato possibile inizializzare il generatore. @@ -1521,32 +1523,32 @@ Member '{0}' must have a non-null value when exiting. - Member '{0}' must have a non-null value when exiting. + Il membro '{0}' deve avere un valore non Null quando viene terminato. Member '{0}' cannot be used in this attribute. - Member '{0}' cannot be used in this attribute. + Non è possibile usare il membro '{0}' in questo attributo. Member cannot be used in this attribute. - Member cannot be used in this attribute. + Non è possibile usare il membro in questo attributo. Member '{0}' must have a non-null value when exiting with '{1}'. - Member '{0}' must have a non-null value when exiting with '{1}'. + Il membro '{0}' deve avere un valore non Null quando viene terminato con '{1}'. Member must have a non-null value when exiting in some condition. - Member must have a non-null value when exiting in some condition. + Il membro deve avere un valore non Null quando viene terminato in determinate condizioni. Member must have a non-null value when exiting. - Member must have a non-null value when exiting. + Il membro deve avere un valore non Null quando viene terminato. @@ -1861,32 +1863,32 @@ Parameter '{0}' must have a non-null value when exiting with '{1}'. - Il parametro '{0}' non può avere un valore Null quando si esce con '{1}'. + Il parametro '{0}' deve avere un valore non Null quando viene terminato con '{1}'. Parameter must have a non-null value when exiting in some condition. - Il parametro non può avere un valore Null quando si esce in determinate condizioni. + Il parametro deve avere un valore non Null quando viene terminato in determinate condizioni. Parameter '{0}' must have a non-null value when exiting. - Parameter '{0}' must have a non-null value when exiting. + Il parametro '{0}' deve avere un valore non Null quando viene terminato. Parameter must have a non-null value when exiting. - Parameter must have a non-null value when exiting. + Il parametro deve avere un valore non Null quando viene terminato. A method marked [DoesNotReturn] should not return. - Un metodo contrassegnato con [DoesNotReturn] non deve essere restituito. + Un metodo contrassegnato con [DoesNotReturn] non deve essere terminare normalmente. A method marked [DoesNotReturn] should not return. - Un metodo contrassegnato con [DoesNotReturn] non deve essere restituito. + Un metodo contrassegnato con [DoesNotReturn] non deve essere terminare normalmente. @@ -1921,62 +1923,62 @@ Nullability of reference types in type of parameter '{0}' doesn't match implemented member '{1}' (possibly because of nullability attributes). - Nullability of reference types in type of parameter '{0}' doesn't match implemented member '{1}' (possibly because of nullability attributes). + Il supporto dei valori Null dei tipi riferimento nel tipo di parametro '{0}' non corrisponde al membro implementato '{1}', probabilmente a causa degli attributi del supporto dei valori Null. Nullability of reference types in type of parameter doesn't match implemented member (possibly because of nullability attributes). - Nullability of reference types in type of parameter doesn't match implemented member (possibly because of nullability attributes). + Il supporto dei valori Null dei tipi riferimento nel tipo di parametro non corrisponde al membro implementato, probabilmente a causa degli attributi del supporto dei valori Null. Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match implicitly implemented member '{2}' (possibly because of nullability attributes). - Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match implicitly implemented member '{2}' (possibly because of nullability attributes). + Il supporto dei valori Null dei tipi riferimento nel tipo di parametro '{0}' di '{1}' non corrisponde al membro implementato in modo implicito '{2}', probabilmente a causa degli attributi del supporto dei valori Null. Nullability of reference types in type of parameter doesn't match implicitly implemented member (possibly because of nullability attributes). - Nullability of reference types in type of parameter doesn't match implicitly implemented member (possibly because of nullability attributes). + Il supporto dei valori Null dei tipi riferimento nel tipo di parametro non corrisponde al membro implementato in modo implicito, probabilmente a causa degli attributi del supporto dei valori Null. Nullability of type of parameter '{0}' doesn't match overridden member (possibly because of nullability attributes). - Nullability of type of parameter '{0}' doesn't match overridden member (possibly because of nullability attributes). + Il supporto dei valori Null del tipo del parametro '{0}' non corrisponde al membro di cui è stato eseguito l'override, probabilmente a causa degli attributi del supporto dei valori Null. Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes). - Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes). + Il supporto dei valori Null del tipo del parametro non corrisponde al membro di cui è stato eseguito l'override, probabilmente a causa degli attributi del supporto dei valori Null. Nullability of reference types in return type doesn't match implemented member '{0}' (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implemented member '{0}' (possibly because of nullability attributes). + Il supporto dei valori Null dei tipi riferimento nel tipo restituito non corrisponde al membro implementato '{0}', probabilmente a causa degli attributi del supporto dei valori Null. Nullability of reference types in return type doesn't match implemented member (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implemented member (possibly because of nullability attributes). + Il supporto dei valori Null dei tipi riferimento nel tipo restituito non corrisponde al membro implementato, probabilmente a causa degli attributi del supporto dei valori Null. Nullability of reference types in return type of '{0}' doesn't match implicitly implemented member '{1}' (possibly because of nullability attributes). - Nullability of reference types in return type of '{0}' doesn't match implicitly implemented member '{1}' (possibly because of nullability attributes). + Il supporto dei valori Null dei tipi riferimento nel tipo restituito di '{0}' non corrisponde al membro implementato in modo implicito '{1}', probabilmente a causa degli attributi del supporto dei valori Null. Nullability of reference types in return type doesn't match implicitly implemented member (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implicitly implemented member (possibly because of nullability attributes). + Il supporto dei valori Null dei tipi riferimento nel tipo restituito non corrisponde al membro implementato in modo implicito, probabilmente a causa degli attributi del supporto dei valori Null. Nullability of return type doesn't match overridden member (possibly because of nullability attributes). - Nullability of return type doesn't match overridden member (possibly because of nullability attributes). + Il supporto dei valori Null del tipo restituito non corrisponde al membro di cui è stato eseguito l'override, probabilmente a causa degli attributi del supporto dei valori Null. Nullability of return type doesn't match overridden member (possibly because of nullability attributes). - Nullability of return type doesn't match overridden member (possibly because of nullability attributes). + Il supporto dei valori Null del tipo restituito non corrisponde al membro di cui è stato eseguito l'override, probabilmente a causa degli attributi del supporto dei valori Null. @@ -4265,7 +4267,7 @@ Se si usa tale classe come classe base e se la classe di derivazione definisce u The DllImport attribute cannot be applied to a method that is generic or contained in a generic method or type. - Non è possibile applicare l'attributo DllImport a un metodo generico o contenuto in un tipo generico. + Non è possibile applicare l'attributo DllImport a un metodo generico o contenuto in un tipo o un metodo generico. @@ -6139,7 +6141,7 @@ Un blocco catch() dopo un blocco catch (System.Exception e) può rilevare eccezi A readonly field cannot be assigned to (except in a constructor of the class in which the field is defined or a variable initializer)) - Non è possibile effettuare un'assegnazione a un campo di sola lettura, tranne che in un costruttore della classe in cui è definito il campo o in un inizializzatore di variabile + Non è possibile assegnare un valore a un campo di sola lettura, tranne che in un costruttore della classe in cui è definito il campo o in un inizializzatore di variabile @@ -9767,7 +9769,7 @@ Per rimuovere l'avviso, è invece possibile usare /reference (impostare la propr Local function '{0}' must declare a body because it is not marked 'static extern'. - '{0}' è una funzione locale e deve sempre includere un corpo. + La funzione locale '{0}' deve dichiarare un corpo perché non è contrassegnata come 'static extern'. diff --git a/src/Compilers/CSharp/Portable/xlf/CSharpResources.ja.xlf b/src/Compilers/CSharp/Portable/xlf/CSharpResources.ja.xlf index eca3b89596f94..63673706525b1 100644 --- a/src/Compilers/CSharp/Portable/xlf/CSharpResources.ja.xlf +++ b/src/Compilers/CSharp/Portable/xlf/CSharpResources.ja.xlf @@ -104,7 +104,7 @@ Local function '{0}' must be 'static' in order to use the Conditional attribute - Local function '{0}' must be 'static' in order to use the Conditional attribute + ローカル関数 '{0}' は、条件付き属性を使用するには、'static' である必要があります @@ -179,17 +179,17 @@ An expression tree may not contain a from-end index ('^') expression. - An expression tree may not contain a from-end index ('^') expression. + 式ツリーに、from-end インデックス ('^') 式を含めることはできません。 An expression tree may not contain a pattern System.Index or System.Range indexer access - An expression tree may not contain a pattern System.Index or System.Range indexer access + 式ツリーに、System.Index または System.Range インデクサー アクセスのパターンを含めることはできません An expression tree may not contain a range ('..') expression. - An expression tree may not contain a range ('..') expression. + 式ツリーに範囲 ('..') 式を含めることはできません。 @@ -344,7 +344,7 @@ Output directory could not be determined - Output directory could not be determined + 出力ディレクトリを特定できませんでした @@ -459,7 +459,7 @@ stdin argument '-' is specified, but input has not been redirected from the standard input stream. - stdin argument '-' is specified, but input has not been redirected from the standard input stream. + stdin 引数 '-' が指定されていますが、入力が標準入力ストリームからリダイレクトされませんでした。 @@ -691,8 +691,8 @@ a part of -modulename:<string> Specify the name of the source module - - Visual C# コンパイラのオプション + + Visual C# Compiler のオプション - 出力ファイル - -out:<file> 出力ファイル名を指定します (既定: メイン クラスを含むファイル @@ -761,8 +761,10 @@ - エラーと警告 - -warnaserror[+|-] すべての警告をエラーとして報告します -warnaserror[+|-]:<warn list> 特定の警告をエラーとして報告します + (Null 値の許容の警告をすべて含めるには "nullable" を使用します) -warn:<n> 警告レベル (0-4) を設定します (短い形式: -w) -nowarn:<warn list> 特定の警告メッセージを無効にします + (Null 許容性の警告をすべて含めるには "nullable" を使用します) -ruleset:<file> 特定の診断を無効にするルールセット ファイルを 指定します。 -errorlog:<file>[,version=<sarif_version>] @@ -811,7 +813,7 @@ -checksumalgorithm:<alg> PDB に格納されているソース ファイルのチェックサム を計算するアルゴリズムを指定します。サポートされる値: SHA1 または SHA256 (既定)。 --codepage:<n> ソース ファイルを開くときに使用するコード ページを +-codepage:<n> ソース ファイルを開くときに使用するコードページを 指定します -utf8output コンパイラ メッセージを UTF-8 エンコードで出力します -main:<type> エントリ ポイントを含む型を指定します @@ -827,7 +829,7 @@ .pdb 拡張子の付いた出力ファイル名) -errorendlocation 各エラーの終了位置の出力行と 出力列 --preferreduilang 出力用の言語名を指定します。 +-preferreduilang 出力用の優先する言語名を指定します。 -nosdkpath 標準ライブラリ アセンブリの既定の SDK パスの検索を無効にします。 -nostdlib[+|-] 標準ライブラリ (mscorlib.dll) は参照しません -subsystemversion:<string> このアセンブリのサブシステム バージョンを指定します @@ -891,7 +893,7 @@ extern local functions - extern local functions + extern ローカル関数 @@ -906,7 +908,7 @@ local function attributes - local function attributes + ローカル関数の属性 @@ -916,7 +918,7 @@ MemberNotNull attribute - MemberNotNull attribute + MemberNotNull 属性 @@ -1441,12 +1443,12 @@ Method '{0}' lacks `[DoesNotReturn]` annotation to match implemented or overridden member. - Method '{0}' lacks `[DoesNotReturn]` annotation to match implemented or overridden member. + メソッド '{0}' には、実装された、またはオーバーライドされたメンバーと一致する '[DoesNotReturn]' 注釈がありません。 Method lacks `[DoesNotReturn]` annotation to match implemented or overridden member. - Method lacks `[DoesNotReturn]` annotation to match implemented or overridden member. + メソッドには、実装された、またはオーバーライドされたメンバーと一致する '[DoesNotReturn]' 注釈がありません。 @@ -1461,22 +1463,22 @@ Generator '{0}' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. - Generator '{0}' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. + ジェネレーター '{0}' がソースを生成できませんでした。出力には寄与しません。結果として、コンパイル エラーが発生する可能性があります。 Generator failed to generate source. - Generator failed to generate source. + ジェネレーターはソースを生成できませんでした。 Generator '{0}' failed to initialize. It will not contribute to the output and compilation errors may occur as a result. - Generator '{0}' failed to initialize. It will not contribute to the output and compilation errors may occur as a result. + ジェネレーター '{0}' を初期化できませんでした。出力には寄与しません。結果として、コンパイル エラーが発生する可能性があります。 Generator failed to initialize. - Generator failed to initialize. + ジェネレーターを初期化できませんでした。 @@ -1521,32 +1523,32 @@ Member '{0}' must have a non-null value when exiting. - Member '{0}' must have a non-null value when exiting. + 終了時にメンバー '{0}' には null 以外の値が含まれている必要があります。 Member '{0}' cannot be used in this attribute. - Member '{0}' cannot be used in this attribute. + メンバー '{0}' をこの属性で使用することはできません。 Member cannot be used in this attribute. - Member cannot be used in this attribute. + メンバーをこの属性で使用することはできません。 Member '{0}' must have a non-null value when exiting with '{1}'. - Member '{0}' must have a non-null value when exiting with '{1}'. + '{1}' で終了する場合、メンバー '{0}' には null 以外の値が含まれている必要があります。 Member must have a non-null value when exiting in some condition. - Member must have a non-null value when exiting in some condition. + 一部の条件で終了するとき、メンバーには null 以外の値が含まれている必要があります。 Member must have a non-null value when exiting. - Member must have a non-null value when exiting. + 終了時にメンバーには null 以外の値が含まれている必要があります。 @@ -1861,22 +1863,22 @@ Parameter '{0}' must have a non-null value when exiting with '{1}'. - '{1}' で終了する場合、パラメーター '{0}' の値を null にすることはできません。 + '{1}' で終了する場合、パラメーター '{0}' には null 以外の値が含まれている必要があります。 Parameter must have a non-null value when exiting in some condition. - 一部の条件で終了するときに、パラメーターの値を null にすることはできません。 + 一部の条件で終了するとき、パラメーターには null 以外の値が含まれている必要があります。 Parameter '{0}' must have a non-null value when exiting. - Parameter '{0}' must have a non-null value when exiting. + 終了時にパラメーター '{0}' には null 以外の値が含まれている必要があります。 Parameter must have a non-null value when exiting. - Parameter must have a non-null value when exiting. + 終了時にパラメーターには null 以外の値が含まれている必要があります。 @@ -1921,62 +1923,62 @@ Nullability of reference types in type of parameter '{0}' doesn't match implemented member '{1}' (possibly because of nullability attributes). - Nullability of reference types in type of parameter '{0}' doesn't match implemented member '{1}' (possibly because of nullability attributes). + パラメーター '{0}' の型における参照型の NULL 値の許容が、実装されるメンバー '{1}' と一致しません。おそらく、NULL 値の許容の属性が原因です。 Nullability of reference types in type of parameter doesn't match implemented member (possibly because of nullability attributes). - Nullability of reference types in type of parameter doesn't match implemented member (possibly because of nullability attributes). + パラメーターの型における参照型の NULL 値の許容が、実装されるメンバーと一致しません。おそらく、NULL 値の許容の属性が原因です。 Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match implicitly implemented member '{2}' (possibly because of nullability attributes). - Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match implicitly implemented member '{2}' (possibly because of nullability attributes). + '{1}' のパラメーター '{0}' の型における参照型の NULL 値の許容が、暗黙的に実装されるメンバー '{2}' と一致しません。おそらく、NULL 値の許容の属性が原因です。 Nullability of reference types in type of parameter doesn't match implicitly implemented member (possibly because of nullability attributes). - Nullability of reference types in type of parameter doesn't match implicitly implemented member (possibly because of nullability attributes). + パラメーターの型における参照型の NULL 値の許容が、暗黙的に実装されるメンバーと一致しません。おそらく、NULL 値の許容の属性が原因です。 Nullability of type of parameter '{0}' doesn't match overridden member (possibly because of nullability attributes). - Nullability of type of parameter '{0}' doesn't match overridden member (possibly because of nullability attributes). + パラメーター '{0}' の型の NULL 値の許容が、オーバーライドされたメンバーと一致しません。おそらく、NULL 値の許容の属性が原因です。 Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes). - Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes). + パラメーターの型の NULL 値の許容が、オーバーライドされたメンバーと一致しません。おそらく、NULL 値の許容の属性が原因です。 Nullability of reference types in return type doesn't match implemented member '{0}' (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implemented member '{0}' (possibly because of nullability attributes). + 戻り値の型における参照型の NULL 値の許容が、実装されるメンバー '{0}' と一致しません。おそらく、NULL 値の許容の属性が原因です。 Nullability of reference types in return type doesn't match implemented member (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implemented member (possibly because of nullability attributes). + 戻り値の型における参照型の NULL 値の許容が、実装されるメンバーと一致しません。おそらく、NULL 値の許容の属性が原因です。 Nullability of reference types in return type of '{0}' doesn't match implicitly implemented member '{1}' (possibly because of nullability attributes). - Nullability of reference types in return type of '{0}' doesn't match implicitly implemented member '{1}' (possibly because of nullability attributes). + '{0}' の戻り値の型における参照型の NULL 値の許容が、暗黙的に実装されるメンバー '{1}' と一致しません。おそらく、NULL 値の許容の属性が原因です。 Nullability of reference types in return type doesn't match implicitly implemented member (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implicitly implemented member (possibly because of nullability attributes). + 戻り値の型における参照型の NULL 値の許容が、暗黙的に実装されるメンバーと一致しません。おそらく、NULL 値の許容の属性が原因です。 Nullability of return type doesn't match overridden member (possibly because of nullability attributes). - Nullability of return type doesn't match overridden member (possibly because of nullability attributes). + 戻り値の型の NULL 値の許容が、オーバーライドされたメンバーと一致しません。おそらく、NULL 値の許容の属性が原因です。 Nullability of return type doesn't match overridden member (possibly because of nullability attributes). - Nullability of return type doesn't match overridden member (possibly because of nullability attributes). + 戻り値の型の NULL 値の許容が、オーバーライドされたメンバーと一致しません。おそらく、NULL 値の許容の属性が原因です。 @@ -4265,7 +4267,7 @@ If such a class is used as a base class and if the deriving class defines a dest The DllImport attribute cannot be applied to a method that is generic or contained in a generic method or type. - DllImport 属性は、ジェネリックであるメソッド、またはジェネリック型に含まれるメソッドには適用できません。 + DllImport 属性は、ジェネリックであるメソッドに適用することも、ジェネリック メソッドまたは型に含めることもできません。 @@ -6139,7 +6141,7 @@ AssemblyInfo.cs ファイルで RuntimeCompatibilityAttribute が false に設 A readonly field cannot be assigned to (except in a constructor of the class in which the field is defined or a variable initializer)) - 読み取り専用フィールドを割り当てることはできません (フィールドが定義されているクラスのコンストラクターまたは変数初期化子では可) + 読み取り専用フィールドに割り当てることはできません (フィールドが定義されているクラスのコンストラクターまたは変数初期化子では可) @@ -9767,7 +9769,7 @@ To remove the warning, you can use /reference instead (set the Embed Interop Typ Local function '{0}' must declare a body because it is not marked 'static extern'. - '{0}' はローカル関数であるため、常に本体が必要です。 + ローカル関数 '{0}' は、'static extern' とマークされていないため、本体を宣言しなければなりません。 diff --git a/src/Compilers/CSharp/Portable/xlf/CSharpResources.ko.xlf b/src/Compilers/CSharp/Portable/xlf/CSharpResources.ko.xlf index 2377d3905eb42..44e135facbab2 100644 --- a/src/Compilers/CSharp/Portable/xlf/CSharpResources.ko.xlf +++ b/src/Compilers/CSharp/Portable/xlf/CSharpResources.ko.xlf @@ -104,7 +104,7 @@ Local function '{0}' must be 'static' in order to use the Conditional attribute - Local function '{0}' must be 'static' in order to use the Conditional attribute + 조건부 특성을 사용하려면 로컬 함수 '{0}'이(가) 'static'이어야 합니다. @@ -179,17 +179,17 @@ An expression tree may not contain a from-end index ('^') expression. - An expression tree may not contain a from-end index ('^') expression. + 식 트리에는 내림차순 인덱스('^') 식을 포함할 수 없습니다. An expression tree may not contain a pattern System.Index or System.Range indexer access - An expression tree may not contain a pattern System.Index or System.Range indexer access + 식 트리에는 System.Index 또는 System.Range 패턴의 인덱서 액세스를 포함할 수 없습니다. An expression tree may not contain a range ('..') expression. - An expression tree may not contain a range ('..') expression. + 식 트리에는 범위('..') 식을 포함할 수 없습니다. @@ -344,7 +344,7 @@ Output directory could not be determined - Output directory could not be determined + 출력 디렉터리를 확인할 수 없습니다. @@ -459,7 +459,7 @@ stdin argument '-' is specified, but input has not been redirected from the standard input stream. - stdin argument '-' is specified, but input has not been redirected from the standard input stream. + stdin 인수 '-'를 지정했지만 표준 입력 스트림에서 입력이 리디렉션되지 않았습니다. @@ -691,7 +691,7 @@ a part of -modulename:<string> Specify the name of the source module - + Visual C# 컴파일러 옵션 - 출력 파일 - @@ -748,22 +748,24 @@ -debug:{full|pdbonly|portable|embedded} 디버깅 형식을 지정합니다. 기본값은 'full'이고, 'portable'은 플랫폼 간 형식이며, - 'embedded'는 대상 .dll 또는 .exe에 포함된 + 'embedded'는 대상 .dll 또는 .exe에 포함되는 플랫폼 간 형식입니다. -optimize[+|-] 최적화를 사용하도록 설정합니다. (약식: -o) -deterministic 결정적 어셈블리를 생성합니다(모듈 버전 GUID 및 타임스탬프 포함). -refonly 주 출력 대신 참조 어셈블리를 생성합니다. --instrument:TestCoverage 검사 정보를 수집하기 위해 계측한 +-instrument:TestCoverage 검사 정보를 수집하기 위해 계측되는 어셈블리를 생성합니다. -sourcelink:<파일> PDB에 포함할 소스 링크 정보입니다. - 오류 및 경고 - -warnaserror[+|-] 모든 경고를 오류로 보고합니다. --warnaserror[+|-]:<경고 목록> 특정 경고를 오류로 보고합니다. +-warnaserror[+|-]:<경고 목록> 특정 경고를 오류로 보고합니다 + (모든 Null 허용 여부 경고에는 "nullable" 사용). -warn:<n> 경고 수준(0~4)을 설정합니다. (약식: -w) --nowarn:<경고 목록> 특정 경고 메시지를 사용하지 않도록 설정합니다. --ruleset:<파일> 특정 진단을 사용하지 않도록 하는 규칙 집합 +-nowarn:<경고 목록> 특정 경고 메시지를 사용하지 않도록 설정합니다 + (모든 Null 허용 여부 경고에는 "nullable" 사용). +-ruleset:<파일> 특정 진단을 사용하지 않도록 설정하는 규칙 집합 파일을 지정합니다. -errorlog:<파일>[,version=<sarif_version>] 모든 컴파일러 및 분석기 진단을 기록할 파일을 @@ -790,17 +792,17 @@ nullable 컨텍스트 옵션 enable|disable|warnings|annotations를 지정합니다. - 보안 - --delaysign[+|-] 강력한 이름 키의 공개 부분만 사용하여 +-delaysign[+|-] 강력한 이름 키의 퍼블릭 부분만 사용하여 어셈블리 서명을 연기합니다. --publicsign[+|-] 강력한 이름 키의 공개 부분만 사용하여 - 어셈블리를 공개 서명합니다. +-publicsign[+|-] 강력한 이름 키의 퍼블릭 부분만 사용하여 + 어셈블리를 퍼블릭 서명합니다. -keyfile:<파일> 강력한 이름 키 파일을 지정합니다. -keycontainer:<문자열> 강력한 이름 키 컨테이너를 지정합니다. -highentropyva[+|-] 높은 엔트로피 ASLR을 사용하도록 설정합니다. - 기타 - -@<파일> 추가 옵션에 대한 지시 파일을 읽습니다. --help 사용법 메시지를 표시합니다. (약식: -?) +@<파일> 추가 옵션을 위해 지시 파일을 읽습니다. +-help 이 사용법 메시지를 표시합니다. (약식: -?) -nologo 컴파일러 저작권 메시지를 표시하지 않습니다. -noconfig CSC.RSP 파일을 자동으로 포함하지 않습니다. -parallel[+|-] 동시 빌드입니다. @@ -831,12 +833,12 @@ -nosdkpath 기본 SDK 경로에서 표준 라이브러리 어셈블리를 검색하지 않도록 설정합니다. -nostdlib[+|-] 표준 라이브러리(mscorlib.dll)를 참조하지 않습니다. -subsystemversion:<문자열> 이 어셈블리의 하위 시스템 버전을 지정합니다. --lib:<파일 목록> 참조를 위해 검색할 추가 디렉터리를 +-lib:<파일 목록> 참조를 검색할 추가 디렉터리를 지정합니다. -errorreport:<문자열> 내부 컴파일러 오류를 처리하는 방법을 prompt, send, queue 또는 none으로 지정합니다. 기본값은 queue입니다. --appconfig:<파일> 어셈블리 바인딩 설정을 포함하는 +-appconfig:<파일> 어셈블리 바인딩 설정이 포함된 애플리케이션 구성 파일을 지정합니다. -moduleassemblyname:<문자열> 이 모듈이 속할 어셈블리의 이름입니다. @@ -891,7 +893,7 @@ extern local functions - extern local functions + extern 로컬 함수 @@ -906,7 +908,7 @@ local function attributes - local function attributes + 로컬 함수 특성 @@ -916,7 +918,7 @@ MemberNotNull attribute - MemberNotNull attribute + MemberNotNull 특성 @@ -1441,12 +1443,12 @@ Method '{0}' lacks `[DoesNotReturn]` annotation to match implemented or overridden member. - Method '{0}' lacks `[DoesNotReturn]` annotation to match implemented or overridden member. + 구현된 멤버 또는 재정의된 멤버와 일치하는 '[DoesNotReturn]' 주석이 '{0}' 메서드에 없습니다. Method lacks `[DoesNotReturn]` annotation to match implemented or overridden member. - Method lacks `[DoesNotReturn]` annotation to match implemented or overridden member. + 구현된 멤버 또는 재정의된 멤버와 일치하는 '[DoesNotReturn]' 주석이 메서드에 없습니다. @@ -1461,22 +1463,22 @@ Generator '{0}' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. - Generator '{0}' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. + 생성기 '{0}'이(가) 소스를 생성하지 못했습니다. 출력에 기여하지 않으므로 컴파일 오류가 발생할 수 있습니다. Generator failed to generate source. - Generator failed to generate source. + 생성기가 소스를 생성하지 못했습니다. Generator '{0}' failed to initialize. It will not contribute to the output and compilation errors may occur as a result. - Generator '{0}' failed to initialize. It will not contribute to the output and compilation errors may occur as a result. + 생성기 '{0}'이(가) 초기화하지 못했습니다. 출력에 기여하지 않으므로 컴파일 오류가 발생할 수 있습니다. Generator failed to initialize. - Generator failed to initialize. + 생성기가 초기화하지 못했습니다. @@ -1521,32 +1523,32 @@ Member '{0}' must have a non-null value when exiting. - Member '{0}' must have a non-null value when exiting. + 종료할 때 '{0}' 멤버는 null이 아닌 값을 가져야 합니다. Member '{0}' cannot be used in this attribute. - Member '{0}' cannot be used in this attribute. + 이 특성에서는 '{0}' 멤버를 사용할 수 없습니다. Member cannot be used in this attribute. - Member cannot be used in this attribute. + 이 특성에서는 멤버를 사용할 수 없음 Member '{0}' must have a non-null value when exiting with '{1}'. - Member '{0}' must have a non-null value when exiting with '{1}'. + '{1}'(으)로 종료할 때 '{0}' 멤버는 null이 아닌 값을 가져야 합니다. Member must have a non-null value when exiting in some condition. - Member must have a non-null value when exiting in some condition. + 일부 조건으로 종료할 때 멤버는 null이 아닌 값을 가져야 합니다. Member must have a non-null value when exiting. - Member must have a non-null value when exiting. + 종료할 때 멤버는 null이 아닌 값을 가져야 합니다. @@ -1861,22 +1863,22 @@ Parameter '{0}' must have a non-null value when exiting with '{1}'. - '{1}'(으)로 종료할 때 '{0}' 매개 변수에 null 값을 사용할 수 없습니다. + '{1}'(으)로 종료할 때 '{0}' 매개 변수는 null이 아닌 값을 가져야 합니다. Parameter must have a non-null value when exiting in some condition. - 일부 조건으로 종료할 때 매개 변수에 null 값을 사용할 수 없습니다. + 일부 조건으로 종료할 때 매개 변수는 null이 아닌 값을 가져야 합니다. Parameter '{0}' must have a non-null value when exiting. - Parameter '{0}' must have a non-null value when exiting. + 종료할 때 '{0}' 매개 변수는 null이 아닌 값을 가져야 합니다. Parameter must have a non-null value when exiting. - Parameter must have a non-null value when exiting. + 종료할 때 매개 변수는 null이 아닌 값을 가져야 합니다. @@ -1921,62 +1923,62 @@ Nullability of reference types in type of parameter '{0}' doesn't match implemented member '{1}' (possibly because of nullability attributes). - Nullability of reference types in type of parameter '{0}' doesn't match implemented member '{1}' (possibly because of nullability attributes). + '{0}' 매개 변수 형식에서 참조 형식의 null 허용 여부가 구현된 멤버 '{1}'과(와) 일치하지 않습니다(null 허용 여부 특성 때문일 수 있음). Nullability of reference types in type of parameter doesn't match implemented member (possibly because of nullability attributes). - Nullability of reference types in type of parameter doesn't match implemented member (possibly because of nullability attributes). + 매개 변수 형식에서 참조 형식의 null 허용 여부가 구현된 멤버와 일치하지 않음(null 허용 여부 특성 때문일 수 있음) Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match implicitly implemented member '{2}' (possibly because of nullability attributes). - Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match implicitly implemented member '{2}' (possibly because of nullability attributes). + '{1}'의 '{0}' 매개 변수 형식에서 참조 형식의 null 허용 여부가 암시적으로 구현된 멤버 '{2}'과(와) 일치하지 않습니다(null 허용 여부 특성 때문일 수 있음). Nullability of reference types in type of parameter doesn't match implicitly implemented member (possibly because of nullability attributes). - Nullability of reference types in type of parameter doesn't match implicitly implemented member (possibly because of nullability attributes). + 매개 변수 형식에서 참조 형식의 null 허용 여부가 암시적으로 구현된 멤버와 일치하지 않음(null 허용 여부 특성 때문일 수 있음) Nullability of type of parameter '{0}' doesn't match overridden member (possibly because of nullability attributes). - Nullability of type of parameter '{0}' doesn't match overridden member (possibly because of nullability attributes). + '{0}' 매개 변수 형식의 null 허용 여부가 재정의된 멤버와 일치하지 않습니다(null 허용 여부 특성 때문일 수 있음). Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes). - Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes). + 매개 변수 형식의 null 허용 여부가 재정의된 멤버와 일치하지 않음(null 허용 여부 특성 때문일 수 있음) Nullability of reference types in return type doesn't match implemented member '{0}' (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implemented member '{0}' (possibly because of nullability attributes). + 반환 형식에서 참조 형식의 null 허용 여부가 구현된 멤버 '{0}'과(와) 일치하지 않습니다(null 허용 여부 특성 때문일 수 있음). Nullability of reference types in return type doesn't match implemented member (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implemented member (possibly because of nullability attributes). + 반환 형식에서 참조 형식의 null 허용 여부가 구현된 멤버와 일치하지 않음(null 허용 여부 특성 때문일 수 있음) Nullability of reference types in return type of '{0}' doesn't match implicitly implemented member '{1}' (possibly because of nullability attributes). - Nullability of reference types in return type of '{0}' doesn't match implicitly implemented member '{1}' (possibly because of nullability attributes). + '{0}'의 반환 형식에서 참조 형식의 null 허용 여부가 암시적으로 구현된 멤버 '{1}'과(와) 일치하지 않습니다(null 허용 여부 특성 때문일 수 있음). Nullability of reference types in return type doesn't match implicitly implemented member (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implicitly implemented member (possibly because of nullability attributes). + 반환 형식에서 참조 형식의 null 허용 여부가 암시적으로 구현된 멤버와 일치하지 않음(null 허용 여부 특성 때문일 수 있음) Nullability of return type doesn't match overridden member (possibly because of nullability attributes). - Nullability of return type doesn't match overridden member (possibly because of nullability attributes). + 반환 형식의 null 허용 여부가 재정의된 멤버와 일치하지 않습니다(null 허용 여부 특성 때문일 수 있음). Nullability of return type doesn't match overridden member (possibly because of nullability attributes). - Nullability of return type doesn't match overridden member (possibly because of nullability attributes). + 반환 형식의 null 허용 여부가 재정의된 멤버와 일치하지 않음(null 허용 여부 특성 때문일 수 있음) @@ -4265,7 +4267,7 @@ If such a class is used as a base class and if the deriving class defines a dest The DllImport attribute cannot be applied to a method that is generic or contained in a generic method or type. - DllImport 특성은 제네릭이거나 제네릭 형식에 포함된 메서드에 적용할 수 없습니다. + DllImport 특성은 제네릭이거나 제네릭 메서드 또는 형식에 포함된 메서드에 적용할 수 없습니다. @@ -6139,7 +6141,7 @@ catch (System.Exception e) 블록 뒤의 catch() 블록은 RuntimeCompatibilityA A readonly field cannot be assigned to (except in a constructor of the class in which the field is defined or a variable initializer)) - 읽기 전용 필드에는 할당할 수 없습니다. 단, 필드가 정의된 클래스의 생성자 또는 변수 이니셜라이저에서는 예외입니다. + 읽기 전용 필드에는 값을 할당할 수 없습니다. 단, 필드가 정의된 클래스의 생성자 또는 변수 이니셜라이저에서는 예외입니다. @@ -9767,7 +9769,7 @@ To remove the warning, you can use /reference instead (set the Embed Interop Typ Local function '{0}' must declare a body because it is not marked 'static extern'. - '{0}'은(는) 로컬 함수이므로 항상 본문이 있어야 합니다. + 로컬 함수 '{0}'은(는) 'static extern'으로 표시되어 있지 않으므로 본문을 선언해야 합니다. diff --git a/src/Compilers/CSharp/Portable/xlf/CSharpResources.pl.xlf b/src/Compilers/CSharp/Portable/xlf/CSharpResources.pl.xlf index 432358e62f3d9..afd8f41eb0a55 100644 --- a/src/Compilers/CSharp/Portable/xlf/CSharpResources.pl.xlf +++ b/src/Compilers/CSharp/Portable/xlf/CSharpResources.pl.xlf @@ -104,7 +104,7 @@ Local function '{0}' must be 'static' in order to use the Conditional attribute - Local function '{0}' must be 'static' in order to use the Conditional attribute + Funkcja lokalna „{0}” musi być oznaczona jako „static”, aby można było używać atrybutu warunkowego @@ -179,17 +179,17 @@ An expression tree may not contain a from-end index ('^') expression. - An expression tree may not contain a from-end index ('^') expression. + Drzewo wyrażeń nie może zawierać wyrażenia „od końca indeksu” („^”). An expression tree may not contain a pattern System.Index or System.Range indexer access - An expression tree may not contain a pattern System.Index or System.Range indexer access + Drzewo wyrażenia nie może zawierać dostępu do indeksatora z wzorcem System.Index lub System.Range An expression tree may not contain a range ('..') expression. - An expression tree may not contain a range ('..') expression. + Drzewo wyrażeń nie może zawierać wyrażenia zakresu („..”). @@ -344,7 +344,7 @@ Output directory could not be determined - Output directory could not be determined + Nie można było określić katalogu wyjściowego @@ -459,7 +459,7 @@ stdin argument '-' is specified, but input has not been redirected from the standard input stream. - stdin argument '-' is specified, but input has not been redirected from the standard input stream. + określono argument stdin „-”, ale dane wejściowe nie zostały przekierowane ze standardowego strumienia wejściowego. @@ -691,12 +691,12 @@ a part of -modulename:<string> Specify the name of the source module - + Opcje kompilatora Visual C# - PLIKI WYJŚCIOWE - -out:<plik> Określ nazwę pliku wyjściowego (domyślnie: nazwa podstawowa - pliku z klasą główną lub pierwszym plikiem) + pliku z klasą główną lub pierwszego pliku) -target:exe Kompiluj plik wykonywalny konsoli (domyślnie) (krótka wersja: -t:exe) -target:winexe Kompiluj plik wykonywalny systemu Windows (krótka wersja: @@ -749,20 +749,22 @@ Określ typ debugowania (wartość domyślna to „full”, wartość „portable” to format międzyplatformowy, a wartość „embedded” to format międzyplatformowy wbudowany w - docelowym pliku DLL lub EXE) + docelowym pliku dll lub exe) -optimize[+|-] Włącz optymalizacje (krótka wersja: -o) -deterministic Utwórz zestaw deterministyczny - (zawierający sygnaturę czasową i identyfikator GUID wersji modułu) + (zawierający identyfikator GUID i sygnaturę czasową wersji modułu) -refonly Utwórz zestaw odwołania zamiast głównych danych wyjściowych -instrument:TestCoverage Utwórz zestaw instrumentowany w celu gromadzenia informacji o pokryciu --sourcelink:<plik> Informacje o linku źródłowym na potrzeby osadzenia w pliku PDB. +-sourcelink:<plik> Informacje o linku źródłowym do osadzenia w pliku PDB. - BŁĘDY I OSTRZEŻENIA - -warnaserror[+|-] Zgłaszaj wszystkie ostrzeżenia jako błędy -warnaserror[+|-]:<lista_ostrzeżeń> Zgłaszaj określone ostrzeżenia jako błędy + (użyj wartości „nullable” dla wszystkich ostrzeżeń nt. przyjmowania wartości null) -warn:<n> Ustaw poziom ostrzeżeń (0–4) (krótka wersja: -w) -nowarn:<lista_ostrzeżeń> Wyłącz określone komunikaty ostrzeżeń + (użyj wartości „nullable” dla wszystkich ostrzeżeń nt. przyjmowania wartości null) -ruleset:<plik> Określ plik zestawu reguł wyłączający określone funkcje diagnostyczne. -errorlog:<plik>[,version=<wersja_sarif>] @@ -891,7 +893,7 @@ extern local functions - extern local functions + ustaw funkcje lokalne jako zewnętrzne @@ -906,7 +908,7 @@ local function attributes - local function attributes + atrybuty funkcji lokalnych @@ -916,7 +918,7 @@ MemberNotNull attribute - MemberNotNull attribute + Atrybut MemberNotNull @@ -1441,12 +1443,12 @@ Method '{0}' lacks `[DoesNotReturn]` annotation to match implemented or overridden member. - Method '{0}' lacks `[DoesNotReturn]` annotation to match implemented or overridden member. + W metodzie „{0}” brakuje adnotacji „[DoesNotReturn]”, aby można było dopasować zaimplementowaną lub przesłoniętą składową. Method lacks `[DoesNotReturn]` annotation to match implemented or overridden member. - Method lacks `[DoesNotReturn]` annotation to match implemented or overridden member. + W metodzie brakuje adnotacji „[DoesNotReturn]”, aby można było dopasować zaimplementowaną lub przesłoniętą składową. @@ -1461,22 +1463,22 @@ Generator '{0}' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. - Generator '{0}' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. + Generator „{0}” nie mógł wygenerować źródła. W rezultacie nie będzie on współtworzyć danych wyjściowych i mogą wystąpić błędy kompilacji. Generator failed to generate source. - Generator failed to generate source. + Generator nie mógł wygenerować źródła. Generator '{0}' failed to initialize. It will not contribute to the output and compilation errors may occur as a result. - Generator '{0}' failed to initialize. It will not contribute to the output and compilation errors may occur as a result. + Generator „{0}” nie mógł przeprowadzić inicjalizacji. W rezultacie nie będzie on współtworzyć danych wyjściowych i mogą wystąpić błędy kompilacji. Generator failed to initialize. - Generator failed to initialize. + Generator nie mógł przeprowadzić inicjalizacji. @@ -1521,32 +1523,32 @@ Member '{0}' must have a non-null value when exiting. - Member '{0}' must have a non-null value when exiting. + Element członkowski „{0}” musi mieć wartość inną niż null podczas kończenia działania. Member '{0}' cannot be used in this attribute. - Member '{0}' cannot be used in this attribute. + Nie można użyć składowej „{0}” w tym atrybucie. Member cannot be used in this attribute. - Member cannot be used in this attribute. + Nie można użyć składowej w tym atrybucie. Member '{0}' must have a non-null value when exiting with '{1}'. - Member '{0}' must have a non-null value when exiting with '{1}'. + Element członkowski „{0}” musi mieć wartość inną niż null podczas kończenia działania z wartością „{1}”. Member must have a non-null value when exiting in some condition. - Member must have a non-null value when exiting in some condition. + Element członkowski musi mieć wartość inną niż null podczas kończenia działania w pewnym stanie. Member must have a non-null value when exiting. - Member must have a non-null value when exiting. + Element członkowski musi mieć wartość inną niż null podczas kończenia działania. @@ -1861,32 +1863,32 @@ Parameter '{0}' must have a non-null value when exiting with '{1}'. - Parametr „{0}” nie może mieć wartości null podczas zamykania z wartością „{1}”. + Parametr „{0}” musi mieć wartość inną niż null podczas kończenia działania z wartością „{1}”. Parameter must have a non-null value when exiting in some condition. - Parametr nie może mieć wartości null podczas zamykania w pewnym stanie. + Parametr musi mieć wartość inną niż null podczas kończenia działania w pewnym stanie. Parameter '{0}' must have a non-null value when exiting. - Parameter '{0}' must have a non-null value when exiting. + Parametr „{0}” musi mieć wartość inną niż null podczas kończenia działania. Parameter must have a non-null value when exiting. - Parameter must have a non-null value when exiting. + Parametr musi mieć wartość inną niż null podczas kończenia działania. A method marked [DoesNotReturn] should not return. - Metoda oznaczona [DoesNotReturn] nie powinna zwracać wartości. + Metoda z oznaczeniem [DoesNotReturn] nie powinna zwracać wartości. A method marked [DoesNotReturn] should not return. - Metoda oznaczona [DoesNotReturn] nie powinna zwracać wartości. + Metoda z oznaczeniem [DoesNotReturn] nie powinna zwracać wartości. @@ -1921,62 +1923,62 @@ Nullability of reference types in type of parameter '{0}' doesn't match implemented member '{1}' (possibly because of nullability attributes). - Nullability of reference types in type of parameter '{0}' doesn't match implemented member '{1}' (possibly because of nullability attributes). + Dopuszczanie wartości null dla typów referencyjnych w typie parametru „{0}” nie jest zgodne z zaimplementowaną składową „{1}” (prawdopodobnie z powodu atrybutów dopuszczania wartości null). Nullability of reference types in type of parameter doesn't match implemented member (possibly because of nullability attributes). - Nullability of reference types in type of parameter doesn't match implemented member (possibly because of nullability attributes). + Dopuszczanie wartości null dla typów referencyjnych w typie parametru nie jest zgodne z zaimplementowaną składową (prawdopodobnie z powodu atrybutów dopuszczania wartości null). Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match implicitly implemented member '{2}' (possibly because of nullability attributes). - Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match implicitly implemented member '{2}' (possibly because of nullability attributes). + Dopuszczanie wartości null dla typów referencyjnych w typie parametru „{0}” z elementu „{1}” nie jest zgodne z zaimplementowaną składową „{2}” (prawdopodobnie z powodu atrybutów dopuszczania wartości null). Nullability of reference types in type of parameter doesn't match implicitly implemented member (possibly because of nullability attributes). - Nullability of reference types in type of parameter doesn't match implicitly implemented member (possibly because of nullability attributes). + Dopuszczanie wartości null dla typów referencyjnych w typie parametru nie jest zgodne z niejawnie zaimplementowaną składową (prawdopodobnie z powodu atrybutów dopuszczania wartości null). Nullability of type of parameter '{0}' doesn't match overridden member (possibly because of nullability attributes). - Nullability of type of parameter '{0}' doesn't match overridden member (possibly because of nullability attributes). + Dopuszczanie wartości null dla typu parametru „{0}” nie jest zgodne z przesłoniętą składową (prawdopodobnie z powodu atrybutów dopuszczania wartości null). Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes). - Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes). + Dopuszczanie wartości null dla typu parametru nie jest zgodne z przesłoniętą składową (prawdopodobnie z powodu atrybutów dopuszczania wartości null). Nullability of reference types in return type doesn't match implemented member '{0}' (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implemented member '{0}' (possibly because of nullability attributes). + Dopuszczanie wartości null dla typów referencyjnych w typie zwracanym nie jest zgodne z zaimplementowaną składową „{0}” (prawdopodobnie z powodu atrybutów dopuszczania wartości null). Nullability of reference types in return type doesn't match implemented member (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implemented member (possibly because of nullability attributes). + Dopuszczanie wartości null dla typów referencyjnych w typie zwracanym nie jest zgodne z zaimplementowaną składową (prawdopodobnie z powodu atrybutów dopuszczania wartości null). Nullability of reference types in return type of '{0}' doesn't match implicitly implemented member '{1}' (possibly because of nullability attributes). - Nullability of reference types in return type of '{0}' doesn't match implicitly implemented member '{1}' (possibly because of nullability attributes). + Dopuszczanie wartości null dla typów referencyjnych w typie zwracanym „{0}” nie jest zgodne z niejawnie zaimplementowaną składową „{1}” (prawdopodobnie z powodu atrybutów dopuszczania wartości null). Nullability of reference types in return type doesn't match implicitly implemented member (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implicitly implemented member (possibly because of nullability attributes). + Dopuszczanie wartości null dla typów referencyjnych w typie zwracanym nie jest zgodne z niejawnie zaimplementowaną składową (prawdopodobnie z powodu atrybutów dopuszczania wartości null). Nullability of return type doesn't match overridden member (possibly because of nullability attributes). - Nullability of return type doesn't match overridden member (possibly because of nullability attributes). + Dopuszczanie wartości null dla typu zwracanego nie jest zgodne z przesłoniętą składową (prawdopodobnie z powodu atrybutów dopuszczania wartości null). Nullability of return type doesn't match overridden member (possibly because of nullability attributes). - Nullability of return type doesn't match overridden member (possibly because of nullability attributes). + Dopuszczanie wartości null dla typu zwracanego nie jest zgodne z przesłoniętą składową (prawdopodobnie z powodu atrybutów dopuszczania wartości null). @@ -4265,7 +4267,7 @@ Jeśli taka klasa zostanie użyta jako klasa bazowa i klasa pochodna definiuje d The DllImport attribute cannot be applied to a method that is generic or contained in a generic method or type. - Atrybut DllImport nie może być zastosowany do metody, która jest ogólna lub zawarta w typie ogólnym. + Atrybut DllImport nie może być zastosowany do metody, która jest ogólna lub zawarta w metodzie ogólnej lub typie ogólnym. @@ -9767,7 +9769,7 @@ Aby usunąć ostrzeżenie, możesz zamiast tego użyć opcji /reference (ustaw w Local function '{0}' must declare a body because it is not marked 'static extern'. - '„{0}” jest funkcją lokalną i w związku z tym musi zawsze mieć treść. + Funkcja lokalna „{0}” musi deklarować treść, ponieważ nie jest oznaczona jako „static extern”. diff --git a/src/Compilers/CSharp/Portable/xlf/CSharpResources.pt-BR.xlf b/src/Compilers/CSharp/Portable/xlf/CSharpResources.pt-BR.xlf index d1a44074e34c5..f13bd204de8c4 100644 --- a/src/Compilers/CSharp/Portable/xlf/CSharpResources.pt-BR.xlf +++ b/src/Compilers/CSharp/Portable/xlf/CSharpResources.pt-BR.xlf @@ -104,7 +104,7 @@ Local function '{0}' must be 'static' in order to use the Conditional attribute - Local function '{0}' must be 'static' in order to use the Conditional attribute + A função local '{0}' deve ser 'static' para usar o atributo condicional @@ -179,17 +179,17 @@ An expression tree may not contain a from-end index ('^') expression. - An expression tree may not contain a from-end index ('^') expression. + Uma árvore de expressão não pode conter uma expressão de índice de front-end ('^'). An expression tree may not contain a pattern System.Index or System.Range indexer access - An expression tree may not contain a pattern System.Index or System.Range indexer access + Uma árvore de expressão não pode conter um padrão System.Index ou acesso do indexador System.Range An expression tree may not contain a range ('..') expression. - An expression tree may not contain a range ('..') expression. + Uma árvore de expressão não pode conter uma expressão de intervalo ('..'). @@ -344,7 +344,7 @@ Output directory could not be determined - Output directory could not be determined + Não foi possível determinar o diretório de saída @@ -459,7 +459,7 @@ stdin argument '-' is specified, but input has not been redirected from the standard input stream. - stdin argument '-' is specified, but input has not been redirected from the standard input stream. + O argumento stdin '-' foi especificado, mas a entrada não foi redirecionada do fluxo de entrada padrão. @@ -691,10 +691,10 @@ a part of -modulename:<string> Specify the name of the source module - + Opções do Compilador do Visual C# - - ARQUIVOS DE SAÍDA - + – ARQUIVOS DE SAÍDA - -out:<file> Especificar o nome do arquivo de saída (padrão: nome de base do arquivo com a classe principal ou do primeiro arquivo) -target:exe Criar um executável do console (padrão) (Forma @@ -709,12 +709,12 @@ -target:winmdobj Criar um arquivo intermediário do Windows Runtime que seja consumido por WinMDExp (Forma abreviada: -t:winmdobj) -doc:<file> Arquivo de documentação XML a ser gerado --refout:<file> Saída do assembly de referência a ser gerada +-refout:<file> Saída do assembly de referência a ser gerada -platform:<string> Limitar em quais plataformas esse código pode ser executado: x86, Itanium, x64, arm, arm64, anycpu32bitpreferred ou anycpu. O padrão é anycpu. - - ARQUIVOS DE ENTRADA - + – ARQUIVOS DE ENTRADA - -recurse:<wildcard> Incluir todos os arquivos no diretório atual e subdiretórios conforme as especificações de curinga @@ -733,17 +733,17 @@ -embed Inserir todos os arquivos de origem no PDB. -embed:<file list> Inserir arquivos específicos no PDB. - - RECURSOS - + – RECURSOS - -win32res:<file> Especificar um arquivo de recurso Win32 (.res) -win32icon:<file> Usar esse ícone para a saída -win32manifest:<file> Especificar um arquivo de manifesto Win32 (.xml) -nowin32manifest Não incluir o manifesto Win32 padrão -resource:<resinfo> Inserir o recurso especificado (Forma abreviada: -res) -linkresource:<resinfo> Vincular o recurso especificado a esse assembly - (Forma abreviada: -linkres), Em que o formato resinfo + (Forma abreviada: -linkres) Em que o formato resinfo é <file>[,<string name>[,public|private]] - - GERAÇÃO DE CÓDIGO - + – GERAÇÃO DE CÓDIGO - -debug[+|-] Emitir informações de depuração -debug:{full|pdbonly|portable|embedded} Especificar o tipo de depuração ('full' é o padrão, @@ -758,20 +758,23 @@ informações de cobertura -sourcelink:<file> Informações do link de origem a serem inseridas no PDB. - - ERROS E AVISOS - + – ERROS E AVISOS - -warnaserror[+|-] Relatar todos os avisos como erros -warnaserror[+|-]:<warn list> Relatar avisos específicos como erros -warn:<n> Definir o nível de aviso (0-4) (Forma abreviada: -w) -nowarn:<warn list> Desabilitar mensagens de aviso específicas --ruleset:<file>[,version=<sarif_version>] + (usar "nullable" para todos os avisos de valor nulo) +-ruleset:<file> Especificar um arquivo do conjunto de regras que desabilita diagnósticos + específicos. +-errorlog:<file>[,version=<sarif_version>] Especificar um arquivo para registrar todos os diagnósticos do compilador e do analisador. - sarif_version:{1|2|2.1} O padrão é 1. 2 e 2.1 + sarif_version:{1|2|2.1} O padrão é 1.2 e 2.1 ambos significam versão SARIF 2.1.0. -reportanalyzer Relatar informações adicionais do analisador, como o tempo de execução. - - LINGUAGEM - + – LINGUAGEM - -checked[+|-] Gerar verificações de estouro -unsafe[+|-] Permitir código 'unsafe' -define:<symbol list> Definir símbolos de compilação condicionais (Forma @@ -787,7 +790,7 @@ -nullable:{enable|disable|warnings|annotations} Especificar opção de contexto que permite valor nulo enable|disable|warnings|annotations. - - SEGURANÇA - + – SEGURANÇA - -delaysign[+|-] Assinar com atraso o assembly usando apenas a parte pública da chave de nome forte -publicsign[+|-] Assinar de modo público o assembly usando apenas a parte pública @@ -796,7 +799,7 @@ -keycontainer:<string> Especificar um contêiner de chave de nome forte -highentropyva[+|-] Habilitar ASLR de alta entropia - - DIVERSOS - + – DIVERSOS - @<file> Ler o arquivo de resposta para obter mais opções -help Exibir esta mensagem de uso (Forma abreviada: -?) -nologo Suprimir a mensagem de direitos autorais do compilador @@ -804,8 +807,8 @@ -parallel[+|-] Build concomitante. -version Exibir o número de versão do compilador e sair. - - AVANÇADO - --baseaddress:<address> Endereço base da biblioteca a ser criada + – AVANÇADO - +-baseaddress:<address> Endereço básico da biblioteca a ser criada -checksumalgorithm:<alg> Especificar o algoritmo para calcular a soma de verificação do arquivo de origem armazenado em PDB. Os valores com suporte são: SHA1 ou SHA256 (padrão). @@ -889,7 +892,7 @@ extern local functions - extern local functions + funções locais externas @@ -904,7 +907,7 @@ local function attributes - local function attributes + atributos de função local @@ -914,7 +917,7 @@ MemberNotNull attribute - MemberNotNull attribute + Atributo MemberNotNull @@ -1439,12 +1442,12 @@ Method '{0}' lacks `[DoesNotReturn]` annotation to match implemented or overridden member. - Method '{0}' lacks `[DoesNotReturn]` annotation to match implemented or overridden member. + O método '{0}' não tem a anotação '[DoesNotReturn]' para corresponder ao membro implementado ou substituído. Method lacks `[DoesNotReturn]` annotation to match implemented or overridden member. - Method lacks `[DoesNotReturn]` annotation to match implemented or overridden member. + O método não tem a anotação '[DoesNotReturn]' para corresponder ao membro implementado ou substituído. @@ -1459,22 +1462,22 @@ Generator '{0}' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. - Generator '{0}' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. + O gerador '{0}' não pôde gerar a origem. Ele não contribuirá com a saída e erros de compilação podem ocorrer como resultado. Generator failed to generate source. - Generator failed to generate source. + O gerador não pôde gerar a origem. Generator '{0}' failed to initialize. It will not contribute to the output and compilation errors may occur as a result. - Generator '{0}' failed to initialize. It will not contribute to the output and compilation errors may occur as a result. + Falha na inicialização do gerador '{0}'. Ele não contribuirá com a saída e erros de compilação podem ocorrer como resultado. Generator failed to initialize. - Generator failed to initialize. + Falha na inicialização do gerador. @@ -1519,32 +1522,32 @@ Member '{0}' must have a non-null value when exiting. - Member '{0}' must have a non-null value when exiting. + O membro '{0}' deve ter um valor não nulo durante a saída. Member '{0}' cannot be used in this attribute. - Member '{0}' cannot be used in this attribute. + O membro '{0}' não pode ser usado nesse atributo. Member cannot be used in this attribute. - Member cannot be used in this attribute. + O membro não pode ser usado nesse atributo. Member '{0}' must have a non-null value when exiting with '{1}'. - Member '{0}' must have a non-null value when exiting with '{1}'. + O membro '{0}' deve ter um valor não nulo durante a saída com '{1}'. Member must have a non-null value when exiting in some condition. - Member must have a non-null value when exiting in some condition. + O membro deve ter um valor não nulo durante a saída em alguma condição. Member must have a non-null value when exiting. - Member must have a non-null value when exiting. + O membro deve ter um valor não nulo ao sair. @@ -1859,22 +1862,22 @@ Parameter '{0}' must have a non-null value when exiting with '{1}'. - O parâmetro '{0}' não pode ter um valor nulo durante a saída com '{1}'. + O parâmetro '{0}' deve ter um valor não nulo durante a saída com '{1}'. Parameter must have a non-null value when exiting in some condition. - O parâmetro não pode ter um valor nulo durante a saída em alguma condição. + O parâmetro deve ter um valor não nulo durante a saída em alguma condição. Parameter '{0}' must have a non-null value when exiting. - Parameter '{0}' must have a non-null value when exiting. + O parâmetro '{0}' deve ter um valor não nulo ao sair. Parameter must have a non-null value when exiting. - Parameter must have a non-null value when exiting. + O parâmetro deve ter um valor não nulo ao sair. @@ -1919,62 +1922,62 @@ Nullability of reference types in type of parameter '{0}' doesn't match implemented member '{1}' (possibly because of nullability attributes). - Nullability of reference types in type of parameter '{0}' doesn't match implemented member '{1}' (possibly because of nullability attributes). + A nulidade de tipos de referência no tipo de parâmetro '{0}' não corresponde ao membro implementado '{1}' (possivelmente devido a atributos de nulidade). Nullability of reference types in type of parameter doesn't match implemented member (possibly because of nullability attributes). - Nullability of reference types in type of parameter doesn't match implemented member (possibly because of nullability attributes). + A nulidade de tipos de referência no tipo de parâmetro não corresponde ao membro implementado (possivelmente devido a atributos de nulidade). Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match implicitly implemented member '{2}' (possibly because of nullability attributes). - Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match implicitly implemented member '{2}' (possibly because of nullability attributes). + A nulidade de tipos de referência no tipo de parâmetro '{0}' de '{1}' não corresponde ao membro implementado implicitamente '{2}' (possivelmente devido a atributos de nulidade). Nullability of reference types in type of parameter doesn't match implicitly implemented member (possibly because of nullability attributes). - Nullability of reference types in type of parameter doesn't match implicitly implemented member (possibly because of nullability attributes). + A nulidade de tipos de referência no tipo de parâmetro não corresponde ao membro implementado implicitamente (possivelmente devido a atributos de nulidade). Nullability of type of parameter '{0}' doesn't match overridden member (possibly because of nullability attributes). - Nullability of type of parameter '{0}' doesn't match overridden member (possibly because of nullability attributes). + A nulidade do tipo de parâmetro '{0}' não corresponde ao membro substituído (possivelmente devido a atributos de nulidade). Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes). - Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes). + A nulidade do tipo de parâmetro não corresponde ao membro substituído (possivelmente devido a atributos de nulidade). Nullability of reference types in return type doesn't match implemented member '{0}' (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implemented member '{0}' (possibly because of nullability attributes). + A nulidade de tipos de referência no tipo de retorno não corresponde ao membro implementado '{0}' (possivelmente devido a atributos de nulidade). Nullability of reference types in return type doesn't match implemented member (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implemented member (possibly because of nullability attributes). + A nulidade de tipos de referência no tipo de retorno não corresponde ao membro implementado (possivelmente devido a atributos de nulidade). Nullability of reference types in return type of '{0}' doesn't match implicitly implemented member '{1}' (possibly because of nullability attributes). - Nullability of reference types in return type of '{0}' doesn't match implicitly implemented member '{1}' (possibly because of nullability attributes). + A nulidade de tipos de referência no tipo de retorno '{0}' não corresponde ao membro implementado implicitamente '{1}' (possivelmente devido a atributos de nulidade). Nullability of reference types in return type doesn't match implicitly implemented member (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implicitly implemented member (possibly because of nullability attributes). + A nulidade de tipos de referência no tipo de retorno não corresponde ao membro implementado implicitamente (possivelmente devido a atributos de nulidade). Nullability of return type doesn't match overridden member (possibly because of nullability attributes). - Nullability of return type doesn't match overridden member (possibly because of nullability attributes). + A nulidade do tipo de retorno não corresponde ao membro substituído (possivelmente devido a atributos de nulidade). Nullability of return type doesn't match overridden member (possibly because of nullability attributes). - Nullability of return type doesn't match overridden member (possibly because of nullability attributes). + A nulidade do tipo de retorno não corresponde ao membro substituído (possivelmente devido a atributos de nulidade). @@ -4263,7 +4266,7 @@ Se tal classe for usada como uma classe base e se a classe derivada definir um d The DllImport attribute cannot be applied to a method that is generic or contained in a generic method or type. - O atributo DllImport não pode ser aplicado a um método que seja genérico ou esteja contido em um tipo genérico. + O atributo DllImport não pode ser aplicado a um método que seja genérico ou esteja contido em um método ou tipo genérico. @@ -6137,7 +6140,7 @@ Um bloco catch() depois de um bloco catch (System.Exception e) poderá capturar A readonly field cannot be assigned to (except in a constructor of the class in which the field is defined or a variable initializer)) - Não é possível atribuir um campo somente leitura (exceto em um construtor da classe na qual o campo está definido ou em um inicializador de variável) + Não é possível atribuir um campo somente leitura (exceto em um construtor da classe na qual o campo esteja definido ou em um inicializador de variável) @@ -9765,7 +9768,7 @@ Para incorporar informações de tipo de interoperabilidade para os dois assembl Local function '{0}' must declare a body because it is not marked 'static extern'. - '{0}' é uma função local e, portanto, deve sempre ter um corpo. + A função local '{0}' deve declarar um corpo porque não está marcado como 'static extern'. diff --git a/src/Compilers/CSharp/Portable/xlf/CSharpResources.ru.xlf b/src/Compilers/CSharp/Portable/xlf/CSharpResources.ru.xlf index 298825154e84e..f17b05efcf1da 100644 --- a/src/Compilers/CSharp/Portable/xlf/CSharpResources.ru.xlf +++ b/src/Compilers/CSharp/Portable/xlf/CSharpResources.ru.xlf @@ -104,7 +104,7 @@ Local function '{0}' must be 'static' in order to use the Conditional attribute - Local function '{0}' must be 'static' in order to use the Conditional attribute + Локальная функция "{0}" должна быть "static", чтобы использовать атрибут Conditional @@ -179,17 +179,17 @@ An expression tree may not contain a from-end index ('^') expression. - An expression tree may not contain a from-end index ('^') expression. + Дерево выражений не может содержать выражение индекса, отсчитываемого с конца ("^"). An expression tree may not contain a pattern System.Index or System.Range indexer access - An expression tree may not contain a pattern System.Index or System.Range indexer access + Дерево выражения не может содержать доступ к индексатору System.Index или System.Range шаблона. An expression tree may not contain a range ('..') expression. - An expression tree may not contain a range ('..') expression. + Дерево выражений не может содержать выражение диапазона (".."). @@ -344,7 +344,7 @@ Output directory could not be determined - Output directory could not be determined + Не удалось определить выходной каталог @@ -459,7 +459,7 @@ stdin argument '-' is specified, but input has not been redirected from the standard input stream. - stdin argument '-' is specified, but input has not been redirected from the standard input stream. + Указан аргумент stdin "-", но входные данные не были перенаправлены из стандартного входного потока. @@ -691,7 +691,7 @@ a part of -modulename:<string> Specify the name of the source module - + Параметры компилятора Visual C# - Выходные файлы - @@ -749,7 +749,7 @@ Задать тип отладки (по умолчанию — "full", "portable"  — кроссплатформенный формат, "embedded" — кроссплатформенный формат, внедряемый в - целевой DLL- или EXE-файл) + целевой DLL- или EXE-файл -optimize[+|-] Включить оптимизацию (краткая форма: -o) -deterministic Создать детерминированную сборку (включая GUID версии модуля и метку времени) @@ -757,12 +757,14 @@ -instrument:TestCoverage Создать сборку, инструментированную для сбора сведений об объеме протестированного кода -sourcelink:<file> Данные о ссылке на исходные файлы для внедрения в PDB. - + - Ошибки и предупреждения - -warnaserror[+|-] Регистрировать все предупреждения как ошибки -warnaserror[+|-]:<warn list> Регистрировать указанные предупреждения как ошибки + (используйте "nullable" для всех предупреждений о допустимости значений NULL) -warn:<n> Задать порог предупреждений (0–4) (краткая форма: -w) -nowarn:<warn list> Отключить указанные предупреждения + (используйте "nullable" для всех предупреждений о допустимости значений NULL) -ruleset:<file> Указать файл набора правил, отключающий определенные диагностические операции. -errorlog:<file>[,version=<sarif_version>] @@ -783,7 +785,7 @@ "latest" (последняя версия, включая дополнительные номера версии), "default" (то же что и "latest"), "latestmajor" (последняя версия, исключая дополнительные номера версии), - "preview" (последняя версия, включая функции в неподдерживаемой предварительной версии) + "preview" (последняя версия, включая функции в неподдерживаемой предварительной версии), либо конкретные версии, например "6" или "7.1" -nullable[+|-] Указать параметр допускающего значение NULL контекста enable|disable. -nullable:{enable|disable|warnings|annotations} @@ -891,7 +893,7 @@ extern local functions - extern local functions + Внешние локальные функции @@ -906,7 +908,7 @@ local function attributes - local function attributes + Атрибуты локальной функции @@ -916,7 +918,7 @@ MemberNotNull attribute - MemberNotNull attribute + Атрибут MemberNotNull @@ -1441,12 +1443,12 @@ Method '{0}' lacks `[DoesNotReturn]` annotation to match implemented or overridden member. - Method '{0}' lacks `[DoesNotReturn]` annotation to match implemented or overridden member. + В методе "{0}" отсутствует аннотация "[DoesNotReturn]" для сопоставления реализованного или переопределенного члена. Method lacks `[DoesNotReturn]` annotation to match implemented or overridden member. - Method lacks `[DoesNotReturn]` annotation to match implemented or overridden member. + В методе отсутствует аннотация "[DoesNotReturn]" для сопоставления реализованного или переопределенного члена. @@ -1461,22 +1463,22 @@ Generator '{0}' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. - Generator '{0}' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. + Генератору "{0}" не удалось создать источник. Это не повлияет на выходные данные и ошибки компиляции, которые могут возникнуть в результате. Generator failed to generate source. - Generator failed to generate source. + Генератору не удалось создать источник. Generator '{0}' failed to initialize. It will not contribute to the output and compilation errors may occur as a result. - Generator '{0}' failed to initialize. It will not contribute to the output and compilation errors may occur as a result. + Не удалось инициализировать генератор "{0}". Это не повлияет на выходные данные и ошибки компиляции, которые могут возникнуть в результате. Generator failed to initialize. - Generator failed to initialize. + Не удалось инициализировать генератор. @@ -1521,32 +1523,32 @@ Member '{0}' must have a non-null value when exiting. - Member '{0}' must have a non-null value when exiting. + Элемент "{0}" должен иметь значение, отличное от NULL, при выходе. Member '{0}' cannot be used in this attribute. - Member '{0}' cannot be used in this attribute. + Элемент "{0}" не может использоваться в этом атрибуте. Member cannot be used in this attribute. - Member cannot be used in this attribute. + Элемент не может использоваться в этом атрибуте. Member '{0}' must have a non-null value when exiting with '{1}'. - Member '{0}' must have a non-null value when exiting with '{1}'. + Элемент "{0}" должен иметь значение, отличное от NULL, при выходе с "{1}". Member must have a non-null value when exiting in some condition. - Member must have a non-null value when exiting in some condition. + Элемент должен иметь значение, отличное от NULL, при выходе в определенном состоянии. Member must have a non-null value when exiting. - Member must have a non-null value when exiting. + Элемент должен иметь значение, отличное от NULL, при выходе. @@ -1861,22 +1863,22 @@ Parameter '{0}' must have a non-null value when exiting with '{1}'. - Параметр "{0}" не может иметь значение null при выходе с "{1}". + Параметр "{0}" должен иметь значение, отличное от NULL, при выходе с "{1}". Parameter must have a non-null value when exiting in some condition. - Параметр не может иметь значение null при выходе в определенном условии. + Параметр должен иметь значение, отличное от NULL, при выходе в определенном состоянии. Parameter '{0}' must have a non-null value when exiting. - Parameter '{0}' must have a non-null value when exiting. + Параметр "{0}" должен иметь значение, отличное от NULL, при выходе. Parameter must have a non-null value when exiting. - Parameter must have a non-null value when exiting. + Параметр должен иметь значение, отличное от NULL, при выходе. @@ -1886,7 +1888,7 @@ A method marked [DoesNotReturn] should not return. - Метод, помеченный [DoesNotReturn], не должен возвращать значение + Метод, помеченный [DoesNotReturn], не должен возвращать значение. @@ -1921,62 +1923,62 @@ Nullability of reference types in type of parameter '{0}' doesn't match implemented member '{1}' (possibly because of nullability attributes). - Nullability of reference types in type of parameter '{0}' doesn't match implemented member '{1}' (possibly because of nullability attributes). + Допустимость значений NULL для ссылочных типов в типе параметра "{0}" не соответствует реализованному элементу "{1}" (возможно, из-за атрибутов допустимости значений NULL). Nullability of reference types in type of parameter doesn't match implemented member (possibly because of nullability attributes). - Nullability of reference types in type of parameter doesn't match implemented member (possibly because of nullability attributes). + Допустимость значений NULL для ссылочных типов в типе параметра не соответствует реализованному элементу (возможно, из-за атрибутов допустимости значений NULL). Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match implicitly implemented member '{2}' (possibly because of nullability attributes). - Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match implicitly implemented member '{2}' (possibly because of nullability attributes). + Допустимость значений NULL для ссылочных типов в типе параметра "{0}" объекта "{1}" не соответствует неявно реализованному элементу "{2}" (возможно, из-за атрибутов допустимости значений NULL). Nullability of reference types in type of parameter doesn't match implicitly implemented member (possibly because of nullability attributes). - Nullability of reference types in type of parameter doesn't match implicitly implemented member (possibly because of nullability attributes). + Допустимость значений NULL для ссылочных типов в типе параметра не соответствует неявно реализованному элементу (возможно, из-за атрибутов допустимости значений NULL). Nullability of type of parameter '{0}' doesn't match overridden member (possibly because of nullability attributes). - Nullability of type of parameter '{0}' doesn't match overridden member (possibly because of nullability attributes). + Допустимость значений NULL для типа параметра "{0}" не соответствует переопределенному элементу (возможно, из-за атрибутов допустимости значений NULL). Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes). - Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes). + Допустимость значений NULL для типа параметра не соответствует переопределенному элементу (возможно, из-за атрибутов допустимости значений NULL). Nullability of reference types in return type doesn't match implemented member '{0}' (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implemented member '{0}' (possibly because of nullability attributes). + Допустимость значений NULL для ссылочных типов в типе возвращаемого значения не соответствует реализованному элементу "{0}" (возможно, из-за атрибутов допустимости значений NULL). Nullability of reference types in return type doesn't match implemented member (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implemented member (possibly because of nullability attributes). + Допустимость значений NULL для ссылочных типов в типе возвращаемого значения не соответствует реализованному элементу (возможно, из-за атрибутов допустимости значений NULL). Nullability of reference types in return type of '{0}' doesn't match implicitly implemented member '{1}' (possibly because of nullability attributes). - Nullability of reference types in return type of '{0}' doesn't match implicitly implemented member '{1}' (possibly because of nullability attributes). + Допустимость значений NULL для ссылочных типов в типе возвращаемого значения "{0}" не соответствует неявно реализованному элементу "{1}" (возможно, из-за атрибутов допустимости значений NULL). Nullability of reference types in return type doesn't match implicitly implemented member (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implicitly implemented member (possibly because of nullability attributes). + Допустимость значений NULL для ссылочных типов в типе возвращаемого значения не соответствует неявно реализованному элементу (возможно, из-за атрибутов допустимости значений NULL). Nullability of return type doesn't match overridden member (possibly because of nullability attributes). - Nullability of return type doesn't match overridden member (possibly because of nullability attributes). + Допустимость значений NULL для типа возвращаемого значения не соответствует переопределенному элементу (возможно, из-за атрибутов допустимости значений NULL). Nullability of return type doesn't match overridden member (possibly because of nullability attributes). - Nullability of return type doesn't match overridden member (possibly because of nullability attributes). + Допустимость значений NULL для типа возвращаемого значения не соответствует переопределенному элементу (возможно, из-за атрибутов допустимости значений NULL). @@ -4265,7 +4267,7 @@ If such a class is used as a base class and if the deriving class defines a dest The DllImport attribute cannot be applied to a method that is generic or contained in a generic method or type. - Атрибут DllImport не может применяться для универсального метода или метода в универсальном типе. + Атрибут DllImport не может применяться для универсального метода или метода, содержащегося в универсальном методе или типе. @@ -9767,7 +9769,7 @@ To remove the warning, you can use /reference instead (set the Embed Interop Typ Local function '{0}' must declare a body because it is not marked 'static extern'. - '"{0}" — это локальная функция, и поэтому всегда должна иметь тело. + Локальная функция "{0}" должна объявить тело, так как она не помечена как "static extern". diff --git a/src/Compilers/CSharp/Portable/xlf/CSharpResources.tr.xlf b/src/Compilers/CSharp/Portable/xlf/CSharpResources.tr.xlf index 55bfca741e0de..411d27f153995 100644 --- a/src/Compilers/CSharp/Portable/xlf/CSharpResources.tr.xlf +++ b/src/Compilers/CSharp/Portable/xlf/CSharpResources.tr.xlf @@ -104,7 +104,7 @@ Local function '{0}' must be 'static' in order to use the Conditional attribute - Local function '{0}' must be 'static' in order to use the Conditional attribute + '{0}' yerel işlevi, Conditional özniteliğini kullanabilmek için 'static' olmalıdır @@ -179,17 +179,17 @@ An expression tree may not contain a from-end index ('^') expression. - An expression tree may not contain a from-end index ('^') expression. + İfade ağacı, sondan dizin ('^') ifadesi içeremez. An expression tree may not contain a pattern System.Index or System.Range indexer access - An expression tree may not contain a pattern System.Index or System.Range indexer access + İfade ağacı, desen System.Index veya System.Range dizin oluşturucu erişimi içeremez An expression tree may not contain a range ('..') expression. - An expression tree may not contain a range ('..') expression. + İfade ağacı, aralık ('..') ifadesi içeremez. @@ -344,7 +344,7 @@ Output directory could not be determined - Output directory could not be determined + Çıkış dizini belirlenemedi @@ -459,7 +459,7 @@ stdin argument '-' is specified, but input has not been redirected from the standard input stream. - stdin argument '-' is specified, but input has not been redirected from the standard input stream. + '-' stdin bağımsız değişkeni belirtildi ancak giriş, standart giriş akışından yeniden yönlendirilmedi. @@ -691,7 +691,7 @@ a part of -modulename:<string> Specify the name of the source module - + Visual C# Derleyici Seçenekleri - ÇIKIŞ DOSYALARI - @@ -701,42 +701,42 @@ biçim: -t:exe) -target:winexe Windows yürütülebilir dosyası oluştur (Kısa biçim: -t:winexe) --target:library Kitaplık derle (Kısa biçim: -t:library) +-target:library Kitaplık oluştur (Kısa biçim: -t:library) -target:module Başka bir bütünleştirilmiş koda eklenebilecek bir modül oluştur (Kısa biçim: -t:module) -target:appcontainerexe Appcontainer yürütülebilir dosyası oluştur (Kısa biçim: -t:appcontainerexe) --target:winmdobj WinMDExp tarafından kullanılan bir Windows Çalışma Zamanı +-target:winmdobj WinMDExp tarafından tüketilen bir Windows Çalışma Zamanı ara dosyası oluştur (Kısa biçim: -t:winmdobj) -doc:<dosya> Oluşturulacak XML Belge dosyası -refout:<dosya> Oluşturulacak başvuru bütünleştirilmiş kodu çıkışı --platform:<dize> Bu kodun çalıştırılabileceği platformları sınırlandır: x86, +-platform:<dize> Bu kodun çalıştırılabileceği platformları sınırla: x86, Itanium, x64, arm, arm64, anycpu32bitpreferred veya anycpu. Varsayılan: anycpu. - GİRİŞ DOSYALARI - -recurse:<joker karakter> Geçerli dizindeki ve alt dizinlerdeki - tüm dosyaları Joker karakter belirtimlerine göre + tüm dosyaları joker karakter belirtimlerine göre ekle --reference:<diğer ad>=<dosya> Verilen diğer adı kullanan belirtilen bütünleştirilmiş kod dosyasındaki +-reference:<diğer ad>=<dosya> Verilen diğer adı kullanarak belirtilen bütünleştirilmiş kod dosyasındaki meta verilere başvur (Kısa biçim: -r) -reference:<dosya listesi> Belirtilen bütünleştirilmiş kod dosyalarındaki meta verilere başvur (Kısa biçim: -r) -addmodule:<dosya listesi> Belirtilen modülleri bu bütünleştirilmiş koda bağla --link:<dosya listesi> Belirtilen birlikte çalışma bütünleştirilmiş kod dosyalarındaki +-link:<dosya listesi> Belirtilen birlikte çalışma bütünleştirilmiş kodu dosyalarındaki meta verileri ekle (Kısa biçim: -l) -analyzer:<dosya listesi> Çözümleyicileri bu bütünleştirilmiş koddan çalıştır (Kısa biçim: -a) -additionalfile:<dosya listesi> Kod oluşturmayı doğrudan etkilemeyen ancak hata - ve uyarılar oluşturmak için çözümleyicilerin + veya uyarılar oluşturmak için çözümleyicilerin kullanabileceği ek dosyalar. -embed Tüm kaynak dosyalarını PDB'ye ekle. -embed:<dosya listesi> Belirli dosyaları PDB'ye ekle. - KAYNAKLAR - --win32res:<dosya> Bir Win32 kaynak dosyası (.res) belirt +-win32res:<dosya> Win32 kaynak dosyası (.res) belirt -win32icon:<dosya> Çıkış için bu simgeyi kullan --win32manifest:<dosya> Bir Win32 bildirim dosyası (.xml) belirt +-win32manifest:<dosya> Win32 bildirim dosyası (.xml) belirt -nowin32manifest Varsayılan Win32 bildirimini dahil etme -resource:<kaynak bilgileri> Belirtilen kaynağı ekle (Kısa biçim: -res) -linkresource:<kaynak bilgileri> Belirtilen kaynağı bu bütünleştirilmiş koda bağla @@ -751,7 +751,7 @@ 'embedded' ise hedef .dll veya .exe dosyasına eklenmiş platformlar arası bir biçimdir) -optimize[+|-] İyileştirmeleri etkinleştir (Kısa biçim: -o) --deterministic Belirlenimci bir bütünleştirilmiş kod oluştur +-deterministic Belirlenimci bütünleştirilmiş kod oluştur (modül sürümü GUID'si ve zaman damgası dahil) -refonly Ana çıkış yerine bir başvuru bütünleştirilmiş kodu oluştur -instrument:TestCoverage Kapsam bilgilerini toplamak üzere @@ -761,10 +761,12 @@ - HATALAR VE UYARILAR - -warnaserror[+|-] Tüm uyarıları hata olarak bildir -warnaserror[+|-]:<uyarı listesi> Belirli uyarıları hata olarak bildir + (null atanabilirlik uyarıları için "nullable" kullanın) -warn:<n> Uyarı düzeyini ayarla (0-4) (Kısa biçim: -w) -nowarn:<uyarı listesi> Belirli uyarı iletilerini devre dışı bırak + (null atanabilirlik uyarıları için "nullable" kullanın) -ruleset:<dosya> Belirli tanılamaları devre dışı bırakan bir - kural kümesi dosyası belirt. + kural kümesi dosyası belirtin. -errorlog:<dosya>[,version=<sarif_sürümü>] Tüm derleyici ve çözümleyici tanılamalarını günlüğe kaydetmek için bir dosya belirt. @@ -780,22 +782,22 @@ biçim: -d) -langversion:? Dil sürümü için izin verilen değerleri görüntüle -langversion:<dize> Dil sürümünü belirt. Örneğin: `latest` (ikincil sürümleri de içeren en son sürüm), - `default` (`latest` ile aynı) + `default` (`latest` ile aynı), `latestmajor` (ikincil sürümler hariç en son sürüm), - `preview` (desteklenmeyen önizleme sürümündeki + `preview` (desteklenmeyen önizlemedeki özellikleri içeren en son sürüm) ya da `6` veya `7.1` gibi belirli sürümler --nullable[+|-] Null değer atanabilir bağlam seçeneğini enable|disable olarak belirt. +-nullable[+|-] Null atanabilir bağlam seçeneğini enable|disable (etkin|devre dışı) olarak belirt. -nullable:{enable|disable|warnings|annotations} - Null değer atanabilir bağlam seçeneğini enable|disable|warnings|annotations olarak belirt. + Null atanabilir bağlam seçeneğini enable|disable|warnings|annotations (etkin|devre dışı|uyarılar|ek açıklamalar) olarak belirt. - GÜVENLİK - -delaysign[+|-] Bütünleştirilmiş kodu, tanımlayıcı ad anahtarının yalnızca genel kısmıyla geç imzala -publicsign[+|-] Bütünleştirilmiş kodu, tanımlayıcı ad anahtarının yalnızca genel kısmıyla genel olarak imzala --keyfile:<dosya> Bir tanımlayıcı ad anahtarı dosyası belirt --keycontainer:<dize> Bir tanımlayıcı ad anahtarı kapsayıcısı belirt +-keyfile:<dosya> Tanımlayıcı ad anahtarı dosyası belirt +-keycontainer:<dize> Tanımlayıcı ad anahtarı kapsayıcısı belirt -highentropyva[+|-] Yüksek entropili ASLR'yi etkinleştir - ÇEŞİTLİ - @@ -803,8 +805,8 @@ -help Bu kullanım iletisini görüntüle (Kısa biçim: -?) -nologo Derleyici telif hakkı iletisini görüntüleme -noconfig CSC.RSP dosyasını otomatik olarak dahil etme --parallel[+|-] Eşzamanlı derleme. --version Derleyici sürüm numarasını görüntüle ve çıkış yap. +-parallel[+|-] Eş zamanlı derleme. +-version Derleyici sürüm numarasını görüntüleyip çıkış yap. - GELİŞMİŞ - -baseaddress:<adres> Oluşturulacak kitaplığın taban adresi @@ -819,10 +821,10 @@ biçim: -m) -fullpaths Derleyici, tam yollar oluşturur -filealign:<n> Çıkış dosyasının bölümleri için kullanılan - hizalamayı belirtin + hizalamayı belirt -pathmap:<A1>=<D1>,<A2>=<D2>,... - Derleyici tarafından gösterilen kaynak yolu adları için bir eşleme - belirtin. + Derleyici tarafından çıkışta gösterilen kaynak yolu adları için bir eşleme + belirt. -pdb:<dosya> Hata ayıklama bilgileri dosyasının adını belirt (varsayılan: çıkış dosyasının adı ve .pdb uzantısı) -errorendlocation Her hatanın bitiş konumunun satır ve sütununu @@ -830,7 +832,7 @@ -preferreduilang Tercih edilen çıkış dilinin adını belirt. -nosdkpath Standart kitaplık bütünleştirilmiş kodlarında varsayılan SDK yolunu aramayı devre dışı bırak. -nostdlib[+|-] Standart kitaplığa (mscorlib.dll) başvuru yapma --subsystemversion:<dize> Bu bütünleştirilmiş kodu alt sistem sürümünü belirt +-subsystemversion:<dize> Bu bütünleştirilmiş kodun alt sistem sürümünü belirt -lib:<dosya listesi> İçinde başvuruların aranacağı ek dizinleri belirt -errorreport:<dize> İç derleyici hatalarının nasıl işleneceğini belirt: @@ -891,7 +893,7 @@ extern local functions - extern local functions + extern yerel işlevleri @@ -906,7 +908,7 @@ local function attributes - local function attributes + yerel işlev öznitelikleri @@ -916,7 +918,7 @@ MemberNotNull attribute - MemberNotNull attribute + MemberNotNull özniteliği @@ -1441,12 +1443,12 @@ Method '{0}' lacks `[DoesNotReturn]` annotation to match implemented or overridden member. - Method '{0}' lacks `[DoesNotReturn]` annotation to match implemented or overridden member. + '{0}' metodunda, uygulanan veya geçersiz kılınan üyeyle eşleşecek `[DoesNotReturn]` ek açıklaması eksik. Method lacks `[DoesNotReturn]` annotation to match implemented or overridden member. - Method lacks `[DoesNotReturn]` annotation to match implemented or overridden member. + Metotta, uygulanan veya geçersiz kılınan üyeyle eşleşecek `[DoesNotReturn]` ek açıklaması eksik. @@ -1461,22 +1463,22 @@ Generator '{0}' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. - Generator '{0}' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. + '{0}' oluşturucusu kaynak oluşturamadı. Oluşturucu çıkışa katkıda bulunmayacağından, bunun sonucunda derleme hataları oluşabilir. Generator failed to generate source. - Generator failed to generate source. + Oluşturucu kaynak oluşturamadı. Generator '{0}' failed to initialize. It will not contribute to the output and compilation errors may occur as a result. - Generator '{0}' failed to initialize. It will not contribute to the output and compilation errors may occur as a result. + '{0}' oluşturucusu başlatılamadı. Oluşturucu çıkışa katkıda bulunmayacağından, bunun sonucunda derleme hataları oluşabilir. Generator failed to initialize. - Generator failed to initialize. + Oluşturucu başlatılamadı. @@ -1521,32 +1523,32 @@ Member '{0}' must have a non-null value when exiting. - Member '{0}' must have a non-null value when exiting. + '{0}' üyesi çıkış yaparken null olmayan bir değere sahip olmalıdır. Member '{0}' cannot be used in this attribute. - Member '{0}' cannot be used in this attribute. + '{0}' üyesi bu öznitelikte kullanılamaz. Member cannot be used in this attribute. - Member cannot be used in this attribute. + Üye bu öznitelikte kullanılamıyor. Member '{0}' must have a non-null value when exiting with '{1}'. - Member '{0}' must have a non-null value when exiting with '{1}'. + '{0}' üyesi '{1}' ile çıkış yaparken null olmayan değere sahip olmalıdır. Member must have a non-null value when exiting in some condition. - Member must have a non-null value when exiting in some condition. + Üye bir koşulda çıkış yaparken null olmayan bir değere sahip olmalıdır. Member must have a non-null value when exiting. - Member must have a non-null value when exiting. + Üye çıkış yaparken null olmayan bir değere sahip olmalıdır. @@ -1861,32 +1863,32 @@ Parameter '{0}' must have a non-null value when exiting with '{1}'. - '{0}' parametresi '{1}' ile çıkarken null değer alamaz. + '{0}' parametresi '{1}' ile çıkış yaparken null olmayan bir değere sahip olmalıdır. Parameter must have a non-null value when exiting in some condition. - Parametre bir koşulda çıkarken null değer alamaz. + Parametre bir koşulda çıkış yaparken null olmayan bir değere sahip olmalıdır. Parameter '{0}' must have a non-null value when exiting. - Parameter '{0}' must have a non-null value when exiting. + '{0}' parametresi çıkış yaparken null olmayan bir değere sahip olmalıdır. Parameter must have a non-null value when exiting. - Parameter must have a non-null value when exiting. + Parametre çıkış yaparken null olmayan bir değere sahip olmalıdır. A method marked [DoesNotReturn] should not return. - [DoesNotReturn] olarak işaretlenen bir yöntem, döndürmemelidir. + [DoesNotReturn] olarak işaretlenen bir metot, değer döndürmemelidir. A method marked [DoesNotReturn] should not return. - [DoesNotReturn] olarak işaretlenen bir yöntem, döndürmemelidir. + [DoesNotReturn] olarak işaretlenen bir metot, değer döndürmemelidir. @@ -1921,62 +1923,62 @@ Nullability of reference types in type of parameter '{0}' doesn't match implemented member '{1}' (possibly because of nullability attributes). - Nullability of reference types in type of parameter '{0}' doesn't match implemented member '{1}' (possibly because of nullability attributes). + '{0}' parametre türündeki başvuru türlerinin null atanabilirliği uygulanan '{1}' üyesiyle eşleşmiyor (muhtemelen null atanabilirlik öznitelikleri nedeniyle). Nullability of reference types in type of parameter doesn't match implemented member (possibly because of nullability attributes). - Nullability of reference types in type of parameter doesn't match implemented member (possibly because of nullability attributes). + Parametre türündeki başvuru türlerinin null atanabilirliği uygulanan üyeyle eşleşmiyor (muhtemelen null atanabilirlik öznitelikleri nedeniyle). Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match implicitly implemented member '{2}' (possibly because of nullability attributes). - Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match implicitly implemented member '{2}' (possibly because of nullability attributes). + '{0}' parametresinin '{1}' türündeki başvuru türlerinin null atanabilirliği örtük olarak uygulanan '{2}' üyesiyle eşleşmiyor (muhtemelen null atanabilirlik öznitelikleri nedeniyle). Nullability of reference types in type of parameter doesn't match implicitly implemented member (possibly because of nullability attributes). - Nullability of reference types in type of parameter doesn't match implicitly implemented member (possibly because of nullability attributes). + Parametre türündeki başvuru türlerinin null atanabilirliği örtük olarak uygulanan üyeyle eşleşmiyor (muhtemelen null atanabilirlik öznitelikleri nedeniyle). Nullability of type of parameter '{0}' doesn't match overridden member (possibly because of nullability attributes). - Nullability of type of parameter '{0}' doesn't match overridden member (possibly because of nullability attributes). + '{0}' parametresinin null atanabilirliği geçersiz kılınmış üyeyle eşleşmiyor (muhtemelen null atanabilirlik öznitelikleri nedeniyle). Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes). - Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes). + Parametre türünün null atanabilirliği geçersiz kılınmış üyeyle eşleşmiyor (muhtemelen null atanabilirlik öznitelikleri nedeniyle). Nullability of reference types in return type doesn't match implemented member '{0}' (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implemented member '{0}' (possibly because of nullability attributes). + Dönüş türündeki başvuru türlerinin null atanabilirliği uygulanan '{0}' üyesiyle eşleşmiyor (muhtemelen null atanabilirlik öznitelikleri nedeniyle). Nullability of reference types in return type doesn't match implemented member (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implemented member (possibly because of nullability attributes). + Dönüş türündeki başvuru türlerinin null atanabilirliği uygulanan üyeyle eşleşmiyor (muhtemelen null atanabilirlik öznitelikleri nedeniyle). Nullability of reference types in return type of '{0}' doesn't match implicitly implemented member '{1}' (possibly because of nullability attributes). - Nullability of reference types in return type of '{0}' doesn't match implicitly implemented member '{1}' (possibly because of nullability attributes). + '{0}' dönüş türündeki başvuru türlerinin null atanabilirliği örtük olarak uygulanan '{1}' üyesiyle eşleşmiyor (muhtemelen null atanabilirlik öznitelikleri nedeniyle). Nullability of reference types in return type doesn't match implicitly implemented member (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implicitly implemented member (possibly because of nullability attributes). + Dönüş türündeki başvuru türlerinin null atanabilirliği örtük olarak uygulanan üyeyle eşleşmiyor (muhtemelen null atanabilirlik öznitelikleri nedeniyle). Nullability of return type doesn't match overridden member (possibly because of nullability attributes). - Nullability of return type doesn't match overridden member (possibly because of nullability attributes). + Dönüş türünün null atanabilirliği geçersiz kılınan üyeyle eşleşmiyor (muhtemelen null atanabilirlik öznitelikleri nedeniyle). Nullability of return type doesn't match overridden member (possibly because of nullability attributes). - Nullability of return type doesn't match overridden member (possibly because of nullability attributes). + Dönüş türünün null atanabilirliği geçersiz kılınan üyeyle eşleşmiyor (muhtemelen null atanabilirlik öznitelikleri nedeniyle). @@ -4265,7 +4267,7 @@ Bu sınıf temel sınıf olarak kullanılırsa ve türetilen sınıf bir yıkıc The DllImport attribute cannot be applied to a method that is generic or contained in a generic method or type. - DllImport özniteliği genel veya genel bir türde barındırılan bir yönteme uygulanamaz. + DllImport özniteliği, genel olan ya da genel metot veya türde barındırılan bir metoda uygulanamaz. @@ -6139,7 +6141,7 @@ RuntimeCompatibilityAttribute AssemblyInfo.cs dosyasında false olarak ayarlanm A readonly field cannot be assigned to (except in a constructor of the class in which the field is defined or a variable initializer)) - Salt okunur bir alana atama yapılamaz (alanın tanımlandığı veya değişken başlatıcısı olduğu sınıfın oluşturucusunda olması dışında) + Salt okunur bir alana atama yapılamaz (alanın tanımlandığı veya değişken başlatıcısı olduğu sınıfın oluşturucusunda bulunması dışında) @@ -9767,7 +9769,7 @@ Uyarıyı kaldırmak için, /reference kullanabilirsiniz (Birlikte Çalışma T Local function '{0}' must declare a body because it is not marked 'static extern'. - '{0}' yerel bir işlev olduğundan her zaman gövdesi olmalıdır. + '{0}' yerel işlevi 'static extern' olarak işaretlenmediğinden bir gövde bildirmelidir. diff --git a/src/Compilers/CSharp/Portable/xlf/CSharpResources.zh-Hans.xlf b/src/Compilers/CSharp/Portable/xlf/CSharpResources.zh-Hans.xlf index 059479deb0fae..309f721a6f88d 100644 --- a/src/Compilers/CSharp/Portable/xlf/CSharpResources.zh-Hans.xlf +++ b/src/Compilers/CSharp/Portable/xlf/CSharpResources.zh-Hans.xlf @@ -24,7 +24,7 @@ Operator '{0}' cannot be applied to 'default' and operand of type '{1}' because it is a type parameter that is not known to be a reference type - 运算符“{0}”不能应用于“默认值”和类型为“{1}”的操作数,因为它是一个类型参数,而系统不知道该参数是引用类型 + 运算符“{0}”不能应用于 "default" 和类型为“{1}”的操作数,因为它是一个类型参数,而系统不知道该参数是引用类型 @@ -104,7 +104,7 @@ Local function '{0}' must be 'static' in order to use the Conditional attribute - Local function '{0}' must be 'static' in order to use the Conditional attribute + 本地函数“{0}”必须为 "static" 才能使用 "Conditional" 特性 @@ -179,17 +179,17 @@ An expression tree may not contain a from-end index ('^') expression. - An expression tree may not contain a from-end index ('^') expression. + 表达式树不能包含 from-end 索引("^")表达式。 An expression tree may not contain a pattern System.Index or System.Range indexer access - An expression tree may not contain a pattern System.Index or System.Range indexer access + 表达式树不能包含模式 System.Index 或 System.Range 索引器访问 An expression tree may not contain a range ('..') expression. - An expression tree may not contain a range ('..') expression. + 表达式树不能包含范围("..")表达式。 @@ -344,7 +344,7 @@ Output directory could not be determined - Output directory could not be determined + 无法确定输出目录 @@ -459,7 +459,7 @@ stdin argument '-' is specified, but input has not been redirected from the standard input stream. - stdin argument '-' is specified, but input has not been redirected from the standard input stream. + 已指定 stdin 参数 "-",但尚未从标准输入流重定向输入。 @@ -691,7 +691,7 @@ a part of -modulename:<string> Specify the name of the source module - + Visual C# 编译器选项 - 输出文件 - @@ -718,7 +718,7 @@ -recurse:<wildcard> 根据通配符规范包括当前目录和 子目录中的所有 文件 --reference:<alias>=<file> 使用给定别名从指定程序集 +-reference:<alias>=<file> 使用给定别名从指定程序集文件 引用元数据(缩写: -r) -reference:<file list> 从指定程序集文件引用 元数据(缩写: -r) @@ -735,7 +735,7 @@ - 资源 - -win32res:<file> 指定 Win32 资源文件(.res) --win32icon:<file> 使用此图标输出 +-win32icon:<file> 将此图标用于输出 -win32manifest:<file> 指定 Win32 清单文件(.xml) -nowin32manifest 不包括默认的 Win32 清单 -resource:<resinfo> 嵌入指定资源(缩写: -res) @@ -761,13 +761,14 @@ - 错误和警告 - -warnaserror[+|-] 将所有警告报告为错误 -warnaserror[+|-]:<warn list>将特定警告报告为错误 + (对于所有为 Null 性警告,使用 "nullable") -warn:<n> 设置警告级别(0-4)(缩写: -w) -nowarn:<warn list> 禁用特定警告消息 + (对于所有为 Null 性警告,使用 "nullable")\) -ruleset:<file> 指定禁用特定诊断的 规则集文件。 -errorlog:<file>[,version=<sarif_version>] - 指定用于记录所有编译器 - 和分析器诊断的 + 指定用于记录所有编译器和分析器诊断的 文件。 sarif_version:{1|2|2.1} 默认为 1. 2 和 2.1 两者均表示 SARIF 版本 2.1.0。 @@ -781,12 +782,14 @@ 写: -d) -langversion:? 显示允许使用的语言版本值 -langversion:<string> 指定语言版本,例如 - `default` (最新主要版本),或 - `latest` (最新版本,包括次要版本), + `latest` (最新版本,包括次要版本)、 + `default` (与 `latest` 相同)、 + `latestmajor` (最新版本,不包括次要版本), + `preview` (最新版本,包括不受支持的预览版中的功能), 或者特定版本,如 `6` 或 `7.1` -nullable[+|-] 指定可为 null 的上下文选项 enable|disable。 --nullable:{enable|disable|warnings} - 指定可为 null 的上下文选项 enable|disable|warnings. +-nullable:{enable|disable|warnings|annotations} + 指定可为 null 的上下文选项 enable|disable|warnings|annotations. - 安全性 - -delaysign[+|-] 仅使用强名称密钥的公共部分对程序集 @@ -827,8 +830,7 @@ -errorendlocation 输出每个错误的结束位置 行和列 -preferreduilang 指定首选输出语言名称。 --nosdkpath 禁止搜索标准库程序集 - 的默认 SDK 路径。 +-nosdkpath 禁止搜索标准库程序集的默认 SDK 路径。 -nostdlib[+|-] 不引用标准库(mscorlib.dll) -subsystemversion:<string> 指定此程序集的子系统版本 -lib:<file list> 指定要在其中搜索引用的附加 @@ -891,7 +893,7 @@ extern local functions - extern local functions + 外部本地函数 @@ -906,7 +908,7 @@ local function attributes - local function attributes + 本地函数特性 @@ -916,7 +918,7 @@ MemberNotNull attribute - MemberNotNull attribute + MemberNotNull 特性 @@ -1441,12 +1443,12 @@ Method '{0}' lacks `[DoesNotReturn]` annotation to match implemented or overridden member. - Method '{0}' lacks `[DoesNotReturn]` annotation to match implemented or overridden member. + 方法“{0}”缺少 "[DoesNotReturn]" 注释,无法匹配已实现的或被替代的成员。 Method lacks `[DoesNotReturn]` annotation to match implemented or overridden member. - Method lacks `[DoesNotReturn]` annotation to match implemented or overridden member. + 方法缺少 "[DoesNotReturn]" 注释,无法匹配已实现的或被替代的成员。 @@ -1461,22 +1463,22 @@ Generator '{0}' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. - Generator '{0}' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. + 生成器“{0}”无法生成源。它不会影响输出,因此可能会造成编译错误。 Generator failed to generate source. - Generator failed to generate source. + 生成器无法生成源。 Generator '{0}' failed to initialize. It will not contribute to the output and compilation errors may occur as a result. - Generator '{0}' failed to initialize. It will not contribute to the output and compilation errors may occur as a result. + 生成器“{0}”无法初始化。它不会影响输出,因此可能会造成编译错误。 Generator failed to initialize. - Generator failed to initialize. + 生成器初始化失败。 @@ -1521,32 +1523,32 @@ Member '{0}' must have a non-null value when exiting. - Member '{0}' must have a non-null value when exiting. + 退出时,成员“{0}”必须具有非 null 值。 Member '{0}' cannot be used in this attribute. - Member '{0}' cannot be used in this attribute. + 不能在此特性中使用成员“{0}”。 Member cannot be used in this attribute. - Member cannot be used in this attribute. + 不能在此特性中使用此成员。 Member '{0}' must have a non-null value when exiting with '{1}'. - Member '{0}' must have a non-null value when exiting with '{1}'. + 当使用“{1}”退出时,成员“{0}”必须具有非 null 值。 Member must have a non-null value when exiting in some condition. - Member must have a non-null value when exiting in some condition. + 在某些条件下退出时,成员必须具有非 null 值。 Member must have a non-null value when exiting. - Member must have a non-null value when exiting. + 退出时,成员必须具有非 null 值。 @@ -1861,22 +1863,22 @@ Parameter '{0}' must have a non-null value when exiting with '{1}'. - 当使用 "{1}" 退出时,参数 "{0}" 可能不具有 null 值。 + 当使用 "{1}" 退出时,参数 "{0}" 必须具有非 null 值。 Parameter must have a non-null value when exiting in some condition. - 在某些条件下退出时,参数可能不具有 null 值。 + 在某些条件下退出时,参数必须具有非 null 值。 Parameter '{0}' must have a non-null value when exiting. - Parameter '{0}' must have a non-null value when exiting. + 退出时,参数 "{0}" 必须具有非 null 值。 Parameter must have a non-null value when exiting. - Parameter must have a non-null value when exiting. + 退出时,参数必须具有非 null 值。 @@ -1921,62 +1923,62 @@ Nullability of reference types in type of parameter '{0}' doesn't match implemented member '{1}' (possibly because of nullability attributes). - Nullability of reference types in type of parameter '{0}' doesn't match implemented member '{1}' (possibly because of nullability attributes). + 参数“{0}”类型中引用类型的为 Null 性与实现的成员“{1}”不匹配(可能是由于为 Null 性特性)。 Nullability of reference types in type of parameter doesn't match implemented member (possibly because of nullability attributes). - Nullability of reference types in type of parameter doesn't match implemented member (possibly because of nullability attributes). + 参数类型中引用类型的为 Null 性与实现的成员不匹配(可能是由于为 Null 性特性)。 Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match implicitly implemented member '{2}' (possibly because of nullability attributes). - Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match implicitly implemented member '{2}' (possibly because of nullability attributes). + “{1}”的参数“{0}”类型中引用类型的为 Null 性与隐式实现的成员“{2}”不匹配(可能是由于为 Null 性特性)。 Nullability of reference types in type of parameter doesn't match implicitly implemented member (possibly because of nullability attributes). - Nullability of reference types in type of parameter doesn't match implicitly implemented member (possibly because of nullability attributes). + 参数类型中引用类型的为 Null 性与隐式实现的成员不匹配(可能是由于为 Null 性特性)。 Nullability of type of parameter '{0}' doesn't match overridden member (possibly because of nullability attributes). - Nullability of type of parameter '{0}' doesn't match overridden member (possibly because of nullability attributes). + 参数“{0}”类型的为 Null 性与重写成员不匹配(可能是由于为 Null 性特性)。 Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes). - Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes). + 参数类型的为 Null 性与重写成员不匹配(可能是由于为 Null 性特性)。 Nullability of reference types in return type doesn't match implemented member '{0}' (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implemented member '{0}' (possibly because of nullability attributes). + 返回类型中引用类型的为 Null 性与实现的成员“{0}”不匹配(可能是由于为 Null 性特性)。 Nullability of reference types in return type doesn't match implemented member (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implemented member (possibly because of nullability attributes). + 返回类型中引用类型的为 Null 性与实现的成员不匹配(可能是由于为 Null 性特性)。 Nullability of reference types in return type of '{0}' doesn't match implicitly implemented member '{1}' (possibly because of nullability attributes). - Nullability of reference types in return type of '{0}' doesn't match implicitly implemented member '{1}' (possibly because of nullability attributes). + “{0}”的返回类型中引用类型的为 Null 性与隐式实现的成员“{1}”不匹配(可能是由于为 Null 性特性)。 Nullability of reference types in return type doesn't match implicitly implemented member (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implicitly implemented member (possibly because of nullability attributes). + 返回类型中引用类型的为 Null 性与隐式实现的成员不匹配(可能是由于为 Null 性特性)。 Nullability of return type doesn't match overridden member (possibly because of nullability attributes). - Nullability of return type doesn't match overridden member (possibly because of nullability attributes). + 返回类型的为 Null 性与重写成员不匹配(可能是由于为 Null 性特性)。 Nullability of return type doesn't match overridden member (possibly because of nullability attributes). - Nullability of return type doesn't match overridden member (possibly because of nullability attributes). + 返回类型的为 Null 性与重写成员不匹配(可能是由于为 Null 性特性)。 @@ -4265,7 +4267,7 @@ If such a class is used as a base class and if the deriving class defines a dest The DllImport attribute cannot be applied to a method that is generic or contained in a generic method or type. - DllImport 特性不能应用于属于泛型类型或者包含在泛型类型中的方法。 + DllImport 特性不能应用于属于泛型类型的方法,或者包含在泛型方法/类型中。 @@ -6139,7 +6141,7 @@ A catch() block after a catch (System.Exception e) block can catch non-CLS excep A readonly field cannot be assigned to (except in a constructor of the class in which the field is defined or a variable initializer)) - 无法分配只读字段(除非在定义了该字段的类的构造函数中或在变量初始值设定项中) + 无法分配到只读字段(除非在定义了该字段的类的构造函数中或在变量初始值设定项中) @@ -9767,7 +9769,7 @@ To remove the warning, you can use /reference instead (set the Embed Interop Typ Local function '{0}' must declare a body because it is not marked 'static extern'. - '“{0}”是本地函数,因此始终必须具有一个主体。 + 本地函数“{0}”必须声明一个正文,因为它未标记为 "static extern"。 diff --git a/src/Compilers/CSharp/Portable/xlf/CSharpResources.zh-Hant.xlf b/src/Compilers/CSharp/Portable/xlf/CSharpResources.zh-Hant.xlf index a1ba350cec872..2c67659e94426 100644 --- a/src/Compilers/CSharp/Portable/xlf/CSharpResources.zh-Hant.xlf +++ b/src/Compilers/CSharp/Portable/xlf/CSharpResources.zh-Hant.xlf @@ -104,7 +104,7 @@ Local function '{0}' must be 'static' in order to use the Conditional attribute - Local function '{0}' must be 'static' in order to use the Conditional attribute + 區域函式 '{0}' 必須為 'static' 才能使用 Conditional 屬性 @@ -179,17 +179,17 @@ An expression tree may not contain a from-end index ('^') expression. - An expression tree may not contain a from-end index ('^') expression. + 運算式樹狀架構不可包含 from-end index ('^') 運算式。 An expression tree may not contain a pattern System.Index or System.Range indexer access - An expression tree may not contain a pattern System.Index or System.Range indexer access + 運算式樹狀架構不可包含 System.Index 或 System.Range 索引子存取模式 An expression tree may not contain a range ('..') expression. - An expression tree may not contain a range ('..') expression. + 運算式樹狀架構不可包含 range ('..') 運算式。 @@ -344,7 +344,7 @@ Output directory could not be determined - Output directory could not be determined + 無法判斷輸出目錄 @@ -459,7 +459,7 @@ stdin argument '-' is specified, but input has not been redirected from the standard input stream. - stdin argument '-' is specified, but input has not been redirected from the standard input stream. + 已指定 stdin 引數 '-',但尚未從標準輸入資料流重新導向輸入。 @@ -691,12 +691,12 @@ a part of -modulename:<string> Specify the name of the source module - + Visual C# 編譯器選項 - 輸出檔案 - --out:<檔案> 指定輸出檔案名稱 (預設: 含有主要類別 - 之基底檔案的名稱或第一個檔案的名稱) +-out:<檔案> 指定輸出檔案名稱 (預設: 含有主要類別 + 或第一個檔案的檔案基底名稱) -target:exe 建置主控台可執行檔 (預設) (簡短 形式: -t:exe) -target:winexe 建置 Windows 可執行檔 (簡短形式: @@ -714,102 +714,104 @@ Itanium、x64、arm、arm64、anycpu32bitpreferred 或 anycpu。預設為 anycpu。 - - INPUT FILES - --recurse:<萬用字元> 依據指定的萬用字元, + - 輸入檔案 - +-recurse:<萬用字元> 依據萬用字元規格, 包含目前目錄與子目錄中的 所有檔案 -reference:<別名>=<檔案> 使用指定的別名,參考指定組件 檔案中的中繼資料 (簡短形式: -r) -reference:<檔案清單> 參考指定組件檔案中的中繼資料 (簡短形式: -r) --addmodule:<檔案清單> 將指定的模組連結到其組件 +-addmodule:<檔案清單> 將指定的模組連結到此組件 -link:<檔案清單> 內嵌指定 Interop 組件檔案中的 中繼資料 (簡短形式: -l) -analyzer:<檔案清單> 執行此組件中的分析器 (簡短形式: -a) --additionalfile:<檔案清單> 不會直接影響程式碼產生,但可能為分析器所用, - 以產生錯誤或警告的 +-additionalfile:<檔案清單> 不會直接影響程式碼產生,但分析器可能會用來 + 產生錯誤或警告的 額外檔案。 --embed 將所有來源檔案嵌入 PDB。 --embed:<檔案清單> 將特定檔案嵌入 PDB。 +-embed 將所有來源檔案內嵌到 PDB。 +-embed:<檔案清單> 將特定檔案內嵌到 PDB。 - - RESOURCES - + - 資源 - -win32res:<檔案> 指定 Win32 資源檔案 (.res) --win32icon:<檔案> 輸出使用此圖示 +-win32icon:<檔案> 將此圖示用於輸出 -win32manifest:<檔案> 指定 Win32 資訊清單檔案 (.xml) --nowin32manifest 不包含預設的 Win32 資訊清單 +-nowin32manifest 不包含預設 Win32 資訊清單 -resource:<資源資訊> 內嵌指定的資源 (簡短形式: -res) -linkresource:<資源資訊> 將指定的資源連結到此組件 - (簡短形式: -linkres) 其中「資源資訊」的格式 + (簡短形式: -linkres) 其中資源資訊的格式 為 <檔案>[,<字串名稱>[,public|private]] - - CODE GENERATION - + - 程式碼產生 - -debug[+|-] 發出偵錯資訊 -debug:{full|pdbonly|portable|embedded} - 指定偵錯類型 ('full' 為預設值; + 指定偵錯類型 ('full' 為預設; 'portable' 為跨平台格式; - 'embedded' 為跨平台格式,會嵌入 - 目標 .dll 或 .exe) + 'embedded' 為跨平台格式,內嵌在 + 目標 .dll 或 .exe 中) -optimize[+|-] 啟用最佳化 (簡短形式: -o) -deterministic 產生確定性組件 (含模組版本 GUID 與時間戳記) --refonly 產生用以取主要輸出的參考組件 +-refonly 產生參考組件來取代主要輸出 -instrument:TestCoverage 產生經過檢測的組件以供收集 - coverage information --sourcelink:<檔案> 要嵌入 PDB 的來源連結資訊。 + 涵蓋範圍資訊 +-sourcelink:<檔案> 要內嵌到 PDB 的來源連結資訊。 - - ERRORS AND WARNINGS - --warnaserror[+|-] 將所有警告視為錯誤回報 --warnaserror[+|-]:<警告清單> 將特定警告視為錯誤回報 + - 錯誤與警告 - +-warnaserror[+|-] 將所有警告回報為錯誤 +-warnaserror[+|-]:<警告清單> 將特定警告回報為錯誤 + (針對所有可 NULL 性警告,請使用 "nullable") -warn:<n> 設定警告層級 (0-4) (簡短形式: -w) -nowarn:<警告清單> 停用特定的警告訊息 --ruleset:<檔案> 指定原則集檔案,以停用特定的 - 診斷。 --errorlog:<檔案>[,version=<sarif 版本>] + (針對所有可 NULL 性警告,請使用 "nullable") +-ruleset:<檔案> 指定停用特定診斷的規則集 + 檔案。 +-errorlog:<檔案>[,version=<sarif_version>] 指定用以記錄所有編譯器與分析器診斷的 檔案。 - sarif 版本:{1|2|2.1} 預設值為 1. 2 及 2.1 + sarif_version:{1|2|2.1} 預設為 1. 2 及 2.1 兩者皆表示 SARIF 版本 2.1.0。 -reportanalyzer 回報額外的分析器資訊,例如 執行時間。 - LANGUAGE - -checked[+|-] 產生溢位檢查 --unsafe[+|-] 允許不安全的程式碼 +-unsafe[+|-] 允許「不安全」的程式碼 -define:<符號清單> 定義條件式編譯符號 (簡短 形式: -d) -langversion:? 顯示允許的語言版本值 -langversion:<字串> 指定語言版本,例如 `latest` (最新版本,包含次要版本); - `default` (同 `latest`); + `default` (等同 `latest`); `latestmajor` (最新版本,但不含次要版本); - `preview` (最新版本,含不支援之預覽版中的功能); + `preview` (最新版本,包含不受支援預覽中的功能); 或特定的版本,例如 `6` 或 `7.1` --nullable[+|-] 指定可以是 null 的內容選項 enable|disable。 +-nullable[+|-] 指定可為 Null 的內容選項 enable|disable。 -nullable:{enable|disable|warnings|annotations} - 指定可以是 null 的內容選項 enable|disable|warnings|annotations。 + 指定可為 Null 的內容選項 enable|disable|warnings|annotations。 - SECURITY - --delaysign[+|-] 只使用強名稱金鑰的公開部分 +-delaysign[+|-] 只使用強式名稱金鑰的公開部分 延後簽署組件 --publicsign[+|-] 只使用強名稱金鑰的公開部分 +-publicsign[+|-] 只使用強式名稱金鑰的公開部分 公開簽署組件 --keyfile:<檔案> 指定強名稱金鑰檔案 --keycontainer:<字串> 指定強名稱金鑰容器 +-keyfile:<檔案> 指定強式名稱金鑰檔案 +-keycontainer:<字串> 指定強式名稱金鑰容器 -highentropyva[+|-] 啟用高熵 ASLR - - MISCELLANEOUS - + - 其他 - @<檔案> 讀取回應檔案,以查看更多選項 -help 顯示此用法訊息 (簡短形式: -?) --nologo 不顯示編譯器著作權訊息 +-nologo 隱藏編譯器著作權訊息 -noconfig 不自動包含 CSC.RSP 檔案 -parallel[+|-] 平行建置。 -version 顯示編譯器版本號碼後結束。 - - ADVANCED - + - 進階 - -baseaddress:<位址> 要建置之程式庫的基底位址 --checksumalgorithm:<演算法> 指定演算法,以計算儲存在 PDF 中之 - 來源檔案的總和檢查碼。支援的值: +-checksumalgorithm:<alg> 指定演算法,以計算儲存在 PDF 中的 + 來源檔案總和檢查碼。支援的值為: SHA1 或 SHA256 (預設)。 -codepage:<n> 指定開啟來源檔案時所要使用的 字碼頁 @@ -818,13 +820,13 @@ (忽略所有其他可能的進入點) (簡短 形式: -m) -fullpaths 編譯器產生完整的路徑 --filealign:<n> 指定輸出檔使用的標準e - sections +-filealign:<n> 指定輸出檔案區段使用的 + 對齊方式 -pathmap:<K1>=<V1>,<K2>=<V2>,... 指定編輯器輸出之 來源路徑名稱的對應。 -pdb:<檔案> 指定偵錯資訊檔案名稱 (預設: - 副檔名為 .pdb 的輸出檔名稱) + 副檔名為 .pdb 的輸出檔案名稱) -errorendlocation 每個錯誤之結束位置的輸出 行與欄 -preferreduilang 指定慣用的輸出語言名稱。 @@ -837,7 +839,7 @@ prompt、send、queue 或 none。預設為 queue。 -appconfig:<檔案> 指定包含組件繫結設定的 - 應用程式設定檔 + 應用程式組態檔 -moduleassemblyname:<字串> 此模組即將歸入之組件的 名稱 -modulename:<字串> 指定來源模組的名稱 @@ -891,7 +893,7 @@ extern local functions - extern local functions + 外部區域函式 @@ -906,7 +908,7 @@ local function attributes - local function attributes + 區域函式屬性 @@ -916,7 +918,7 @@ MemberNotNull attribute - MemberNotNull attribute + MemberNotNull 屬性 @@ -1441,12 +1443,12 @@ Method '{0}' lacks `[DoesNotReturn]` annotation to match implemented or overridden member. - Method '{0}' lacks `[DoesNotReturn]` annotation to match implemented or overridden member. + 方法 '{0}' 缺少 `[DoesNotReturn]` 註釋,與實作或覆寫的成員不相符。 Method lacks `[DoesNotReturn]` annotation to match implemented or overridden member. - Method lacks `[DoesNotReturn]` annotation to match implemented or overridden member. + 方法缺少 `[DoesNotReturn]` 註釋,與實作或覆寫的成員不相符。 @@ -1461,22 +1463,22 @@ Generator '{0}' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. - Generator '{0}' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. + 產生器 '{0}' 無法產生來源。其不會提供給輸出,並可能導致編譯錯誤。 Generator failed to generate source. - Generator failed to generate source. + 產生器無法產生來源。 Generator '{0}' failed to initialize. It will not contribute to the output and compilation errors may occur as a result. - Generator '{0}' failed to initialize. It will not contribute to the output and compilation errors may occur as a result. + 產生器 '{0}' 無法初始化。其不會提供給輸出,並可能導致編譯錯誤。 Generator failed to initialize. - Generator failed to initialize. + 產生器無法初始化。 @@ -1521,32 +1523,32 @@ Member '{0}' must have a non-null value when exiting. - Member '{0}' must have a non-null value when exiting. + 成員 '{0}' 在結束時必須具有非 Null 值。 Member '{0}' cannot be used in this attribute. - Member '{0}' cannot be used in this attribute. + 成員 '{0}' 不可用於此屬性中。 Member cannot be used in this attribute. - Member cannot be used in this attribute. + 成員不可用於此屬性中。 Member '{0}' must have a non-null value when exiting with '{1}'. - Member '{0}' must have a non-null value when exiting with '{1}'. + 成員 '{0}' 在以 '{1}' 結束時必須具有非 Null 值。 Member must have a non-null value when exiting in some condition. - Member must have a non-null value when exiting in some condition. + 成員在某些條件下結束時必須具有非 Null 值。 Member must have a non-null value when exiting. - Member must have a non-null value when exiting. + 成員在結束時必須具有非 Null 值。 @@ -1861,22 +1863,22 @@ Parameter '{0}' must have a non-null value when exiting with '{1}'. - 當參數 '{0}' 以 '{1}' 結束時,不能有 Null 值。 + 參數 '{0}' 在以 '{1}' 結束時必須具有非 Null 值。 Parameter must have a non-null value when exiting in some condition. - 當參數在某些條件下結束時,不能有 Null 值。 + 參數在某些條件下結束時必須具有非 Null 值。 Parameter '{0}' must have a non-null value when exiting. - Parameter '{0}' must have a non-null value when exiting. + 參數 '{0}' 在結束時必須具有非 Null 值。 Parameter must have a non-null value when exiting. - Parameter must have a non-null value when exiting. + 參數在結束時必須具有非 Null 值。 @@ -1921,62 +1923,62 @@ Nullability of reference types in type of parameter '{0}' doesn't match implemented member '{1}' (possibly because of nullability attributes). - Nullability of reference types in type of parameter '{0}' doesn't match implemented member '{1}' (possibly because of nullability attributes). + 參數類型 '{0}' 中參考型別是否可為 NULL 的情況,與實作的成員 '{1}' 不相符 (可能的原因是屬性可為 NULL )。 Nullability of reference types in type of parameter doesn't match implemented member (possibly because of nullability attributes). - Nullability of reference types in type of parameter doesn't match implemented member (possibly because of nullability attributes). + 參數類型中參考型別是否可為 NULL 的情況,與實作的成員不相符 (可能的原因是屬性可為 NULL )。 Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match implicitly implemented member '{2}' (possibly because of nullability attributes). - Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match implicitly implemented member '{2}' (possibly because of nullability attributes). + '{1}' 的 '{0}' 參數類型中,參考型別是否可為 NULL 的情況,與隱含實作的成員 '{2}' 不相符 (可能的原因是屬性可為 NULL)。 Nullability of reference types in type of parameter doesn't match implicitly implemented member (possibly because of nullability attributes). - Nullability of reference types in type of parameter doesn't match implicitly implemented member (possibly because of nullability attributes). + 參數類型中參考型別是否可為 NULL 的情況,與隱含實作的成員不相符 (可能的原因是屬性可為 NULL )。 Nullability of type of parameter '{0}' doesn't match overridden member (possibly because of nullability attributes). - Nullability of type of parameter '{0}' doesn't match overridden member (possibly because of nullability attributes). + 參數類型 '{0}' 是否可為 NULL 的情況,與覆寫的成員不相符 (可能的原因是屬性可為 NULL )。 Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes). - Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes). + 參數類型是否可為 NULL 的情況,與覆寫的成員不相符 (可能的原因是屬性可為 NULL )。 Nullability of reference types in return type doesn't match implemented member '{0}' (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implemented member '{0}' (possibly because of nullability attributes). + 傳回型別中參考型別是否可為 NULL 的情況,與實作的成員 '{0}' 不相符 (可能的原因是屬性可為 NULL )。 Nullability of reference types in return type doesn't match implemented member (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implemented member (possibly because of nullability attributes). + 傳回型別中參考型別是否可為 NULL 的情況,與實作的成員不相符 (可能的原因是屬性可為 NULL )。 Nullability of reference types in return type of '{0}' doesn't match implicitly implemented member '{1}' (possibly because of nullability attributes). - Nullability of reference types in return type of '{0}' doesn't match implicitly implemented member '{1}' (possibly because of nullability attributes). + 傳回型別 '{0}' 中參考型別是否可為 NULL 的情況,與隱含實作的成員 '{1}' 不相符 (可能的原因是屬性可為 NULL )。 Nullability of reference types in return type doesn't match implicitly implemented member (possibly because of nullability attributes). - Nullability of reference types in return type doesn't match implicitly implemented member (possibly because of nullability attributes). + 傳回型別中參考型別是否可為 NULL 的情況,與隱含實作的成員不相符 (可能的原因是屬性可為 NULL )。 Nullability of return type doesn't match overridden member (possibly because of nullability attributes). - Nullability of return type doesn't match overridden member (possibly because of nullability attributes). + 傳回型別是否可為 NULL 的情況,與覆寫的成員不相符 (可能的原因是屬性可為 NULL )。 Nullability of return type doesn't match overridden member (possibly because of nullability attributes). - Nullability of return type doesn't match overridden member (possibly because of nullability attributes). + 傳回型別是否可為 NULL 的情況,與覆寫的成員不相符 (可能的原因是屬性可為 NULL )。 @@ -4265,7 +4267,7 @@ If such a class is used as a base class and if the deriving class defines a dest The DllImport attribute cannot be applied to a method that is generic or contained in a generic method or type. - DllImport 屬性無法套用至泛型方法,或套用至包含在泛型類型中的方法。 + DllImport 屬性無法套用至泛型方法,或包含在泛型方法或類型中。 @@ -6139,7 +6141,7 @@ A catch() block after a catch (System.Exception e) block can catch non-CLS excep A readonly field cannot be assigned to (except in a constructor of the class in which the field is defined or a variable initializer)) - 無法予以指派項目的唯讀欄位 (除非位於定義欄位所在類別的建構函式中或位於變數初始設定式中) + 無法予以指派值的唯讀欄位 (除非位於定義欄位所在類別的建構函式中或位於變數初始設定式中) @@ -9767,7 +9769,7 @@ To remove the warning, you can use /reference instead (set the Embed Interop Typ Local function '{0}' must declare a body because it is not marked 'static extern'. - '{0}' 是區域函式,因此必須具有主體。 + 區域函式 '{0}' 必須宣告主體,原因是其未標記為 'static extern'。 diff --git a/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.cs.xlf b/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.cs.xlf index 257c65e3664c8..2a81353809149 100644 --- a/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.cs.xlf +++ b/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.cs.xlf @@ -26,7 +26,7 @@ Suppress the following diagnostics to disable this analyzer: {0} - Suppress the following diagnostics to disable this analyzer: {0} + Pokud chcete tento analyzátor zakázat, potlačte následující diagnostiku: {0} {0}: Comma-separated list of diagnostic IDs @@ -96,7 +96,7 @@ Only a single {0} can be registered per generator. - Only a single {0} can be registered per generator. + Na jeden generátor je možné zaregistrovat jen jedno {0}. @@ -586,7 +586,7 @@ Analyzer Failure - Chyba analyzátoru + Chyba analyzátoru {0}: Analyzer name {1}: Type name {2}: Localized exception message @@ -595,7 +595,7 @@ Analyzer '{0}' threw an exception of type '{1}' with message '{2}'. {3} - Analyzer '{0}' threw an exception of type '{1}' with message '{2}'. + Analyzátor {0} způsobil výjimku typu {1} se zprávou {2}. {3} diff --git a/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.de.xlf b/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.de.xlf index 7d7daa88fe6c1..3b5234b730dd9 100644 --- a/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.de.xlf +++ b/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.de.xlf @@ -26,7 +26,7 @@ Suppress the following diagnostics to disable this analyzer: {0} - Suppress the following diagnostics to disable this analyzer: {0} + Unterdrücken Sie die folgende Diagnose, um dieses Analysetool zu deaktivieren: {0} {0}: Comma-separated list of diagnostic IDs @@ -96,7 +96,7 @@ Only a single {0} can be registered per generator. - Only a single {0} can be registered per generator. + Pro Generator kann nur ein einzelner {0} registriert werden. @@ -586,7 +586,7 @@ Analyzer Failure - Analysefehler + Analysefehler {0}: Analyzer name {1}: Type name {2}: Localized exception message @@ -595,7 +595,7 @@ Analyzer '{0}' threw an exception of type '{1}' with message '{2}'. {3} - Analyzer '{0}' threw an exception of type '{1}' with message '{2}'. + Die Analyse "{0}" hat eine Ausnahme vom Typ "{1}" mit der Meldung "{2}" ausgelöst. {3} diff --git a/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.es.xlf b/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.es.xlf index e41789a981bd9..0e1096ce51bb8 100644 --- a/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.es.xlf +++ b/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.es.xlf @@ -26,7 +26,7 @@ Suppress the following diagnostics to disable this analyzer: {0} - Suppress the following diagnostics to disable this analyzer: {0} + Suprima el diagnóstico siguiente para deshabilitar este analizador: {0} {0}: Comma-separated list of diagnostic IDs @@ -96,7 +96,7 @@ Only a single {0} can be registered per generator. - Only a single {0} can be registered per generator. + Solo puede registrarse un único tipo de {0} por generador. @@ -586,7 +586,7 @@ Analyzer Failure - Error del analizador + Error del analizador {0}: Analyzer name {1}: Type name {2}: Localized exception message @@ -595,7 +595,7 @@ Analyzer '{0}' threw an exception of type '{1}' with message '{2}'. {3} - Analyzer '{0}' threw an exception of type '{1}' with message '{2}'. + El analizador "{0}" produjo una excepción de tipo "{1}" con el mensaje "{2}". {3} diff --git a/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.fr.xlf b/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.fr.xlf index 5c55eebadf3c1..9ce6fde95f370 100644 --- a/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.fr.xlf +++ b/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.fr.xlf @@ -26,7 +26,7 @@ Suppress the following diagnostics to disable this analyzer: {0} - Suppress the following diagnostics to disable this analyzer: {0} + Supprimez les diagnostics suivants pour désactiver cet analyseur : {0} {0}: Comma-separated list of diagnostic IDs @@ -96,7 +96,7 @@ Only a single {0} can be registered per generator. - Only a single {0} can be registered per generator. + Un seul {0} peut être inscrit par générateur. @@ -586,7 +586,7 @@ Analyzer Failure - Échec de l'analyseur + Échec de l'analyseur {0}: Analyzer name {1}: Type name {2}: Localized exception message @@ -595,7 +595,7 @@ Analyzer '{0}' threw an exception of type '{1}' with message '{2}'. {3} - Analyzer '{0}' threw an exception of type '{1}' with message '{2}'. + L'analyseur '{0}' a levé une exception de type '{1}' avec le message '{2}'. {3} diff --git a/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.it.xlf b/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.it.xlf index 8e22fc4224b5d..2fd8fe0c80e63 100644 --- a/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.it.xlf +++ b/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.it.xlf @@ -26,7 +26,7 @@ Suppress the following diagnostics to disable this analyzer: {0} - Suppress the following diagnostics to disable this analyzer: {0} + Per disabilitare questo analizzatore, eliminare la diagnostica seguente: {0} {0}: Comma-separated list of diagnostic IDs @@ -96,7 +96,7 @@ Only a single {0} can be registered per generator. - Only a single {0} can be registered per generator. + È possibile registrare solo un tipo {0} per generatore. @@ -586,7 +586,7 @@ Analyzer Failure - Errore dell'analizzatore + Errore dell'analizzatore {0}: Analyzer name {1}: Type name {2}: Localized exception message @@ -595,7 +595,7 @@ Analyzer '{0}' threw an exception of type '{1}' with message '{2}'. {3} - Analyzer '{0}' threw an exception of type '{1}' with message '{2}'. + L'analizzatore '{0}' ha generato un'eccezione di tipo '{1}'. Messaggio: '{2}'. {3} diff --git a/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.ja.xlf b/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.ja.xlf index b38c3ae72913f..e97a9314e389c 100644 --- a/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.ja.xlf +++ b/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.ja.xlf @@ -26,7 +26,7 @@ Suppress the following diagnostics to disable this analyzer: {0} - Suppress the following diagnostics to disable this analyzer: {0} + 次の診断を抑制して、このアナライザーを無効にします: {0} {0}: Comma-separated list of diagnostic IDs @@ -96,7 +96,7 @@ Only a single {0} can be registered per generator. - Only a single {0} can be registered per generator. + ジェネレーターごとに登録できるのは 1 つの {0} のみです。 @@ -586,7 +586,7 @@ Analyzer Failure - アナライザー エラー + アナライザー エラー {0}: Analyzer name {1}: Type name {2}: Localized exception message @@ -595,7 +595,7 @@ Analyzer '{0}' threw an exception of type '{1}' with message '{2}'. {3} - Analyzer '{0}' threw an exception of type '{1}' with message '{2}'. + アナライザー '{0}' が型 '{1}' の例外をメッセージ '{2}' 付きでスローしました。 {3} diff --git a/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.ko.xlf b/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.ko.xlf index 9e5a87b0dc210..7a748cac9401e 100644 --- a/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.ko.xlf +++ b/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.ko.xlf @@ -26,7 +26,7 @@ Suppress the following diagnostics to disable this analyzer: {0} - Suppress the following diagnostics to disable this analyzer: {0} + 이 분석기를 사용하지 않도록 설정하려면 다음 진단이 표시되지 않도록 설정하세요. {0} {0}: Comma-separated list of diagnostic IDs @@ -96,7 +96,7 @@ Only a single {0} can be registered per generator. - Only a single {0} can be registered per generator. + 생성기당 하나의 {0}만 등록할 수 있습니다. @@ -586,7 +586,7 @@ Analyzer Failure - 분석기 오류 + 분석기 오류 {0}: Analyzer name {1}: Type name {2}: Localized exception message @@ -595,7 +595,7 @@ Analyzer '{0}' threw an exception of type '{1}' with message '{2}'. {3} - Analyzer '{0}' threw an exception of type '{1}' with message '{2}'. + 분석기 '{0}'에서 '{2}' 메시지와 함께 '{1}' 형식의 예외를 throw했습니다. {3} diff --git a/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.pl.xlf b/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.pl.xlf index a412cdcb6f7e9..78faaf3672fc2 100644 --- a/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.pl.xlf +++ b/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.pl.xlf @@ -26,7 +26,7 @@ Suppress the following diagnostics to disable this analyzer: {0} - Suppress the following diagnostics to disable this analyzer: {0} + Pomiń następującą diagnostykę, aby wyłączyć ten analizator: {0} {0}: Comma-separated list of diagnostic IDs @@ -96,7 +96,7 @@ Only a single {0} can be registered per generator. - Only a single {0} can be registered per generator. + Można zarejestrować tylko jeden element {0} na generator. @@ -586,7 +586,7 @@ Analyzer Failure - Błąd analizatora + Błąd analizatora {0}: Analyzer name {1}: Type name {2}: Localized exception message @@ -595,7 +595,7 @@ Analyzer '{0}' threw an exception of type '{1}' with message '{2}'. {3} - Analyzer '{0}' threw an exception of type '{1}' with message '{2}'. + Analizator „{0}” zgłosił wyjątek typu „{1}” z komunikatem „{2}”. {3} diff --git a/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.pt-BR.xlf b/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.pt-BR.xlf index 5bf7bf6688feb..18eb888cda6a8 100644 --- a/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.pt-BR.xlf +++ b/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.pt-BR.xlf @@ -26,7 +26,7 @@ Suppress the following diagnostics to disable this analyzer: {0} - Suppress the following diagnostics to disable this analyzer: {0} + Suprimir os seguintes diagnósticos para desabilitar este analisador: {0} {0}: Comma-separated list of diagnostic IDs @@ -96,7 +96,7 @@ Only a single {0} can be registered per generator. - Only a single {0} can be registered per generator. + Somente um único {0} pode ser registrado por gerador. @@ -586,7 +586,7 @@ Analyzer Failure - Falha no Analisador + Falha no Analisador {0}: Analyzer name {1}: Type name {2}: Localized exception message @@ -595,7 +595,7 @@ Analyzer '{0}' threw an exception of type '{1}' with message '{2}'. {3} - Analyzer '{0}' threw an exception of type '{1}' with message '{2}'. + O analisador '{0}' gerou uma exceção do tipo '{1}' com a mensagem '{2}'. {3} diff --git a/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.ru.xlf b/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.ru.xlf index bbae981ac5e85..c940ebd97a3cd 100644 --- a/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.ru.xlf +++ b/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.ru.xlf @@ -26,7 +26,7 @@ Suppress the following diagnostics to disable this analyzer: {0} - Suppress the following diagnostics to disable this analyzer: {0} + Отключите следующую диагностику, чтобы отключить этот анализатор: {0} {0}: Comma-separated list of diagnostic IDs @@ -96,7 +96,7 @@ Only a single {0} can be registered per generator. - Only a single {0} can be registered per generator. + Для каждого генератора можно зарегистрировать только один {0}. @@ -586,7 +586,7 @@ Analyzer Failure - Сбой анализатора + Сбой анализатора {0}: Analyzer name {1}: Type name {2}: Localized exception message @@ -595,7 +595,7 @@ Analyzer '{0}' threw an exception of type '{1}' with message '{2}'. {3} - Analyzer '{0}' threw an exception of type '{1}' with message '{2}'. + Анализатор "{0}" создал исключение типа "{1}" с сообщением "{2}". {3} diff --git a/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.tr.xlf b/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.tr.xlf index 6b6c36c428852..3b2cf034530be 100644 --- a/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.tr.xlf +++ b/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.tr.xlf @@ -26,7 +26,7 @@ Suppress the following diagnostics to disable this analyzer: {0} - Suppress the following diagnostics to disable this analyzer: {0} + Bu çözümleyiciyi devre dışı bırakmak için şu tanılamaları gizleyin: {0} {0}: Comma-separated list of diagnostic IDs @@ -96,7 +96,7 @@ Only a single {0} can be registered per generator. - Only a single {0} can be registered per generator. + Oluşturucu başına tek bir {0} kaydedilebilir. @@ -586,7 +586,7 @@ Analyzer Failure - Çözümleyici Hatası + Çözümleyici Hatası {0}: Analyzer name {1}: Type name {2}: Localized exception message @@ -595,7 +595,7 @@ Analyzer '{0}' threw an exception of type '{1}' with message '{2}'. {3} - Analyzer '{0}' threw an exception of type '{1}' with message '{2}'. + '{0}' çözümleyicisi '{2}' iletisiyle '{1}' türünde bir özel durum oluşturdu. {3} diff --git a/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.zh-Hans.xlf b/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.zh-Hans.xlf index 5057780d4c66b..ab89dd9138ae4 100644 --- a/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.zh-Hans.xlf +++ b/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.zh-Hans.xlf @@ -26,7 +26,7 @@ Suppress the following diagnostics to disable this analyzer: {0} - Suppress the following diagnostics to disable this analyzer: {0} + 取消以下诊断以禁用此分析器: {0} {0}: Comma-separated list of diagnostic IDs @@ -96,7 +96,7 @@ Only a single {0} can be registered per generator. - Only a single {0} can be registered per generator. + 每个生成器仅可注册一个 {0}。 @@ -586,7 +586,7 @@ Analyzer Failure - 分析器故障 + 分析器故障 {0}: Analyzer name {1}: Type name {2}: Localized exception message @@ -595,7 +595,7 @@ Analyzer '{0}' threw an exception of type '{1}' with message '{2}'. {3} - Analyzer '{0}' threw an exception of type '{1}' with message '{2}'. + 分析器“{0}”引发类型为“{1}”的异常,并显示消息“{2}”。 {3} diff --git a/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.zh-Hant.xlf b/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.zh-Hant.xlf index 3b684e244c870..f12290034b3d8 100644 --- a/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.zh-Hant.xlf +++ b/src/Compilers/Core/Portable/xlf/CodeAnalysisResources.zh-Hant.xlf @@ -26,7 +26,7 @@ Suppress the following diagnostics to disable this analyzer: {0} - Suppress the following diagnostics to disable this analyzer: {0} + 請隱藏下列診斷以停用此分析器: {0} {0}: Comma-separated list of diagnostic IDs @@ -96,7 +96,7 @@ Only a single {0} can be registered per generator. - Only a single {0} can be registered per generator. + 每個產生器只能註冊一個 {0}。 @@ -586,7 +586,7 @@ Analyzer Failure - 分析器失敗 + 分析器失敗 {0}: Analyzer name {1}: Type name {2}: Localized exception message @@ -595,7 +595,7 @@ Analyzer '{0}' threw an exception of type '{1}' with message '{2}'. {3} - Analyzer '{0}' threw an exception of type '{1}' with message '{2}'. + 分析器 '{0}' 擲回了類型為 '{1}' 的例外狀況。訊息: '{2}'。 {3} diff --git a/src/Compilers/VisualBasic/Portable/xlf/VBResources.cs.xlf b/src/Compilers/VisualBasic/Portable/xlf/VBResources.cs.xlf index e32fe4c3389d1..91a523c7f9f82 100644 --- a/src/Compilers/VisualBasic/Portable/xlf/VBResources.cs.xlf +++ b/src/Compilers/VisualBasic/Portable/xlf/VBResources.cs.xlf @@ -778,7 +778,7 @@ stdin argument '-' is specified, but input has not been redirected from the standard input stream. - stdin argument '-' is specified, but input has not been redirected from the standard input stream. + Zadal se argument stdin -, ale vstup se nepřesměroval na stream standardního vstupu. @@ -9156,4 +9156,4 @@ - + \ No newline at end of file diff --git a/src/Compilers/VisualBasic/Portable/xlf/VBResources.de.xlf b/src/Compilers/VisualBasic/Portable/xlf/VBResources.de.xlf index 861633d570d02..197526061cd48 100644 --- a/src/Compilers/VisualBasic/Portable/xlf/VBResources.de.xlf +++ b/src/Compilers/VisualBasic/Portable/xlf/VBResources.de.xlf @@ -778,7 +778,7 @@ stdin argument '-' is specified, but input has not been redirected from the standard input stream. - stdin argument '-' is specified, but input has not been redirected from the standard input stream. + Das stdin-Argument "-" ist angegeben, aber die Eingabe wurde nicht vom Standardeingabestream umgeleitet. @@ -9156,4 +9156,4 @@ - + \ No newline at end of file diff --git a/src/Compilers/VisualBasic/Portable/xlf/VBResources.es.xlf b/src/Compilers/VisualBasic/Portable/xlf/VBResources.es.xlf index 6a11ef8c2f853..1276538609730 100644 --- a/src/Compilers/VisualBasic/Portable/xlf/VBResources.es.xlf +++ b/src/Compilers/VisualBasic/Portable/xlf/VBResources.es.xlf @@ -778,7 +778,7 @@ stdin argument '-' is specified, but input has not been redirected from the standard input stream. - stdin argument '-' is specified, but input has not been redirected from the standard input stream. + Se ha especificado el argumento stdin "-", pero la entrada no se ha redirigido desde el flujo de entrada estándar. @@ -9156,4 +9156,4 @@ - + \ No newline at end of file diff --git a/src/Compilers/VisualBasic/Portable/xlf/VBResources.fr.xlf b/src/Compilers/VisualBasic/Portable/xlf/VBResources.fr.xlf index 38ce568361a76..84195081c3a65 100644 --- a/src/Compilers/VisualBasic/Portable/xlf/VBResources.fr.xlf +++ b/src/Compilers/VisualBasic/Portable/xlf/VBResources.fr.xlf @@ -778,7 +778,7 @@ stdin argument '-' is specified, but input has not been redirected from the standard input stream. - stdin argument '-' is specified, but input has not been redirected from the standard input stream. + L'argument stdin '-' est spécifié, mais l'entrée n'a pas été redirigée à partir du flux d'entrée standard. @@ -9156,4 +9156,4 @@ - + \ No newline at end of file diff --git a/src/Compilers/VisualBasic/Portable/xlf/VBResources.it.xlf b/src/Compilers/VisualBasic/Portable/xlf/VBResources.it.xlf index b4ee5a317fae7..2a454a26019d6 100644 --- a/src/Compilers/VisualBasic/Portable/xlf/VBResources.it.xlf +++ b/src/Compilers/VisualBasic/Portable/xlf/VBResources.it.xlf @@ -778,7 +778,7 @@ stdin argument '-' is specified, but input has not been redirected from the standard input stream. - stdin argument '-' is specified, but input has not been redirected from the standard input stream. + è stato specificato l'argomento stdin '-', ma l'input non è stato reindirizzato dal flusso di input standard. @@ -9156,4 +9156,4 @@ - + \ No newline at end of file diff --git a/src/Compilers/VisualBasic/Portable/xlf/VBResources.ja.xlf b/src/Compilers/VisualBasic/Portable/xlf/VBResources.ja.xlf index bc891e933a65f..2c6cc42912a00 100644 --- a/src/Compilers/VisualBasic/Portable/xlf/VBResources.ja.xlf +++ b/src/Compilers/VisualBasic/Portable/xlf/VBResources.ja.xlf @@ -778,7 +778,7 @@ stdin argument '-' is specified, but input has not been redirected from the standard input stream. - stdin argument '-' is specified, but input has not been redirected from the standard input stream. + stdin 引数 '-' が指定されていますが、入力が標準入力ストリームからリダイレクトされませんでした。 @@ -9156,4 +9156,4 @@ - + \ No newline at end of file diff --git a/src/Compilers/VisualBasic/Portable/xlf/VBResources.ko.xlf b/src/Compilers/VisualBasic/Portable/xlf/VBResources.ko.xlf index 01393e92341ac..6f25af6ba5d27 100644 --- a/src/Compilers/VisualBasic/Portable/xlf/VBResources.ko.xlf +++ b/src/Compilers/VisualBasic/Portable/xlf/VBResources.ko.xlf @@ -778,7 +778,7 @@ stdin argument '-' is specified, but input has not been redirected from the standard input stream. - stdin argument '-' is specified, but input has not been redirected from the standard input stream. + stdin 인수 '-'를 지정했지만 표준 입력 스트림에서 입력이 리디렉션되지 않았습니다. @@ -9156,4 +9156,4 @@ - + \ No newline at end of file diff --git a/src/Compilers/VisualBasic/Portable/xlf/VBResources.pl.xlf b/src/Compilers/VisualBasic/Portable/xlf/VBResources.pl.xlf index 0d5777e14fbe1..162873114c955 100644 --- a/src/Compilers/VisualBasic/Portable/xlf/VBResources.pl.xlf +++ b/src/Compilers/VisualBasic/Portable/xlf/VBResources.pl.xlf @@ -778,7 +778,7 @@ stdin argument '-' is specified, but input has not been redirected from the standard input stream. - stdin argument '-' is specified, but input has not been redirected from the standard input stream. + określono argument stdin „-”, ale dane wejściowe nie zostały przekierowane ze standardowego strumienia wejściowego. @@ -9156,4 +9156,4 @@ - + \ No newline at end of file diff --git a/src/Compilers/VisualBasic/Portable/xlf/VBResources.pt-BR.xlf b/src/Compilers/VisualBasic/Portable/xlf/VBResources.pt-BR.xlf index ccee80d3e5b2c..23778d1238792 100644 --- a/src/Compilers/VisualBasic/Portable/xlf/VBResources.pt-BR.xlf +++ b/src/Compilers/VisualBasic/Portable/xlf/VBResources.pt-BR.xlf @@ -778,7 +778,7 @@ stdin argument '-' is specified, but input has not been redirected from the standard input stream. - stdin argument '-' is specified, but input has not been redirected from the standard input stream. + O argumento stdin '-' foi especificado, mas a entrada não foi redirecionada do fluxo de entrada padrão. @@ -9156,4 +9156,4 @@ - + \ No newline at end of file diff --git a/src/Compilers/VisualBasic/Portable/xlf/VBResources.ru.xlf b/src/Compilers/VisualBasic/Portable/xlf/VBResources.ru.xlf index 09b9fa25993bd..be5c1d3f1891a 100644 --- a/src/Compilers/VisualBasic/Portable/xlf/VBResources.ru.xlf +++ b/src/Compilers/VisualBasic/Portable/xlf/VBResources.ru.xlf @@ -778,7 +778,7 @@ stdin argument '-' is specified, but input has not been redirected from the standard input stream. - stdin argument '-' is specified, but input has not been redirected from the standard input stream. + Указан аргумент stdin "-", но входные данные не были перенаправлены из стандартного входного потока. @@ -9156,4 +9156,4 @@ - + \ No newline at end of file diff --git a/src/Compilers/VisualBasic/Portable/xlf/VBResources.tr.xlf b/src/Compilers/VisualBasic/Portable/xlf/VBResources.tr.xlf index 253c3124e5b1d..a824a652e8216 100644 --- a/src/Compilers/VisualBasic/Portable/xlf/VBResources.tr.xlf +++ b/src/Compilers/VisualBasic/Portable/xlf/VBResources.tr.xlf @@ -778,7 +778,7 @@ stdin argument '-' is specified, but input has not been redirected from the standard input stream. - stdin argument '-' is specified, but input has not been redirected from the standard input stream. + '-' stdin bağımsız değişkeni belirtildi ancak giriş, standart giriş akışından yeniden yönlendirilmedi. @@ -9156,4 +9156,4 @@ - + \ No newline at end of file diff --git a/src/Compilers/VisualBasic/Portable/xlf/VBResources.zh-Hans.xlf b/src/Compilers/VisualBasic/Portable/xlf/VBResources.zh-Hans.xlf index 9ed602ee8819b..1711e1e49bb7c 100644 --- a/src/Compilers/VisualBasic/Portable/xlf/VBResources.zh-Hans.xlf +++ b/src/Compilers/VisualBasic/Portable/xlf/VBResources.zh-Hans.xlf @@ -778,7 +778,7 @@ stdin argument '-' is specified, but input has not been redirected from the standard input stream. - stdin argument '-' is specified, but input has not been redirected from the standard input stream. + 已指定 stdin 参数 "-",但尚未从标准输入流重定向输入。 @@ -9156,4 +9156,4 @@ - + \ No newline at end of file diff --git a/src/Compilers/VisualBasic/Portable/xlf/VBResources.zh-Hant.xlf b/src/Compilers/VisualBasic/Portable/xlf/VBResources.zh-Hant.xlf index 5248a59680a35..f854bbc6b6d8b 100644 --- a/src/Compilers/VisualBasic/Portable/xlf/VBResources.zh-Hant.xlf +++ b/src/Compilers/VisualBasic/Portable/xlf/VBResources.zh-Hant.xlf @@ -777,7 +777,7 @@ stdin argument '-' is specified, but input has not been redirected from the standard input stream. - stdin argument '-' is specified, but input has not been redirected from the standard input stream. + 已指定 stdin 引數 '-',但尚未從標準輸入資料流重新導向輸入。 @@ -9155,4 +9155,4 @@ - + \ No newline at end of file diff --git a/src/EditorFeatures/CSharp/FindUsages/CSharpFindUsagesLSPService.cs b/src/EditorFeatures/CSharp/FindUsages/CSharpFindUsagesLSPService.cs new file mode 100644 index 0000000000000..b513b76c16ef0 --- /dev/null +++ b/src/EditorFeatures/CSharp/FindUsages/CSharpFindUsagesLSPService.cs @@ -0,0 +1,23 @@ +// 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 Microsoft.CodeAnalysis.Editor.FindUsages; +using Microsoft.CodeAnalysis.Editor.Shared.Utilities; +using Microsoft.CodeAnalysis.Host.Mef; + +namespace Microsoft.CodeAnalysis.Editor.CSharp.FindUsages +{ + [ExportLanguageService(typeof(IFindUsagesLSPService), LanguageNames.CSharp), Shared] + internal class CSharpFindUsagesLSPService : AbstractFindUsagesService + { + [ImportingConstructor] + [Obsolete(MefConstruction.ImportingConstructorMessage, error: true)] + public CSharpFindUsagesLSPService(IThreadingContext threadingContext) + : base(threadingContext) + { + } + } +} diff --git a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.cs.xlf b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.cs.xlf index 23524220d55d2..f50d195b89fff 100644 --- a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.cs.xlf +++ b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.cs.xlf @@ -29,7 +29,7 @@ Found '{0}' assemblies for '{1}': - Našlo se {0} sestavení pro {1}: + Pro {1} se našlo několik ({0}) sestavení: diff --git a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.es.xlf b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.es.xlf index 2ba7008ff617c..b86915f58c9fe 100644 --- a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.es.xlf +++ b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.es.xlf @@ -14,7 +14,7 @@ Could not find by name: '{0}' - No se pudo encontrar por el nombre: "{0}" + No se pudo encontrar por el nombre "{0}" @@ -29,7 +29,7 @@ Found '{0}' assemblies for '{1}': - Se encontraron "{0}" ensamblados para "{1}": + Se encontraron "{0}" ensamblados para "{1}": @@ -89,7 +89,7 @@ '{0}' items in cache - "{0}" elementos en caché + "{0}" elementos en caché diff --git a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.ko.xlf b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.ko.xlf index a921e27300bc2..293fc33a3dd2a 100644 --- a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.ko.xlf +++ b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.ko.xlf @@ -14,7 +14,7 @@ Could not find by name: '{0}' - 이름으로 찾을 수 없습니다. '{0}' + '{0}' 이름으로 찾을 수 없습니다. diff --git a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.pl.xlf b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.pl.xlf index 02a7eef97e987..84414c423b55b 100644 --- a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.pl.xlf +++ b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.pl.xlf @@ -14,7 +14,7 @@ Could not find by name: '{0}' - Nie można odnaleźć według nazwy: „{0}” + Nie można było odnaleźć według nazwy: „{0}” diff --git a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.ru.xlf b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.ru.xlf index bbedf15049284..6a274d0ad2597 100644 --- a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.ru.xlf +++ b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.ru.xlf @@ -29,7 +29,7 @@ Found '{0}' assemblies for '{1}': - Обнаружены сборки ({0}) для "{1}": + Обнаружены сборки ("{0}") для "{1}": diff --git a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.zh-Hans.xlf b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.zh-Hans.xlf index b07952bf2fd07..e9ecfd978c26b 100644 --- a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.zh-Hans.xlf +++ b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.zh-Hans.xlf @@ -14,7 +14,7 @@ Could not find by name: '{0}' - 无法按名称查找: "{0}" + 无法按名称“{0}”查找 @@ -29,7 +29,7 @@ Found '{0}' assemblies for '{1}': - 找到 "{1}" 的 "{0}" 个程序集: + 找到 “{1}”的“{0}”个程序集: diff --git a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.zh-Hant.xlf b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.zh-Hant.xlf index 3ae1992b1f8a2..4456f4117a91f 100644 --- a/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.zh-Hant.xlf +++ b/src/EditorFeatures/CSharp/xlf/CSharpEditorResources.zh-Hant.xlf @@ -14,7 +14,7 @@ Could not find by name: '{0}' - 依名稱找不到結果: '{0}' + 依名稱 '{0}' 找不到結果 diff --git a/src/EditorFeatures/Core/FindUsages/AbstractFindUsagesService.cs b/src/EditorFeatures/Core/FindUsages/AbstractFindUsagesService.cs index 6056ce5cc41c2..09b272bebbece 100644 --- a/src/EditorFeatures/Core/FindUsages/AbstractFindUsagesService.cs +++ b/src/EditorFeatures/Core/FindUsages/AbstractFindUsagesService.cs @@ -18,7 +18,7 @@ namespace Microsoft.CodeAnalysis.Editor.FindUsages { - internal abstract partial class AbstractFindUsagesService : IFindUsagesService + internal abstract partial class AbstractFindUsagesService : IFindUsagesService, IFindUsagesLSPService { private readonly IThreadingContext _threadingContext; @@ -60,7 +60,7 @@ await context.SetSearchTitleAsync( } } - public async Task FindReferencesAsync( + async Task IFindUsagesService.FindReferencesAsync( Document document, int position, IFindUsagesContext context) { var definitionTrackingContext = new DefinitionTrackingContext(context); @@ -88,6 +88,18 @@ await FindLiteralOrSymbolReferencesAsync( } } + async Task IFindUsagesLSPService.FindReferencesAsync( + Document document, int position, IFindUsagesContext context) + { + // We don't need to get third party definitions when finding references in LSP. + // Currently, 3rd party definitions = XAML definitions, and XAML will provide + // references via LSP instead of hooking into Roslyn. + // This also means that we don't need to be on the UI thread. + var definitionTrackingContext = new DefinitionTrackingContext(context); + await FindLiteralOrSymbolReferencesAsync( + document, position, definitionTrackingContext).ConfigureAwait(false); + } + private async Task FindLiteralOrSymbolReferencesAsync( Document document, int position, IFindUsagesContext context) { diff --git a/src/EditorFeatures/Core/FindUsages/IFindUsagesLSPService.cs b/src/EditorFeatures/Core/FindUsages/IFindUsagesLSPService.cs new file mode 100644 index 0000000000000..654199a61d5d0 --- /dev/null +++ b/src/EditorFeatures/Core/FindUsages/IFindUsagesLSPService.cs @@ -0,0 +1,25 @@ +// 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.Threading.Tasks; +using Microsoft.CodeAnalysis.FindUsages; +using Microsoft.CodeAnalysis.Host; + +namespace Microsoft.CodeAnalysis.Editor.FindUsages +{ + internal interface IFindUsagesLSPService : ILanguageService + { + /// + /// Finds the references for the symbol at the specific position in the document, + /// pushing the results into the context instance. + /// + Task FindReferencesAsync(Document document, int position, IFindUsagesContext context); + + /// + /// Finds the implementations for the symbol at the specific position in the document, + /// pushing the results into the context instance. + /// + Task FindImplementationsAsync(Document document, int position, IFindUsagesContext context); + } +} diff --git a/src/EditorFeatures/Core/xlf/EditorFeaturesResources.cs.xlf b/src/EditorFeatures/Core/xlf/EditorFeaturesResources.cs.xlf index db346104b14e3..34ce694ec069f 100644 --- a/src/EditorFeatures/Core/xlf/EditorFeaturesResources.cs.xlf +++ b/src/EditorFeatures/Core/xlf/EditorFeaturesResources.cs.xlf @@ -384,12 +384,12 @@ You cannot rename this element because it is contained in a read-only file. - You cannot rename this element because it is contained in a read-only file. + Tento element nejde přejmenovat, protože je obsažen v souboru jen pro čtení. You cannot rename this element because it is in a location that cannot be navigated to. - You cannot rename this element because it is in a location that cannot be navigated to. + Tento element nejde přejmenovat, protože se nachází v umístění, na které nejde přejít. @@ -404,7 +404,7 @@ '{0}' implemented members - '{0}' implemented members + Implementované členy {0} @@ -654,7 +654,7 @@ (external) - (external) + (externí) diff --git a/src/EditorFeatures/Core/xlf/EditorFeaturesResources.de.xlf b/src/EditorFeatures/Core/xlf/EditorFeaturesResources.de.xlf index 1cfb58b2e9e69..6f633008166cc 100644 --- a/src/EditorFeatures/Core/xlf/EditorFeaturesResources.de.xlf +++ b/src/EditorFeatures/Core/xlf/EditorFeaturesResources.de.xlf @@ -384,12 +384,12 @@ You cannot rename this element because it is contained in a read-only file. - You cannot rename this element because it is contained in a read-only file. + Dieses Element kann nicht umbenannt werden, weil es in einer schreibgeschützten Datei enthalten ist. You cannot rename this element because it is in a location that cannot be navigated to. - You cannot rename this element because it is in a location that cannot be navigated to. + Dieses Element kann nicht umbenannt werden, weil es sich an einem Speicherort befindet, zu dem nicht navigiert werden kann. @@ -404,7 +404,7 @@ '{0}' implemented members - '{0}' implemented members + {0} implementierte Member @@ -654,7 +654,7 @@ (external) - (external) + (extern) diff --git a/src/EditorFeatures/Core/xlf/EditorFeaturesResources.es.xlf b/src/EditorFeatures/Core/xlf/EditorFeaturesResources.es.xlf index ae54c76f41cf8..ff36b9a3d625a 100644 --- a/src/EditorFeatures/Core/xlf/EditorFeaturesResources.es.xlf +++ b/src/EditorFeatures/Core/xlf/EditorFeaturesResources.es.xlf @@ -384,12 +384,12 @@ You cannot rename this element because it is contained in a read-only file. - You cannot rename this element because it is contained in a read-only file. + No se puede cambiar el nombre de este elemento porque está incluido en un archivo de solo lectura. You cannot rename this element because it is in a location that cannot be navigated to. - You cannot rename this element because it is in a location that cannot be navigated to. + No se puede cambiar el nombre de este elemento porque está en una ubicación a la que no se puede navegar. @@ -404,7 +404,7 @@ '{0}' implemented members - '{0}' implemented members + Miembros implementados: "{0}" @@ -654,7 +654,7 @@ (external) - (external) + (externo) diff --git a/src/EditorFeatures/Core/xlf/EditorFeaturesResources.fr.xlf b/src/EditorFeatures/Core/xlf/EditorFeaturesResources.fr.xlf index d7db5431da5d4..1967791af8772 100644 --- a/src/EditorFeatures/Core/xlf/EditorFeaturesResources.fr.xlf +++ b/src/EditorFeatures/Core/xlf/EditorFeaturesResources.fr.xlf @@ -384,12 +384,12 @@ You cannot rename this element because it is contained in a read-only file. - You cannot rename this element because it is contained in a read-only file. + Vous ne pouvez pas renommer cet élément, car il est contenu dans un fichier en lecture seule. You cannot rename this element because it is in a location that cannot be navigated to. - You cannot rename this element because it is in a location that cannot be navigated to. + Vous ne pouvez pas renommer cet élément, car il se trouve dans un emplacement inaccessible. @@ -404,7 +404,7 @@ '{0}' implemented members - '{0}' implemented members + '{0}' membres implémentés @@ -654,7 +654,7 @@ (external) - (external) + (externe) diff --git a/src/EditorFeatures/Core/xlf/EditorFeaturesResources.it.xlf b/src/EditorFeatures/Core/xlf/EditorFeaturesResources.it.xlf index f9032c421c7fb..c898e1c960b0a 100644 --- a/src/EditorFeatures/Core/xlf/EditorFeaturesResources.it.xlf +++ b/src/EditorFeatures/Core/xlf/EditorFeaturesResources.it.xlf @@ -384,12 +384,12 @@ You cannot rename this element because it is contained in a read-only file. - You cannot rename this element because it is contained in a read-only file. + Non è possibile rinominare questo elemento perché è contenuto in un file di sola lettura. You cannot rename this element because it is in a location that cannot be navigated to. - You cannot rename this element because it is in a location that cannot be navigated to. + Non è possibile rinominare questo elemento perché si trova in una posizione a cui non è possibile passare. @@ -404,7 +404,7 @@ '{0}' implemented members - '{0}' implemented members + Membri implementati di '{0}' @@ -654,7 +654,7 @@ (external) - (external) + (esterno) diff --git a/src/EditorFeatures/Core/xlf/EditorFeaturesResources.ja.xlf b/src/EditorFeatures/Core/xlf/EditorFeaturesResources.ja.xlf index 17ccb3e7d89e2..c62432ee8bd16 100644 --- a/src/EditorFeatures/Core/xlf/EditorFeaturesResources.ja.xlf +++ b/src/EditorFeatures/Core/xlf/EditorFeaturesResources.ja.xlf @@ -384,12 +384,12 @@ You cannot rename this element because it is contained in a read-only file. - You cannot rename this element because it is contained in a read-only file. + この要素は、読み取り専用ファイルに含まれているため、名前を変更できません。 You cannot rename this element because it is in a location that cannot be navigated to. - You cannot rename this element because it is in a location that cannot be navigated to. + この要素は、移動できない場所にあるため、名前を変更できません。 @@ -404,7 +404,7 @@ '{0}' implemented members - '{0}' implemented members + '{0}' が実装されたメンバー @@ -654,7 +654,7 @@ (external) - (external) + (外部) diff --git a/src/EditorFeatures/Core/xlf/EditorFeaturesResources.ko.xlf b/src/EditorFeatures/Core/xlf/EditorFeaturesResources.ko.xlf index a257075022332..0dad7de1e6349 100644 --- a/src/EditorFeatures/Core/xlf/EditorFeaturesResources.ko.xlf +++ b/src/EditorFeatures/Core/xlf/EditorFeaturesResources.ko.xlf @@ -384,12 +384,12 @@ You cannot rename this element because it is contained in a read-only file. - You cannot rename this element because it is contained in a read-only file. + 이 요소는 읽기 전용 파일에 포함되어 있으므로 이름을 바꿀 수 없습니다. You cannot rename this element because it is in a location that cannot be navigated to. - You cannot rename this element because it is in a location that cannot be navigated to. + 이 요소는 탐색할 수 없는 위치에 있으므로 이름을 바꿀 수 없습니다. @@ -404,7 +404,7 @@ '{0}' implemented members - '{0}' implemented members + 구현된 멤버 '{0}'개 @@ -654,7 +654,7 @@ (external) - (external) + (외부) diff --git a/src/EditorFeatures/Core/xlf/EditorFeaturesResources.pl.xlf b/src/EditorFeatures/Core/xlf/EditorFeaturesResources.pl.xlf index df62615a07981..825c80f5f035b 100644 --- a/src/EditorFeatures/Core/xlf/EditorFeaturesResources.pl.xlf +++ b/src/EditorFeatures/Core/xlf/EditorFeaturesResources.pl.xlf @@ -384,12 +384,12 @@ You cannot rename this element because it is contained in a read-only file. - You cannot rename this element because it is contained in a read-only file. + Nie możesz zmienić nazwy tego elementu, ponieważ jest on zawarty w pliku tylko do odczytu. You cannot rename this element because it is in a location that cannot be navigated to. - You cannot rename this element because it is in a location that cannot be navigated to. + Nie możesz zmienić nazwy tego elementu, ponieważ znajduje się on w lokalizacji, do której nie można nawigować. @@ -404,7 +404,7 @@ '{0}' implemented members - '{0}' implemented members + Zaimplementowane składowe: „{0}” @@ -654,7 +654,7 @@ (external) - (external) + (zewnętrzne) diff --git a/src/EditorFeatures/Core/xlf/EditorFeaturesResources.pt-BR.xlf b/src/EditorFeatures/Core/xlf/EditorFeaturesResources.pt-BR.xlf index 3f37e9a332ce8..7159511273f4a 100644 --- a/src/EditorFeatures/Core/xlf/EditorFeaturesResources.pt-BR.xlf +++ b/src/EditorFeatures/Core/xlf/EditorFeaturesResources.pt-BR.xlf @@ -384,12 +384,12 @@ You cannot rename this element because it is contained in a read-only file. - You cannot rename this element because it is contained in a read-only file. + Você não pode renomear este elemento porque ele está contido em um arquivo somente leitura. You cannot rename this element because it is in a location that cannot be navigated to. - You cannot rename this element because it is in a location that cannot be navigated to. + Você não pode renomear este elemento porque ele está em um local para o qual não é possível navegar. @@ -404,7 +404,7 @@ '{0}' implemented members - '{0}' implemented members + '{0}' membros implementados @@ -654,7 +654,7 @@ (external) - (external) + (externo) diff --git a/src/EditorFeatures/Core/xlf/EditorFeaturesResources.ru.xlf b/src/EditorFeatures/Core/xlf/EditorFeaturesResources.ru.xlf index 636debb8f1f22..5661fb5c608ac 100644 --- a/src/EditorFeatures/Core/xlf/EditorFeaturesResources.ru.xlf +++ b/src/EditorFeatures/Core/xlf/EditorFeaturesResources.ru.xlf @@ -384,12 +384,12 @@ You cannot rename this element because it is contained in a read-only file. - You cannot rename this element because it is contained in a read-only file. + Невозможно переименовать этот элемент, так как он содержится в файле, доступном только для чтения. You cannot rename this element because it is in a location that cannot be navigated to. - You cannot rename this element because it is in a location that cannot be navigated to. + Невозможно переименовать этот элемент, так как он находится в расположении, к которому невозможно перейти. @@ -404,7 +404,7 @@ '{0}' implemented members - '{0}' implemented members + Реализованные члены "{0}" @@ -654,7 +654,7 @@ (external) - (external) + (внешний) diff --git a/src/EditorFeatures/Core/xlf/EditorFeaturesResources.tr.xlf b/src/EditorFeatures/Core/xlf/EditorFeaturesResources.tr.xlf index a064d2b3bc659..1c4b73702e733 100644 --- a/src/EditorFeatures/Core/xlf/EditorFeaturesResources.tr.xlf +++ b/src/EditorFeatures/Core/xlf/EditorFeaturesResources.tr.xlf @@ -384,12 +384,12 @@ You cannot rename this element because it is contained in a read-only file. - You cannot rename this element because it is contained in a read-only file. + Salt okunur bir dosyada bulunduğundan bu öğeyi yeniden adlandıramazsınız. You cannot rename this element because it is in a location that cannot be navigated to. - You cannot rename this element because it is in a location that cannot be navigated to. + Gezintiyle ulaşılamayan bir konumda bulunduğundan bu öğeyi yeniden adlandıramazsınız. @@ -404,7 +404,7 @@ '{0}' implemented members - '{0}' implemented members + '{0}' uygulanan üye @@ -654,7 +654,7 @@ (external) - (external) + (dış) diff --git a/src/EditorFeatures/Core/xlf/EditorFeaturesResources.zh-Hans.xlf b/src/EditorFeatures/Core/xlf/EditorFeaturesResources.zh-Hans.xlf index 11e14e4e87b82..05a13184a47a8 100644 --- a/src/EditorFeatures/Core/xlf/EditorFeaturesResources.zh-Hans.xlf +++ b/src/EditorFeatures/Core/xlf/EditorFeaturesResources.zh-Hans.xlf @@ -384,12 +384,12 @@ You cannot rename this element because it is contained in a read-only file. - You cannot rename this element because it is contained in a read-only file. + 无法重命名此元素,因为它包含在只读文件中。 You cannot rename this element because it is in a location that cannot be navigated to. - You cannot rename this element because it is in a location that cannot be navigated to. + 无法重命名此元素,因为它位于无法导航到的位置。 @@ -404,7 +404,7 @@ '{0}' implemented members - '{0}' implemented members + “{0}”个实现的成员 @@ -654,7 +654,7 @@ (external) - (external) + (外部) diff --git a/src/EditorFeatures/Core/xlf/EditorFeaturesResources.zh-Hant.xlf b/src/EditorFeatures/Core/xlf/EditorFeaturesResources.zh-Hant.xlf index f87608676c14d..7bb661dd283f0 100644 --- a/src/EditorFeatures/Core/xlf/EditorFeaturesResources.zh-Hant.xlf +++ b/src/EditorFeatures/Core/xlf/EditorFeaturesResources.zh-Hant.xlf @@ -384,12 +384,12 @@ You cannot rename this element because it is contained in a read-only file. - You cannot rename this element because it is contained in a read-only file. + 因為此項目包含在唯讀檔案中,所以無法重新命名。 You cannot rename this element because it is in a location that cannot be navigated to. - You cannot rename this element because it is in a location that cannot be navigated to. + 因為無法瀏覽到此項目的所在位置,所以無法予以重新命名。 @@ -404,7 +404,7 @@ '{0}' implemented members - '{0}' implemented members + 已實作 '{0}' 的成員 @@ -654,7 +654,7 @@ (external) - (external) + (外部) diff --git a/src/EditorFeatures/Test/EditAndContinue/EditAndContinueWorkspaceServiceTests.cs b/src/EditorFeatures/Test/EditAndContinue/EditAndContinueWorkspaceServiceTests.cs index a0b1da6e87d4a..864d821502365 100644 --- a/src/EditorFeatures/Test/EditAndContinue/EditAndContinueWorkspaceServiceTests.cs +++ b/src/EditorFeatures/Test/EditAndContinue/EditAndContinueWorkspaceServiceTests.cs @@ -32,14 +32,15 @@ namespace Microsoft.CodeAnalysis.EditAndContinue.UnitTests [UseExportProvider] public sealed class EditAndContinueWorkspaceServiceTests : TestBase { + private static readonly ActiveStatementProvider s_noActiveStatements = + cancellationToken => Task.FromResult(ImmutableArray.Empty); + private readonly EditAndContinueDiagnosticUpdateSource _diagnosticUpdateSource; private readonly Mock _mockDiagnosticService; private readonly MockDebuggeeModuleMetadataProvider _mockDebugeeModuleMetadataProvider; private readonly Mock _mockActiveStatementTrackingService; private readonly MockCompilationOutputsProviderService _mockCompilationOutputsService; - private Mock _mockActiveStatementProvider; - private readonly List _modulesPreparedForUpdate; private readonly List _emitDiagnosticsUpdated; private int _emitDiagnosticsClearedCount; private readonly List _telemetryLog; @@ -47,7 +48,6 @@ public sealed class EditAndContinueWorkspaceServiceTests : TestBase public EditAndContinueWorkspaceServiceTests() { - _modulesPreparedForUpdate = new List(); _mockDiagnosticService = new Mock(MockBehavior.Strict); _mockDiagnosticService.Setup(s => s.Reanalyze(It.IsAny(), It.IsAny>(), It.IsAny>(), It.IsAny())); @@ -56,19 +56,9 @@ public EditAndContinueWorkspaceServiceTests() _diagnosticUpdateSource.DiagnosticsUpdated += (object sender, DiagnosticsUpdatedArgs args) => _emitDiagnosticsUpdated.Add(args); _diagnosticUpdateSource.DiagnosticsCleared += (object sender, EventArgs args) => _emitDiagnosticsClearedCount++; - _mockActiveStatementProvider = new Mock(MockBehavior.Strict); - _mockActiveStatementProvider.Setup(p => p.GetActiveStatementsAsync(It.IsAny())). - Returns(Task.FromResult(ImmutableArray.Empty)); - _mockDebugeeModuleMetadataProvider = new MockDebuggeeModuleMetadataProvider { - IsEditAndContinueAvailable = (Guid guid, out int errorCode, out string localizedMessage) => - { - errorCode = 0; - localizedMessage = null; - return true; - }, - PrepareModuleForUpdate = mvid => _modulesPreparedForUpdate.Add(mvid) + IsEditAndContinueAvailable = _ => (0, null) }; _mockActiveStatementTrackingService = new Mock(MockBehavior.Strict); @@ -86,7 +76,6 @@ private EditAndContinueWorkspaceService CreateEditAndContinueService(Workspace w _mockCompilationOutputsService, _mockDiagnosticService.Object, _diagnosticUpdateSource, - _mockActiveStatementProvider.Object, _mockDebugeeModuleMetadataProvider, reportTelemetry: data => EditAndContinueWorkspaceService.LogDebuggingSessionTelemetry(data, (id, message) => _telemetryLog.Add($"{id}: {message.GetMessage()}"), () => ++_telemetryId)); @@ -147,7 +136,10 @@ TService IDocumentServiceProvider.GetService() } private void LoadLibraryToDebuggee(DebuggeeModuleInfo debuggeeModuleInfo) - => _mockDebugeeModuleMetadataProvider.TryGetBaselineModuleInfo = mvid => debuggeeModuleInfo; + { + _mockDebugeeModuleMetadataProvider.TryGetBaselineModuleInfo = mvid => debuggeeModuleInfo; + _mockDebugeeModuleMetadataProvider.IsEditAndContinueAvailable = _ => (0, null); + } private (DebuggeeModuleInfo, Guid) EmitLibrary( string source, @@ -184,6 +176,7 @@ private void LoadLibraryToDebuggee(DebuggeeModuleInfo debuggeeModuleInfo) // library not loaded yet: _mockDebugeeModuleMetadataProvider.TryGetBaselineModuleInfo = mvid => null; + _mockDebugeeModuleMetadataProvider.IsEditAndContinueAvailable = _ => null; return (debuggeeModuleInfo, moduleId); } @@ -203,7 +196,7 @@ public void ActiveStatementTracking() StartDebuggingSession(service); - service.StartEditSession(); + service.StartEditSession(s_noActiveStatements); _mockActiveStatementTrackingService.Verify(ts => ts.StartTracking(It.IsAny()), Times.Once()); service.EndEditSession(); @@ -543,7 +536,7 @@ public async Task BreakMode_ProjectThatDoesNotSupportEnC() var service = CreateEditAndContinueService(workspace); StartDebuggingSession(service); - service.StartEditSession(); + service.StartEditSession(s_noActiveStatements); // change the source: var document1 = workspace.CurrentSolution.Projects.Single().Documents.Single(); @@ -584,7 +577,7 @@ public async Task BreakMode_DesignTimeOnlyDocument_Dynamic() var service = CreateEditAndContinueService(workspace); StartDebuggingSession(service); - service.StartEditSession(); + service.StartEditSession(s_noActiveStatements); // change the source: var document1 = workspace.CurrentSolution.Projects.Single().Documents.Single(d => d.Id == documentInfo.Id); @@ -638,7 +631,7 @@ public async Task BreakMode_DesignTimeOnlyDocument_Wpf(bool delayLoad) var debuggingSession = StartDebuggingSession(service, initialState: CommittedSolution.DocumentState.None); - service.StartEditSession(); + service.StartEditSession(s_noActiveStatements); // change the source (rude edit): workspace.ChangeDocument(documentB.Id, SourceText.From("class B { public void RenamedMethod() { } }")); @@ -687,7 +680,7 @@ public async Task BreakMode_ErrorReadingModuleFile() var service = CreateEditAndContinueService(workspace); StartDebuggingSession(service); - service.StartEditSession(); + service.StartEditSession(s_noActiveStatements); // change the source: var document1 = workspace.CurrentSolution.Projects.Single().Documents.Single(); @@ -762,7 +755,7 @@ public async Task BreakMode_ErrorReadingPdbFile() var service = CreateEditAndContinueService(workspace); StartDebuggingSession(service, initialState: CommittedSolution.DocumentState.None); - service.StartEditSession(); + service.StartEditSession(s_noActiveStatements); // change the source: workspace.ChangeDocument(document1.Id, SourceText.From("class C1 { void M() { System.Console.WriteLine(2); } }", Encoding.UTF8)); @@ -828,7 +821,7 @@ public async Task BreakMode_ErrorReadingSourceFile() var service = CreateEditAndContinueService(workspace); StartDebuggingSession(service, initialState: CommittedSolution.DocumentState.None); - service.StartEditSession(); + service.StartEditSession(s_noActiveStatements); // change the source: workspace.ChangeDocument(document1.Id, SourceText.From("class C1 { void M() { System.Console.WriteLine(2); } }", Encoding.UTF8)); @@ -898,19 +891,14 @@ public async Task BreakMode_FileAdded() workspace.ChangeSolution(project.Solution.WithProjectOutputFilePath(project.Id, moduleFile.Path)); var document1 = workspace.CurrentSolution.Projects.Single().Documents.Single(); - _mockDebugeeModuleMetadataProvider.IsEditAndContinueAvailable = (Guid guid, out int errorCode, out string localizedMessage) => - { - errorCode = 123; - localizedMessage = "*message*"; - return false; - }; + _mockDebugeeModuleMetadataProvider.IsEditAndContinueAvailable = _ => (errorCode: 123, errorMessage: "*message*"); _mockCompilationOutputsService.Outputs.Add(project.Id, new CompilationOutputFiles(moduleFile.Path)); var service = CreateEditAndContinueService(workspace); StartDebuggingSession(service); - service.StartEditSession(); + service.StartEditSession(s_noActiveStatements); // add a source file: var document2 = project.AddDocument("file2.cs", SourceText.From("class C2 {}")); @@ -974,19 +962,17 @@ void M() var project = workspace.CurrentSolution.Projects.Single(); _mockCompilationOutputsService.Outputs.Add(project.Id, new MockCompilationOutputs(moduleId)); - _mockDebugeeModuleMetadataProvider.IsEditAndContinueAvailable = (Guid guid, out int errorCode, out string localizedMessage) => + _mockDebugeeModuleMetadataProvider.IsEditAndContinueAvailable = guid => { Assert.Equal(moduleId, guid); - errorCode = 123; - localizedMessage = "*message*"; - return false; + return (errorCode: 123, errorMessage: "*message*"); }; var service = CreateEditAndContinueService(workspace); - StartDebuggingSession(service); + var debuggingSession = StartDebuggingSession(service); - service.StartEditSession(); + service.StartEditSession(s_noActiveStatements); VerifyReanalyzeInvocation(workspace, null, ImmutableArray.Empty, false); // change the source: @@ -1015,7 +1001,7 @@ void M() service.EndDebuggingSession(); VerifyReanalyzeInvocation(workspace, null, ImmutableArray.Empty, false); - AssertEx.Equal(new[] { moduleId }, _modulesPreparedForUpdate); + AssertEx.SetEqual(new[] { moduleId }, debuggingSession.Test_GetModulesPreparedForUpdate()); AssertEx.Equal(new[] { @@ -1053,7 +1039,7 @@ public async Task BreakMode_Encodings() var service = CreateEditAndContinueService(workspace); var debuggingSession = StartDebuggingSession(service, initialState: CommittedSolution.DocumentState.None); - service.StartEditSession(); + service.StartEditSession(s_noActiveStatements); // Emulate opening the file, which will trigger "out-of-sync" check. // Since we find content matching the PDB checksum we update the committed solution with this source text. @@ -1079,9 +1065,9 @@ public async Task BreakMode_RudeEdits() var service = CreateEditAndContinueService(workspace); - StartDebuggingSession(service); + var debuggingSession = StartDebuggingSession(service); - service.StartEditSession(); + service.StartEditSession(s_noActiveStatements); VerifyReanalyzeInvocation(workspace, null, ImmutableArray.Empty, false); // change the source (rude edit): @@ -1106,7 +1092,7 @@ public async Task BreakMode_RudeEdits() service.EndDebuggingSession(); VerifyReanalyzeInvocation(workspace, null, ImmutableArray.Empty, false); - AssertEx.Equal(new[] { moduleId }, _modulesPreparedForUpdate); + AssertEx.SetEqual(new[] { moduleId }, debuggingSession.Test_GetModulesPreparedForUpdate()); AssertEx.Equal(new[] { @@ -1147,7 +1133,7 @@ public async Task BreakMode_RudeEdits_DocumentOutOfSync() var service = CreateEditAndContinueService(workspace); var debuggingSession = StartDebuggingSession(service, initialState: CommittedSolution.DocumentState.None); - service.StartEditSession(); + service.StartEditSession(s_noActiveStatements); VerifyReanalyzeInvocation(workspace, null, ImmutableArray.Empty, false); // change the source (rude edit): @@ -1197,7 +1183,7 @@ public async Task BreakMode_RudeEdits_DocumentOutOfSync() service.EndDebuggingSession(); VerifyReanalyzeInvocation(workspace, null, ImmutableArray.Empty, false); - AssertEx.Equal(new[] { moduleId }, _modulesPreparedForUpdate); + AssertEx.SetEqual(new[] { moduleId }, debuggingSession.Test_GetModulesPreparedForUpdate()); AssertEx.Equal(new[] { @@ -1232,7 +1218,7 @@ public async Task BreakMode_RudeEdits_DocumentWithoutSequencePoints() // do not initialize the document state - we will detect the state based on the PDB content. var debuggingSession = StartDebuggingSession(service, initialState: CommittedSolution.DocumentState.None); - service.StartEditSession(); + service.StartEditSession(s_noActiveStatements); // change the source (rude edit since the base document content matches the PDB checksum, so the document is not out-of-sync): workspace.ChangeDocument(document1.Id, SourceText.From("abstract class C { public abstract void M(); public abstract void N(); }")); @@ -1280,7 +1266,7 @@ public async Task BreakMode_RudeEdits_DelayLoadedModule() // do not initialize the document state - we will detect the state based on the PDB content. var debuggingSession = StartDebuggingSession(service, initialState: CommittedSolution.DocumentState.None); - service.StartEditSession(); + service.StartEditSession(s_noActiveStatements); // change the source (rude edit) before the library is loaded: workspace.ChangeDocument(document1.Id, SourceText.From("class C { public void Renamed() { } }")); @@ -1329,9 +1315,9 @@ public async Task BreakMode_SyntaxError() var service = CreateEditAndContinueService(workspace); - StartDebuggingSession(service); + var debuggingSession = StartDebuggingSession(service); - service.StartEditSession(); + service.StartEditSession(s_noActiveStatements); VerifyReanalyzeInvocation(workspace, null, ImmutableArray.Empty, false); // change the source (compilation error): @@ -1356,7 +1342,7 @@ public async Task BreakMode_SyntaxError() service.EndDebuggingSession(); VerifyReanalyzeInvocation(workspace, null, ImmutableArray.Empty, false); - AssertEx.Equal(new[] { moduleId }, _modulesPreparedForUpdate); + AssertEx.SetEqual(new[] { moduleId }, debuggingSession.Test_GetModulesPreparedForUpdate()); AssertEx.Equal(new[] { @@ -1378,9 +1364,9 @@ public async Task BreakMode_SemanticError() var service = CreateEditAndContinueService(workspace); - StartDebuggingSession(service); + var debuggingSession = StartDebuggingSession(service); - service.StartEditSession(); + service.StartEditSession(s_noActiveStatements); VerifyReanalyzeInvocation(workspace, null, ImmutableArray.Empty, false); // change the source (compilation error): @@ -1413,7 +1399,7 @@ public async Task BreakMode_SemanticError() service.EndDebuggingSession(); VerifyReanalyzeInvocation(workspace, null, ImmutableArray.Empty, false); - AssertEx.Equal(new[] { moduleId }, _modulesPreparedForUpdate); + AssertEx.SetEqual(new[] { moduleId }, debuggingSession.Test_GetModulesPreparedForUpdate()); AssertEx.Equal(new[] { @@ -1442,7 +1428,7 @@ public async Task BreakMode_FileStatus_CompilationError() var service = CreateEditAndContinueService(workspace); StartDebuggingSession(service); - service.StartEditSession(); + service.StartEditSession(s_noActiveStatements); // change C.cs to have a compilation error: var projectC = workspace.CurrentSolution.GetProjectsByName("C").Single(); @@ -1477,7 +1463,7 @@ public async Task BreakMode_ValidSignificantChange_EmitError() StartDebuggingSession(service); - service.StartEditSession(); + service.StartEditSession(s_noActiveStatements); var editSession = service.Test_GetEditSession(); VerifyReanalyzeInvocation(workspace, null, ImmutableArray.Empty, false); @@ -1575,7 +1561,7 @@ public async Task BreakMode_ValidSignificantChange_ApplyBeforeFileWatcherEvent(b var service = CreateEditAndContinueService(workspace); var debuggingSession = StartDebuggingSession(service, initialState: CommittedSolution.DocumentState.None); - service.StartEditSession(); + service.StartEditSession(s_noActiveStatements); // The user opens the source file and changes the source before Roslyn receives file watcher event. var source2 = "class C1 { void M() { System.Console.WriteLine(2); } }"; @@ -1598,7 +1584,7 @@ public async Task BreakMode_ValidSignificantChange_ApplyBeforeFileWatcherEvent(b service.EndEditSession(); - service.StartEditSession(); + service.StartEditSession(s_noActiveStatements); // file watcher updates the workspace: workspace.ChangeDocument(documentId, CreateSourceTextFromFile(sourceFile.Path)); @@ -1655,7 +1641,7 @@ public async Task BreakMode_ValidSignificantChange_FileUpdateBeforeDebuggingSess var service = CreateEditAndContinueService(workspace); var debuggingSession = StartDebuggingSession(service, initialState: CommittedSolution.DocumentState.None); - service.StartEditSession(); + service.StartEditSession(s_noActiveStatements); // user edits the file: workspace.ChangeDocument(documentId, SourceText.From(source3, Encoding.UTF8)); @@ -1730,9 +1716,9 @@ public async Task BreakMode_ValidSignificantChange_DocumentOutOfSync(bool delayL var service = CreateEditAndContinueService(workspace); - StartDebuggingSession(service, initialState: CommittedSolution.DocumentState.None); + var debuggingSession = StartDebuggingSession(service, initialState: CommittedSolution.DocumentState.None); - service.StartEditSession(); + service.StartEditSession(s_noActiveStatements); VerifyReanalyzeInvocation(workspace, null, ImmutableArray.Empty, false); // no changes have been made to the project @@ -1770,7 +1756,7 @@ public async Task BreakMode_ValidSignificantChange_DocumentOutOfSync(bool delayL // no diagnostics reported via a document analyzer VerifyReanalyzeInvocation(workspace, null, ImmutableArray.Empty, false); - Assert.Empty(_modulesPreparedForUpdate); + Assert.Empty(debuggingSession.Test_GetModulesPreparedForUpdate()); } [Theory] @@ -1791,9 +1777,9 @@ public async Task BreakMode_ValidSignificantChange_EmitSuccessful(bool commitUpd var service = CreateEditAndContinueService(workspace); - StartDebuggingSession(service); + var debuggingSession = StartDebuggingSession(service); - service.StartEditSession(); + service.StartEditSession(s_noActiveStatements); var editSession = service.Test_GetEditSession(); VerifyReanalyzeInvocation(workspace, null, ImmutableArray.Empty, false); @@ -1869,7 +1855,7 @@ public async Task BreakMode_ValidSignificantChange_EmitSuccessful(bool commitUpd service.EndDebuggingSession(); VerifyReanalyzeInvocation(workspace, null, ImmutableArray.Empty, false); - AssertEx.Equal(new[] { moduleId }, _modulesPreparedForUpdate); + AssertEx.SetEqual(new[] { moduleId }, debuggingSession.Test_GetModulesPreparedForUpdate()); // the debugger disposes the module metadata and SymReader: debuggeeModuleInfo.Dispose(); @@ -1910,14 +1896,15 @@ public async Task BreakMode_ValidSignificantChange_EmitSuccessful_UpdateDeferred _mockCompilationOutputsService.Outputs.Add(project.Id, new CompilationOutputFiles(moduleFile.Path, pdbFile.Path)); // set up an active statement in the first method, so that we can test preservation of local signature. - _mockActiveStatementProvider = new Mock(MockBehavior.Strict); - _mockActiveStatementProvider.Setup(p => p.GetActiveStatementsAsync(It.IsAny())). - Returns(Task.FromResult(ImmutableArray.Create(new ActiveStatementDebugInfo( + Task> activeStatementProvider(CancellationToken _) + { + return Task.FromResult(ImmutableArray.Create(new ActiveStatementDebugInfo( new ActiveInstructionId(moduleId, methodToken: 0x06000001, methodVersion: 1, ilOffset: 0), documentNameOpt: document1.Name, linePositionSpan: new LinePositionSpan(new LinePosition(0, 15), new LinePosition(0, 16)), threadIds: ImmutableArray.Create(Guid.NewGuid()), - ActiveStatementFlags.IsLeafFrame)))); + ActiveStatementFlags.IsLeafFrame))); + } // module not loaded _mockDebugeeModuleMetadataProvider.TryGetBaselineModuleInfo = mvid => null; @@ -1926,7 +1913,7 @@ public async Task BreakMode_ValidSignificantChange_EmitSuccessful_UpdateDeferred StartDebuggingSession(service); - service.StartEditSession(); + service.StartEditSession(activeStatementProvider); var editSession = service.Test_GetEditSession(); // change the source (valid edit): @@ -1985,7 +1972,7 @@ public async Task BreakMode_ValidSignificantChange_EmitSuccessful_UpdateDeferred service.EndEditSession(); // make another update: - service.StartEditSession(); + service.StartEditSession(s_noActiveStatements); // Update M1 - this method has an active statement, so we will attempt to preserve the local signature. // Since the method hasn't been edited before we'll read the baseline PDB to get the signature token. @@ -2069,7 +2056,7 @@ public async Task TwoUpdatesWithLoadedAndUnloadedModule() StartDebuggingSession(service); - service.StartEditSession(); + service.StartEditSession(s_noActiveStatements); var editSession = service.Test_GetEditSession(); // @@ -2125,7 +2112,7 @@ public async Task TwoUpdatesWithLoadedAndUnloadedModule() Assert.False(await service.HasChangesAsync(sourceFilePath: null, CancellationToken.None).ConfigureAwait(false)); service.EndEditSession(); - service.StartEditSession(); + service.StartEditSession(s_noActiveStatements); editSession = service.Test_GetEditSession(); // @@ -2270,7 +2257,7 @@ public async Task BreakMode_ValidSignificantChange_BaselineCreationFailed_NoStre StartDebuggingSession(service); - service.StartEditSession(); + service.StartEditSession(s_noActiveStatements); // change the source (valid edit): var document1 = workspace.CurrentSolution.Projects.Single().Documents.Single(); @@ -2308,7 +2295,7 @@ public async Task BreakMode_ValidSignificantChange_BaselineCreationFailed_Assemb StartDebuggingSession(service); - service.StartEditSession(); + service.StartEditSession(s_noActiveStatements); // change the source (valid edit): var document1 = workspace.CurrentSolution.Projects.Single().Documents.Single(); diff --git a/src/EditorFeatures/Test/EditAndContinue/EditSessionActiveStatementsTests.cs b/src/EditorFeatures/Test/EditAndContinue/EditSessionActiveStatementsTests.cs index 4720545ea87c0..d7baec4bca015 100644 --- a/src/EditorFeatures/Test/EditAndContinue/EditSessionActiveStatementsTests.cs +++ b/src/EditorFeatures/Test/EditAndContinue/EditSessionActiveStatementsTests.cs @@ -24,17 +24,6 @@ namespace Microsoft.CodeAnalysis.EditAndContinue.UnitTests [UseExportProvider] public class EditSessionActiveStatementsTests : TestBase { - internal sealed class TestActiveStatementProvider : IActiveStatementProvider - { - private readonly ImmutableArray _infos; - - public TestActiveStatementProvider(ImmutableArray infos) - => _infos = infos; - - public Task> GetActiveStatementsAsync(CancellationToken cancellationToken) - => Task.FromResult(_infos); - } - internal static ImmutableArray GetActiveStatementDebugInfos( string[] markedSources, string extension = ".cs", @@ -113,11 +102,10 @@ public Validator( Workspace.ChangeSolution(adjustSolution(Workspace.CurrentSolution)); } - var activeStatementProvider = new TestActiveStatementProvider(activeStatements); var mockDebuggeModuleProvider = new Mock(); var mockCompilationOutputsProvider = new MockCompilationOutputsProviderService(); - var debuggingSession = new DebuggingSession(Workspace, mockDebuggeModuleProvider.Object, activeStatementProvider, mockCompilationOutputsProvider); + var debuggingSession = new DebuggingSession(Workspace, mockDebuggeModuleProvider.Object, mockCompilationOutputsProvider); if (initialState != CommittedSolution.DocumentState.None) { @@ -127,7 +115,7 @@ public Validator( debuggingSession.Test_SetNonRemappableRegions(nonRemappableRegions ?? ImmutableDictionary>.Empty); var telemetry = new EditSessionTelemetry(); - EditSession = new EditSession(debuggingSession, telemetry); + EditSession = new EditSession(debuggingSession, telemetry, cancellationToken => Task.FromResult(activeStatements)); } public ImmutableArray GetDocumentIds() diff --git a/src/EditorFeatures/Test/EditAndContinue/Helpers/MockDebuggeeModuleMetadataProvider.cs b/src/EditorFeatures/Test/EditAndContinue/Helpers/MockDebuggeeModuleMetadataProvider.cs index ffa18957608ae..116271260451b 100644 --- a/src/EditorFeatures/Test/EditAndContinue/Helpers/MockDebuggeeModuleMetadataProvider.cs +++ b/src/EditorFeatures/Test/EditAndContinue/Helpers/MockDebuggeeModuleMetadataProvider.cs @@ -1,21 +1,25 @@ // 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. + +#nullable enable + using System; +using System.Threading; +using System.Threading.Tasks; namespace Microsoft.CodeAnalysis.EditAndContinue.UnitTests { internal class MockDebuggeeModuleMetadataProvider : IDebuggeeModuleMetadataProvider { - public FuncInOutOut IsEditAndContinueAvailable; - public Action PrepareModuleForUpdate; - public Func TryGetBaselineModuleInfo; + public Func? IsEditAndContinueAvailable; + public Func? TryGetBaselineModuleInfo; - bool IDebuggeeModuleMetadataProvider.IsEditAndContinueAvailable(Guid mvid, out int errorCode, out string localizedMessage) - => (IsEditAndContinueAvailable ?? throw new NotImplementedException())(mvid, out errorCode, out localizedMessage); + public Task<(int errorCode, string? errorMessage)?> GetEncAvailabilityAsync(Guid mvid, CancellationToken cancellationToken) + => Task.FromResult((IsEditAndContinueAvailable ?? throw new NotImplementedException())(mvid)); - void IDebuggeeModuleMetadataProvider.PrepareModuleForUpdate(Guid mvid) - => (PrepareModuleForUpdate ?? throw new NotImplementedException())(mvid); + Task IDebuggeeModuleMetadataProvider.PrepareModuleForUpdateAsync(Guid mvid, CancellationToken cancellationToken) + => Task.CompletedTask; DebuggeeModuleInfo IDebuggeeModuleMetadataProvider.TryGetBaselineModuleInfo(Guid mvid) => (TryGetBaselineModuleInfo ?? throw new NotImplementedException())(mvid); diff --git a/src/EditorFeatures/VisualBasic/FindUsages/VisualBasicFindUsagesLSPService.vb b/src/EditorFeatures/VisualBasic/FindUsages/VisualBasicFindUsagesLSPService.vb new file mode 100644 index 0000000000000..73fd13b6d4a32 --- /dev/null +++ b/src/EditorFeatures/VisualBasic/FindUsages/VisualBasicFindUsagesLSPService.vb @@ -0,0 +1,21 @@ +' 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. + +Imports System.Composition +Imports Microsoft.CodeAnalysis.Editor.FindUsages +Imports Microsoft.CodeAnalysis.Editor.Shared.Utilities +Imports Microsoft.CodeAnalysis.Host.Mef + +Namespace Microsoft.CodeAnalysis.Editor.VisualBasic.FindUsages + + Friend Class VisualBasicFindUsagesLSPService + Inherits AbstractFindUsagesService + + + + Public Sub New(threadingContext As IThreadingContext) + MyBase.New(threadingContext) + End Sub + End Class +End Namespace diff --git a/src/ExpressionEvaluator/CSharp/Test/ResultProvider/NativeViewTests.cs b/src/ExpressionEvaluator/CSharp/Test/ResultProvider/NativeViewTests.cs index 25eabad203640..49f736c99cbe5 100644 --- a/src/ExpressionEvaluator/CSharp/Test/ResultProvider/NativeViewTests.cs +++ b/src/ExpressionEvaluator/CSharp/Test/ResultProvider/NativeViewTests.cs @@ -60,13 +60,6 @@ private void TestNativeView(bool enableNativeDebugging) Verify(children, EvalFailedResult("Native View", "To inspect the native object, enable native code debugging.")); } - - inspectionContext = CreateDkmInspectionContext(flags: DkmEvaluationFlags.NoSideEffects, runtimeInstance: runtime); - evalResult = FormatResult("o", value, inspectionContext: inspectionContext); - Verify(evalResult, - EvalResult("o", "{C}", "C", "o", DkmEvaluationResultFlags.Expandable)); - children = GetChildren(evalResult, inspectionContext); - Verify(children, new DkmEvaluationResult[0]); } } } diff --git a/src/ExpressionEvaluator/CSharp/Test/ResultProvider/ResultsViewTests.cs b/src/ExpressionEvaluator/CSharp/Test/ResultProvider/ResultsViewTests.cs index c380949d68cea..0bf321bc72800 100644 --- a/src/ExpressionEvaluator/CSharp/Test/ResultProvider/ResultsViewTests.cs +++ b/src/ExpressionEvaluator/CSharp/Test/ResultProvider/ResultsViewTests.cs @@ -133,7 +133,7 @@ public IEnumerator GetEnumerator() "Expanding the Results View will enumerate the IEnumerable", "", "o, results", - DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly, + DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly | DkmEvaluationResultFlags.ExpansionHasSideEffects, DkmEvaluationResultCategory.Method)); children = GetChildren(children[1]); Verify(children, @@ -189,7 +189,7 @@ IEnumerator IEnumerable.GetEnumerator() "Expanding the Results View will enumerate the IEnumerable", "", "o, results", - DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly, + DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly | DkmEvaluationResultFlags.ExpansionHasSideEffects, DkmEvaluationResultCategory.Method)); children = GetChildren(children[1]); Verify(children, @@ -240,7 +240,7 @@ IEnumerator IEnumerable.GetEnumerator() "Expanding the Results View will enumerate the IEnumerable", "", "o, results", - DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly, + DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly | DkmEvaluationResultFlags.ExpansionHasSideEffects, DkmEvaluationResultCategory.Method)); children = GetChildren(children[1]); Verify(children, @@ -296,7 +296,7 @@ IEnumerator IEnumerable.GetEnumerator() "Expanding the Results View will enumerate the IEnumerable", "", "o, results", - DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly, + DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly | DkmEvaluationResultFlags.ExpansionHasSideEffects, DkmEvaluationResultCategory.Method)); children = GetChildren(children[1]); Verify(children, @@ -445,7 +445,7 @@ class C "Expanding the Results View will enumerate the IEnumerable", "", "o._1, results", - DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly, + DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly | DkmEvaluationResultFlags.ExpansionHasSideEffects, DkmEvaluationResultCategory.Method)); moreChildren = GetChildren(moreChildren[0]); Verify(moreChildren, @@ -458,7 +458,7 @@ class C "Expanding the Results View will enumerate the IEnumerable", "", "o._2, results", - DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly, + DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly | DkmEvaluationResultFlags.ExpansionHasSideEffects, DkmEvaluationResultCategory.Method)); moreChildren = GetChildren(moreChildren[0]); Verify(moreChildren, @@ -471,7 +471,7 @@ class C "Expanding the Results View will enumerate the IEnumerable", "", "o._3, results", - DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly, + DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly | DkmEvaluationResultFlags.ExpansionHasSideEffects, DkmEvaluationResultCategory.Method)); moreChildren = GetChildren(moreChildren[0]); Verify(moreChildren, @@ -484,7 +484,7 @@ class C "Expanding the Results View will enumerate the IEnumerable", "", "o._4, results", - DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly, + DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly | DkmEvaluationResultFlags.ExpansionHasSideEffects, DkmEvaluationResultCategory.Method)); moreChildren = GetChildren(moreChildren[0]); Verify(moreChildren, @@ -564,7 +564,7 @@ class C "Expanding the Results View will enumerate the IEnumerable", "", "o._1, results", - DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly, + DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly | DkmEvaluationResultFlags.ExpansionHasSideEffects, DkmEvaluationResultCategory.Method)); Verify(GetChildren(moreChildren[0]), EvalResult("[0]", "0", "object {int}", "new System.Linq.SystemCore_EnumerableDebugView(o._1).Items[0]")); @@ -576,7 +576,7 @@ class C "Expanding the Results View will enumerate the IEnumerable", "", "o._2, results", - DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly, + DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly | DkmEvaluationResultFlags.ExpansionHasSideEffects, DkmEvaluationResultCategory.Method)); Verify(GetChildren(moreChildren[0]), EvalResult("[0]", "2", "object {int}", "new System.Linq.SystemCore_EnumerableDebugView(o._2).Items[0]")); @@ -588,7 +588,7 @@ class C "Expanding the Results View will enumerate the IEnumerable", "", "o._3, results", - DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly, + DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly | DkmEvaluationResultFlags.ExpansionHasSideEffects, DkmEvaluationResultCategory.Method)); Verify(GetChildren(moreChildren[0]), EvalResult("[0]", "3", "object {int}", "new System.Linq.SystemCore_EnumerableDebugView(o._3).Items[0]")); @@ -648,7 +648,7 @@ class C "Expanding the Results View will enumerate the IEnumerable", "", "o.F, results", - DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly, + DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly | DkmEvaluationResultFlags.ExpansionHasSideEffects, DkmEvaluationResultCategory.Method)); children = GetChildren(children[1]); Verify(children, @@ -721,7 +721,7 @@ class C : A "Expanding the Results View will enumerate the IEnumerable", "", "o, results", - DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly, + DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly | DkmEvaluationResultFlags.ExpansionHasSideEffects, DkmEvaluationResultCategory.Method)); var moreChildren = GetChildren(children[1]); Verify(moreChildren, @@ -926,7 +926,7 @@ static IEnumerable Iter(int parameter) EvalResult("System.Collections.Generic.IEnumerator.Current", "0", "int", "((System.Collections.Generic.IEnumerator)sm).Current", DkmEvaluationResultFlags.ReadOnly), EvalResult("System.Collections.IEnumerator.Current", "0", "object {int}", "((System.Collections.IEnumerator)sm).Current", DkmEvaluationResultFlags.ReadOnly), EvalResult("parameter", "0", "int", "sm.parameter", DkmEvaluationResultFlags.CanFavorite), - EvalResult("Results View", "Expanding the Results View will enumerate the IEnumerable", "", "sm, raw, results", DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly)); + EvalResult("Results View", "Expanding the Results View will enumerate the IEnumerable", "", "sm, raw, results", DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly | DkmEvaluationResultFlags.ExpansionHasSideEffects)); // Regular view @@ -940,7 +940,7 @@ static IEnumerable Iter(int parameter) EvalResult("System.Collections.Generic.IEnumerator.Current", "0", "int", "((System.Collections.Generic.IEnumerator)sm).Current", DkmEvaluationResultFlags.ReadOnly), EvalResult("System.Collections.IEnumerator.Current", "0", "object {int}", "((System.Collections.IEnumerator)sm).Current", DkmEvaluationResultFlags.ReadOnly), EvalResult("parameter", "0", "int", "sm.parameter", DkmEvaluationResultFlags.CanFavorite), - EvalResult("Results View", "Expanding the Results View will enumerate the IEnumerable", "", "sm, results", DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly)); + EvalResult("Results View", "Expanding the Results View will enumerate the IEnumerable", "", "sm, results", DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly | DkmEvaluationResultFlags.ExpansionHasSideEffects)); } } @@ -1004,7 +1004,7 @@ IEnumerator IEnumerable.GetEnumerator() "Expanding the Results View will enumerate the IEnumerable", "", "o, results", - DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly, + DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly | DkmEvaluationResultFlags.ExpansionHasSideEffects, DkmEvaluationResultCategory.Method)); children = GetChildren(children[0]); Verify(children, @@ -1028,7 +1028,7 @@ IEnumerator IEnumerable.GetEnumerator() "Expanding the Results View will enumerate the IEnumerable", "", "o, results", - DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly, + DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly | DkmEvaluationResultFlags.ExpansionHasSideEffects, DkmEvaluationResultCategory.Method)); children = GetChildren(children[0]); Verify(children, @@ -1052,7 +1052,7 @@ IEnumerator IEnumerable.GetEnumerator() "Expanding the Results View will enumerate the IEnumerable", "", "o, results", - DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly, + DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly | DkmEvaluationResultFlags.ExpansionHasSideEffects, DkmEvaluationResultCategory.Method)); children = GetChildren(children[0]); Verify(children, @@ -1121,7 +1121,7 @@ IEnumerator IEnumerable.GetEnumerator() "Expanding the Results View will enumerate the IEnumerable", "", "a, results", - DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly, + DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly | DkmEvaluationResultFlags.ExpansionHasSideEffects, DkmEvaluationResultCategory.Method)); children = GetChildren(children[0]); Verify(children, @@ -1145,7 +1145,7 @@ IEnumerator IEnumerable.GetEnumerator() "Expanding the Results View will enumerate the IEnumerable", "", "b, results", - DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly, + DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly | DkmEvaluationResultFlags.ExpansionHasSideEffects, DkmEvaluationResultCategory.Method)); children = GetChildren(children[0]); Verify(children, @@ -1386,7 +1386,7 @@ class C "Expanding the Results View will enumerate the IEnumerable", "", "o._0, results", - DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly, + DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly | DkmEvaluationResultFlags.ExpansionHasSideEffects, DkmEvaluationResultCategory.Method)); moreChildren = GetChildren(moreChildren[0]); Verify(moreChildren, @@ -1404,7 +1404,7 @@ class C "Expanding the Results View will enumerate the IEnumerable", "", "o._1, results", - DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly, + DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly | DkmEvaluationResultFlags.ExpansionHasSideEffects, DkmEvaluationResultCategory.Method)); moreChildren = GetChildren(moreChildren[0]); Verify(moreChildren, @@ -1422,7 +1422,7 @@ class C "Expanding the Results View will enumerate the IEnumerable", "", "o._2, results", - DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly, + DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly | DkmEvaluationResultFlags.ExpansionHasSideEffects, DkmEvaluationResultCategory.Method)); moreChildren = GetChildren(moreChildren[0]); Verify(moreChildren, @@ -1440,7 +1440,7 @@ class C "Expanding the Results View will enumerate the IEnumerable", "", "o._3, results", - DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly, + DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly | DkmEvaluationResultFlags.ExpansionHasSideEffects, DkmEvaluationResultCategory.Method)); moreChildren = GetChildren(moreChildren[0]); Verify(moreChildren, @@ -1527,7 +1527,7 @@ public IEnumerator GetEnumerator() "Expanding the Results View will enumerate the IEnumerable", "", "o, results", - DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly, + DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly | DkmEvaluationResultFlags.ExpansionHasSideEffects, DkmEvaluationResultCategory.Method)); children = GetChildren(children[0]); Verify(children[6], @@ -1664,7 +1664,7 @@ public IEnumerator GetEnumerator() "Expanding the Results View will enumerate the IEnumerable", "", "o, results", - DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly, + DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly | DkmEvaluationResultFlags.ExpansionHasSideEffects, DkmEvaluationResultCategory.Method)); children = GetChildren(children[0]); Verify(children, @@ -1844,47 +1844,6 @@ static void M(List list) } } - [Fact] - public void NoSideEffects() - { - var source = -@"using System.Collections; -class C : IEnumerable -{ - private readonly IEnumerable e; - internal C(IEnumerable e) - { - this.e = e; - } - public IEnumerator GetEnumerator() - { - return this.e.GetEnumerator(); - } -}"; - var assembly = GetAssembly(source); - var assemblies = ReflectionUtilities.GetMscorlibAndSystemCore(assembly); - using (ReflectionUtilities.LoadAssemblies(assemblies)) - { - var runtime = new DkmClrRuntimeInstance(assemblies); - var type = assembly.GetType("C"); - var value = CreateDkmClrValue( - value: type.Instantiate(new[] { 1, 2 }), - type: runtime.GetType((TypeImpl)type)); - var inspectionContext = CreateDkmInspectionContext(DkmEvaluationFlags.NoSideEffects); - var evalResult = FormatResult("o", value, inspectionContext: inspectionContext); - Verify(evalResult, - EvalResult("o", "{C}", "C", "o", DkmEvaluationResultFlags.Expandable)); - var children = GetChildren(evalResult, inspectionContext: inspectionContext); - Verify(children, - EvalResult( - "e", - "{int[2]}", - "System.Collections.IEnumerable {int[]}", - "o.e", - DkmEvaluationResultFlags.Expandable | DkmEvaluationResultFlags.ReadOnly | DkmEvaluationResultFlags.CanFavorite)); - } - } - private DkmEvaluationResult FormatPropertyValue(DkmClrRuntimeInstance runtime, object value, string propertyName) { var propertyInfo = value.GetType().GetProperty(propertyName, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); diff --git a/src/ExpressionEvaluator/Core/Source/ResultProvider/Expansion/NativeViewExpansion.cs b/src/ExpressionEvaluator/Core/Source/ResultProvider/Expansion/NativeViewExpansion.cs index ebc07de1ef4a4..6152518e1a0ee 100644 --- a/src/ExpressionEvaluator/Core/Source/ResultProvider/Expansion/NativeViewExpansion.cs +++ b/src/ExpressionEvaluator/Core/Source/ResultProvider/Expansion/NativeViewExpansion.cs @@ -28,11 +28,6 @@ internal override void GetRows( bool visitAll, ref int index) { - if ((inspectionContext.EvaluationFlags & DkmEvaluationFlags.NoSideEffects) == DkmEvaluationFlags.NoSideEffects) - { - return; - } - if (InRange(startIndex, count, index)) { rows.Add(GetRow(inspectionContext, value, parent)); diff --git a/src/ExpressionEvaluator/Core/Source/ResultProvider/Expansion/ResultsViewExpansion.cs b/src/ExpressionEvaluator/Core/Source/ResultProvider/Expansion/ResultsViewExpansion.cs index e143826380728..6e87736bd9591 100644 --- a/src/ExpressionEvaluator/Core/Source/ResultProvider/Expansion/ResultsViewExpansion.cs +++ b/src/ExpressionEvaluator/Core/Source/ResultProvider/Expansion/ResultsViewExpansion.cs @@ -211,11 +211,6 @@ internal override void GetRows( bool visitAll, ref int index) { - if ((inspectionContext.EvaluationFlags & DkmEvaluationFlags.NoSideEffects) == DkmEvaluationFlags.NoSideEffects) - { - return; - } - if (InRange(startIndex, count, index)) { rows.Add(CreateResultsViewRow(inspectionContext, parent, resultProvider.FullNameProvider)); @@ -253,7 +248,7 @@ private EvalResult CreateResultsViewRow( childFullNamePrefixOpt: childFullNamePrefix, formatSpecifiers: Formatter.AddFormatSpecifier(parent.FormatSpecifiers, ResultsFormatSpecifier), category: DkmEvaluationResultCategory.Method, - flags: DkmEvaluationResultFlags.ReadOnly, + flags: DkmEvaluationResultFlags.ReadOnly | DkmEvaluationResultFlags.ExpansionHasSideEffects, editableValue: null, inspectionContext: inspectionContext); } diff --git a/src/ExpressionEvaluator/Core/Test/ResultProvider/Debugger/Engine/DkmEvaluationResultFlags.cs b/src/ExpressionEvaluator/Core/Test/ResultProvider/Debugger/Engine/DkmEvaluationResultFlags.cs index 388aaa4c1ae88..4e86eae8200af 100644 --- a/src/ExpressionEvaluator/Core/Test/ResultProvider/Debugger/Engine/DkmEvaluationResultFlags.cs +++ b/src/ExpressionEvaluator/Core/Test/ResultProvider/Debugger/Engine/DkmEvaluationResultFlags.cs @@ -13,25 +13,35 @@ namespace Microsoft.VisualStudio.Debugger.Evaluation [Flags] public enum DkmEvaluationResultFlags { - None, - SideEffect, - Expandable, - Boolean = 4, - BooleanTrue = 8, - RawString = 16, - Address = 32, - ReadOnly = 64, - ILInterpreter = 128, - UnflushedSideEffects = 256, - HasObjectId = 512, - CanHaveObjectId = 1024, - CrossThreadDependency = 2048, - Invalid = 4096, - Visualized = 8192, - ExpandableError = 16384, - ExceptionThrown = 32768, + None = 0x0, + SideEffect = 0x1, + Expandable = 0x2, + Boolean = 0x4, + BooleanTrue = 0x8, + RawString = 0x10, + Address = 0x20, + ReadOnly = 0x40, + ILInterpreter = 0x80, + UnflushedSideEffects = 0x100, + HasObjectId = 0x200, + CanHaveObjectId = 0x400, + CrossThreadDependency = 0x800, + Invalid = 0x1000, + Visualized = 0x2000, + ExpandableError = 0x4000, + ExceptionThrown = 0x8000, + ReturnValue = 0x10000, + IsBuiltInType = 0x20000, + CanEvaluateNow = 0x40000, + EnableExtendedSideEffectsUponRefresh = 0x80000, + MemoryFuture = 0x100000, + MemoryPast = 0x200000, + MemoryGap = 0x400000, + HasDataBreakpoint = 0x800000, CanFavorite = 0x1000000, IsFavorite = 0x2000000, HasFavorites = 0x4000000, + IsObjectReplaceable = 0x8000000, + ExpansionHasSideEffects = 0x10000000, } } diff --git a/src/ExpressionEvaluator/VisualBasic/Test/ResultProvider/ResultsViewTests.vb b/src/ExpressionEvaluator/VisualBasic/Test/ResultProvider/ResultsViewTests.vb index 95721a564e90f..bd826b6e7d8fb 100644 --- a/src/ExpressionEvaluator/VisualBasic/Test/ResultProvider/ResultsViewTests.vb +++ b/src/ExpressionEvaluator/VisualBasic/Test/ResultProvider/ResultsViewTests.vb @@ -52,7 +52,7 @@ End Class" "Expanding the Results View will enumerate the IEnumerable", "", "o, results", - DkmEvaluationResultFlags.Expandable Or DkmEvaluationResultFlags.ReadOnly, + DkmEvaluationResultFlags.Expandable Or DkmEvaluationResultFlags.ReadOnly Or DkmEvaluationResultFlags.ExpansionHasSideEffects, DkmEvaluationResultCategory.Method)) children = GetChildren(children(1)) Verify(children, @@ -103,7 +103,7 @@ End Class" "Expanding the Results View will enumerate the IEnumerable", "", "o, results", - DkmEvaluationResultFlags.Expandable Or DkmEvaluationResultFlags.ReadOnly, + DkmEvaluationResultFlags.Expandable Or DkmEvaluationResultFlags.ReadOnly Or DkmEvaluationResultFlags.ExpansionHasSideEffects, DkmEvaluationResultCategory.Method)) children = GetChildren(children(1)) Verify(children, @@ -139,7 +139,7 @@ End Class" "Expanding the Results View will enumerate the IEnumerable", "", "o, results", - DkmEvaluationResultFlags.Expandable Or DkmEvaluationResultFlags.ReadOnly, + DkmEvaluationResultFlags.Expandable Or DkmEvaluationResultFlags.ReadOnly Or DkmEvaluationResultFlags.ExpansionHasSideEffects, DkmEvaluationResultCategory.Method)) children = GetChildren(children(0)) Verify(children, @@ -147,43 +147,6 @@ End Class" End Using End Sub - - Public Sub NoSideEffects() - Const source = -"Imports System.Collections -Class C - Implements IEnumerable - Private e As IEnumerable - Sub New(e As IEnumerable) - Me.e = e - End Sub - Private Function F() As IEnumerator Implements IEnumerable.GetEnumerator - Return e.GetEnumerator() - End Function -End Class" - Dim assembly = GetAssembly(source) - Dim assemblies = ReflectionUtilities.GetMscorlibAndSystemCore(assembly) - Using ReflectionUtilities.LoadAssemblies(assemblies) - Dim runtime = New DkmClrRuntimeInstance(assemblies) - Dim type = assembly.GetType("C") - Dim value = CreateDkmClrValue( - value:=type.Instantiate(New Integer() {1, 2}), - type:=runtime.GetType(CType(type, TypeImpl))) - Dim inspectionContext = CreateDkmInspectionContext(DkmEvaluationFlags.NoSideEffects) - Dim result = FormatResult("o", value, inspectionContext:=inspectionContext) - Verify(result, - EvalResult("o", "{C}", "C", "o", DkmEvaluationResultFlags.Expandable)) - Dim children = GetChildren(result, inspectionContext:=inspectionContext) - Verify(children, - EvalResult( - "e", - "{Length=2}", - "System.Collections.IEnumerable {Integer()}", - "o.e", - DkmEvaluationResultFlags.Expandable Or DkmEvaluationResultFlags.CanFavorite)) - End Using - End Sub - End Class End Namespace diff --git a/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.cs.xlf b/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.cs.xlf index 5a09473ee5caf..8dfc00354cd3e 100644 --- a/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.cs.xlf +++ b/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.cs.xlf @@ -14,7 +14,7 @@ Add explicit cast - Add explicit cast + Přidat explicitní přetypování @@ -79,7 +79,7 @@ Convert to regular string - Convert to regular string + Převést na běžný řetězec @@ -94,12 +94,12 @@ Convert to verbatim string - Convert to verbatim string + Převést na doslovný řetězec Convert type to '{0}' - Convert type to '{0}' + Převést typ na {0} diff --git a/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.de.xlf b/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.de.xlf index 16d03ddffd2b0..cba09b242e72a 100644 --- a/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.de.xlf +++ b/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.de.xlf @@ -14,7 +14,7 @@ Add explicit cast - Add explicit cast + Explizite Umwandlung hinzufügen @@ -79,7 +79,7 @@ Convert to regular string - Convert to regular string + In reguläre Zeichenfolge konvertieren @@ -94,12 +94,12 @@ Convert to verbatim string - Convert to verbatim string + In ausführliche Zeichenfolge konvertieren Convert type to '{0}' - Convert type to '{0}' + Typ in "{0}" konvertieren diff --git a/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.es.xlf b/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.es.xlf index bbd96aed0f70c..25170582a1292 100644 --- a/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.es.xlf +++ b/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.es.xlf @@ -14,7 +14,7 @@ Add explicit cast - Add explicit cast + Agregar conversión explícita @@ -79,7 +79,7 @@ Convert to regular string - Convert to regular string + Convertir en cadena regular @@ -94,12 +94,12 @@ Convert to verbatim string - Convert to verbatim string + Convertir en cadena textual Convert type to '{0}' - Convert type to '{0}' + Convertir tipo en "{0}" diff --git a/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.fr.xlf b/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.fr.xlf index 0d333df37f6e0..2f3dce47d3802 100644 --- a/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.fr.xlf +++ b/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.fr.xlf @@ -14,7 +14,7 @@ Add explicit cast - Add explicit cast + Ajouter un cast explicite @@ -79,7 +79,7 @@ Convert to regular string - Convert to regular string + Convertir en chaîne classique @@ -94,12 +94,12 @@ Convert to verbatim string - Convert to verbatim string + Convertir en chaîne verbatim Convert type to '{0}' - Convert type to '{0}' + Convertir le type en '{0}' diff --git a/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.it.xlf b/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.it.xlf index 5df2a2ca4e5e6..2a7bc6d32fedf 100644 --- a/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.it.xlf +++ b/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.it.xlf @@ -14,7 +14,7 @@ Add explicit cast - Add explicit cast + Aggiungi cast esplicito @@ -79,7 +79,7 @@ Convert to regular string - Convert to regular string + Converti in stringa normale @@ -94,12 +94,12 @@ Convert to verbatim string - Convert to verbatim string + Converti in stringa verbatim Convert type to '{0}' - Convert type to '{0}' + Converti il tipo in '{0}' diff --git a/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.ja.xlf b/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.ja.xlf index a342dc083de49..18c76f4a66434 100644 --- a/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.ja.xlf +++ b/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.ja.xlf @@ -14,7 +14,7 @@ Add explicit cast - Add explicit cast + 明示的なキャストの追加 @@ -79,7 +79,7 @@ Convert to regular string - Convert to regular string + 正規文字列に変換する @@ -94,12 +94,12 @@ Convert to verbatim string - Convert to verbatim string + 逐語的文字列に変換する Convert type to '{0}' - Convert type to '{0}' + 型を '{0}' に変換 diff --git a/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.ko.xlf b/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.ko.xlf index 50468c51e2059..49d582ea5fff8 100644 --- a/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.ko.xlf +++ b/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.ko.xlf @@ -14,7 +14,7 @@ Add explicit cast - Add explicit cast + 명시적 캐스트 추가 @@ -79,7 +79,7 @@ Convert to regular string - Convert to regular string + 일반 문자열로 변환 @@ -94,12 +94,12 @@ Convert to verbatim string - Convert to verbatim string + 축자 문자열로 변환 Convert type to '{0}' - Convert type to '{0}' + 형식을 '{0}'(으)로 변환 diff --git a/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.pl.xlf b/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.pl.xlf index e468247092e74..b977d642c03ca 100644 --- a/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.pl.xlf +++ b/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.pl.xlf @@ -14,7 +14,7 @@ Add explicit cast - Add explicit cast + Dodaj rzutowanie jawne @@ -79,7 +79,7 @@ Convert to regular string - Convert to regular string + Konwertuj na zwykły ciąg @@ -94,12 +94,12 @@ Convert to verbatim string - Convert to verbatim string + Konwertuj na ciąg dosłowny Convert type to '{0}' - Convert type to '{0}' + Konwertuj typ na „{0}” diff --git a/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.pt-BR.xlf b/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.pt-BR.xlf index 3393ecfbcfd66..480b52191a30d 100644 --- a/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.pt-BR.xlf +++ b/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.pt-BR.xlf @@ -14,7 +14,7 @@ Add explicit cast - Add explicit cast + Adicionar conversão explícita @@ -79,7 +79,7 @@ Convert to regular string - Convert to regular string + Converter para cadeia de caracteres regular @@ -94,12 +94,12 @@ Convert to verbatim string - Convert to verbatim string + Converter para cadeia de caracteres verbatim Convert type to '{0}' - Convert type to '{0}' + Converter o tipo em '{0}' diff --git a/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.ru.xlf b/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.ru.xlf index 889193799a119..c0b1a752edf8c 100644 --- a/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.ru.xlf +++ b/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.ru.xlf @@ -14,7 +14,7 @@ Add explicit cast - Add explicit cast + Добавить явное приведение @@ -79,7 +79,7 @@ Convert to regular string - Convert to regular string + Преобразовать в обычную строку @@ -94,12 +94,12 @@ Convert to verbatim string - Convert to verbatim string + Преобразовать в строку verbatim Convert type to '{0}' - Convert type to '{0}' + Преобразовать тип в "{0}" diff --git a/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.tr.xlf b/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.tr.xlf index 28fd58fefedf2..b861071f37f54 100644 --- a/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.tr.xlf +++ b/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.tr.xlf @@ -14,7 +14,7 @@ Add explicit cast - Add explicit cast + Açık tür dönüştürme ekle @@ -79,7 +79,7 @@ Convert to regular string - Convert to regular string + Normal dizeye dönüştür @@ -94,12 +94,12 @@ Convert to verbatim string - Convert to verbatim string + Düz metin dizesine dönüştür Convert type to '{0}' - Convert type to '{0}' + Türü '{0}' olarak dönüştür diff --git a/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.zh-Hans.xlf b/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.zh-Hans.xlf index ddd9b71003ca5..93c3ad451de6e 100644 --- a/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.zh-Hans.xlf +++ b/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.zh-Hans.xlf @@ -14,7 +14,7 @@ Add explicit cast - Add explicit cast + 添加显式转换 @@ -79,7 +79,7 @@ Convert to regular string - Convert to regular string + 转换为正则字符串 @@ -94,12 +94,12 @@ Convert to verbatim string - Convert to verbatim string + 转换为逐字字符串 Convert type to '{0}' - Convert type to '{0}' + 将类型转换为“{0}” diff --git a/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.zh-Hant.xlf b/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.zh-Hant.xlf index 0a97e430d5c44..f04e54ed3aa14 100644 --- a/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.zh-Hant.xlf +++ b/src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.zh-Hant.xlf @@ -14,7 +14,7 @@ Add explicit cast - Add explicit cast + 新增明確轉換 @@ -79,7 +79,7 @@ Convert to regular string - Convert to regular string + 轉換為一般字串 @@ -94,12 +94,12 @@ Convert to verbatim string - Convert to verbatim string + 轉換為逐字字串 Convert type to '{0}' - Convert type to '{0}' + 將類型轉換為 '{0}' diff --git a/src/Features/Core/Portable/EditAndContinue/IActiveStatementProvider.cs b/src/Features/Core/Portable/EditAndContinue/ActiveStatementProvider.cs similarity index 52% rename from src/Features/Core/Portable/EditAndContinue/IActiveStatementProvider.cs rename to src/Features/Core/Portable/EditAndContinue/ActiveStatementProvider.cs index bae3c23dce366..76aac39b6a37c 100644 --- a/src/Features/Core/Portable/EditAndContinue/IActiveStatementProvider.cs +++ b/src/Features/Core/Portable/EditAndContinue/ActiveStatementProvider.cs @@ -11,13 +11,5 @@ namespace Microsoft.CodeAnalysis.EditAndContinue /// /// Provides current active statements. /// - internal interface IActiveStatementProvider - { - /// - /// Retrieves active statements from the debuggee process. - /// Shall only be called while in debug mode. - /// Can be invoked on any thread. - /// - Task> GetActiveStatementsAsync(CancellationToken cancellationToken); - } + internal delegate Task> ActiveStatementProvider(CancellationToken cancellationToken); } diff --git a/src/Features/Core/Portable/EditAndContinue/DebuggingSession.cs b/src/Features/Core/Portable/EditAndContinue/DebuggingSession.cs index a0fb7dd3b8412..d3484aeadae2e 100644 --- a/src/Features/Core/Portable/EditAndContinue/DebuggingSession.cs +++ b/src/Features/Core/Portable/EditAndContinue/DebuggingSession.cs @@ -23,7 +23,6 @@ namespace Microsoft.CodeAnalysis.EditAndContinue internal sealed class DebuggingSession : IDisposable { public readonly Workspace Workspace; - public readonly IActiveStatementProvider ActiveStatementProvider; public readonly IDebuggeeModuleMetadataProvider DebugeeModuleMetadataProvider; public readonly ICompilationOutputsProviderService CompilationOutputsProvider; @@ -88,7 +87,6 @@ internal sealed class DebuggingSession : IDisposable internal DebuggingSession( Workspace workspace, IDebuggeeModuleMetadataProvider debugeeModuleMetadataProvider, - IActiveStatementProvider activeStatementProvider, ICompilationOutputsProviderService compilationOutputsProvider) { Workspace = workspace; @@ -98,8 +96,6 @@ internal DebuggingSession( _projectEmitBaselines = new Dictionary(); _modulesPreparedForUpdate = new HashSet(); - ActiveStatementProvider = activeStatementProvider; - LastCommittedSolution = new CommittedSolution(this, workspace.CurrentSolution); NonRemappableRegions = ImmutableDictionary>.Empty; } @@ -108,6 +104,15 @@ internal DebuggingSession( internal void Test_SetNonRemappableRegions(ImmutableDictionary> nonRemappableRegions) => NonRemappableRegions = nonRemappableRegions; + // test only + internal ImmutableHashSet Test_GetModulesPreparedForUpdate() + { + lock (_modulesPreparedForUpdateGuard) + { + return _modulesPreparedForUpdate.ToImmutableHashSet(); + } + } + // test only internal EmitBaseline Test_GetProjectEmitBaseline(ProjectId id) { @@ -139,7 +144,7 @@ public void Dispose() _cancellationSource.Dispose(); } - internal void PrepareModuleForUpdate(Guid mvid) + internal void PrepareModuleForUpdate(Guid mvid, CancellationToken cancellationToken) { lock (_modulesPreparedForUpdateGuard) { @@ -149,7 +154,8 @@ internal void PrepareModuleForUpdate(Guid mvid) } } - DebugeeModuleMetadataProvider.PrepareModuleForUpdate(mvid); + // fire and forget: + _ = Task.Run(() => DebugeeModuleMetadataProvider.PrepareModuleForUpdateAsync(mvid, cancellationToken), cancellationToken); } public void CommitSolutionUpdate(PendingSolutionUpdate update) diff --git a/src/Features/Core/Portable/EditAndContinue/EditAndContinueWorkspaceService.cs b/src/Features/Core/Portable/EditAndContinue/EditAndContinueWorkspaceService.cs index 460e3ab754435..f923f5dfeb0b4 100644 --- a/src/Features/Core/Portable/EditAndContinue/EditAndContinueWorkspaceService.cs +++ b/src/Features/Core/Portable/EditAndContinue/EditAndContinueWorkspaceService.cs @@ -30,7 +30,6 @@ internal sealed class EditAndContinueWorkspaceService : IEditAndContinueWorkspac private readonly Workspace _workspace; private readonly IActiveStatementTrackingService _trackingService; - private readonly IActiveStatementProvider _activeStatementProvider; private readonly IDiagnosticAnalyzerService _diagnosticService; private readonly IDebuggeeModuleMetadataProvider _debugeeModuleMetadataProvider; private readonly EditAndContinueDiagnosticUpdateSource _emitDiagnosticsUpdateSource; @@ -56,14 +55,12 @@ internal EditAndContinueWorkspaceService( ICompilationOutputsProviderService compilationOutputsProvider, IDiagnosticAnalyzerService diagnosticService, EditAndContinueDiagnosticUpdateSource diagnosticUpdateSource, - IActiveStatementProvider activeStatementProvider, IDebuggeeModuleMetadataProvider debugeeModuleMetadataProvider, Action? reportTelemetry = null) { _workspace = workspace; _diagnosticService = diagnosticService; _emitDiagnosticsUpdateSource = diagnosticUpdateSource; - _activeStatementProvider = activeStatementProvider; _debugeeModuleMetadataProvider = debugeeModuleMetadataProvider; _trackingService = activeStatementTrackingService; _debuggingSessionTelemetry = new DebuggingSessionTelemetry(); @@ -93,16 +90,16 @@ public void OnSourceFileUpdated(DocumentId documentId) public void StartDebuggingSession() { - var previousSession = Interlocked.CompareExchange(ref _debuggingSession, new DebuggingSession(_workspace, _debugeeModuleMetadataProvider, _activeStatementProvider, _compilationOutputsProvider), null); + var previousSession = Interlocked.CompareExchange(ref _debuggingSession, new DebuggingSession(_workspace, _debugeeModuleMetadataProvider, _compilationOutputsProvider), null); Contract.ThrowIfFalse(previousSession == null, "New debugging session can't be started until the existing one has ended."); } - public void StartEditSession() + public void StartEditSession(ActiveStatementProvider activeStatementsProvider) { var debuggingSession = _debuggingSession; Contract.ThrowIfNull(debuggingSession, "Edit session can only be started during debugging session"); - var newSession = new EditSession(debuggingSession, _editSessionTelemetry); + var newSession = new EditSession(debuggingSession, _editSessionTelemetry, activeStatementsProvider); var previousSession = Interlocked.CompareExchange(ref _editSession, newSession, null); Contract.ThrowIfFalse(previousSession == null, "New edit session can't be started until the existing one has ended."); @@ -223,7 +220,7 @@ public async Task> GetDocumentDiagnosticsAsync(Docume // Once we detected a change in a document let the debugger know that the corresponding loaded module // is about to be updated, so that it can start initializing it for EnC update, reducing the amount of time applying // the change blocks the UI when the user "continues". - debuggingSession.PrepareModuleForUpdate(mvid); + debuggingSession.PrepareModuleForUpdate(mvid, cancellationToken); } if (analysis.RudeEditErrors.IsEmpty) diff --git a/src/Features/Core/Portable/EditAndContinue/EditAndContinueWorkspaceServiceFactory.cs b/src/Features/Core/Portable/EditAndContinue/EditAndContinueWorkspaceServiceFactory.cs index 2d5df912c5a4c..824162888599a 100644 --- a/src/Features/Core/Portable/EditAndContinue/EditAndContinueWorkspaceServiceFactory.cs +++ b/src/Features/Core/Portable/EditAndContinue/EditAndContinueWorkspaceServiceFactory.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable enable + using System; using System.Composition; using Microsoft.CodeAnalysis.Diagnostics; @@ -15,8 +17,7 @@ namespace Microsoft.CodeAnalysis.EditAndContinue internal sealed class EditAndContinueWorkspaceServiceFactory : IWorkspaceServiceFactory { private readonly IDiagnosticAnalyzerService _diagnosticService; - private readonly IActiveStatementProvider _activeStatementProviderOpt; - private readonly IDebuggeeModuleMetadataProvider _debugeeModuleMetadataProviderOpt; + private readonly IDebuggeeModuleMetadataProvider? _debugeeModuleMetadataProvider; private readonly EditAndContinueDiagnosticUpdateSource _diagnosticUpdateSource; [ImportingConstructor] @@ -24,19 +25,17 @@ internal sealed class EditAndContinueWorkspaceServiceFactory : IWorkspaceService public EditAndContinueWorkspaceServiceFactory( IDiagnosticAnalyzerService diagnosticService, EditAndContinueDiagnosticUpdateSource diagnosticUpdateSource, - [Import(AllowDefault = true)]IActiveStatementProvider activeStatementProvider, - [Import(AllowDefault = true)]IDebuggeeModuleMetadataProvider debugeeModuleMetadataProvider) + [Import(AllowDefault = true)]IDebuggeeModuleMetadataProvider? debugeeModuleMetadataProvider) { _diagnosticService = diagnosticService; _diagnosticUpdateSource = diagnosticUpdateSource; - _activeStatementProviderOpt = activeStatementProvider; - _debugeeModuleMetadataProviderOpt = debugeeModuleMetadataProvider; + _debugeeModuleMetadataProvider = debugeeModuleMetadataProvider; } [Obsolete(MefConstruction.FactoryMethodMessage, error: true)] - public IWorkspaceService CreateService(HostWorkspaceServices workspaceServices) + public IWorkspaceService? CreateService(HostWorkspaceServices workspaceServices) { - if (_debugeeModuleMetadataProviderOpt == null || _activeStatementProviderOpt == null) + if (_debugeeModuleMetadataProvider == null) { return null; } @@ -47,8 +46,7 @@ public IWorkspaceService CreateService(HostWorkspaceServices workspaceServices) workspaceServices.Workspace.Services.GetRequiredService(), _diagnosticService, _diagnosticUpdateSource, - _activeStatementProviderOpt, - _debugeeModuleMetadataProviderOpt); + _debugeeModuleMetadataProvider); } } } diff --git a/src/Features/Core/Portable/EditAndContinue/EditSession.cs b/src/Features/Core/Portable/EditAndContinue/EditSession.cs index ed4e3c28cf336..8c16df196626f 100644 --- a/src/Features/Core/Portable/EditAndContinue/EditSession.cs +++ b/src/Features/Core/Portable/EditAndContinue/EditSession.cs @@ -62,13 +62,13 @@ internal sealed class EditSession : IDisposable private bool _changesApplied; - internal EditSession(DebuggingSession debuggingSession, EditSessionTelemetry telemetry) + internal EditSession(DebuggingSession debuggingSession, EditSessionTelemetry telemetry, ActiveStatementProvider activeStatementsProvider) { DebuggingSession = debuggingSession; Telemetry = telemetry; _nonRemappableRegions = debuggingSession.NonRemappableRegions; - BaseActiveStatements = new AsyncLazy(GetBaseActiveStatementsAsync, cacheResult: true); + BaseActiveStatements = new AsyncLazy(cancellationToken => GetBaseActiveStatementsAsync(activeStatementsProvider, cancellationToken), cacheResult: true); } internal CancellationToken CancellationToken => _cancellationSource.Token; @@ -80,9 +80,17 @@ public void Dispose() /// /// Errors to be reported when a project is updated but the corresponding module does not support EnC. /// - public ImmutableArray GetModuleDiagnostics(Guid mvid, string projectDisplayName) + /// if the module is not loaded. + public async Task?> GetModuleDiagnosticsAsync(Guid mvid, string projectDisplayName, CancellationToken cancellationToken) { - if (DebuggingSession.DebugeeModuleMetadataProvider.IsEditAndContinueAvailable(mvid, out var errorCode, out var localizedMessage)) + var availability = await DebuggingSession.DebugeeModuleMetadataProvider.GetEncAvailabilityAsync(mvid, cancellationToken).ConfigureAwait(false); + if (availability == null) + { + return null; + } + + var (errorCode, localizedMessage) = availability.Value; + if (errorCode == 0) { return ImmutableArray.Empty; } @@ -91,12 +99,12 @@ public ImmutableArray GetModuleDiagnostics(Guid mvid, string project return ImmutableArray.Create(Diagnostic.Create(descriptor, Location.None, new[] { projectDisplayName, localizedMessage })); } - private async Task GetBaseActiveStatementsAsync(CancellationToken cancellationToken) + private async Task GetBaseActiveStatementsAsync(ActiveStatementProvider activeStatementProvider, CancellationToken cancellationToken) { try { // Last committed solution reflects the state of the source that is in sync with the binaries that are loaded in the debuggee. - return CreateActiveStatementsMap(await DebuggingSession.ActiveStatementProvider.GetActiveStatementsAsync(cancellationToken).ConfigureAwait(false)); + return CreateActiveStatementsMap(await activeStatementProvider(cancellationToken).ConfigureAwait(false)); } catch (Exception e) when (FatalError.ReportWithoutCrashUnlessCanceled(e)) { @@ -171,8 +179,7 @@ bool supportsEditAndContinue(DocumentId documentId) } catch (ArgumentException) { - throw new InvalidOperationException($"Multiple active statements with the same instruction id returned by " + - $"{DebuggingSession.ActiveStatementProvider.GetType()}.{nameof(IActiveStatementProvider.GetActiveStatementsAsync)}"); + throw new InvalidOperationException($"Multiple active statements with the same instruction id returned by Active Statement Provider"); } } @@ -710,8 +717,10 @@ public async Task EmitSolutionUpdateAsync(Solution solution, Can // The capability of a module to apply edits may change during edit session if the user attaches debugger to // an additional process that doesn't support EnC (or detaches from such process). Before we apply edits // we need to check with the debugger. - var moduleDiagnostics = GetModuleDiagnostics(mvid, project.Name); - if (!moduleDiagnostics.IsEmpty) + var (moduleDiagnostics, isModuleLoaded) = await GetModuleDiagnosticsAsync(mvid, project.Name, cancellationToken).ConfigureAwait(false); + + bool isModuleEncBlocked = isModuleLoaded && !moduleDiagnostics.IsEmpty; + if (isModuleEncBlocked) { diagnostics.Add((project.Id, moduleDiagnostics)); isBlocked = true; @@ -723,9 +732,9 @@ public async Task EmitSolutionUpdateAsync(Solution solution, Can isBlocked = true; } - if (!moduleDiagnostics.IsEmpty || projectSummary != ProjectAnalysisSummary.ValidChanges) + if (isModuleEncBlocked || projectSummary != ProjectAnalysisSummary.ValidChanges) { - Telemetry.LogProjectAnalysisSummary(projectSummary, moduleDiagnostics.SelectAsArray(d => d.Descriptor.Id)); + Telemetry.LogProjectAnalysisSummary(projectSummary, moduleDiagnostics.NullToEmpty().SelectAsArray(d => d.Descriptor.Id)); continue; } @@ -767,6 +776,7 @@ void Emit() { Debug.Assert(Thread.CurrentThread.GetApartmentState() == ApartmentState.MTA, "SymReader requires MTA"); + // TODO: Use moduleLoaded to determine whether or not to create an initial baseline, once we move OOP. var baseline = DebuggingSession.GetOrCreateEmitBaseline(project.Id, mvid); // The metadata blob is guaranteed to not be disposed while "continue" operation is being executed. @@ -800,8 +810,7 @@ void Emit() var updatedMethods = ImmutableArray.CreateBuilder(); - // TODO: ! should not be required (https://github.com/dotnet/roslyn/issues/38548) - var emitResult = currentCompilation!.EmitDifference( + var emitResult = currentCompilation.EmitDifference( baseline, projectChanges.SemanticEdits, projectChanges.AddedSymbols.Contains, diff --git a/src/Features/Core/Portable/EditAndContinue/IDebuggeeModuleMetadataProvider.cs b/src/Features/Core/Portable/EditAndContinue/IDebuggeeModuleMetadataProvider.cs index ba92367536cc2..921e1b1a3090c 100644 --- a/src/Features/Core/Portable/EditAndContinue/IDebuggeeModuleMetadataProvider.cs +++ b/src/Features/Core/Portable/EditAndContinue/IDebuggeeModuleMetadataProvider.cs @@ -5,7 +5,8 @@ #nullable enable using System; -using System.Diagnostics.CodeAnalysis; +using System.Threading; +using System.Threading.Tasks; namespace Microsoft.CodeAnalysis.EditAndContinue { @@ -23,13 +24,18 @@ internal interface IDebuggeeModuleMetadataProvider DebuggeeModuleInfo? TryGetBaselineModuleInfo(Guid mvid); /// - /// Returns an error message when any instance of a module with given disallows EnC. + /// Checks whether EnC is allowed for all loaded instances of module with specified . /// - bool IsEditAndContinueAvailable(Guid mvid, out int errorCode, [NotNullWhen(true)]out string localizedMessage); + /// + /// Returns if no instance of the module is loaded. + /// Returns (0, null) if all loaded instances allow EnC. + /// Returns error code and a corresponding localized error message otherwise. + /// + Task<(int errorCode, string? errorMessage)?> GetEncAvailabilityAsync(Guid mvid, CancellationToken cancellationToken); /// /// Notifies the debugger that a document changed that may affect the given module when the change is applied. /// - void PrepareModuleForUpdate(Guid mvid); + Task PrepareModuleForUpdateAsync(Guid mvid, CancellationToken cancellationToken); } } diff --git a/src/Features/Core/Portable/EditAndContinue/IEditAndContinueWorkspaceService.cs b/src/Features/Core/Portable/EditAndContinue/IEditAndContinueWorkspaceService.cs index 786dd0e060fae..ac7c1b4409083 100644 --- a/src/Features/Core/Portable/EditAndContinue/IEditAndContinueWorkspaceService.cs +++ b/src/Features/Core/Portable/EditAndContinue/IEditAndContinueWorkspaceService.cs @@ -23,7 +23,7 @@ internal interface IEditAndContinueWorkspaceService : IWorkspaceService void OnSourceFileUpdated(DocumentId documentId); void StartDebuggingSession(); - void StartEditSession(); + void StartEditSession(ActiveStatementProvider activeStatementsProvider); void EndEditSession(); void EndDebuggingSession(); diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.cs.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.cs.xlf index ecf0449132ea5..8aa0b50004fb5 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.cs.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.cs.xlf @@ -84,7 +84,7 @@ Base classes contain inaccessible unimplemented members - Base classes contain inaccessible unimplemented members + Základní třídy obsahují nepřístupné nenaimplementované členy. @@ -124,7 +124,7 @@ Conditional expression can be simplified - Conditional expression can be simplified + Podmínka se dá zjednodušit. @@ -139,12 +139,12 @@ Configure severity for all '{0}' analyzers - Configure severity for all '{0}' analyzers + Nakonfigurujte závažnost pro všechny analyzátory {0}. Configure severity for all analyzers - Configure severity for all analyzers + Nakonfigurujte závažnost pro všechny analyzátory. @@ -199,7 +199,7 @@ Do not change this code. Put cleanup code in '{0}' method - Do not change this code. Put cleanup code in '{0}' method + Neměňte tento kód. Kód pro vyčištění vložte do metody {0}. @@ -284,12 +284,12 @@ Implement abstract class - Implement abstract class + Implementovat abstraktní třídu Implement all interfaces explicitly - Implement all interfaces explicitly + Implementovat všechna rozhraní explicitně @@ -299,12 +299,12 @@ Implement all members explicitly - Implement all members explicitly + Implementovat všechny členy explicitně Implement explicitly - Implement explicitly + Implementovat explicitně @@ -314,12 +314,12 @@ Implement remaining members explicitly - Implement remaining members explicitly + Implementovat zbývající členy explicitně Implement through '{0}' - Implement through '{0}' + Implementovat přes {0} @@ -459,7 +459,7 @@ Resolve conflict markers - Resolve conflict markers + Vyřešit značky konfliktů @@ -469,7 +469,7 @@ Simplify conditional expression - Simplify conditional expression + Zjednodušit podmíněný výraz @@ -499,12 +499,12 @@ TODO: free unmanaged resources (unmanaged objects) and override finalizer - TODO: free unmanaged resources (unmanaged objects) and override finalizer + TODO: Uvolněte nespravované prostředky (nespravované objekty) a přepište finalizační metodu. TODO: override finalizer only if '{0}' has code to free unmanaged resources - TODO: override finalizer only if '{0}' has code to free unmanaged resources + TODO: Finalizační metodu přepište, jen pokud metoda {0} výše obsahuje kód pro uvolnění nespravovaných prostředků. @@ -519,7 +519,7 @@ Unable to read source file '{0}' or the PDB built for the containing project. Any changes made to this file while debugging won't be applied until its content matches the built source. - Není možné přečíst zdrojový soubor {0} nebo soubor PDB sestavený pro obsahující projekt. Případné změny provedené v tomto souboru během ladění se nepoužijí, dokud se jeho obsah nebude shodovat se sestaveným zdrojem. + Není možné přečíst zdrojový soubor {0} nebo soubor PDB sestavený pro projekt, který tyto soubory obsahuje. Případné změny provedené v tomto souboru během ladění se nepoužijí, dokud se jeho obsah nebude shodovat se sestaveným zdrojem. @@ -599,7 +599,7 @@ Value: - Value: + Hodnota: @@ -1605,12 +1605,12 @@ Chcete pokračovat? TODO: dispose managed state (managed objects) - TODO: Uvolněte spravovaný stav (spravované objekty). + TODO: Uvolněte spravovaný stav (spravované objekty). TODO: set large fields to null - TODO: Nastavte velká pole na hodnotu null. + TODO: Nastavte velká pole na hodnotu null. diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.de.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.de.xlf index 693f75165b349..89c7f20be6115 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.de.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.de.xlf @@ -84,7 +84,7 @@ Base classes contain inaccessible unimplemented members - Base classes contain inaccessible unimplemented members + Basisklassen enthalten nicht implementierte Member, auf die nicht zugegriffen werden kann. @@ -124,7 +124,7 @@ Conditional expression can be simplified - Conditional expression can be simplified + Bedingter Ausdruck kann vereinfacht werden. @@ -139,12 +139,12 @@ Configure severity for all '{0}' analyzers - Configure severity for all '{0}' analyzers + Schweregrad für alle Analysetools für "{0}" konfigurieren Configure severity for all analyzers - Configure severity for all analyzers + Schweregrad für alle Analysetools konfigurieren @@ -199,12 +199,12 @@ Do not change this code. Put cleanup code in '{0}' method - Do not change this code. Put cleanup code in '{0}' method + Ändern Sie diesen Code nicht. Fügen Sie Bereinigungscode in der Methode "{0}" ein. The current content of source file '{0}' does not match the built source. Any changes made to this file while debugging won't be applied until its content matches the built source. - Der aktuelle Inhalt der Quelldatei "{0}" stimmt nicht mit der erstellten Quelle überein. Alle Änderungen, die während des Debuggens an dieser Datei vorgenommen wurden, werden erst angewendet, wenn der Inhalt der erstellten Quelle entspricht. + Der aktuelle Inhalt der Quelldatei "{0}" stimmt nicht mit dem kompilierten Quellcode überein. Alle Änderungen, die während des Debuggens an dieser Datei vorgenommen wurden, werden erst angewendet, wenn der Inhalt dem kompilierten Quellcode entspricht. @@ -284,12 +284,12 @@ Implement abstract class - Implement abstract class + Abstrakte Klasse implementieren Implement all interfaces explicitly - Implement all interfaces explicitly + Alle Schnittstellen explizit implementieren @@ -299,12 +299,12 @@ Implement all members explicitly - Implement all members explicitly + Alle Member explizit implementieren Implement explicitly - Implement explicitly + Explizit implementieren @@ -314,12 +314,12 @@ Implement remaining members explicitly - Implement remaining members explicitly + Verbleibende Member explizit implementieren Implement through '{0}' - Implement through '{0}' + Über "{0}" implementieren @@ -459,7 +459,7 @@ Resolve conflict markers - Resolve conflict markers + Konfliktmarkierungen auflösen @@ -469,7 +469,7 @@ Simplify conditional expression - Simplify conditional expression + Bedingten Ausdruck vereinfachen @@ -499,12 +499,12 @@ TODO: free unmanaged resources (unmanaged objects) and override finalizer - TODO: free unmanaged resources (unmanaged objects) and override finalizer + TODO: Nicht verwaltete Ressourcen (nicht verwaltete Objekte) freigeben und Finalizer überschreiben TODO: override finalizer only if '{0}' has code to free unmanaged resources - TODO: override finalizer only if '{0}' has code to free unmanaged resources + TODO: Finalizer nur überschreiben, wenn "{0}" Code für die Freigabe nicht verwalteter Ressourcen enthält @@ -519,7 +519,7 @@ Unable to read source file '{0}' or the PDB built for the containing project. Any changes made to this file while debugging won't be applied until its content matches the built source. - Die Quelldatei "{0}" oder die für das enthaltende Projekt erstellte PDB-Datei kann nicht gelesen werden. Alle Änderungen, die während des Debuggens an dieser Datei vorgenommen wurden, werden erst angewendet, wenn der Inhalt der erstellten Quelle entspricht. + Die Quelldatei "{0}" oder die für das enthaltende Projekt kompilierte PDB-Datei kann nicht gelesen werden. Alle Änderungen, die während des Debuggens an dieser Datei vorgenommen wurden, werden erst angewendet, wenn der Inhalt dem kompilierten Quellcode entspricht. @@ -599,7 +599,7 @@ Value: - Value: + Wert: @@ -1605,12 +1605,12 @@ Möchten Sie fortfahren? TODO: dispose managed state (managed objects) - TODO: verwalteten Zustand (verwaltete Objekte) entsorgen. + TODO: Verwalteten Zustand (verwaltete Objekte) bereinigen TODO: set large fields to null - TODO: große Felder auf Null setzen. + TODO: Große Felder auf NULL setzen diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.es.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.es.xlf index 915760513dac1..07d3a56ca72a4 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.es.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.es.xlf @@ -84,7 +84,7 @@ Base classes contain inaccessible unimplemented members - Base classes contain inaccessible unimplemented members + Las clases base contienen miembros no implementados que son inaccesibles. @@ -124,7 +124,7 @@ Conditional expression can be simplified - Conditional expression can be simplified + La expresión condicional se puede simplificar @@ -139,12 +139,12 @@ Configure severity for all '{0}' analyzers - Configure severity for all '{0}' analyzers + Configurar la gravedad de todos los analizadores ("{0}") Configure severity for all analyzers - Configure severity for all analyzers + Configurar la gravedad de todos los analizadores @@ -199,12 +199,12 @@ Do not change this code. Put cleanup code in '{0}' method - Do not change this code. Put cleanup code in '{0}' method + No cambie este código. Coloque el código de limpieza en el método "{0}". The current content of source file '{0}' does not match the built source. Any changes made to this file while debugging won't be applied until its content matches the built source. - El contenido actual del archivo de origen "{0}" no coincide con el del origen compilado, así que los cambios realizados en este archivo durante la depuración no se aplicarán hasta que coincida. + El contenido actual del archivo de código fuente "{0}" no coincide con el del código fuente compilado, así que los cambios realizados en este archivo durante la depuración no se aplicarán hasta que coincida. @@ -284,12 +284,12 @@ Implement abstract class - Implement abstract class + Implementar clase abstracta Implement all interfaces explicitly - Implement all interfaces explicitly + Implementar todas las interfaces de forma explícita @@ -299,12 +299,12 @@ Implement all members explicitly - Implement all members explicitly + Implementar todos los miembros de forma explícita Implement explicitly - Implement explicitly + Implementar de forma explícita @@ -314,12 +314,12 @@ Implement remaining members explicitly - Implement remaining members explicitly + Implementar los miembros restantes de forma explícita Implement through '{0}' - Implement through '{0}' + Implementar a través de "{0}" @@ -459,7 +459,7 @@ Resolve conflict markers - Resolve conflict markers + Resolver los marcadores de conflicto @@ -469,7 +469,7 @@ Simplify conditional expression - Simplify conditional expression + Simplificar la expresión condicional @@ -499,12 +499,12 @@ TODO: free unmanaged resources (unmanaged objects) and override finalizer - TODO: free unmanaged resources (unmanaged objects) and override finalizer + TODO: liberar los recursos no administrados (objetos no administrados) y reemplazar el finalizador TODO: override finalizer only if '{0}' has code to free unmanaged resources - TODO: override finalizer only if '{0}' has code to free unmanaged resources + TODO: reemplazar el finalizador solo si "{0}" tiene código para liberar los recursos no administrados @@ -519,7 +519,7 @@ Unable to read source file '{0}' or the PDB built for the containing project. Any changes made to this file while debugging won't be applied until its content matches the built source. - No se puede leer el archivo de origen "{0}" o el PDB compilado para el proyecto que lo contiene. Los cambios realizados en este archivo durante la depuración no se aplicarán hasta que su contenido coincida con el del origen compilado. + No se puede leer el archivo de código fuente "{0}" o el PDB compilado para el proyecto que lo contiene. Los cambios realizados en este archivo durante la depuración no se aplicarán hasta que su contenido coincida con el del código fuente compilado. @@ -599,7 +599,7 @@ Value: - Value: + Valor: @@ -1605,12 +1605,12 @@ Do you want to continue? TODO: dispose managed state (managed objects) - TODO: elimine el estado administrado (objetos administrados). + TODO: eliminar el estado administrado (objetos administrados) TODO: set large fields to null - TODO: configure los campos grandes en nulos. + TODO: establecer los campos grandes como NULL diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.fr.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.fr.xlf index 787780f5d89e4..06f9a872add45 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.fr.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.fr.xlf @@ -84,7 +84,7 @@ Base classes contain inaccessible unimplemented members - Base classes contain inaccessible unimplemented members + Les classes de base contiennent des membres non implémentés inaccessibles @@ -124,7 +124,7 @@ Conditional expression can be simplified - Conditional expression can be simplified + L’expression conditionnelle peut être simplifiée @@ -139,12 +139,12 @@ Configure severity for all '{0}' analyzers - Configure severity for all '{0}' analyzers + Configurer la gravité pour tous les analyseurs '{0}' Configure severity for all analyzers - Configure severity for all analyzers + Configurer la gravité pour tous les analyseurs @@ -199,7 +199,7 @@ Do not change this code. Put cleanup code in '{0}' method - Do not change this code. Put cleanup code in '{0}' method + Ne changez pas ce code. Placez le code de nettoyage dans la méthode '{0}' @@ -284,12 +284,12 @@ Implement abstract class - Implement abstract class + Implémenter une classe abstraite Implement all interfaces explicitly - Implement all interfaces explicitly + Implémenter toutes les interfaces explicitement @@ -299,12 +299,12 @@ Implement all members explicitly - Implement all members explicitly + Implémenter tous les membres explicitement Implement explicitly - Implement explicitly + Implémenter explicitement @@ -314,12 +314,12 @@ Implement remaining members explicitly - Implement remaining members explicitly + Implémenter les membres restants explicitement Implement through '{0}' - Implement through '{0}' + Implémenter via '{0}' @@ -459,7 +459,7 @@ Resolve conflict markers - Resolve conflict markers + Résoudre les marqueurs de conflit @@ -469,7 +469,7 @@ Simplify conditional expression - Simplify conditional expression + Simplifier l’expression conditionnelle @@ -499,12 +499,12 @@ TODO: free unmanaged resources (unmanaged objects) and override finalizer - TODO: free unmanaged resources (unmanaged objects) and override finalizer + TODO: libérer les ressources non managées (objets non managés) et substituer le finaliseur TODO: override finalizer only if '{0}' has code to free unmanaged resources - TODO: override finalizer only if '{0}' has code to free unmanaged resources + TODO: substituer le finaliseur uniquement si '{0}' a du code pour libérer les ressources non managées @@ -599,7 +599,7 @@ Value: - Value: + Valeur : @@ -1605,12 +1605,12 @@ Voulez-vous continuer ? TODO: dispose managed state (managed objects) - TODO: supprimer l'état managé (objets managés). + TODO: supprimer l'état managé (objets managés) TODO: set large fields to null - TODO: définir les champs de grande taille avec la valeur Null. + TODO: affecter aux grands champs une valeur null diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.it.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.it.xlf index 4761afb03d8ef..8c80ff7504ff5 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.it.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.it.xlf @@ -84,7 +84,7 @@ Base classes contain inaccessible unimplemented members - Base classes contain inaccessible unimplemented members + Le classi di base contengono membri non implementati inaccessibili @@ -124,7 +124,7 @@ Conditional expression can be simplified - Conditional expression can be simplified + L'espressione condizionale può essere semplificata @@ -139,12 +139,12 @@ Configure severity for all '{0}' analyzers - Configure severity for all '{0}' analyzers + Configura la gravità per tutti gli analizzatori di '{0}' Configure severity for all analyzers - Configure severity for all analyzers + Configura la gravità per tutti gli analizzatori @@ -199,12 +199,12 @@ Do not change this code. Put cleanup code in '{0}' method - Do not change this code. Put cleanup code in '{0}' method + Non modificare questo codice. Inserire il codice di pulizia nel metodo '{0}' The current content of source file '{0}' does not match the built source. Any changes made to this file while debugging won't be applied until its content matches the built source. - Il contenuto corrente del file di origine '{0}' non corrisponde all'origine compilata. Tutte le modifiche apportate a questo file durante il debug non verranno applicate finché il relativo contenuto non corrisponde all'origine compilata. + Il contenuto corrente del file di origine '{0}' non corrisponde al codice sorgente compilato. Tutte le modifiche apportate a questo file durante il debug non verranno applicate finché il relativo contenuto non corrisponde al codice sorgente compilato. @@ -284,12 +284,12 @@ Implement abstract class - Implement abstract class + Implementa la classe astratta Implement all interfaces explicitly - Implement all interfaces explicitly + Implementa tutte le interfacce in modo esplicito @@ -299,12 +299,12 @@ Implement all members explicitly - Implement all members explicitly + Implementare tutti i membri in modo esplicito Implement explicitly - Implement explicitly + Implementa in modo esplicito @@ -314,12 +314,12 @@ Implement remaining members explicitly - Implement remaining members explicitly + Implementare i membri rimanenti in modo esplicito Implement through '{0}' - Implement through '{0}' + Implementa tramite '{0}' @@ -459,7 +459,7 @@ Resolve conflict markers - Resolve conflict markers + Risolvi gli indicatori di conflitto @@ -469,7 +469,7 @@ Simplify conditional expression - Simplify conditional expression + Semplifica l'espressione condizionale @@ -499,12 +499,12 @@ TODO: free unmanaged resources (unmanaged objects) and override finalizer - TODO: free unmanaged resources (unmanaged objects) and override finalizer + TODO: liberare risorse non gestite (oggetti non gestiti) ed eseguire l'override del finalizzatore TODO: override finalizer only if '{0}' has code to free unmanaged resources - TODO: override finalizer only if '{0}' has code to free unmanaged resources + TODO: eseguire l'override del finalizzatore solo se '{0}' contiene codice per liberare risorse non gestite @@ -519,7 +519,7 @@ Unable to read source file '{0}' or the PDB built for the containing project. Any changes made to this file while debugging won't be applied until its content matches the built source. - Non è possibile leggere il file di origine '{0}' o il file PDB compilato per il progetto contenitore. Tutte le modifiche apportate a questo file durante il debug non verranno applicate finché il relativo contenuto non corrisponde all'origine compilata. + Non è possibile leggere il file di origine '{0}' o il file PDB compilato per il progetto contenitore. Tutte le modifiche apportate a questo file durante il debug non verranno applicate finché il relativo contenuto non corrisponde al codice sorgente compilato. @@ -599,7 +599,7 @@ Value: - Value: + Valore: @@ -1605,12 +1605,12 @@ Continuare? TODO: dispose managed state (managed objects) - TODO: eliminare lo stato gestito (oggetti gestiti). + TODO: eliminare lo stato gestito (oggetti gestiti) TODO: set large fields to null - TODO: impostare campi di grandi dimensioni su Null. + TODO: impostare campi di grandi dimensioni su Null diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.ja.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.ja.xlf index a3a0ef9f3b0bc..71877b96118df 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.ja.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.ja.xlf @@ -84,7 +84,7 @@ Base classes contain inaccessible unimplemented members - Base classes contain inaccessible unimplemented members + アクセス不可能な未実装のメンバーが基底クラスに含まれています @@ -124,7 +124,7 @@ Conditional expression can be simplified - Conditional expression can be simplified + 条件式を簡略化できます @@ -139,12 +139,12 @@ Configure severity for all '{0}' analyzers - Configure severity for all '{0}' analyzers + すべての '{0}' アナライザーの重要度を構成します Configure severity for all analyzers - Configure severity for all analyzers + すべてのアナライザーの重要度を構成します @@ -199,7 +199,7 @@ Do not change this code. Put cleanup code in '{0}' method - Do not change this code. Put cleanup code in '{0}' method + このコードを変更しないでください。クリーンアップ コードを '{0}' メソッドに記述します @@ -284,12 +284,12 @@ Implement abstract class - Implement abstract class + 抽象クラスの実装 Implement all interfaces explicitly - Implement all interfaces explicitly + すべてのインターフェイスを明示的に実装する @@ -299,12 +299,12 @@ Implement all members explicitly - Implement all members explicitly + すべてのメンバーを明示的に実装する Implement explicitly - Implement explicitly + 明示的に実装する @@ -314,12 +314,12 @@ Implement remaining members explicitly - Implement remaining members explicitly + 残りのメンバーを明示的に実装する Implement through '{0}' - Implement through '{0}' + '{0}' を通じて実装します @@ -459,7 +459,7 @@ Resolve conflict markers - Resolve conflict markers + 競合マーカーの解決 @@ -469,7 +469,7 @@ Simplify conditional expression - Simplify conditional expression + 条件式を簡略化する @@ -499,12 +499,12 @@ TODO: free unmanaged resources (unmanaged objects) and override finalizer - TODO: free unmanaged resources (unmanaged objects) and override finalizer + TODO: アンマネージド リソース (アンマネージド オブジェクト) を解放し、ファイナライザーをオーバーライドします TODO: override finalizer only if '{0}' has code to free unmanaged resources - TODO: override finalizer only if '{0}' has code to free unmanaged resources + TODO: '{0}' にアンマネージド リソースを解放するコードが含まれる場合にのみ、ファイナライザーをオーバーライドします @@ -599,7 +599,7 @@ Value: - Value: + 値: @@ -1605,12 +1605,12 @@ Do you want to continue? TODO: dispose managed state (managed objects) - TODO: マネージ状態を破棄します (マネージ オブジェクト)。 + TODO: マネージド状態を破棄します (マネージド オブジェクト) TODO: set large fields to null - TODO: 大きなフィールドを null に設定します。 + TODO: 大きなフィールドを null に設定します diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.ko.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.ko.xlf index bb549d10126e0..351e757b66aa8 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.ko.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.ko.xlf @@ -84,7 +84,7 @@ Base classes contain inaccessible unimplemented members - Base classes contain inaccessible unimplemented members + 기본 클래스에 구현되지 않아 액세스할 수 없는 멤버가 포함되어 있습니다. @@ -124,7 +124,7 @@ Conditional expression can be simplified - Conditional expression can be simplified + 조건식을 단순화할 수 있습니다. @@ -139,12 +139,12 @@ Configure severity for all '{0}' analyzers - Configure severity for all '{0}' analyzers + 모든 '{0}' 분석기에 대해 심각도 구성 Configure severity for all analyzers - Configure severity for all analyzers + 모든 분석기에 대해 심각도 구성 @@ -199,7 +199,7 @@ Do not change this code. Put cleanup code in '{0}' method - Do not change this code. Put cleanup code in '{0}' method + 이 코드를 변경하지 마세요. '{0}' 메서드에 정리 코드를 입력합니다. @@ -284,12 +284,12 @@ Implement abstract class - Implement abstract class + 추상 클래스 구현 Implement all interfaces explicitly - Implement all interfaces explicitly + 모든 인터페이스를 명시적으로 구현 @@ -299,12 +299,12 @@ Implement all members explicitly - Implement all members explicitly + 모든 멤버를 명시적으로 구현 Implement explicitly - Implement explicitly + 명시적으로 구현 @@ -314,12 +314,12 @@ Implement remaining members explicitly - Implement remaining members explicitly + 나머지 멤버를 명시적으로 구현 Implement through '{0}' - Implement through '{0}' + '{0}'을(를) 통해 구현 @@ -459,7 +459,7 @@ Resolve conflict markers - Resolve conflict markers + 충돌 표식 확인 @@ -469,7 +469,7 @@ Simplify conditional expression - Simplify conditional expression + 조건식 단순화 @@ -499,12 +499,12 @@ TODO: free unmanaged resources (unmanaged objects) and override finalizer - TODO: free unmanaged resources (unmanaged objects) and override finalizer + TODO: 비관리형 리소스(비관리형 개체)를 해제하고 종료자를 재정의합니다. TODO: override finalizer only if '{0}' has code to free unmanaged resources - TODO: override finalizer only if '{0}' has code to free unmanaged resources + TODO: 비관리형 리소스를 해제하는 코드가 '{0}'에 포함된 경우에만 종료자를 재정의합니다. @@ -599,7 +599,7 @@ Value: - Value: + 값: @@ -1605,12 +1605,12 @@ Do you want to continue? TODO: dispose managed state (managed objects) - TODO: 관리되는 상태(관리되는 개체)를 삭제합니다. + TODO: 관리형 상태(관리형 개체)를 삭제합니다. TODO: set large fields to null - TODO: 큰 필드를 null로 설정합니다. + TODO: 큰 필드를 null로 설정합니다. diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.pl.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.pl.xlf index deec1c5cb22d7..281c01add2fb5 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.pl.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.pl.xlf @@ -84,7 +84,7 @@ Base classes contain inaccessible unimplemented members - Base classes contain inaccessible unimplemented members + Klasy podstawowe zawierają niedostępne niezaimplementowane składowe @@ -124,7 +124,7 @@ Conditional expression can be simplified - Conditional expression can be simplified + Wyrażenie warunkowe można uprościć @@ -139,12 +139,12 @@ Configure severity for all '{0}' analyzers - Configure severity for all '{0}' analyzers + Konfiguruj ważność wszystkich analizatorów „{0}” Configure severity for all analyzers - Configure severity for all analyzers + Konfiguruj ważność wszystkich analizatorów @@ -199,7 +199,7 @@ Do not change this code. Put cleanup code in '{0}' method - Do not change this code. Put cleanup code in '{0}' method + Nie zmieniaj tego kodu. Umieść kod czyszczący w metodzie „{0}”. @@ -284,12 +284,12 @@ Implement abstract class - Implement abstract class + Implementuj klasę abstrakcyjną Implement all interfaces explicitly - Implement all interfaces explicitly + Jawnie zaimplementuj wszystkie interfejsy @@ -299,12 +299,12 @@ Implement all members explicitly - Implement all members explicitly + Jawnie zaimplementuj wszystkie składowe Implement explicitly - Implement explicitly + Zaimplementuj jawnie @@ -314,12 +314,12 @@ Implement remaining members explicitly - Implement remaining members explicitly + Jawnie zaimplementuj pozostałe składowe Implement through '{0}' - Implement through '{0}' + Implementuj za pomocą elementu „{0}” @@ -459,7 +459,7 @@ Resolve conflict markers - Resolve conflict markers + Rozwiąż znaczniki konfliktów @@ -469,7 +469,7 @@ Simplify conditional expression - Simplify conditional expression + Uprość wyrażenie warunkowe @@ -499,12 +499,12 @@ TODO: free unmanaged resources (unmanaged objects) and override finalizer - TODO: free unmanaged resources (unmanaged objects) and override finalizer + TODO: Zwolnić niezarządzane zasoby (niezarządzane obiekty) i przesłonić finalizator TODO: override finalizer only if '{0}' has code to free unmanaged resources - TODO: override finalizer only if '{0}' has code to free unmanaged resources + TODO: Przesłonić finalizator tylko w sytuacji, gdy powyższa metoda „{0}” zawiera kod służący do zwalniania niezarządzanych zasobów @@ -519,7 +519,7 @@ Unable to read source file '{0}' or the PDB built for the containing project. Any changes made to this file while debugging won't be applied until its content matches the built source. - Nie można odczytać pliku źródłowego „{0}” lub pliku PDB skompilowanego dla projektu zawierającego. Wszystkie zmiany wprowadzone w tym pliku podczas debugowania nie zostaną zastosowane do czasu, aż jego zawartość będzie zgodna ze skompilowanym źródłem. + Nie można odczytać pliku źródłowego „{0}” lub pliku PDB skompilowanego dla projektu, w którym jest on zawarty. Wszystkie zmiany wprowadzone w tym pliku podczas debugowania nie zostaną zastosowane do czasu, aż jego zawartość będzie zgodna ze skompilowanym źródłem. @@ -599,7 +599,7 @@ Value: - Value: + Wartość: @@ -1605,12 +1605,12 @@ Czy chcesz kontynuować? TODO: dispose managed state (managed objects) - TODO: wyczyść stan zarządzany (obiekty zarządzane). + TODO: Wyczyścić stan zarządzany (obiekty zarządzane) TODO: set large fields to null - TODO: ustaw wartość null dla dużych pól. + TODO: Ustawić wartość null dla dużych pól diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.pt-BR.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.pt-BR.xlf index 2557777f95f2b..c0a0c454ca48e 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.pt-BR.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.pt-BR.xlf @@ -84,7 +84,7 @@ Base classes contain inaccessible unimplemented members - Base classes contain inaccessible unimplemented members + As classes base contêm membros não implementados inacessíveis @@ -124,7 +124,7 @@ Conditional expression can be simplified - Conditional expression can be simplified + A expressão condicional pode ser simplificada @@ -139,12 +139,12 @@ Configure severity for all '{0}' analyzers - Configure severity for all '{0}' analyzers + Configurar gravidade para todos os analisadores '{0}' Configure severity for all analyzers - Configure severity for all analyzers + Configurar gravidade para todos os analisadores @@ -199,7 +199,7 @@ Do not change this code. Put cleanup code in '{0}' method - Do not change this code. Put cleanup code in '{0}' method + Não altere este código. Coloque o código de limpeza no método '{0}' @@ -284,12 +284,12 @@ Implement abstract class - Implement abstract class + Implementar classe abstrata Implement all interfaces explicitly - Implement all interfaces explicitly + Implementar todas as interfaces explicitamente @@ -299,12 +299,12 @@ Implement all members explicitly - Implement all members explicitly + Implementar todos os membros explicitamente Implement explicitly - Implement explicitly + Implementar explicitamente @@ -314,12 +314,12 @@ Implement remaining members explicitly - Implement remaining members explicitly + Implementar os membros restantes explicitamente Implement through '{0}' - Implement through '{0}' + Implementar por meio de '{0}' @@ -459,7 +459,7 @@ Resolve conflict markers - Resolve conflict markers + Resolver marcadores de conflitos @@ -469,7 +469,7 @@ Simplify conditional expression - Simplify conditional expression + Simplificar a expressão condicional @@ -499,12 +499,12 @@ TODO: free unmanaged resources (unmanaged objects) and override finalizer - TODO: free unmanaged resources (unmanaged objects) and override finalizer + Tarefa pendente: liberar recursos não gerenciados (objetos não gerenciados) e substituir o finalizador TODO: override finalizer only if '{0}' has code to free unmanaged resources - TODO: override finalizer only if '{0}' has code to free unmanaged resources + Tarefa pendente: substituir o finalizador somente se '{0}' tiver o código para liberar recursos não gerenciados @@ -519,7 +519,7 @@ Unable to read source file '{0}' or the PDB built for the containing project. Any changes made to this file while debugging won't be applied until its content matches the built source. - Não é possível ler o arquivo de origem '{0}' ou o PDB criado para o projeto que o contém. Todas as alterações feitas neste arquivo durante a depuração não serão aplicadas até que o conteúdo corresponda à origem criada. + Não é possível ler o arquivo de origem '{0}' ou o PDB criado para o projeto que o contém. Todas as alterações feitas neste arquivo durante a depuração não serão aplicadas até que o conteúdo corresponda ao código-fonte compilado. @@ -599,7 +599,7 @@ Value: - Value: + Valor: @@ -1605,12 +1605,12 @@ Deseja continuar? TODO: dispose managed state (managed objects) - TODO: descartar estado gerenciado (objetos gerenciados). + Tarefa pendente: descartar o estado gerenciado (objetos gerenciados) TODO: set large fields to null - TODO: definir campos grandes como nulos. + Tarefa pendente: definir campos grandes como nulos diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.ru.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.ru.xlf index e19a88530b8eb..e5983594c4f6d 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.ru.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.ru.xlf @@ -84,7 +84,7 @@ Base classes contain inaccessible unimplemented members - Base classes contain inaccessible unimplemented members + Базовые классы содержат недоступные нереализованные члены @@ -124,7 +124,7 @@ Conditional expression can be simplified - Conditional expression can be simplified + Условное выражение можно упростить @@ -139,12 +139,12 @@ Configure severity for all '{0}' analyzers - Configure severity for all '{0}' analyzers + Настройка серьезности для всех анализаторов ("{0}") Configure severity for all analyzers - Configure severity for all analyzers + Настройка серьезности для всех анализаторов @@ -199,12 +199,12 @@ Do not change this code. Put cleanup code in '{0}' method - Do not change this code. Put cleanup code in '{0}' method + Не изменяйте этот код. Разместите код очистки в методе "{0}". The current content of source file '{0}' does not match the built source. Any changes made to this file while debugging won't be applied until its content matches the built source. - Текущее содержимое исходного файла "{0}" не соответствует скомпилированному исходному коду. Все изменения, внесенные в этот файл во время отладки, не будут применены, пока содержимое файла не будет соответствовать скомпилированному исходному коду. + Текущее содержимое исходного файла "{0}" не соответствует созданному источнику. Все изменения, внесенные в этот файл во время отладки, не будут применены, пока содержимое файла не будет соответствовать созданному источнику. @@ -284,12 +284,12 @@ Implement abstract class - Implement abstract class + Реализовать абстрактный класс Implement all interfaces explicitly - Implement all interfaces explicitly + Реализовать все интерфейсы явно @@ -299,12 +299,12 @@ Implement all members explicitly - Implement all members explicitly + Реализовать все элементы явно Implement explicitly - Implement explicitly + Реализовать явно @@ -314,12 +314,12 @@ Implement remaining members explicitly - Implement remaining members explicitly + Реализовать оставшиеся элементы явно Implement through '{0}' - Implement through '{0}' + Реализовать через "{0}" @@ -459,7 +459,7 @@ Resolve conflict markers - Resolve conflict markers + Разрешение меток конфликтов @@ -469,7 +469,7 @@ Simplify conditional expression - Simplify conditional expression + Упростить условное выражение @@ -499,12 +499,12 @@ TODO: free unmanaged resources (unmanaged objects) and override finalizer - TODO: free unmanaged resources (unmanaged objects) and override finalizer + TODO: освободить неуправляемые ресурсы (неуправляемые объекты) и переопределить метод завершения TODO: override finalizer only if '{0}' has code to free unmanaged resources - TODO: override finalizer only if '{0}' has code to free unmanaged resources + TODO: переопределить метод завершения, только если "{0}" содержит код для освобождения неуправляемых ресурсов @@ -519,7 +519,7 @@ Unable to read source file '{0}' or the PDB built for the containing project. Any changes made to this file while debugging won't be applied until its content matches the built source. - Не удается прочитать исходный файл "{0}" или PDB, созданный для проекта, в котором они содержатся. Все изменения, внесенные в этот файл во время отладки, не будут применены, пока содержимое файла не будет соответствовать скомпилированному исходному коду. + Не удалось считать исходный файл "{0}" или PDB, созданный для содержащего проекта. Все изменения, внесенные в этот файл во время отладки, не будут применены, пока содержимое файла не будет соответствовать созданному источнику. @@ -599,7 +599,7 @@ Value: - Value: + Значение: @@ -1605,12 +1605,12 @@ Do you want to continue? TODO: dispose managed state (managed objects) - TODO: освободить управляемое состояние (управляемые объекты). + TODO: освободить управляемое состояние (управляемые объекты) TODO: set large fields to null - TODO: задать большим полям значение NULL. + TODO: установить значение NULL для больших полей diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.tr.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.tr.xlf index 0472c37e2295d..bb4aa812fcbc9 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.tr.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.tr.xlf @@ -84,7 +84,7 @@ Base classes contain inaccessible unimplemented members - Base classes contain inaccessible unimplemented members + Temel sınıflarda erişilemeyen, uygulanmamış üyeler var @@ -124,7 +124,7 @@ Conditional expression can be simplified - Conditional expression can be simplified + Koşul ifadesi basitleştirilebilir @@ -139,12 +139,12 @@ Configure severity for all '{0}' analyzers - Configure severity for all '{0}' analyzers + Tüm '{0}' çözümleyicileri için önem derecesini yapılandır Configure severity for all analyzers - Configure severity for all analyzers + Tüm çözümleyiciler için önem derecesini yapılandır @@ -199,12 +199,12 @@ Do not change this code. Put cleanup code in '{0}' method - Do not change this code. Put cleanup code in '{0}' method + Bu kodu değiştirmeyin. Temizleme kodunu '{0}' metodunun içine yerleştirin. The current content of source file '{0}' does not match the built source. Any changes made to this file while debugging won't be applied until its content matches the built source. - '{0}' kaynak dosyasının geçerli içeriği, oluşturulan kaynakla eşleşmiyor. Hata ayıklama işlemi sırasında bu dosyada yapılan değişiklikler, dosyanın içeriği oluşturulan kaynakla eşleşene kadar uygulanmaz. + '{0}' kaynak dosyasının geçerli içeriği, derlenen kaynakla eşleşmiyor. Hata ayıklama işlemi sırasında bu dosyada yapılan değişiklikler, dosyanın içeriği derlenen kaynakla eşleşene kadar uygulanmaz. @@ -284,12 +284,12 @@ Implement abstract class - Implement abstract class + Soyut sınıfı uygula Implement all interfaces explicitly - Implement all interfaces explicitly + Tüm arabirimleri açıkça uygula @@ -299,12 +299,12 @@ Implement all members explicitly - Implement all members explicitly + Tüm üyeleri açıkça uygula Implement explicitly - Implement explicitly + Açıkça uygula @@ -314,12 +314,12 @@ Implement remaining members explicitly - Implement remaining members explicitly + Kalan üyeleri açıkça uygula Implement through '{0}' - Implement through '{0}' + '{0}' aracılığıyla uygula @@ -459,7 +459,7 @@ Resolve conflict markers - Resolve conflict markers + Çakışma işaretçilerini çözümle @@ -469,7 +469,7 @@ Simplify conditional expression - Simplify conditional expression + Koşullu ifadeyi basitleştir @@ -499,12 +499,12 @@ TODO: free unmanaged resources (unmanaged objects) and override finalizer - TODO: free unmanaged resources (unmanaged objects) and override finalizer + TODO: yönetilmeyen kaynakları (yönetilmeyen nesneleri) serbest bırakın ve sonlandırıcıyı geçersiz kılın TODO: override finalizer only if '{0}' has code to free unmanaged resources - TODO: override finalizer only if '{0}' has code to free unmanaged resources + TODO: sonlandırıcıyı yalnızca '{0}' içinde yönetilmeyen kaynakları serbest bırakacak kod varsa geçersiz kılın @@ -599,7 +599,7 @@ Value: - Value: + Değer: @@ -1605,12 +1605,12 @@ Devam etmek istiyor musunuz? TODO: dispose managed state (managed objects) - TODO: yönetilen durumu (yönetilen nesneleri) bırakın. + TODO: yönetilen durumu (yönetilen nesneleri) atın TODO: set large fields to null - TODO: büyük alanları null olarak ayarlayın. + TODO: büyük alanları null olarak ayarlayın diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.zh-Hans.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.zh-Hans.xlf index 5bab026ca3681..e1cf5a5e728c7 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.zh-Hans.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.zh-Hans.xlf @@ -84,7 +84,7 @@ Base classes contain inaccessible unimplemented members - Base classes contain inaccessible unimplemented members + 基类包含无法访问的未实现成员 @@ -124,7 +124,7 @@ Conditional expression can be simplified - Conditional expression can be simplified + 可以简化条件表达式 @@ -139,12 +139,12 @@ Configure severity for all '{0}' analyzers - Configure severity for all '{0}' analyzers + 为所有“{0}”分析器配置严重性 Configure severity for all analyzers - Configure severity for all analyzers + 为所有分析器配置严重性 @@ -199,7 +199,7 @@ Do not change this code. Put cleanup code in '{0}' method - Do not change this code. Put cleanup code in '{0}' method + 不要更改此代码。请将清理代码放入“{0}”方法中 @@ -284,12 +284,12 @@ Implement abstract class - Implement abstract class + 实现抽象类 Implement all interfaces explicitly - Implement all interfaces explicitly + 显式实现所有接口 @@ -299,12 +299,12 @@ Implement all members explicitly - Implement all members explicitly + 显式实现所有成员 Implement explicitly - Implement explicitly + 显式实现 @@ -314,12 +314,12 @@ Implement remaining members explicitly - Implement remaining members explicitly + 显式实现剩余成员 Implement through '{0}' - Implement through '{0}' + 通过“{0}”实现 @@ -459,7 +459,7 @@ Resolve conflict markers - Resolve conflict markers + 解决冲突标记 @@ -469,7 +469,7 @@ Simplify conditional expression - Simplify conditional expression + 简化条件表达式 @@ -499,12 +499,12 @@ TODO: free unmanaged resources (unmanaged objects) and override finalizer - TODO: free unmanaged resources (unmanaged objects) and override finalizer + TODO: 释放未托管的资源(未托管的对象)并替代终结器 TODO: override finalizer only if '{0}' has code to free unmanaged resources - TODO: override finalizer only if '{0}' has code to free unmanaged resources + TODO: 仅当“{0}”拥有用于释放未托管资源的代码时才替代终结器 @@ -599,7 +599,7 @@ Value: - Value: + 值: @@ -1605,12 +1605,12 @@ Do you want to continue? TODO: dispose managed state (managed objects) - TODO: 释放托管状态(托管对象)。 + TODO: 释放托管状态(托管对象) TODO: set large fields to null - TODO: 将大型字段设置为 null。 + TODO: 将大型字段设置为 null diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.zh-Hant.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.zh-Hant.xlf index c150a94c79007..277ab5781d46c 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.zh-Hant.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.zh-Hant.xlf @@ -84,7 +84,7 @@ Base classes contain inaccessible unimplemented members - Base classes contain inaccessible unimplemented members + 基底類別包含無法存取的未實作成員 @@ -124,7 +124,7 @@ Conditional expression can be simplified - Conditional expression can be simplified + 條件運算式可加以簡化 @@ -139,12 +139,12 @@ Configure severity for all '{0}' analyzers - Configure severity for all '{0}' analyzers + 設定所有 '{0}' 分析器的嚴重性 Configure severity for all analyzers - Configure severity for all analyzers + 設定所有分析器的嚴重性 @@ -199,7 +199,7 @@ Do not change this code. Put cleanup code in '{0}' method - Do not change this code. Put cleanup code in '{0}' method + 請勿變更此程式碼。請將清除程式碼放入 '{0}' 方法 @@ -284,12 +284,12 @@ Implement abstract class - Implement abstract class + 實作抽象類別 Implement all interfaces explicitly - Implement all interfaces explicitly + 明確實作所有介面 @@ -299,12 +299,12 @@ Implement all members explicitly - Implement all members explicitly + 明確實作所有成員 Implement explicitly - Implement explicitly + 明確實作 @@ -314,12 +314,12 @@ Implement remaining members explicitly - Implement remaining members explicitly + 明確實作剩餘的成員 Implement through '{0}' - Implement through '{0}' + 透過 '{0}' 實作 @@ -459,7 +459,7 @@ Resolve conflict markers - Resolve conflict markers + 解決衝突標記 @@ -469,7 +469,7 @@ Simplify conditional expression - Simplify conditional expression + 簡化條件運算式 @@ -499,12 +499,12 @@ TODO: free unmanaged resources (unmanaged objects) and override finalizer - TODO: free unmanaged resources (unmanaged objects) and override finalizer + TODO: 釋出非受控資源 (非受控物件) 並覆寫完成項 TODO: override finalizer only if '{0}' has code to free unmanaged resources - TODO: override finalizer only if '{0}' has code to free unmanaged resources + TODO: 僅有當 '{0}' 具有會釋出非受控資源的程式碼時,才覆寫完成項 @@ -519,7 +519,7 @@ Unable to read source file '{0}' or the PDB built for the containing project. Any changes made to this file while debugging won't be applied until its content matches the built source. - 無法讀取來源檔案 '{0}' 或為包含專案所建置的 PDB。等到此檔案的內容與已建置的來源一致後,才會套用於偵錯期間對此檔案所做的所有變更。 + 無法讀取來源檔案 '{0}' 或為包含該檔案之專案所建置的 PDB。等到此檔案的內容與已建置的來源一致後,才會套用於偵錯期間對此檔案所做的所有變更。 @@ -599,7 +599,7 @@ Value: - Value: + 值: @@ -1605,12 +1605,12 @@ Do you want to continue? TODO: dispose managed state (managed objects) - TODO: 處置 Managed 狀態 (Managed 物件)。 + TODO: 處置受控狀態 (受控物件) TODO: set large fields to null - TODO: 將大型欄位設為 null。 + TODO: 將大型欄位設為 Null diff --git a/src/Features/LanguageServer/Protocol/Extensions/ProtocolConversions.cs b/src/Features/LanguageServer/Protocol/Extensions/ProtocolConversions.cs index d0b73e0a45376..cb9badd814966 100644 --- a/src/Features/LanguageServer/Protocol/Extensions/ProtocolConversions.cs +++ b/src/Features/LanguageServer/Protocol/Extensions/ProtocolConversions.cs @@ -12,6 +12,7 @@ using Microsoft.CodeAnalysis.Tags; using Microsoft.CodeAnalysis.Text; using Microsoft.VisualStudio.Text.Adornments; +using Microsoft.VisualStudio.Utilities; using Roslyn.Utilities; using LSP = Microsoft.VisualStudio.LanguageServer.Protocol; @@ -381,5 +382,77 @@ public static Glyph CompletionItemKindToGlyph(LSP.CompletionItemKind kind) return Glyph.None; } } + + // The mappings here are roughly based off of SymbolUsageInfoExtensions.ToSymbolReferenceKinds. + public static LSP.ReferenceKind[] SymbolUsageInfoToReferenceKinds(SymbolUsageInfo symbolUsageInfo) + { + var referenceKinds = ArrayBuilder.GetInstance(); + if (symbolUsageInfo.ValueUsageInfoOpt.HasValue) + { + var usageInfo = symbolUsageInfo.ValueUsageInfoOpt.Value; + if (usageInfo.IsReadFrom()) + { + referenceKinds.Add(LSP.ReferenceKind.Read); + } + + if (usageInfo.IsWrittenTo()) + { + referenceKinds.Add(LSP.ReferenceKind.Write); + } + + if (usageInfo.IsReference()) + { + referenceKinds.Add(LSP.ReferenceKind.Reference); + } + + if (usageInfo.IsNameOnly()) + { + referenceKinds.Add(LSP.ReferenceKind.Name); + } + } + + if (symbolUsageInfo.TypeOrNamespaceUsageInfoOpt.HasValue) + { + var usageInfo = symbolUsageInfo.TypeOrNamespaceUsageInfoOpt.Value; + if ((usageInfo & TypeOrNamespaceUsageInfo.Qualified) != 0) + { + referenceKinds.Add(LSP.ReferenceKind.Qualified); + } + + if ((usageInfo & TypeOrNamespaceUsageInfo.TypeArgument) != 0) + { + referenceKinds.Add(LSP.ReferenceKind.TypeArgument); + } + + if ((usageInfo & TypeOrNamespaceUsageInfo.TypeConstraint) != 0) + { + referenceKinds.Add(LSP.ReferenceKind.TypeConstraint); + } + + if ((usageInfo & TypeOrNamespaceUsageInfo.Base) != 0) + { + referenceKinds.Add(LSP.ReferenceKind.BaseType); + } + + // Preserving the same mapping logic that SymbolUsageInfoExtensions.ToSymbolReferenceKinds uses + if ((usageInfo & TypeOrNamespaceUsageInfo.ObjectCreation) != 0) + { + referenceKinds.Add(LSP.ReferenceKind.Constructor); + } + + if ((usageInfo & TypeOrNamespaceUsageInfo.Import) != 0) + { + referenceKinds.Add(LSP.ReferenceKind.Import); + } + + // Preserving the same mapping logic that SymbolUsageInfoExtensions.ToSymbolReferenceKinds uses + if ((usageInfo & TypeOrNamespaceUsageInfo.NamespaceDeclaration) != 0) + { + referenceKinds.Add(LSP.ReferenceKind.Declaration); + } + } + + return referenceKinds.ToArrayAndFree(); + } } } diff --git a/src/Features/LanguageServer/Protocol/Handler/CodeActions/CodeActionsHandler.cs b/src/Features/LanguageServer/Protocol/Handler/CodeActions/CodeActionsHandler.cs index 14330bbf6f155..b7ec1adea0750 100644 --- a/src/Features/LanguageServer/Protocol/Handler/CodeActions/CodeActionsHandler.cs +++ b/src/Features/LanguageServer/Protocol/Handler/CodeActions/CodeActionsHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable enable + using System; using System.Composition; using System.Linq; @@ -22,7 +24,7 @@ namespace Microsoft.CodeAnalysis.LanguageServer.Handler /// [Shared] [ExportLspMethod(LSP.Methods.TextDocumentCodeActionName)] - internal class CodeActionsHandler : CodeActionsHandlerBase, IRequestHandler + internal class CodeActionsHandler : CodeActionsHandlerBase, IRequestHandler[]> { [ImportingConstructor] [Obsolete(MefConstruction.ImportingConstructorMessage, error: true)] @@ -30,7 +32,7 @@ public CodeActionsHandler(ICodeFixService codeFixService, ICodeRefactoringServic { } - public async Task HandleRequestAsync(Solution solution, LSP.CodeActionParams request, + public async Task[]> HandleRequestAsync(Solution solution, LSP.CodeActionParams request, LSP.ClientCapabilities clientCapabilities, CancellationToken cancellationToken) { var codeActions = await GetCodeActionsAsync(solution, @@ -41,7 +43,7 @@ public async Task HandleRequestAsync(Solution solution, LSP.CodeAction // Filter out code actions with options since they'll show dialogs and we can't remote the UI and the options. codeActions = codeActions.Where(c => !(c is CodeActionWithOptions)); - var result = new ArrayBuilder(); + var result = new ArrayBuilder>(); foreach (var codeAction in codeActions) { // Always return the Command instead of a precalculated set of workspace edits. diff --git a/src/Features/LanguageServer/Protocol/Handler/Completion/CompletionHandler.cs b/src/Features/LanguageServer/Protocol/Handler/Completion/CompletionHandler.cs index 85e3ce6e7be3f..5973ddb001f11 100644 --- a/src/Features/LanguageServer/Protocol/Handler/Completion/CompletionHandler.cs +++ b/src/Features/LanguageServer/Protocol/Handler/Completion/CompletionHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable enable + using System; using System.Collections.Immutable; using System.Composition; @@ -23,7 +25,7 @@ namespace Microsoft.CodeAnalysis.LanguageServer.Handler /// [Shared] [ExportLspMethod(LSP.Methods.TextDocumentCompletionName)] - internal class CompletionHandler : IRequestHandler + internal class CompletionHandler : IRequestHandler?> { [ImportingConstructor] [Obsolete(MefConstruction.ImportingConstructorMessage, error: true)] @@ -31,7 +33,7 @@ public CompletionHandler() { } - public async Task HandleRequestAsync(Solution solution, LSP.CompletionParams request, LSP.ClientCapabilities clientCapabilities, + public async Task?> HandleRequestAsync(Solution solution, LSP.CompletionParams request, LSP.ClientCapabilities clientCapabilities, CancellationToken cancellationToken) { var document = solution.GetDocumentFromURI(request.TextDocument.Uri); @@ -53,7 +55,7 @@ public async Task HandleRequestAsync(Solution solution, LSP.CompletionPa .WithChangedOption(CompletionOptions.ShowItemsFromUnimportedNamespaces, false) .WithChangedOption(CompletionServiceOptions.IsExpandedCompletion, false); - var completionService = document.Project.LanguageServices.GetService(); + var completionService = document.Project.LanguageServices.GetRequiredService(); var list = await completionService.GetCompletionsAsync(document, position, options: completionOptions, cancellationToken: cancellationToken).ConfigureAwait(false); if (list == null) { diff --git a/src/Features/LanguageServer/Protocol/Handler/Definitions/GoToDefinitionHandler.cs b/src/Features/LanguageServer/Protocol/Handler/Definitions/GoToDefinitionHandler.cs index 128dc48536f8e..76338ecce38f8 100644 --- a/src/Features/LanguageServer/Protocol/Handler/Definitions/GoToDefinitionHandler.cs +++ b/src/Features/LanguageServer/Protocol/Handler/Definitions/GoToDefinitionHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable enable + using System; using System.Composition; using System.Threading; @@ -14,7 +16,7 @@ namespace Microsoft.CodeAnalysis.LanguageServer.Handler { [Shared] [ExportLspMethod(LSP.Methods.TextDocumentDefinitionName)] - internal class GoToDefinitionHandler : GoToDefinitionHandlerBase, IRequestHandler + internal class GoToDefinitionHandler : GoToDefinitionHandlerBase, IRequestHandler?> { [ImportingConstructor] [Obsolete(MefConstruction.ImportingConstructorMessage, error: true)] @@ -22,7 +24,7 @@ public GoToDefinitionHandler(IMetadataAsSourceFileService metadataAsSourceFileSe { } - public async Task HandleRequestAsync(Solution solution, LSP.TextDocumentPositionParams request, + public async Task?> HandleRequestAsync(Solution solution, LSP.TextDocumentPositionParams request, LSP.ClientCapabilities clientCapabilities, CancellationToken cancellationToken) { return await GetDefinitionAsync(solution, request, typeOnly: false, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/Features/LanguageServer/Protocol/Handler/IRequestHandler.cs b/src/Features/LanguageServer/Protocol/Handler/IRequestHandler.cs index f9495626a10e6..8623d14eb4d69 100644 --- a/src/Features/LanguageServer/Protocol/Handler/IRequestHandler.cs +++ b/src/Features/LanguageServer/Protocol/Handler/IRequestHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable enable + using System.Threading; using System.Threading.Tasks; using Microsoft.VisualStudio.LanguageServer.Protocol; diff --git a/src/Features/LanguageServer/Protocol/Handler/Initialize/InitializeHandler.cs b/src/Features/LanguageServer/Protocol/Handler/Initialize/InitializeHandler.cs index a6602a1ede052..31b7ed25b9514 100644 --- a/src/Features/LanguageServer/Protocol/Handler/Initialize/InitializeHandler.cs +++ b/src/Features/LanguageServer/Protocol/Handler/Initialize/InitializeHandler.cs @@ -50,6 +50,7 @@ public InitializeHandler([ImportMany] IEnumerable + { + private readonly IThreadingContext _threadingContext; + private readonly IMetadataAsSourceFileService _metadataAsSourceFileService; + + [ImportingConstructor] + [Obsolete(MefConstruction.ImportingConstructorMessage, error: true)] + public FindAllReferencesHandler(IThreadingContext threadingContext, IMetadataAsSourceFileService metadataAsSourceFileService) + { + _threadingContext = threadingContext; + _metadataAsSourceFileService = metadataAsSourceFileService; + } + + public async Task HandleRequestAsync( + Solution solution, + ReferenceParams referenceParams, + ClientCapabilities clientCapabilities, + CancellationToken cancellationToken) + { + Debug.Assert(clientCapabilities.HasVisualStudioLspCapability()); + + var document = solution.GetDocumentFromURI(referenceParams.TextDocument.Uri); + if (document == null) + { + return Array.Empty(); + } + + var findUsagesService = document.GetRequiredLanguageService(); + var position = await document.GetPositionFromLinePositionAsync( + ProtocolConversions.PositionToLinePosition(referenceParams.Position), cancellationToken).ConfigureAwait(false); + var context = new SimpleFindUsagesContext(cancellationToken); + + // Finds the references for the symbol at the specific position in the document, pushing the results to the context instance. + await findUsagesService.FindReferencesAsync(document, position, context).ConfigureAwait(false); + + return await GetReferenceItemsAsync(document, position, context, cancellationToken).ConfigureAwait(false); + } + + private async Task GetReferenceItemsAsync( + Document document, + int position, + SimpleFindUsagesContext context, + CancellationToken cancellationToken) + { + // Mapping each reference to its definition + var definitionMap = new Dictionary>(); + foreach (var reference in context.GetReferences()) + { + if (!definitionMap.ContainsKey(reference.Definition)) + { + definitionMap.Add(reference.Definition, new List()); + } + + definitionMap[reference.Definition].Add(reference); + } + + // NOTE: Parts of FAR currently do not display correctly due to a bug in LSP.VSReferenceItem. + // https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1088938/ + using var _ = ArrayBuilder.GetInstance(out var referenceItems); + + // Each reference is assigned its own unique id + var id = 0; + foreach (var (definition, references) in definitionMap) + { + // Creating the reference item that corresponds to the definition. + var definitionItem = await GenerateReferenceItem( + id, definitionId: id, document, position, definition.SourceSpans.FirstOrDefault(), context, definition.DisplayableProperties, + definition.GetClassifiedText(), symbolUsageInfo: null, cancellationToken).ConfigureAwait(false); + + // If we have an empty location, skip this definition and its references. + if (definitionItem.Location == null) + { + continue; + } + + referenceItems.Add(definitionItem); + var definitionId = id; + id++; + + // Creating a reference item for each reference. + foreach (var reference in references) + { + var referenceItem = await GenerateReferenceItem( + id, definitionId, document, position, reference.SourceSpan, context, reference.AdditionalProperties, + definitionText: null, reference.SymbolUsageInfo, cancellationToken).ConfigureAwait(false); + + // If we have an empty location, skip this reference. + if (referenceItem.Location == null) + { + continue; + } + + referenceItems.Add(referenceItem); + id++; + }; + } + + return referenceItems.ToArray(); + + async Task GenerateReferenceItem( + int id, + int? definitionId, + Document originalDocument, + int originalPosition, + DocumentSpan documentSpan, + SimpleFindUsagesContext context, + ImmutableDictionary properties, + ClassifiedTextElement? definitionText, + SymbolUsageInfo? symbolUsageInfo, + CancellationToken cancellationToken) + { + LSP.Location? location = null; + + // If we have no source span, our location may be in metadata. + if (documentSpan == default) + { + var symbol = await SymbolFinder.FindSymbolAtPositionAsync(originalDocument, originalPosition, cancellationToken).ConfigureAwait(false); + if (symbol != null && symbol.Locations != null && !symbol.Locations.IsEmpty && symbol.Locations.First().IsInMetadata) + { + var declarationFile = await _metadataAsSourceFileService.GetGeneratedFileAsync( + originalDocument.Project, symbol, allowDecompilation: false, cancellationToken).ConfigureAwait(false); + + var linePosSpan = declarationFile.IdentifierLocation.GetLineSpan().Span; + location = new LSP.Location + { + Uri = new Uri(declarationFile.FilePath), + Range = ProtocolConversions.LinePositionToRange(linePosSpan), + }; + } + } + else + { + location = await ProtocolConversions.DocumentSpanToLocationAsync(documentSpan, cancellationToken).ConfigureAwait(false); + } + + // TO-DO: The Origin property should be added once Rich-Nav is completed. + // https://github.com/dotnet/roslyn/issues/42847 + var result = new LSP.VSReferenceItem + { + ContainingMember = properties.TryGetValue( + AbstractReferenceFinder.ContainingMemberInfoPropertyName, out var referenceContainingMember) ? referenceContainingMember : null, + ContainingType = properties.TryGetValue( + AbstractReferenceFinder.ContainingTypeInfoPropertyName, out var referenceContainingType) ? referenceContainingType : null, + DefinitionId = definitionId, + DefinitionText = definitionText, // Only definitions should have a non-null DefinitionText + DisplayPath = location?.Uri.LocalPath, + DocumentName = documentSpan == default ? null : documentSpan.Document.Name, + Id = id, + Kind = symbolUsageInfo.HasValue ? ProtocolConversions.SymbolUsageInfoToReferenceKinds(symbolUsageInfo.Value) : new ReferenceKind[] { }, + Location = location, + ProjectName = documentSpan == default ? null : documentSpan.Document.Project.Name, + ResolutionStatus = ResolutionStatusKind.ConfirmedAsReference, + }; + + // Properly assigning the text property. + if (id == definitionId) + { + result.Text = definitionText; + } + else if (documentSpan != default) + { + var classifiedSpansAndHighlightSpan = await ClassifiedSpansAndHighlightSpanFactory.ClassifyAsync( + documentSpan, cancellationToken).ConfigureAwait(false); + var classifiedSpans = classifiedSpansAndHighlightSpan.ClassifiedSpans; + var docText = await documentSpan.Document.GetTextAsync(cancellationToken).ConfigureAwait(false); + + result.Text = new ClassifiedTextElement( + classifiedSpans.Select(cspan => new ClassifiedTextRun(cspan.ClassificationType, docText.ToString(cspan.TextSpan)))); + } + + return result; + } + } + } +} diff --git a/src/Features/LanguageServer/Protocol/Handler/References/FindImplementationsHandler.cs b/src/Features/LanguageServer/Protocol/Handler/References/FindImplementationsHandler.cs index b95babdf3fc33..32b03b9f01f2c 100644 --- a/src/Features/LanguageServer/Protocol/Handler/References/FindImplementationsHandler.cs +++ b/src/Features/LanguageServer/Protocol/Handler/References/FindImplementationsHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable enable + using System; using System.Composition; using System.Linq; @@ -16,7 +18,7 @@ namespace Microsoft.CodeAnalysis.LanguageServer.Handler { [Shared] [ExportLspMethod(LSP.Methods.TextDocumentImplementationName)] - internal class FindImplementationsHandler : IRequestHandler + internal class FindImplementationsHandler : IRequestHandler?> { [ImportingConstructor] [Obsolete(MefConstruction.ImportingConstructorMessage, error: true)] @@ -24,7 +26,7 @@ public FindImplementationsHandler() { } - public async Task HandleRequestAsync(Solution solution, LSP.TextDocumentPositionParams request, + public async Task?> HandleRequestAsync(Solution solution, LSP.TextDocumentPositionParams request, LSP.ClientCapabilities clientCapabilities, CancellationToken cancellationToken) { var locations = ArrayBuilder.GetInstance(); @@ -35,7 +37,7 @@ public async Task HandleRequestAsync(Solution solution, LSP.TextDocument return locations.ToArrayAndFree(); } - var findUsagesService = document.Project.LanguageServices.GetService(); + var findUsagesService = document.Project.LanguageServices.GetRequiredService(); var position = await document.GetPositionFromLinePositionAsync(ProtocolConversions.PositionToLinePosition(request.Position), cancellationToken).ConfigureAwait(false); var context = new SimpleFindUsagesContext(cancellationToken); diff --git a/src/Features/LanguageServer/Protocol/LanguageServerProtocol.cs b/src/Features/LanguageServer/Protocol/LanguageServerProtocol.cs index 97fccfd54c353..b7bddb0b886c3 100644 --- a/src/Features/LanguageServer/Protocol/LanguageServerProtocol.cs +++ b/src/Features/LanguageServer/Protocol/LanguageServerProtocol.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable enable + using System; using System.Collections.Generic; using System.Collections.Immutable; @@ -49,7 +51,7 @@ private Task ExecuteRequestAsync(string Contract.ThrowIfNull(request); Contract.ThrowIfTrue(string.IsNullOrEmpty(methodName), "Invalid method name"); - var handler = (IRequestHandler)_requestHandlers[methodName]?.Value; + var handler = (IRequestHandler?)_requestHandlers[methodName]?.Value; Contract.ThrowIfNull(handler, string.Format("Request handler not found for method {0}", methodName)); return handler.HandleRequestAsync(solution, request, clientCapabilities, cancellationToken); @@ -76,8 +78,8 @@ public Task ExecuteWorkspaceCommandAsync(Solution solution, LSP.ExecuteC /// the client capabilities for the request. /// a cancellation token. /// the location(s) of the implementations of the symbol. - public Task FindImplementationsAsync(Solution solution, LSP.TextDocumentPositionParams request, LSP.ClientCapabilities clientCapabilities, CancellationToken cancellationToken) - => ExecuteRequestAsync(LSP.Methods.TextDocumentImplementationName, solution, request, clientCapabilities, cancellationToken); + public Task?> FindImplementationsAsync(Solution solution, LSP.TextDocumentPositionParams request, LSP.ClientCapabilities clientCapabilities, CancellationToken cancellationToken) + => ExecuteRequestAsync?>(LSP.Methods.TextDocumentImplementationName, solution, request, clientCapabilities, cancellationToken); /// /// Answers a format document request to format the entire document. @@ -124,8 +126,8 @@ public Task FindImplementationsAsync(Solution solution, LSP.TextDocument /// the client capabilities for the request. /// a cancellation token. /// a list of commands representing code actions. - public Task GetCodeActionsAsync(Solution solution, LSP.CodeActionParams request, LSP.ClientCapabilities clientCapabilities, CancellationToken cancellationToken) - => ExecuteRequestAsync(LSP.Methods.TextDocumentCodeActionName, solution, request, clientCapabilities, cancellationToken); + public Task[]> GetCodeActionsAsync(Solution solution, LSP.CodeActionParams request, LSP.ClientCapabilities clientCapabilities, CancellationToken cancellationToken) + => ExecuteRequestAsync[]>(LSP.Methods.TextDocumentCodeActionName, solution, request, clientCapabilities, cancellationToken); /// /// Answers a completion request by returning the valid completions at the location. @@ -136,8 +138,8 @@ public Task GetCodeActionsAsync(Solution solution, LSP.CodeActionParam /// the client capabilities for the request. /// a cancellation token. /// a list of completions. - public Task GetCompletionsAsync(Solution solution, LSP.CompletionParams request, LSP.ClientCapabilities clientCapabilities, CancellationToken cancellationToken) - => ExecuteRequestAsync(LSP.Methods.TextDocumentCompletionName, solution, request, clientCapabilities, cancellationToken); + public Task?> GetCompletionsAsync(Solution solution, LSP.CompletionParams request, LSP.ClientCapabilities clientCapabilities, CancellationToken cancellationToken) + => ExecuteRequestAsync?>(LSP.Methods.TextDocumentCompletionName, solution, request, clientCapabilities, cancellationToken); /// /// Answers a document highlights request by returning the highlights for a given document location. @@ -151,6 +153,18 @@ public Task GetCompletionsAsync(Solution solution, LSP.CompletionParams public Task GetDocumentHighlightAsync(Solution solution, LSP.TextDocumentPositionParams request, LSP.ClientCapabilities clientCapabilities, CancellationToken cancellationToken) => ExecuteRequestAsync(LSP.Methods.TextDocumentDocumentHighlightName, solution, request, clientCapabilities, cancellationToken); + /// + /// Answers a document references request by returning references information associated with the symbol at a given document location. + /// https://microsoft.github.io/language-server-protocol/specification#textDocument_references + /// + /// the solution containing the request document. + /// the references request. + /// the client capabilities for the request. + /// a cancellation token. + /// references information associated with the symbol at the given document location. + public Task GetDocumentReferencesAsync(Solution solution, LSP.ReferenceParams request, LSP.ClientCapabilities clientCapabilities, CancellationToken cancellationToken) + => ExecuteRequestAsync(LSP.Methods.TextDocumentReferencesName, solution, request, clientCapabilities, cancellationToken); + /// /// Answers a document symbols request by returning a list of symbols in the document. /// https://microsoft.github.io/language-server-protocol/specification#textDocument_documentSymbol @@ -180,7 +194,7 @@ public Task GetDocumentSymbolsAsync(Solution solution, LSP.DocumentSym /// https://microsoft.github.io/language-server-protocol/specification#textDocument_hover /// /// the solution containing any documents in the request. - /// the hover requesst. + /// the hover request. /// the client capabilities for the request. /// a cancellation token. /// the Hover using MarkupContent. @@ -220,20 +234,8 @@ public Task GetDocumentSymbolsAsync(Solution solution, LSP.DocumentSym /// the client capabilities for the request. /// a cancellation token. /// the location(s) of a given symbol. - public Task GoToDefinitionAsync(Solution solution, LSP.TextDocumentPositionParams request, LSP.ClientCapabilities clientCapabilities, CancellationToken cancellationToken) - => ExecuteRequestAsync(LSP.Methods.TextDocumentDefinitionName, solution, request, clientCapabilities, cancellationToken); - - /// - /// Answers a rename request by returning the workspace edit for a given symbol. - /// https://microsoft.github.io/language-server-protocol/specification#textDocument_rename - /// - /// the solution containing the request. - /// the document position of the symbol to rename. - /// the client capabilities for the request. - /// a cancellation token. - /// the workspace edits to rename the given symbol - public Task RenameAsync(Solution solution, LSP.RenameParams request, LSP.ClientCapabilities clientCapabilities, CancellationToken cancellationToken) - => ExecuteRequestAsync(LSP.Methods.TextDocumentRenameName, solution, request, clientCapabilities, cancellationToken); + public Task?> GoToDefinitionAsync(Solution solution, LSP.TextDocumentPositionParams request, LSP.ClientCapabilities clientCapabilities, CancellationToken cancellationToken) + => ExecuteRequestAsync?>(LSP.Methods.TextDocumentDefinitionName, solution, request, clientCapabilities, cancellationToken); /// /// Answers a goto type definition request by returning the location of a given type definition. @@ -259,6 +261,18 @@ public Task RenameAsync(Solution solution, LSP.RenameParams reque public Task InitializeAsync(Solution solution, LSP.InitializeParams request, LSP.ClientCapabilities clientCapabilities, CancellationToken cancellationToken) => ExecuteRequestAsync(LSP.Methods.InitializeName, solution, request, clientCapabilities, cancellationToken); + /// + /// Answers a rename request by returning the workspace edit for a given symbol. + /// https://microsoft.github.io/language-server-protocol/specification#textDocument_rename + /// + /// the solution containing the request. + /// the document position of the symbol to rename. + /// the client capabilities for the request. + /// a cancellation token. + /// the workspace edits to rename the given symbol + public Task RenameAsync(Solution solution, LSP.RenameParams request, LSP.ClientCapabilities clientCapabilities, CancellationToken cancellationToken) + => ExecuteRequestAsync(LSP.Methods.TextDocumentRenameName, solution, request, clientCapabilities, cancellationToken); + /// /// Answers a request to resolve a completion item. /// https://microsoft.github.io/language-server-protocol/specification#completionItem_resolve diff --git a/src/Features/LanguageServer/ProtocolUnitTests/Completion/CompletionTests.cs b/src/Features/LanguageServer/ProtocolUnitTests/Completion/CompletionTests.cs index 00bd16665e3ce..93c0762a0a748 100644 --- a/src/Features/LanguageServer/ProtocolUnitTests/Completion/CompletionTests.cs +++ b/src/Features/LanguageServer/ProtocolUnitTests/Completion/CompletionTests.cs @@ -29,8 +29,9 @@ void M() var expected = CreateCompletionItem("A", LSP.CompletionItemKind.Class, new string[] { "Class", "Internal" }, CreateCompletionParams(locations["caret"].Single())); var clientCapabilities = new LSP.VSClientCapabilities { SupportsVisualStudioExtensions = true }; - var results = (LSP.CompletionItem[])await RunGetCompletionsAsync(workspace.CurrentSolution, locations["caret"].Single(), clientCapabilities); - AssertJsonEquals(expected, results.First()); + var results = await RunGetCompletionsAsync(workspace.CurrentSolution, locations["caret"].Single(), clientCapabilities).ConfigureAwait(false); + var completionItems = (LSP.CompletionItem[])results.Value; + AssertJsonEquals(expected, completionItems.First()); } [Fact] @@ -60,7 +61,7 @@ void M() Assert.False(results.Any(item => "Console" == item.Label)); } - private static async Task RunGetCompletionsAsync(Solution solution, LSP.Location caret, LSP.ClientCapabilities clientCapabilities = null) + private static async Task?> RunGetCompletionsAsync(Solution solution, LSP.Location caret, LSP.ClientCapabilities clientCapabilities = null) => await GetLanguageServer(solution).GetCompletionsAsync(solution, CreateCompletionParams(caret), clientCapabilities, CancellationToken.None); } } diff --git a/src/Features/LanguageServer/ProtocolUnitTests/References/FindAllReferencesHandlerTests.cs b/src/Features/LanguageServer/ProtocolUnitTests/References/FindAllReferencesHandlerTests.cs new file mode 100644 index 0000000000000..c483d57b8d32d --- /dev/null +++ b/src/Features/LanguageServer/ProtocolUnitTests/References/FindAllReferencesHandlerTests.cs @@ -0,0 +1,154 @@ +// 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.Linq; +using System.Threading; +using System.Threading.Tasks; +using Roslyn.Test.Utilities; +using Xunit; +using LSP = Microsoft.VisualStudio.LanguageServer.Protocol; + +namespace Microsoft.CodeAnalysis.LanguageServer.UnitTests.References +{ + public class FindAllReferencesHandlerTests : AbstractLanguageServerProtocolTests + { + [WpfFact(Skip = "https://github.com/dotnet/roslyn/issues/43063")] + public async Task TestFindAllReferencesAsync() + { + var markup = +@"class A +{ + public int {|reference:someInt|} = 1; + void M() + { + var i = {|reference:someInt|} + 1; + } +} +class B +{ + int someInt = A.{|reference:someInt|} + 1; + void M2() + { + var j = someInt + A.{|caret:|}{|reference:someInt|}; + } +}"; + using var workspace = CreateTestWorkspace(markup, out var locations); + + var results = await RunFindAllReferencesAsync(workspace.CurrentSolution, locations["caret"].First()); + AssertLocationsEqual(locations["reference"], results.Select(result => result.Location)); + + Assert.Equal("A", results[0].ContainingType); + Assert.Equal("B", results[2].ContainingType); + Assert.Equal("M", results[1].ContainingMember); + Assert.Equal("M2", results[3].ContainingMember); + + AssertValidDefinitionProperties(results, 0); + } + + [WpfFact(Skip = "https://github.com/dotnet/roslyn/issues/43063")] + public async Task TestFindAllReferencesAsync_MultipleDocuments() + { + var markups = new string[] { +@"class A +{ + public int {|reference:someInt|} = 1; + void M() + { + var i = {|reference:someInt|} + 1; + } +}", +@"class B +{ + int someInt = A.{|reference:someInt|} + 1; + void M2() + { + var j = someInt + A.{|caret:|}{|reference:someInt|}; + } +}" + }; + + using var workspace = CreateTestWorkspace(markups, out var locations); + + var results = await RunFindAllReferencesAsync(workspace.CurrentSolution, locations["caret"].First()); + AssertLocationsEqual(locations["reference"], results.Select(result => result.Location)); + + Assert.Equal("A", results[0].ContainingType); + Assert.Equal("B", results[2].ContainingType); + Assert.Equal("M", results[1].ContainingMember); + Assert.Equal("M2", results[3].ContainingMember); + + AssertValidDefinitionProperties(results, 0); + } + + [WpfFact] + public async Task TestFindAllReferencesAsync_InvalidLocation() + { + var markup = +@"class A +{ + {|caret:|} +}"; + using var workspace = CreateTestWorkspace(markup, out var locations); + + var results = await RunFindAllReferencesAsync(workspace.CurrentSolution, locations["caret"].First()); + Assert.Empty(results); + } + + [WpfFact(Skip = "https://github.com/dotnet/roslyn/issues/43063")] + public async Task TestFindAllReferencesMetadataDefinitionAsync() + { + var markup = +@"using System; + +class A +{ + void M() + { + Console.{|caret:|}{|reference:WriteLine|}(""text""); + } +}"; + using var workspace = CreateTestWorkspace(markup, out var locations); + + var results = await RunFindAllReferencesAsync(workspace.CurrentSolution, locations["caret"].First()); + Assert.NotNull(results[0].Location.Uri); + } + + private static LSP.ReferenceParams CreateReferenceParams(LSP.Location caret) => + new LSP.ReferenceParams() + { + TextDocument = CreateTextDocumentIdentifier(caret.Uri), + Position = caret.Range.Start, + Context = new LSP.ReferenceContext(), + }; + + private static async Task RunFindAllReferencesAsync(Solution solution, LSP.Location caret) + { + var vsClientCapabilities = new LSP.VSClientCapabilities + { + SupportsVisualStudioExtensions = true + }; + + return await GetLanguageServer(solution).GetDocumentReferencesAsync(solution, CreateReferenceParams(caret), vsClientCapabilities, CancellationToken.None); + } + + private static void AssertValidDefinitionProperties(LSP.ReferenceItem[] referenceItems, int definitionIndex) + { + var definition = referenceItems[definitionIndex]; + var definitionId = definition.DefinitionId; + Assert.NotNull(definition.DefinitionText); + + for (var i = 0; i < referenceItems.Length; i++) + { + if (i == definitionIndex) + { + continue; + } + + Assert.Null(referenceItems[i].DefinitionText); + Assert.Equal(definitionId, referenceItems[i].DefinitionId); + Assert.NotEqual(definitionId, referenceItems[i].Id); + } + } + } +} diff --git a/src/Setup/DevDivInsertionFiles/DevDivInsertionFiles.csproj b/src/Setup/DevDivInsertionFiles/DevDivInsertionFiles.csproj index 26cf61bea6cb4..039785afc1e41 100644 --- a/src/Setup/DevDivInsertionFiles/DevDivInsertionFiles.csproj +++ b/src/Setup/DevDivInsertionFiles/DevDivInsertionFiles.csproj @@ -105,6 +105,9 @@ <_Dependency Remove="@(_Dependency)" Condition="$([MSBuild]::ValueOrDefault('%(Identity)', '').StartsWith('Microsoft.Internal.VisualStudio.'))"/> <_Dependency Remove="EnvDTE"/> <_Dependency Remove="EnvDTE80"/> + <_Dependency Remove="MessagePack"/> + <_Dependency Remove="MessagePack.Annotations"/> + <_Dependency Remove="Microsoft.Bcl.AsyncInterfaces"/> <_Dependency Remove="Microsoft.Build"/> <_Dependency Remove="Microsoft.Build.Framework"/> <_Dependency Remove="Microsoft.MSXML"/> diff --git a/src/Tools/BuildBoss/CompilerNuGetCheckerUtil.cs b/src/Tools/BuildBoss/CompilerNuGetCheckerUtil.cs index 146d4211d345b..29c4b1f6c1ce4 100644 --- a/src/Tools/BuildBoss/CompilerNuGetCheckerUtil.cs +++ b/src/Tools/BuildBoss/CompilerNuGetCheckerUtil.cs @@ -27,7 +27,7 @@ namespace BuildBoss /// - There is no project which is guaranteed to have a superset of dependencies /// - There is no syntax for using the union of DLLs in a NuSpec file /// - /// The least crazy solution that could be decided on was to manage the list of dependencies + /// The most straightforward solution that could be decided on was to manage the list of dependencies /// by hand in the NuSpec file and then rigorously verify the solution here. /// internal sealed class PackageContentsChecker : ICheckerUtil diff --git a/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.cs.xlf b/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.cs.xlf index b022e42a92d16..c513c89aa3d74 100644 --- a/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.cs.xlf +++ b/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.cs.xlf @@ -9,7 +9,7 @@ Automatically show completion list in argument lists (experimental) - Automatically show completion list in argument lists (experimental) + Automaticky zobrazovat seznam dokončení v seznamech argumentů (experimentální) @@ -94,7 +94,7 @@ Show remarks in Quick Info - Show remarks in Quick Info + Zobrazit poznámky v Rychlých informacích diff --git a/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.de.xlf b/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.de.xlf index ecda2faafaebd..5888e74697b07 100644 --- a/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.de.xlf +++ b/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.de.xlf @@ -9,7 +9,7 @@ Automatically show completion list in argument lists (experimental) - Automatically show completion list in argument lists (experimental) + Vervollständigungsliste in Argumentlisten automatisch anzeigen (experimentell) @@ -94,7 +94,7 @@ Show remarks in Quick Info - Show remarks in Quick Info + Hinweise in QuickInfo anzeigen diff --git a/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.es.xlf b/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.es.xlf index 72d77e2a7f332..7583eade07989 100644 --- a/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.es.xlf +++ b/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.es.xlf @@ -9,7 +9,7 @@ Automatically show completion list in argument lists (experimental) - Automatically show completion list in argument lists (experimental) + Mostrar automáticamente la lista de finalización en las listas de argumentos (experimental) @@ -94,7 +94,7 @@ Show remarks in Quick Info - Show remarks in Quick Info + Mostrar comentarios en Información rápida diff --git a/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.fr.xlf b/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.fr.xlf index ecdf82b4a90f1..8af50bdea7d1a 100644 --- a/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.fr.xlf +++ b/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.fr.xlf @@ -9,7 +9,7 @@ Automatically show completion list in argument lists (experimental) - Automatically show completion list in argument lists (experimental) + Afficher automatiquement la liste de complétion dans les listes d'arguments (expérimental) @@ -94,7 +94,7 @@ Show remarks in Quick Info - Show remarks in Quick Info + Afficher les notes dans Info express diff --git a/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.it.xlf b/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.it.xlf index ec52822585597..939a6383f3213 100644 --- a/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.it.xlf +++ b/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.it.xlf @@ -9,7 +9,7 @@ Automatically show completion list in argument lists (experimental) - Automatically show completion list in argument lists (experimental) + Mostra automaticamente l'elenco di completamento negli elenchi di argomenti (sperimentale) @@ -94,7 +94,7 @@ Show remarks in Quick Info - Show remarks in Quick Info + Mostra i commenti in Informazioni rapide diff --git a/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.ja.xlf b/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.ja.xlf index c88087c164b5d..48e31f752c1a0 100644 --- a/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.ja.xlf +++ b/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.ja.xlf @@ -9,7 +9,7 @@ Automatically show completion list in argument lists (experimental) - Automatically show completion list in argument lists (experimental) + 入力候補一覧を引数リストに自動的に表示する (試験段階) @@ -94,7 +94,7 @@ Show remarks in Quick Info - Show remarks in Quick Info + クイック ヒントに注釈を表示する diff --git a/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.ko.xlf b/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.ko.xlf index 61ae4af842fca..282e97b4a9773 100644 --- a/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.ko.xlf +++ b/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.ko.xlf @@ -9,7 +9,7 @@ Automatically show completion list in argument lists (experimental) - Automatically show completion list in argument lists (experimental) + 인수 목록에 자동으로 완성 목록 표시(실험적) @@ -94,7 +94,7 @@ Show remarks in Quick Info - Show remarks in Quick Info + 요약 정보에 설명 표시 diff --git a/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.pl.xlf b/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.pl.xlf index 78bf779a64f02..e66c49faf8943 100644 --- a/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.pl.xlf +++ b/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.pl.xlf @@ -9,7 +9,7 @@ Automatically show completion list in argument lists (experimental) - Automatically show completion list in argument lists (experimental) + Automatycznie pokaż listę uzupełniania na listach argumentów (eksperymentalne) @@ -94,7 +94,7 @@ Show remarks in Quick Info - Show remarks in Quick Info + Pokaż uwagi w szybkich podpowiedziach diff --git a/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.pt-BR.xlf b/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.pt-BR.xlf index 357f6d919fee2..9f050e656607d 100644 --- a/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.pt-BR.xlf +++ b/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.pt-BR.xlf @@ -9,7 +9,7 @@ Automatically show completion list in argument lists (experimental) - Automatically show completion list in argument lists (experimental) + Mostrar automaticamente a lista de conclusão nas listas de argumentos (experimental) @@ -94,7 +94,7 @@ Show remarks in Quick Info - Show remarks in Quick Info + Mostrar os comentários nas Informações Rápidas diff --git a/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.ru.xlf b/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.ru.xlf index 892bf6fb4797e..2a6876d084ef1 100644 --- a/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.ru.xlf +++ b/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.ru.xlf @@ -9,7 +9,7 @@ Automatically show completion list in argument lists (experimental) - Automatically show completion list in argument lists (experimental) + Автоматически показывать список завершения в списках аргументов (экспериментальная функция) @@ -94,7 +94,7 @@ Show remarks in Quick Info - Show remarks in Quick Info + Показать заметки в кратких сведениях diff --git a/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.tr.xlf b/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.tr.xlf index 0090189c0df61..f2db647ad4d35 100644 --- a/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.tr.xlf +++ b/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.tr.xlf @@ -9,7 +9,7 @@ Automatically show completion list in argument lists (experimental) - Automatically show completion list in argument lists (experimental) + Bağımsız değişken listelerinde tamamlama listesini otomatik olarak göster (deneysel) @@ -94,7 +94,7 @@ Show remarks in Quick Info - Show remarks in Quick Info + Hızlı Bilgi notlarını göster diff --git a/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.zh-Hans.xlf b/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.zh-Hans.xlf index f59748cd674f6..8c231ab850e2f 100644 --- a/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.zh-Hans.xlf +++ b/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.zh-Hans.xlf @@ -9,7 +9,7 @@ Automatically show completion list in argument lists (experimental) - Automatically show completion list in argument lists (experimental) + 自动显示参数列表中的完成列表(实验性) @@ -94,7 +94,7 @@ Show remarks in Quick Info - Show remarks in Quick Info + 在快速信息中显示备注 diff --git a/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.zh-Hant.xlf b/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.zh-Hant.xlf index fcd43c822a1fb..edb2e8dda6108 100644 --- a/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.zh-Hant.xlf +++ b/src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.zh-Hant.xlf @@ -9,7 +9,7 @@ Automatically show completion list in argument lists (experimental) - Automatically show completion list in argument lists (experimental) + 自動在引數清單中顯示自動完成清單 (實驗性) @@ -94,7 +94,7 @@ Show remarks in Quick Info - Show remarks in Quick Info + 在快速諮詢中顯示備註 diff --git a/src/VisualStudio/CSharp/Impl/xlf/VSPackage.cs.xlf b/src/VisualStudio/CSharp/Impl/xlf/VSPackage.cs.xlf index b327f03e4af3e..fe6b63534663c 100644 --- a/src/VisualStudio/CSharp/Impl/xlf/VSPackage.cs.xlf +++ b/src/VisualStudio/CSharp/Impl/xlf/VSPackage.cs.xlf @@ -80,7 +80,7 @@ regex; regular expression; Use enhanced colors; Editor Color Scheme; - Zobrazit diagnostiku pro zavřené soubory; + Zobrazit diagnostiku pro zavřené soubory; Vybarvit regulární výraz; Zvýrazňovat související komponenty pod kurzorem; Nahlásit neplatné regulární výrazy; @@ -125,7 +125,8 @@ preferovat vyvolávací vlastnosti; preferovat automatické vlastnosti; reg. výr.; regulární výraz; -Používat rozšířené barvy; +Používat rozšířené barvy; +Barevné schéma editoru; C# Advanced options page keywords diff --git a/src/VisualStudio/CSharp/Impl/xlf/VSPackage.de.xlf b/src/VisualStudio/CSharp/Impl/xlf/VSPackage.de.xlf index 85a8dc05f5764..469248fdec7f2 100644 --- a/src/VisualStudio/CSharp/Impl/xlf/VSPackage.de.xlf +++ b/src/VisualStudio/CSharp/Impl/xlf/VSPackage.de.xlf @@ -80,18 +80,18 @@ regex; regular expression; Use enhanced colors; Editor Color Scheme; - Diagnoseinformationen für geschlossene Dateien anzeigen; + Diagnoseinformationen für geschlossene Dateien anzeigen; Reguläre Ausdrücke farbig hervorheben; Zugehörige Komponenten unter dem Cursor markieren; Ungültige reguläre Ausdrücke melden; Vollständige Lösungsanalyse aktivieren; Editor-Funktionsanalyse in externem Prozess ausführen ; Navigation zu dekompilierten Quellen aktivieren; -Using-Anweisungen; -Systemanweisungen beim Sortieren von Using-Anweisungen an erster Stelle platzieren; -Using-Anweisungsgruppen trennen; -Using-Anweisungen für Typen in Verweisassemblys vorschlagen; -Using-Anweisungen für Typen in NuGet-Paketen vorschlagen; +using-Direktiven; +Systemanweisungen beim Sortieren von using-Direktiven an erster Stelle platzieren; +Gruppen von using-Direktiven trennen; +using-Direktiven für Typen in Verweisassemblys vorschlagen; +using-Direktiven für Typen in NuGet-Paketen vorschlagen; Hervorhebung; Verweise auf Symbol unter Cursor hervorheben; Verwandte Schlüsselbegriffe unter Cursor anzeigen; @@ -103,7 +103,7 @@ Gliederung für Konstrukte auf Codeebene anzeigen; Gliederung für Kommentare und Präprozessorregionen anzeigen; #regions beim Reduzieren auf Definitionen zuklappen; Ausblenden; -Nicht verwendete Using-Anweisungen ausblenden; +Nicht verwendete using-Direktiven ausblenden; Unerreichbaren Code ausblenden; Führungslinien für Blockstruktur; Führungslinien für Konstrukte auf Deklarationsebene anzeigen; @@ -125,7 +125,8 @@ ausgelöste Eigenschaften bevorzugen; automatische Eigenschaften bevorzugen; regex; regulärer Ausdruck; -Erweiterte Farben verwenden; +Erweiterte Farben verwenden; +Editor-Farbschema; C# Advanced options page keywords diff --git a/src/VisualStudio/CSharp/Impl/xlf/VSPackage.es.xlf b/src/VisualStudio/CSharp/Impl/xlf/VSPackage.es.xlf index 90d53a8d97916..2f506a240d994 100644 --- a/src/VisualStudio/CSharp/Impl/xlf/VSPackage.es.xlf +++ b/src/VisualStudio/CSharp/Impl/xlf/VSPackage.es.xlf @@ -80,7 +80,7 @@ regex; regular expression; Use enhanced colors; Editor Color Scheme; - Mostrar diagnóstico para archivos cerrados; + Mostrar diagnóstico para archivos cerrados; Colorear expresión regular; Resaltar componentes relacionados bajo el cursor; Informar sobre expresiones regulares no válidas; @@ -125,7 +125,8 @@ preferir propiedades de lanzamiento; preferir propiedades automáticas; regex; expresión regular; -Usar colores mejorados; +Usar colores mejorados; +Combinación de colores del editor; C# Advanced options page keywords diff --git a/src/VisualStudio/CSharp/Impl/xlf/VSPackage.fr.xlf b/src/VisualStudio/CSharp/Impl/xlf/VSPackage.fr.xlf index 5b20179f149cb..9ee64bb8e95e0 100644 --- a/src/VisualStudio/CSharp/Impl/xlf/VSPackage.fr.xlf +++ b/src/VisualStudio/CSharp/Impl/xlf/VSPackage.fr.xlf @@ -80,7 +80,7 @@ regex; regular expression; Use enhanced colors; Editor Color Scheme; - Afficher les diagnostics pour les fichiers fermés ; + Afficher les diagnostics pour les fichiers fermés ; Coloriser l'expression régulière ; Surligner les composants liés sous le curseur ; Signaler les expressions régulières non valides ; @@ -125,7 +125,8 @@ préférer les propriétés de levée d'exceptions ; préférer les propriétés automatiques ; regex ; expression régulière ; -Utiliser des couleurs améliorées ; +Utiliser des couleurs améliorées ; +Modèle de couleurs de l'éditeur ; C# Advanced options page keywords diff --git a/src/VisualStudio/CSharp/Impl/xlf/VSPackage.it.xlf b/src/VisualStudio/CSharp/Impl/xlf/VSPackage.it.xlf index 560512368a295..0f92f15befb7b 100644 --- a/src/VisualStudio/CSharp/Impl/xlf/VSPackage.it.xlf +++ b/src/VisualStudio/CSharp/Impl/xlf/VSPackage.it.xlf @@ -80,9 +80,9 @@ regex; regular expression; Use enhanced colors; Editor Color Scheme; - Mostra diagnostica per file chiusi; + Mostra diagnostica per file chiusi; Colora espressione regolare; -Evidenzia componenti correlati sotto il cursore; +Evidenzia i componenti correlati sotto il cursore; Segnala espressioni regolari non valide; Abilita analisi della soluzione completa; Esegui analisi delle funzionalità dell'editor in processo esterno; @@ -111,21 +111,22 @@ Mostra le guide per i costrutti a livello di codice; Guida Editor; Genera commenti relativi alla documentazione XML per ///; Inserisci * all'inizio di nuove righe quando si scrivono commenti /* */; -Mostra anteprima per verifica ridenominazione, +Mostra anteprima per verifica ridenominazione; Dividi valori letterali stringa dopo INVIO; -Segnala segnaposto non validi in chiamate string.Format; +Segnala segnaposto non validi in chiamate String.Format; Estrai metodo; -Non inserire ref o out in struct personalizzato; +Non inserire out o ref in struct personalizzato; Implementa interfaccia o classe astratta; Posiziona proprietà, eventi e metodi inseriti; con altri membri dello stesso tipo; -al termine; +alla fine; Durante la generazione della proprietà; preferisci proprietà generate; preferisci proprietà automatiche; regex; espressione regolare; -Usa colori migliorati; +Usa colori migliorati; +Combinazione colori editor; C# Advanced options page keywords diff --git a/src/VisualStudio/CSharp/Impl/xlf/VSPackage.ja.xlf b/src/VisualStudio/CSharp/Impl/xlf/VSPackage.ja.xlf index c5c6cab4dda90..827e96dca63cd 100644 --- a/src/VisualStudio/CSharp/Impl/xlf/VSPackage.ja.xlf +++ b/src/VisualStudio/CSharp/Impl/xlf/VSPackage.ja.xlf @@ -80,7 +80,7 @@ regex; regular expression; Use enhanced colors; Editor Color Scheme; - 閉じているファイルの診断結果を表示する; + 閉じているファイルの診断結果を表示する; 正規表現をカラー化する; カーソルの下にある関連コンポーネントをハイライトする; 無効な正規表現を報告する; @@ -94,7 +94,7 @@ using を並べ替える際に、system ディレクティブを先頭に配置 NuGet パッケージの型に using を提案する; 強調表示; カーソルの下にあるシンボルへの参照をハイライトする; -カーソルの下にあるキーワードの関連キーワードをハイライトする; +カーソルの下にある関連キーワードをハイライトする; アウトライン; ファイルを開くときにアウトライン モードに入る; プロシージャ行の区切り記号を表示する; @@ -125,7 +125,8 @@ string.Format の呼び出しで無効なプレースホルダーをレポート 自動プロパティを優先する; 正規表現; 正規表現; -拡張された色を使用する; +拡張された色を使用する; +エディターの配色; C# Advanced options page keywords diff --git a/src/VisualStudio/CSharp/Impl/xlf/VSPackage.ko.xlf b/src/VisualStudio/CSharp/Impl/xlf/VSPackage.ko.xlf index 42974b87d3f74..41b63a9bd3e34 100644 --- a/src/VisualStudio/CSharp/Impl/xlf/VSPackage.ko.xlf +++ b/src/VisualStudio/CSharp/Impl/xlf/VSPackage.ko.xlf @@ -80,28 +80,28 @@ regex; regular expression; Use enhanced colors; Editor Color Scheme; - 닫힌 파일에 대한 진단 표시; + 닫힌 파일에 대한 진단 표시; 정규식 색 지정; 커서 아래의 관련 구성 요소 강조; 잘못된 정규식 보고; 전체 솔루션 분석 사용; 외부 프로세스에서 편집기 기능 분석 수행; -디컴파일된 소스에 탐색을 사용하도록 설정; +디컴파일된 소스 탐색 사용; Using 지시문; using 정렬 시 system 지시문 먼저 배치; using 지시문 그룹 구분; -참조 어셈블리의 형식에 using 제안; -NuGet 패키지의 형식에 using 제안; +참조 어셈블리의 형식에 대해 using 제안; +NuGet 패키지의 형식에 대해 using 제안; 강조 표시; 커서 아래의 기호에 대한 참조 강조; 커서 아래의 관련 키워드 강조; 개요; 개요 모드로 파일 열기; 프로시저 줄 구분 기호 표시; -선언 수준 구문에 대한 개요 표시; -코드 수준 구문에 대한 개요 표시; -주석 및 전처리기 영역에 대한 개요 표시; -정의로 축소 시 영역 축소; +선언 수준 구문의 개요 표시; +코드 수준 구문의 개요 표시; +주석 및 전처리기 영역의 개요 표시; +정의로 접을 때 영역 접기; 페이딩; 사용하지 않는 using 페이드 아웃; 접근할 수 없는 코드 페이드 아웃; @@ -111,11 +111,11 @@ NuGet 패키지의 형식에 using 제안; 편집기 도움말; ///에 대해 XML 문서 주석 생성; /* */ 주석을 작성할 때 새 줄의 시작 부분에 * 삽입; -이름 바꾸기 추적 미리 보기 표시; -<Enter> 키를 누르면 문자열 리터럴 분할; +이름 바꾸기 추적용 미리 보기 표시; +&lt;Enter&gt; 키를 누르면 문자열 리터럴 분할; string.Format 호출에서 잘못된 자리 표시자 보고; 메서드 추출; -사용자 지정 구조체에 ref 또는 out 추가 안 함; +사용자 지정 구조체에 ref 또는 out 배치 안 함; 인터페이스 또는 추상 클래스 구현; 속성, 이벤트 및 메서드 삽입 시; 동일한 종류의 다른 멤버와 함께; @@ -125,7 +125,8 @@ throw되는 속성 선호; 자동 속성 선호; regex; 정규식; -향상된 색 사용; +향상된 색 사용; +편집기 색 구성표; C# Advanced options page keywords diff --git a/src/VisualStudio/CSharp/Impl/xlf/VSPackage.pl.xlf b/src/VisualStudio/CSharp/Impl/xlf/VSPackage.pl.xlf index a7c81d4eebb19..3dd0d5abbce58 100644 --- a/src/VisualStudio/CSharp/Impl/xlf/VSPackage.pl.xlf +++ b/src/VisualStudio/CSharp/Impl/xlf/VSPackage.pl.xlf @@ -80,7 +80,7 @@ regex; regular expression; Use enhanced colors; Editor Color Scheme; - Pokaż dane diagnostyczne dla zamkniętych plików; + Pokaż dane diagnostyczne dla zamkniętych plików; Koloruj wyrażenia regularne; Wyróżnij powiązane składniki pod kursorem; Raportuj nieprawidłowe wyrażenia regularne; @@ -125,7 +125,8 @@ preferuj właściwości przerzucane; preferuj właściwości automatyczne; wyrażenie regularne; wyrażenie regularne; -Użyj ulepszonych kolorów; +Użyj ulepszonych kolorów; +Schemat kolorów edytora; C# Advanced options page keywords diff --git a/src/VisualStudio/CSharp/Impl/xlf/VSPackage.pt-BR.xlf b/src/VisualStudio/CSharp/Impl/xlf/VSPackage.pt-BR.xlf index 86ac59df5abe7..5483bb65f4269 100644 --- a/src/VisualStudio/CSharp/Impl/xlf/VSPackage.pt-BR.xlf +++ b/src/VisualStudio/CSharp/Impl/xlf/VSPackage.pt-BR.xlf @@ -80,7 +80,7 @@ regex; regular expression; Use enhanced colors; Editor Color Scheme; - Mostrar diagnósticos de arquivos fechados; + Mostrar diagnósticos de arquivos fechados; Colorir a expressão regular; Realçar os componentes relacionados sob o cursor; Relatar expressões regulares inválidas; @@ -88,11 +88,11 @@ Habilitar a análise completa da solução; Executar análise de recurso do editor em processo externo; Habilitar a navegação para fontes decompiladas; Diretivas using; -Colocar as diretivas do sistema primeiro ao classificar usings; -Separar grupos de diretiva using; -Sugerir usings para tipos em assemblies de referência; -Sugerir usings para tipos em pacotes NuGet; -Realce; +Colocar as diretivas do sistema primeiro ao classificar usos; +Separar grupos de diretiva de uso; +Sugerir usos para tipos em assemblies de referência; +Sugerir usos para tipos em pacotes NuGet; +Realçar; Realçar as referências a símbolo sob o cursor; Realçar as palavras-chave relacionadas sob o cursor; Estrutura de tópicos; @@ -102,8 +102,8 @@ Mostrar estrutura de tópicos para constructos de nível de declaração; Mostrar estrutura de tópicos para constructos de nível de código; Mostrar estrutura de tópicos para comentários e regiões de pré-processador; Recolher regiões ao recolher definições; -Esmaecendo; -Esmaecer usings não usadas; +Esmaecimento; +Esmaecer usos não usados; Esmaecer código inacessível; Bloquear Guias de Estrutura; Mostrar guias para constructos de nível de declaração; @@ -111,12 +111,12 @@ Mostrar guias de constructos de nível de código; Ajuda do Editor; Gerar comentários da documentação XML para ///; Inserir * no início de novas linhas ao escrever /* */ comentários; -Mostrar visualização para acompanhamento de renomeação; +Mostrar versão prévia para acompanhamento de renomeação; Dividir literais de cadeia de caracteres ao pressionar Enter; Relatar espaços reservados inválidos nas chamadas a string.Format; Extrair Método; -Não colocar ref ou out na estrutura personalizada; -Implementar a Classe Interface ou Abstrata; +Não colocar ref ou out no struct personalizado; +Implementar a Classe de Interface ou Abstrata; Ao inserir propriedades, eventos e métodos, colocá-los; com outros membros do mesmo tipo; no fim; @@ -125,7 +125,8 @@ preferir propriedades de lançamento; preferir propriedades automáticas; regex; expressão regular; -Usar cores avançadas; +Usar cores avançadas; +Esquema de Cores do Editor; C# Advanced options page keywords diff --git a/src/VisualStudio/CSharp/Impl/xlf/VSPackage.ru.xlf b/src/VisualStudio/CSharp/Impl/xlf/VSPackage.ru.xlf index 823660fb50cf6..521b7d34c7c29 100644 --- a/src/VisualStudio/CSharp/Impl/xlf/VSPackage.ru.xlf +++ b/src/VisualStudio/CSharp/Impl/xlf/VSPackage.ru.xlf @@ -80,11 +80,11 @@ regex; regular expression; Use enhanced colors; Editor Color Scheme; - показывать диагностику для закрытых файлов; + Показывать диагностику для закрытых файлов; выделить регулярные выражения цветом; выделить связанные компоненты под курсором; сообщать о недопустимых регулярных выражениях; - включить полный анализ решения; +включить полный анализ решения; выполнить анализ функций редактора во внешнем процессе; включить переход к декомпилированным источникам; директивы using; @@ -125,7 +125,8 @@ Editor Color Scheme; предпочитать автосвойства; регулярное выражение; регулярное выражение; -использовать расширенные цвета; +использовать расширенные цвета; +цветовая схема редактора; C# Advanced options page keywords diff --git a/src/VisualStudio/CSharp/Impl/xlf/VSPackage.tr.xlf b/src/VisualStudio/CSharp/Impl/xlf/VSPackage.tr.xlf index 132e8c3ce1b8e..475b5a7a68f85 100644 --- a/src/VisualStudio/CSharp/Impl/xlf/VSPackage.tr.xlf +++ b/src/VisualStudio/CSharp/Impl/xlf/VSPackage.tr.xlf @@ -80,7 +80,7 @@ regex; regular expression; Use enhanced colors; Editor Color Scheme; - Kapatılan dosyalara ilişkin tanılamaları göster; + Kapatılan dosyalara ilişkin tanılamaları göster; Normal ifadeyi renklendir; İmlecin altında ilgili bileşenleri vurgula; Geçersiz normal ifadeleri bildir; @@ -88,7 +88,7 @@ Tam çözüm analizini etkinleştir; Dış işlemde düzenleyici özellik analizi gerçekleştir; Kaynak koda dönüştürülen kaynaklar için gezintiyi etkinleştir; Using yönergeleri; -using deyimlerini sıralarken sistem yönergelerini ilk sıraya yerleştir; +using yönergelerini sıralarken sistem yönergelerini ilk sıraya yerleştir; using yönerge gruplarını ayır; Başvuru bütünleştirilmiş kodlarında türler için using öner; NuGet paketlerinde türler için using öner; @@ -125,7 +125,8 @@ oluşturma özelliklerini tercih et; otomatik özellikleri tercih et; normal ifade; normal ifade; -Gelişmiş renkleri kullan; +Gelişmiş renkleri kullan; +Düzenleyici Renk Düzeni; C# Advanced options page keywords diff --git a/src/VisualStudio/CSharp/Impl/xlf/VSPackage.zh-Hans.xlf b/src/VisualStudio/CSharp/Impl/xlf/VSPackage.zh-Hans.xlf index 6a8319a6699b1..96fd64f049272 100644 --- a/src/VisualStudio/CSharp/Impl/xlf/VSPackage.zh-Hans.xlf +++ b/src/VisualStudio/CSharp/Impl/xlf/VSPackage.zh-Hans.xlf @@ -80,7 +80,7 @@ regex; regular expression; Use enhanced colors; Editor Color Scheme; - 显示已关闭文件的诊断信息; + 显示已关闭文件的诊断信息; 对正则表达式着色; 突出显示游标下的相关组件; 报告无效的正则表达式; @@ -112,7 +112,7 @@ Using 指令; 为 /// 生成 XML 文档注释; 在写入 /* */ 注释时在新行开头插入 *; 显示重命名跟踪的预览; -在按 Enter 时拆分字符串字面量; +在按 Enter 时拆分字符串文本; 报告 string.Format 调用中的无效占位符; 提取方法; 不要在自定义结构上放置 ref 或 out; @@ -123,9 +123,10 @@ Using 指令; 在生成属性时; 首选引发属性; 首选自动属性; -regex; +regex; 正则表达式; -使用增强色; +使用增强色; +编辑器配色方案; C# Advanced options page keywords diff --git a/src/VisualStudio/CSharp/Impl/xlf/VSPackage.zh-Hant.xlf b/src/VisualStudio/CSharp/Impl/xlf/VSPackage.zh-Hant.xlf index 1726e32989792..4e92e29851217 100644 --- a/src/VisualStudio/CSharp/Impl/xlf/VSPackage.zh-Hant.xlf +++ b/src/VisualStudio/CSharp/Impl/xlf/VSPackage.zh-Hant.xlf @@ -80,14 +80,14 @@ regex; regular expression; Use enhanced colors; Editor Color Scheme; - 顯示已關閉檔案的診斷; + 顯示已關閉檔案的診斷; 為規則運算式標示色彩; 醒目提示游標下的相關元件; 回報無效的規則運算式; 啟用完整解決方案分析; 在外部處理序中執行編輯器功能分析; -允許瀏覽到反向組譯的來源; -Using 指示詞; +啟用瀏覽至反向組譯的來源; +using 指示詞; 排序 using 時先放置系統指示詞; 分隔 using 指示詞群組; 為參考組件中的類型建議 using; @@ -118,14 +118,15 @@ Using 指示詞; 不要在自訂結構上放置 ref 或 out; 實作介面或抽象類別; 在插入屬性、事件和方法時,予以放置; -並隨同其他同種類的成員; +隨同其他同種類的成員; 在結尾; 在產生屬性時; 建議使用擲回屬性; 建議使用自動屬性; regex; 規則運算式; -使用增強色彩; +使用進階色彩; +編輯器色彩配置; C# Advanced options page keywords diff --git a/src/VisualStudio/Core/Def/Implementation/EditAndContinue/ModuleUtilities.cs b/src/VisualStudio/Core/Def/Implementation/EditAndContinue/ModuleUtilities.cs index 89a2f1189134b..49c0492e11ce8 100644 --- a/src/VisualStudio/Core/Def/Implementation/EditAndContinue/ModuleUtilities.cs +++ b/src/VisualStudio/Core/Def/Implementation/EditAndContinue/ModuleUtilities.cs @@ -2,26 +2,30 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable enable + using System; using System.Collections.Immutable; +using System.Collections.ObjectModel; using System.Diagnostics; -using System.IO; -using System.Runtime.CompilerServices; +using System.Diagnostics.CodeAnalysis; using System.Threading; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Debugging; -using Microsoft.CodeAnalysis.EditAndContinue; using Microsoft.CodeAnalysis.Text; using Microsoft.DiaSymReader; using Microsoft.VisualStudio.Debugger.Clr; +using Microsoft.VisualStudio.Debugger.Symbols; using Microsoft.VisualStudio.Debugger.UI.Interfaces; using Roslyn.Utilities; +using EnC = Microsoft.CodeAnalysis.EditAndContinue; + namespace Microsoft.VisualStudio.LanguageServices.EditAndContinue { internal static class ModuleUtilities { - internal static bool TryGetModuleInfo(this DkmClrModuleInstance module, out DebuggeeModuleInfo info) + internal static bool TryGetModuleInfo(this DkmClrModuleInstance module, [NotNullWhen(true)]out EnC.DebuggeeModuleInfo? info) { Debug.Assert(Thread.CurrentThread.GetApartmentState() == ApartmentState.MTA, "SymReader requires MTA"); @@ -45,71 +49,91 @@ internal static bool TryGetModuleInfo(this DkmClrModuleInstance module, out Debu } var metadata = ModuleMetadata.CreateFromMetadata(metadataPtr, (int)metadataSize); - info = new DebuggeeModuleInfo(metadata, symReader); + info = new EnC.DebuggeeModuleInfo(metadata, symReader); return true; } - internal static ManagedModuleUpdate ToModuleUpdate(this Deltas delta) + internal static LinePositionSpan ToLinePositionSpan(this DkmTextSpan span) + { + // ignore invalid/unsupported spans - they might come from stack frames of non-managed languages + if (span.StartLine <= 0 || span.EndLine <= 0) + { + return default; + } + + // C++ produces spans without columns + if (span.StartColumn == 0 && span.EndColumn == 0) + { + return new LinePositionSpan(new LinePosition(span.StartLine - 1, 0), new LinePosition(span.EndLine - 1, 0)); + } + + // ignore invalid/unsupported spans - they might come from stack frames of non-managed languages + if (span.StartColumn <= 0 || span.EndColumn <= 0) + { + return default; + } + + return new LinePositionSpan(new LinePosition(span.StartLine - 1, span.StartColumn - 1), new LinePosition(span.EndLine - 1, span.EndColumn - 1)); + } + + internal static DkmTextSpan ToDebuggerSpan(this LinePositionSpan span, int lineDelta = 0) + => new DkmTextSpan( + StartLine: span.Start.Line + lineDelta + 1, + EndLine: span.End.Line + lineDelta + 1, + StartColumn: span.Start.Character + 1, + EndColumn: span.End.Character + 1); + + internal static EnC.ActiveStatementDebugInfo ToActiveStatementDebugInfo(this ActiveStatementDebugInfo info) + => new EnC.ActiveStatementDebugInfo( + new EnC.ActiveInstructionId(info.InstructionId.MethodId.ModuleId, info.InstructionId.MethodId.Token, info.InstructionId.MethodId.Version, info.InstructionId.ILOffset), + info.DocumentNameOpt, + info.TextSpan.ToLinePositionSpan(), + info.ThreadIds, + (EnC.ActiveStatementFlags)info.Flags); + + internal static DkmManagedModuleUpdate ToModuleUpdate(this EnC.Deltas delta) { - var sequencePointUpdates = delta.LineEdits.SelectAsArray(documentChanges => new SequencePointsUpdate( - fileName: documentChanges.SourceFilePath, - lineUpdates: documentChanges.Deltas.SelectAsArray(lineChange => new SourceLineUpdate(lineChange.OldLine, lineChange.NewLine)))); - - TextManager.Interop.TextSpan toDebuggerSpan(LinePositionSpan span, int lineDelta) - => new TextManager.Interop.TextSpan() - { - // the debugger expects these to be 0-based - iStartLine = span.Start.Line + lineDelta, - iStartIndex = span.Start.Character, - iEndLine = span.End.Line + lineDelta, - iEndIndex = span.End.Character, - }; - - var activeStatementUpdates = delta.ActiveStatementsInUpdatedMethods.SelectAsArray(activeStatement => new ActiveStatementUpdate( - threadId: activeStatement.ThreadId, - methodToken: activeStatement.OldInstructionId.MethodId.Token, - methodVersion: activeStatement.OldInstructionId.MethodId.Version, - ilOffset: activeStatement.OldInstructionId.ILOffset, - newSpan: toDebuggerSpan(activeStatement.NewSpan, 0))); + var sequencePointUpdates = delta.LineEdits.SelectAsArray(documentChanges => DkmSequencePointsUpdate.Create( + FileName: documentChanges.SourceFilePath, + LineUpdates: documentChanges.Deltas.SelectAsArray(lineChange => DkmSourceLineUpdate.Create(lineChange.OldLine, lineChange.NewLine)).ToReadOnlyCollection())); + + var activeStatementUpdates = delta.ActiveStatementsInUpdatedMethods.SelectAsArray(activeStatement => DkmActiveStatementUpdate.Create( + ThreadId: activeStatement.ThreadId, + MethodId: new DkmClrMethodId(Token: activeStatement.OldInstructionId.MethodId.Token, Version: (uint)activeStatement.OldInstructionId.MethodId.Version), + ILOffset: activeStatement.OldInstructionId.ILOffset, + NewSpan: activeStatement.NewSpan.ToDebuggerSpan())); var exceptionRegions = delta.NonRemappableRegions.SelectAsArray( predicate: regionInfo => regionInfo.Region.IsExceptionRegion, - selector: regionInfo => new ExceptionRegionUpdate( - methodToken: regionInfo.Method.Token, - methodVersion: regionInfo.Method.Version, - newSpan: toDebuggerSpan(regionInfo.Region.Span, regionInfo.Region.LineDelta), + selector: regionInfo => DkmExceptionRegionUpdate.Create( + new DkmClrMethodId(Token: regionInfo.Method.Token, Version: (uint)regionInfo.Method.Version), + NewSpan: regionInfo.Region.Span.ToDebuggerSpan(regionInfo.Region.LineDelta), // The range span is the new span. Deltas are inverse. // old = new + delta // new = old – delta - delta: -regionInfo.Region.LineDelta)); + Delta: -regionInfo.Region.LineDelta)); - return new ManagedModuleUpdate( + return DkmManagedModuleUpdate.Create( delta.Mvid, - delta.IL.Value, - delta.Metadata.Bytes, - delta.Pdb.Stream, - sequencePointUpdates, - delta.Pdb.UpdatedMethods, - activeStatementUpdates, - exceptionRegions); + delta.IL.Value.ToReadOnlyCollection(), + delta.Metadata.Bytes.ToReadOnlyCollection(), + delta.Pdb.Stream.ToReadOnlyCollection(), + sequencePointUpdates.ToReadOnlyCollection(), + delta.Pdb.UpdatedMethods.ToReadOnlyCollection(), + activeStatementUpdates.ToReadOnlyCollection(), + exceptionRegions.ToReadOnlyCollection()); } - internal static ManagedModuleUpdateStatus ToModuleUpdateStatus(this SolutionUpdateStatus status) - { - switch (status) - { - case SolutionUpdateStatus.None: - return ManagedModuleUpdateStatus.None; - - case SolutionUpdateStatus.Ready: - return ManagedModuleUpdateStatus.Ready; - - case SolutionUpdateStatus.Blocked: - return ManagedModuleUpdateStatus.Blocked; + internal static ReadOnlyCollection ToReadOnlyCollection(this ImmutableArray array) + => new ReadOnlyCollection(array.DangerousGetUnderlyingArray()); - default: - throw ExceptionUtilities.UnexpectedValue(status); - } - } + internal static ManagedModuleUpdateStatus ToModuleUpdateStatus(this EnC.SolutionUpdateStatus status) + => status switch + { + EnC.SolutionUpdateStatus.None => ManagedModuleUpdateStatus.None, + EnC.SolutionUpdateStatus.Ready => ManagedModuleUpdateStatus.Ready, + EnC.SolutionUpdateStatus.Blocked => ManagedModuleUpdateStatus.Blocked, + _ => throw ExceptionUtilities.UnexpectedValue(status), + }; } } diff --git a/src/VisualStudio/Core/Def/Implementation/EditAndContinue/VisualStudioActiveStatementProvider.Utilities.cs b/src/VisualStudio/Core/Def/Implementation/EditAndContinue/VisualStudioActiveStatementProvider.Utilities.cs deleted file mode 100644 index 7c719ed2171bc..0000000000000 --- a/src/VisualStudio/Core/Def/Implementation/EditAndContinue/VisualStudioActiveStatementProvider.Utilities.cs +++ /dev/null @@ -1,92 +0,0 @@ -// 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.Collections.Generic; -using System.Diagnostics; -using Microsoft.CodeAnalysis.EditAndContinue; -using Microsoft.CodeAnalysis.PooledObjects; -using Microsoft.CodeAnalysis.Text; -using Microsoft.VisualStudio.Debugger.Clr; -using Microsoft.VisualStudio.Debugger.Symbols; -using Roslyn.Utilities; - -#if TESTS -namespace Microsoft.VisualStudio.LanguageServices.UnitTests.EditAndContinue -#else -namespace Microsoft.VisualStudio.LanguageServices.EditAndContinue -#endif -{ - // Utilities that are testable. Linked to test project to allow mocking. - partial class VisualStudioActiveStatementProvider - { - // internal for testing - internal static void GroupActiveStatementsByInstructionId( - Dictionary Threads, int Index, ActiveStatementFlags Flags)> instructionMap, - IEnumerable dkmStatements) - { - foreach (var dkmStatement in dkmStatements) - { - // flags whose value only depends on the active instruction: - const DkmActiveStatementFlags instructionFlagsMask = DkmActiveStatementFlags.MethodUpToDate | DkmActiveStatementFlags.NonUser; - var instructionFlags = (ActiveStatementFlags)(dkmStatement.Flags & instructionFlagsMask); - - var isLeaf = (dkmStatement.Flags & DkmActiveStatementFlags.Leaf) != 0; - - // MidStatement is set differently for leaf frames and non-leaf frames. - // We aggregate it so that if any frame has MidStatement the ActiveStatement is considered partially executed. - var frameFlags = - (isLeaf ? ActiveStatementFlags.IsLeafFrame : ActiveStatementFlags.IsNonLeafFrame) | - (ActiveStatementFlags)(dkmStatement.Flags & DkmActiveStatementFlags.MidStatement); - - var instruction = dkmStatement.InstructionAddress; - - var instructionId = new ActiveInstructionId( - instruction.ModuleInstance.Mvid, - instruction.MethodId.Token, - unchecked((int)instruction.MethodId.Version), - unchecked((int)instruction.ILOffset)); - - if (instructionMap.TryGetValue(instructionId, out var entry)) - { - // all flags, except for LeafFrame should be the same for active statements whose instruction ids are the same: - Contract.ThrowIfFalse(instructionFlags == (entry.Flags & (ActiveStatementFlags)instructionFlagsMask), "Inconsistent active statement flags"); - - entry.Flags |= frameFlags; - } - else - { - entry = (dkmStatement.InstructionSymbol, ArrayBuilder.GetInstance(1), instructionMap.Count, instructionFlags | frameFlags); - } - - instructionMap[instructionId] = entry; - entry.Threads.Add(dkmStatement.Thread.UniqueId); - } - } - - // internal for testing - internal static LinePositionSpan ToLinePositionSpan(DkmTextSpan span) - { - // ignore invalid/unsupported spans - they might come from stack frames of non-managed languages - if (span.StartLine <= 0 || span.EndLine <= 0) - { - return default; - } - - // C++ produces spans without columns - if (span.StartColumn == 0 && span.EndColumn == 0) - { - return new LinePositionSpan(new LinePosition(span.StartLine - 1, 0), new LinePosition(span.EndLine - 1, 0)); - } - - // ignore invalid/unsupported spans - they might come from stack frames of non-managed languages - if (span.StartColumn <= 0 || span.EndColumn <= 0) - { - return default; - } - - return new LinePositionSpan(new LinePosition(span.StartLine - 1, span.StartColumn - 1), new LinePosition(span.EndLine - 1, span.EndColumn - 1)); - } - } -} diff --git a/src/VisualStudio/Core/Def/Implementation/EditAndContinue/VisualStudioActiveStatementProvider.cs b/src/VisualStudio/Core/Def/Implementation/EditAndContinue/VisualStudioActiveStatementProvider.cs deleted file mode 100644 index 1401ca7a1b207..0000000000000 --- a/src/VisualStudio/Core/Def/Implementation/EditAndContinue/VisualStudioActiveStatementProvider.cs +++ /dev/null @@ -1,211 +0,0 @@ -// 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.Collections.Immutable; -using System.Composition; -using System.Threading; -using System.Threading.Tasks; -using Microsoft.CodeAnalysis.EditAndContinue; -using Microsoft.CodeAnalysis.Host.Mef; -using Microsoft.CodeAnalysis.PooledObjects; -using Microsoft.CodeAnalysis.Text; -using Microsoft.VisualStudio.Debugger; -using Microsoft.VisualStudio.Debugger.Clr; -using Microsoft.VisualStudio.Debugger.Symbols; -using Roslyn.Utilities; - -namespace Microsoft.VisualStudio.LanguageServices.EditAndContinue -{ - [Export(typeof(IActiveStatementProvider)), Shared] - internal sealed partial class VisualStudioActiveStatementProvider : IActiveStatementProvider - { - [ImportingConstructor] - [Obsolete(MefConstruction.ImportingConstructorMessage, error: true)] - public VisualStudioActiveStatementProvider() - { - } - - /// - /// Retrieves active statements from the debuggee process. - /// Shall only be called while in debug mode. - /// Can be invoked on any thread. - /// - public Task> GetActiveStatementsAsync(CancellationToken cancellationToken) - { - using (DebuggerComponent.ManagedEditAndContinueService()) - { - // TODO: return empty outside of debug session. - // https://github.com/dotnet/roslyn/issues/24325 - - var completion = new TaskCompletionSource>(); - var builders = (ArrayBuilder>)null; - var pendingRuntimes = 0; - var runtimeCount = 0; - - // No exception should be thrown in case of errors on the debugger side. - // The debugger is responsible to provide telemetry for error cases. - // The callback should not be called, but it's there to guarantee that the task completes and a hang is avoided. - var workList = DkmWorkList.Create(_ => { completion.TrySetResult(ImmutableArray.Empty); }); - - void CancelWork() - { - if (builders != null) - { - FreeBuilders(builders); - builders = null; - - workList.Cancel(blockOnCompletion: false); - - // make sure we cancel with the token we received from the caller: - completion.TrySetCanceled(cancellationToken); - } - } - - foreach (var process in DkmProcess.GetProcesses()) - { - foreach (var runtimeInstance in process.GetRuntimeInstances()) - { - if (runtimeInstance.TagValue == DkmRuntimeInstance.Tag.ClrRuntimeInstance) - { - var clrRuntimeInstance = (DkmClrRuntimeInstance)runtimeInstance; - - var runtimeIndex = runtimeCount; - runtimeCount++; - - clrRuntimeInstance.GetActiveStatements(workList, activeStatementsResult => - { - try - { - if (cancellationToken.IsCancellationRequested) - { - CancelWork(); - return; - } - - var localBuilders = builders; - if (localBuilders == null) // e.g. cancelled - { - return; - } - - if (activeStatementsResult.ErrorCode != 0) - { - localBuilders[runtimeIndex] = ArrayBuilder.GetInstance(0); - - // the last active statement of the last runtime has been processed: - if (Interlocked.Decrement(ref pendingRuntimes) == 0) - { - completion.TrySetResult(localBuilders.ToFlattenedImmutableArrayAndFree()); - } - - return; - } - - // group active statement by instruction and aggregate flags and threads: - var instructionMap = PooledDictionary Threads, int Index, ActiveStatementFlags Flags)>.GetInstance(); - - GroupActiveStatementsByInstructionId(instructionMap, activeStatementsResult.ActiveStatements); - - var pendingStatements = instructionMap.Count; - localBuilders[runtimeIndex] = ArrayBuilder.GetInstance(pendingStatements); - localBuilders[runtimeIndex].Count = pendingStatements; - - if (instructionMap.Count == 0) - { - if (Interlocked.Decrement(ref pendingRuntimes) == 0) - { - completion.TrySetResult(localBuilders.ToFlattenedImmutableArrayAndFree()); - } - - return; - } - - foreach (var (instructionId, (symbol, threads, index, flags)) in instructionMap) - { - var immutableThreads = threads.ToImmutableAndFree(); - - symbol.GetSourcePosition(workList, DkmSourcePositionFlags.None, InspectionSession: null, sourcePositionResult => - { - try - { - if (cancellationToken.IsCancellationRequested) - { - CancelWork(); - return; - } - - DkmSourcePosition position; - string documentNameOpt; - LinePositionSpan span; - if (sourcePositionResult.ErrorCode == 0 && (position = sourcePositionResult.SourcePosition) != null) - { - documentNameOpt = position.DocumentName; - span = ToLinePositionSpan(position.TextSpan); - } - else - { - // The debugger can't determine source location for the active statement. - // The PDB might not be available or the statement is in a method that doesn't have debug information. - documentNameOpt = null; - span = default; - } - - localBuilders[runtimeIndex][index] = new ActiveStatementDebugInfo( - instructionId, - documentNameOpt, - span, - immutableThreads, - flags); - - // the last active statement of the current runtime has been processed: - if (Interlocked.Decrement(ref pendingStatements) == 0) - { - // the last active statement of the last runtime has been processed: - if (Interlocked.Decrement(ref pendingRuntimes) == 0) - { - completion.TrySetResult(localBuilders.ToFlattenedImmutableArrayAndFree()); - } - } - } - catch (Exception e) - { - completion.TrySetException(e); - } - }); - } - - instructionMap.Free(); - } - catch (Exception e) - { - completion.TrySetException(e); - } - }); - } - } - } - - pendingRuntimes = runtimeCount; - builders = ArrayBuilder>.GetInstance(runtimeCount); - builders.Count = runtimeCount; - - // Start execution of the Concord work items. - workList.BeginExecution(); - - return completion.Task; - } - } - - private static void FreeBuilders(ArrayBuilder> builders) - { - foreach (var builderArray in builders) - { - builderArray?.Free(); - } - - builders.Free(); - } - } -} diff --git a/src/VisualStudio/Core/Def/Implementation/EditAndContinue/VisualStudioActiveStatementTracker.cs b/src/VisualStudio/Core/Def/Implementation/EditAndContinue/VisualStudioActiveStatementTracker.cs index 99e2b1f499ef8..de78190a5bfac 100644 --- a/src/VisualStudio/Core/Def/Implementation/EditAndContinue/VisualStudioActiveStatementTracker.cs +++ b/src/VisualStudio/Core/Def/Implementation/EditAndContinue/VisualStudioActiveStatementTracker.cs @@ -8,14 +8,14 @@ using System.Threading.Tasks; using Microsoft.CodeAnalysis.EditAndContinue; using Microsoft.CodeAnalysis.Host.Mef; -using Microsoft.VisualStudio.Debugger.UI.Interfaces; -using Microsoft.VisualStudio.LanguageServices.Utilities; -using VsTextSpan = Microsoft.VisualStudio.TextManager.Interop.TextSpan; +using Microsoft.VisualStudio.Debugger.Symbols; + +using Dbg = Microsoft.VisualStudio.Debugger.UI.Interfaces; namespace Microsoft.VisualStudio.LanguageServices.EditAndContinue { - [Export(typeof(IManagedActiveStatementTracker)), Shared] - internal sealed class VisualStudioActiveStatementTracker : IManagedActiveStatementTracker + [Export(typeof(Dbg.IManagedActiveStatementTracker)), Shared] + internal sealed class VisualStudioActiveStatementTracker : Dbg.IManagedActiveStatementTracker { private readonly IEditAndContinueWorkspaceService _encService; @@ -24,8 +24,8 @@ internal sealed class VisualStudioActiveStatementTracker : IManagedActiveStateme public VisualStudioActiveStatementTracker(VisualStudioWorkspace workspace) => _encService = workspace.Services.GetRequiredService(); - public async Task GetCurrentActiveStatementPositionAsync(Guid moduleId, int methodToken, int methodVersion, int ilOffset, CancellationToken cancellationToken) - => (await _encService.GetCurrentActiveStatementPositionAsync(new ActiveInstructionId(moduleId, methodToken, methodVersion, ilOffset), cancellationToken).ConfigureAwait(false))?.ToVsTextSpan(); + public async Task GetCurrentActiveStatementPositionAsync(Guid moduleId, int methodToken, int methodVersion, int ilOffset, CancellationToken cancellationToken) + => (await _encService.GetCurrentActiveStatementPositionAsync(new ActiveInstructionId(moduleId, methodToken, methodVersion, ilOffset), cancellationToken).ConfigureAwait(false))?.ToDebuggerSpan(); public Task IsActiveStatementInExceptionRegionAsync(Guid moduleId, int methodToken, int methodVersion, int ilOffset, CancellationToken cancellationToken) => _encService.IsActiveStatementInExceptionRegionAsync(new ActiveInstructionId(moduleId, methodToken, methodVersion, ilOffset), cancellationToken); diff --git a/src/VisualStudio/Core/Def/Implementation/EditAndContinue/VisualStudioDebugStateChangeListener.cs b/src/VisualStudio/Core/Def/Implementation/EditAndContinue/VisualStudioDebugStateChangeListener.cs index 6f5f94f9acca0..f8da4428b962d 100644 --- a/src/VisualStudio/Core/Def/Implementation/EditAndContinue/VisualStudioDebugStateChangeListener.cs +++ b/src/VisualStudio/Core/Def/Implementation/EditAndContinue/VisualStudioDebugStateChangeListener.cs @@ -10,9 +10,6 @@ using Microsoft.CodeAnalysis.Debugging; using Microsoft.CodeAnalysis.EditAndContinue; using Microsoft.CodeAnalysis.Host.Mef; -using Microsoft.VisualStudio.Debugger; -using Microsoft.VisualStudio.Debugger.Clr; -using Microsoft.VisualStudio.Debugger.ComponentInterfaces; using Microsoft.VisualStudio.Debugger.UI.Interfaces; using Roslyn.Utilities; @@ -54,10 +51,14 @@ public void StartDebugging(DebugSessionOptions options) } } - public void EnterBreakState() + public void EnterBreakState(IManagedActiveStatementProvider activeStatementProvider) { _debuggingService.OnBeforeDebuggingStateChanged(DebuggingState.Run, DebuggingState.Break); - _encService?.StartEditSession(); + _encService?.StartEditSession(async cancellationToken => + { + var infos = await activeStatementProvider.GetActiveStatementsAsync(cancellationToken).ConfigureAwait(false); + return infos.SelectAsArray(ModuleUtilities.ToActiveStatementDebugInfo); + }); } public void ExitBreakState() diff --git a/src/VisualStudio/Core/Def/Implementation/EditAndContinue/VisualStudioDebuggeeModuleMetadataProvider.cs b/src/VisualStudio/Core/Def/Implementation/EditAndContinue/VisualStudioDebuggeeModuleMetadataProvider.cs index fb515b2d95049..317e718492334 100644 --- a/src/VisualStudio/Core/Def/Implementation/EditAndContinue/VisualStudioDebuggeeModuleMetadataProvider.cs +++ b/src/VisualStudio/Core/Def/Implementation/EditAndContinue/VisualStudioDebuggeeModuleMetadataProvider.cs @@ -2,9 +2,12 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable enable + using System; using System.Collections.Generic; using System.Composition; +using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Threading; using System.Threading.Tasks; @@ -15,6 +18,7 @@ using Microsoft.VisualStudio.Debugger.Clr; using Microsoft.VisualStudio.Debugger.ComponentInterfaces; using Roslyn.Utilities; +using Microsoft.VisualStudio.Debugger.UI.Interfaces; namespace Microsoft.VisualStudio.LanguageServices.EditAndContinue { @@ -47,7 +51,7 @@ public DataItem(VisualStudioDebuggeeModuleMetadataProvider provider, Guid mvid) protected override void OnClose() => _provider.OnModuleInstanceUnload(_mvid); } - DkmCustomMessage IDkmCustomMessageForwardReceiver.SendLower(DkmCustomMessage customMessage) + DkmCustomMessage? IDkmCustomMessageForwardReceiver.SendLower(DkmCustomMessage customMessage) { var provider = (VisualStudioDebuggeeModuleMetadataProvider)customMessage.Parameter1; var clrModuleInstance = (DkmClrModuleInstance)customMessage.Parameter2; @@ -59,12 +63,16 @@ DkmCustomMessage IDkmCustomMessageForwardReceiver.SendLower(DkmCustomMessage cus } } + private readonly IManagedModuleInfoProvider _managedModuleInfoProvider; private readonly DebuggeeModuleInfoCache _baselineMetadata; [ImportingConstructor] [Obsolete(MefConstruction.ImportingConstructorMessage, error: true)] - public VisualStudioDebuggeeModuleMetadataProvider() - => _baselineMetadata = new DebuggeeModuleInfoCache(); + public VisualStudioDebuggeeModuleMetadataProvider(IManagedModuleInfoProvider managedModuleInfoProvider) + { + _managedModuleInfoProvider = managedModuleInfoProvider; + _baselineMetadata = new DebuggeeModuleInfoCache(); + } private void OnModuleInstanceUnload(Guid mvid) => _baselineMetadata.Remove(mvid); @@ -115,27 +123,15 @@ public DebuggeeModuleInfo TryGetBaselineModuleInfo(Guid mvid) }); } - /// - /// Check that EnC is available for all instances of the given module. - /// - public bool IsEditAndContinueAvailable(Guid mvid, out int errorCode, out string localizedMessage) + public async Task<(int errorCode, string? errorMessage)?> GetEncAvailabilityAsync(Guid mvid, CancellationToken cancellationToken) { - using (DebuggerComponent.ManagedEditAndContinueService()) + var availability = await _managedModuleInfoProvider.GetEncAvailability(mvid, cancellationToken).ConfigureAwait(false); + return availability.Status switch { - foreach (var clrModuleInstance in EnumerateClrModuleInstances(mvid)) - { - var availability = clrModuleInstance.GetEncAvailability(out localizedMessage); - if (availability != DkmEncAvailableStatus.Available) - { - errorCode = (int)availability; - return false; - } - } - } - - errorCode = -1; - localizedMessage = null; - return true; + DkmEncAvailableStatus.Available => (0, null), + DkmEncAvailableStatus.ModuleNotLoaded => null, + _ => ((int)availability.Status, availability.LocalizedMessage) + }; } private static IEnumerable EnumerateClrModuleInstances(Guid? mvid) @@ -160,22 +156,8 @@ moduleInstance is DkmClrModuleInstance clrModuleInstance && } } - public void PrepareModuleForUpdate(Guid mvid) - { - // fire and forget - _ = Task.Run(new Action(() => - { - Contract.ThrowIfFalse(Thread.CurrentThread.GetApartmentState() == ApartmentState.MTA); - using (DebuggerComponent.ManagedEditAndContinueService()) - { - var clrModuleInstance = EnumerateClrModuleInstances(mvid).FirstOrDefault(); - if (clrModuleInstance != null) - { - ((ISymUnmanagedEncUpdate)clrModuleInstance.GetSymUnmanagedReader()).InitializeForEnc(); - } - } - })); - } + public Task PrepareModuleForUpdateAsync(Guid mvid, CancellationToken cancellationToken) + => _managedModuleInfoProvider.PrepareModuleForUpdate(mvid, cancellationToken); } } diff --git a/src/VisualStudio/Core/Def/Implementation/EditAndContinue/VisualStudioManagedModuleUpdateProvider.cs b/src/VisualStudio/Core/Def/Implementation/EditAndContinue/VisualStudioManagedModuleUpdateProvider.cs index d2b74359f636b..da7dc02a24fd5 100644 --- a/src/VisualStudio/Core/Def/Implementation/EditAndContinue/VisualStudioManagedModuleUpdateProvider.cs +++ b/src/VisualStudio/Core/Def/Implementation/EditAndContinue/VisualStudioManagedModuleUpdateProvider.cs @@ -11,6 +11,7 @@ using Microsoft.CodeAnalysis.EditAndContinue; using Microsoft.CodeAnalysis.ErrorReporting; using Microsoft.CodeAnalysis.Host.Mef; +using Microsoft.VisualStudio.Debugger.Clr; using Microsoft.VisualStudio.Debugger.UI.Interfaces; using Roslyn.Utilities; @@ -27,31 +28,18 @@ internal sealed class VisualStudioManagedModuleUpdateProvider : IEditAndContinue public VisualStudioManagedModuleUpdateProvider(VisualStudioWorkspace workspace) => _encService = workspace.Services.GetRequiredService(); - public Task GetStatusAsync(CancellationToken cancellationToken) - => GetStatusAsync(null, cancellationToken); - /// - /// Returns the state of the changes made to the source. - /// The EnC manager calls this to determine whether there are any changes to the source - /// and if so whether there are any rude edits. - /// - /// TODO: Future work in the debugger https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1051385 will replace this with bool HasChangesAsync. - /// The debugger currently uses as a signal to trigger emit of updates - /// (i.e. to call ). - /// When is returned updates are not emitted. - /// Since already handles all validation and error reporting - /// we either return if there are no changes or if there are any changes. + /// Returns true if any changes have been made to the source since the last changes had been applied. /// - public async Task GetStatusAsync(string sourceFilePath, CancellationToken cancellationToken) + public async Task HasChangesAsync(string sourceFilePath, CancellationToken cancellationToken) { try { - return (await _encService.HasChangesAsync(sourceFilePath, cancellationToken).ConfigureAwait(false)) ? - ManagedModuleUpdateStatus.Ready : ManagedModuleUpdateStatus.None; + return await _encService.HasChangesAsync(sourceFilePath, cancellationToken).ConfigureAwait(false); } catch (Exception e) when (FatalError.ReportWithoutCrashUnlessCanceled(e)) { - return ManagedModuleUpdateStatus.Blocked; + return true; } } @@ -60,12 +48,12 @@ public async Task GetManagedModuleUpdatesAsync(Cancellatio try { var (summary, deltas) = await _encService.EmitSolutionUpdateAsync(cancellationToken).ConfigureAwait(false); - return new ManagedModuleUpdates(summary.ToModuleUpdateStatus(), deltas.SelectAsArray(ModuleUtilities.ToModuleUpdate)); + return new ManagedModuleUpdates(summary.ToModuleUpdateStatus(), deltas.SelectAsArray(ModuleUtilities.ToModuleUpdate).ToReadOnlyCollection()); } catch (Exception e) when (FatalError.ReportWithoutCrashUnlessCanceled(e)) { _encService.ReportApplyChangesException(e.Message); - return new ManagedModuleUpdates(ManagedModuleUpdateStatus.Blocked, ImmutableArray.Empty); + return new ManagedModuleUpdates(ManagedModuleUpdateStatus.Blocked, ImmutableArray.Empty.ToReadOnlyCollection()); } } diff --git a/src/VisualStudio/Core/Def/Implementation/LanguageClient/InProcLanguageServer.cs b/src/VisualStudio/Core/Def/Implementation/LanguageClient/InProcLanguageServer.cs index 8b1d61e13149a..9f9092ab2b8f1 100644 --- a/src/VisualStudio/Core/Def/Implementation/LanguageClient/InProcLanguageServer.cs +++ b/src/VisualStudio/Core/Def/Implementation/LanguageClient/InProcLanguageServer.cs @@ -26,6 +26,7 @@ using Newtonsoft.Json.Linq; using Roslyn.Utilities; using StreamJsonRpc; +using LSP = Microsoft.VisualStudio.LanguageServer.Protocol; namespace Microsoft.VisualStudio.LanguageServices.Implementation.LanguageService { @@ -39,12 +40,30 @@ internal class InProcLanguageServer private readonly string? _clientName; private readonly JsonRpc _jsonRpc; private readonly LanguageServerProtocol _protocol; - private readonly Workspace _workspace; + private readonly CodeAnalysis.Workspace _workspace; + + // The VS LSP client supports streaming using IProgress on various requests. + // However, this is not yet supported through Live Share, so deserialization fails on the IProgress property. + // https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1043376 tracks Live Share support for this (committed for 16.6). + // Additionally, the VS LSP client will be changing the type of 'tagSupport' from bool to an object in future LSP package versions. + // Since updating our package versions is extraordinarily difficult, add this workaround so we aren't broken when they change the type. + // https://github.com/dotnet/roslyn/issues/40829 tracks updating our package versions to remove this workaround. + internal static readonly JsonSerializer JsonSerializer = JsonSerializer.Create(new JsonSerializerSettings + { + Error = (sender, args) => + { + if (object.Equals(args.ErrorContext.Member, "partialResultToken") + || (object.Equals(args.ErrorContext.Member, "tagSupport") && args.ErrorContext.OriginalObject.GetType() == typeof(PublishDiagnosticsSetting))) + { + args.ErrorContext.Handled = true; + } + } + }); - private VSClientCapabilities? _clientCapabilities; + private VSClientCapabilities _clientCapabilities; public InProcLanguageServer(Stream inputStream, Stream outputStream, LanguageServerProtocol protocol, - Workspace workspace, IDiagnosticService diagnosticService, string? clientName) + CodeAnalysis.Workspace workspace, IDiagnosticService diagnosticService, string? clientName) { _protocol = protocol; _workspace = workspace; @@ -55,6 +74,8 @@ public InProcLanguageServer(Stream inputStream, Stream outputStream, LanguageSer _diagnosticService = diagnosticService; _clientName = clientName; _diagnosticService.DiagnosticsUpdated += DiagnosticService_DiagnosticsUpdated; + + _clientCapabilities = new VSClientCapabilities(); } /// @@ -65,27 +86,11 @@ public InProcLanguageServer(Stream inputStream, Stream outputStream, LanguageSer [JsonRpcMethod(Methods.InitializeName)] public Task InitializeAsync(JToken input, CancellationToken cancellationToken) { - // The VS LSP protocol package changed the type of 'tagSupport' from bool to an object. - // Our version of the LSP protocol package is older and assumes that the type is bool, so deserialization fails. - // Since we don't really read this field, just no-op the error until we can update our package references. - // https://github.com/dotnet/roslyn/issues/40829 tracks updating this. - var settings = new JsonSerializerSettings - { - Error = (sender, args) => - { - if (object.Equals(args.ErrorContext.Member, "tagSupport") && args.ErrorContext.OriginalObject.GetType() == typeof(PublishDiagnosticsSetting)) - { - args.ErrorContext.Handled = true; - } - } - }; - var serializer = JsonSerializer.Create(settings); - // InitializeParams only references ClientCapabilities, but the VS LSP client // sends additional VS specific capabilities, so directly deserialize them into the VSClientCapabilities // to avoid losing them. - _clientCapabilities = input["capabilities"].ToObject(serializer); - return _protocol.InitializeAsync(_workspace.CurrentSolution, input.ToObject(serializer), _clientCapabilities, cancellationToken); + _clientCapabilities = input["capabilities"].ToObject(JsonSerializer); + return _protocol.InitializeAsync(_workspace.CurrentSolution, input.ToObject(JsonSerializer), _clientCapabilities, cancellationToken); } [JsonRpcMethod(Methods.InitializedName)] @@ -113,86 +118,93 @@ public void Exit() } [JsonRpcMethod(Methods.TextDocumentDefinitionName)] - public Task GetTextDocumentDefinitionAsync(JToken input, CancellationToken cancellationToken) + public Task?> GetTextDocumentDefinitionAsync(JToken input, CancellationToken cancellationToken) { - var textDocumentPositionParams = input.ToObject(); + var textDocumentPositionParams = input.ToObject(JsonSerializer); return _protocol.GoToDefinitionAsync(_workspace.CurrentSolution, textDocumentPositionParams, _clientCapabilities, cancellationToken); } [JsonRpcMethod(Methods.TextDocumentRenameName)] public Task GetTextDocumentRenameAsync(JToken input, CancellationToken cancellationToken) { - var renameParams = input.ToObject(); + var renameParams = input.ToObject(JsonSerializer); return _protocol.RenameAsync(_workspace.CurrentSolution, renameParams, _clientCapabilities, cancellationToken); } + [JsonRpcMethod(Methods.TextDocumentReferencesName)] + public Task GetTextDocumentReferencesAsync(JToken input, CancellationToken cancellationToken) + { + var referencesParams = input.ToObject(JsonSerializer); + return _protocol.GetDocumentReferencesAsync(_workspace.CurrentSolution, referencesParams, _clientCapabilities, cancellationToken); + } + [JsonRpcMethod(Methods.TextDocumentCompletionName)] - public Task GetTextDocumentCompletionAsync(JToken input, CancellationToken cancellationToken) + public Task?> GetTextDocumentCompletionAsync(JToken input, CancellationToken cancellationToken) { - var completionParams = input.ToObject(); + var completionParams = input.ToObject(JsonSerializer); return _protocol.GetCompletionsAsync(_workspace.CurrentSolution, completionParams, _clientCapabilities, cancellationToken); } [JsonRpcMethod(Methods.TextDocumentCompletionResolveName)] public Task ResolveCompletionItemAsync(JToken input, CancellationToken cancellationToken) { - var completionItem = input.ToObject(); + var completionItem = input.ToObject(JsonSerializer); return _protocol.ResolveCompletionItemAsync(_workspace.CurrentSolution, completionItem, _clientCapabilities, cancellationToken); } [JsonRpcMethod(Methods.TextDocumentDocumentHighlightName)] public Task GetTextDocumentDocumentHighlightsAsync(JToken input, CancellationToken cancellationToken) { - var textDocumentPositionParams = input.ToObject(); + var textDocumentPositionParams = input.ToObject(JsonSerializer); return _protocol.GetDocumentHighlightAsync(_workspace.CurrentSolution, textDocumentPositionParams, _clientCapabilities, cancellationToken); } [JsonRpcMethod(Methods.TextDocumentDocumentSymbolName)] public Task GetTextDocumentDocumentSymbolsAsync(JToken input, CancellationToken cancellationToken) { - var documentSymbolParams = input.ToObject(); + var documentSymbolParams = input.ToObject(JsonSerializer); return _protocol.GetDocumentSymbolsAsync(_workspace.CurrentSolution, documentSymbolParams, _clientCapabilities, cancellationToken); } [JsonRpcMethod(Methods.TextDocumentFormattingName)] public Task GetTextDocumentFormattingAsync(JToken input, CancellationToken cancellationToken) { - var documentFormattingParams = input.ToObject(); + var documentFormattingParams = input.ToObject(JsonSerializer); return _protocol.FormatDocumentAsync(_workspace.CurrentSolution, documentFormattingParams, _clientCapabilities, cancellationToken); } [JsonRpcMethod(Methods.TextDocumentOnTypeFormattingName)] public Task GetTextDocumentFormattingOnTypeAsync(JToken input, CancellationToken cancellationToken) { - var documentOnTypeFormattingParams = input.ToObject(); + var documentOnTypeFormattingParams = input.ToObject(JsonSerializer); return _protocol.FormatDocumentOnTypeAsync(_workspace.CurrentSolution, documentOnTypeFormattingParams, _clientCapabilities, cancellationToken); } [JsonRpcMethod(Methods.TextDocumentImplementationName)] - public Task GetTextDocumentImplementationsAsync(JToken input, CancellationToken cancellationToken) + public Task?> GetTextDocumentImplementationsAsync(JToken input, CancellationToken cancellationToken) { - var textDocumentPositionParams = input.ToObject(); + var textDocumentPositionParams = input.ToObject(JsonSerializer); return _protocol.FindImplementationsAsync(_workspace.CurrentSolution, textDocumentPositionParams, _clientCapabilities, cancellationToken); } [JsonRpcMethod(Methods.TextDocumentRangeFormattingName)] public Task GetTextDocumentRangeFormattingAsync(JToken input, CancellationToken cancellationToken) { - var documentRangeFormattingParams = input.ToObject(); + var documentRangeFormattingParams = input.ToObject(JsonSerializer); return _protocol.FormatDocumentRangeAsync(_workspace.CurrentSolution, documentRangeFormattingParams, _clientCapabilities, cancellationToken); } [JsonRpcMethod(Methods.TextDocumentSignatureHelpName)] public async Task GetTextDocumentSignatureHelpAsync(JToken input, CancellationToken cancellationToken) { - var textDocumentPositionParams = input.ToObject(); + var textDocumentPositionParams = input.ToObject(JsonSerializer); return await _protocol.GetSignatureHelpAsync(_workspace.CurrentSolution, textDocumentPositionParams, _clientCapabilities, cancellationToken).ConfigureAwait(false); } [JsonRpcMethod(Methods.WorkspaceSymbolName)] public async Task GetWorkspaceSymbolsAsync(JToken input, CancellationToken cancellationToken) { - var workspaceSymbolParams = input.ToObject(); + var workspaceSymbolParams = input.ToObject(JsonSerializer); return await _protocol.GetWorkspaceSymbolsAsync(_workspace.CurrentSolution, workspaceSymbolParams, _clientCapabilities, cancellationToken).ConfigureAwait(false); } @@ -214,7 +226,7 @@ private async void DiagnosticService_DiagnosticsUpdated(object sender, Diagnosti } // Only publish document diagnostics for the languages this provider supports. - if (document.Project.Language != LanguageNames.CSharp && document.Project.Language != LanguageNames.VisualBasic) + if (document.Project.Language != CodeAnalysis.LanguageNames.CSharp && document.Project.Language != CodeAnalysis.LanguageNames.VisualBasic) { return; } @@ -260,7 +272,7 @@ private async void DiagnosticService_DiagnosticsUpdated(object sender, Diagnosti private static readonly Comparer s_uriComparer = Comparer.Create((uri1, uri2) => Uri.Compare(uri1, uri2, UriComponents.AbsoluteUri, UriFormat.SafeUnescaped, StringComparison.OrdinalIgnoreCase)); - internal async Task PublishDiagnosticsAsync(Document document) + internal async Task PublishDiagnosticsAsync(CodeAnalysis.Document document) { // Retrieve all diagnostics for the current document grouped by their actual file uri. var fileUriToDiagnostics = await GetDiagnosticsAsync(document, CancellationToken.None).ConfigureAwait(false); @@ -333,7 +345,7 @@ private async Task SendDiagnosticsNotificationAsync(Uri uri, ImmutableArray>> GetDiagnosticsAsync(Document document, CancellationToken cancellationToken) + private async Task>> GetDiagnosticsAsync(CodeAnalysis.Document document, CancellationToken cancellationToken) { var diagnostics = _diagnosticService.GetDiagnostics(document.Project.Solution.Workspace, document.Project.Id, document.Id, null, false, cancellationToken) .Where(IncludeDiagnostic); diff --git a/src/VisualStudio/Core/Def/Implementation/LanguageClient/LiveShareLanguageServerClient.cs b/src/VisualStudio/Core/Def/Implementation/LanguageClient/LiveShareLanguageServerClient.cs index 851e7b665212e..44ff926b5c70b 100644 --- a/src/VisualStudio/Core/Def/Implementation/LanguageClient/LiveShareLanguageServerClient.cs +++ b/src/VisualStudio/Core/Def/Implementation/LanguageClient/LiveShareLanguageServerClient.cs @@ -15,6 +15,9 @@ namespace Microsoft.VisualStudio.LanguageServices.Implementation.LanguageService { + // The C#_LSP and VB_LSP ILanguageClient should not activate on the host. When LiveShare mirrors the C#_LSP ILC to the guest, they will not copy the DisableUserExperience attribute, + // so guests will still use the C#_LSP ILC. + [DisableUserExperience(true)] [ContentType(ContentTypeNames.CSharpLspContentTypeName)] [ContentType(ContentTypeNames.VBLspContentTypeName)] [Export(typeof(ILanguageClient))] diff --git a/src/VisualStudio/Core/Def/Utilities/SpanExtensions.cs b/src/VisualStudio/Core/Def/Utilities/SpanExtensions.cs deleted file mode 100644 index 57e7d1533e4f5..0000000000000 --- a/src/VisualStudio/Core/Def/Utilities/SpanExtensions.cs +++ /dev/null @@ -1,27 +0,0 @@ -// 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.Windows.Media.TextFormatting; -using Microsoft.CodeAnalysis.Text; -using VsTextSpan = Microsoft.VisualStudio.TextManager.Interop.TextSpan; - -namespace Microsoft.VisualStudio.LanguageServices.Utilities -{ - internal static class SpanExtensions - { - internal static LinePositionSpan ToLinePositionSpan(this VsTextSpan span) - => new LinePositionSpan(new LinePosition(span.iStartLine, span.iStartIndex), new LinePosition(span.iEndLine, span.iEndIndex)); - - internal static VsTextSpan ToVsTextSpan(this LinePositionSpan span) - { - return new VsTextSpan - { - iStartLine = span.Start.Line, - iStartIndex = span.Start.Character, - iEndLine = span.End.Line, - iEndIndex = span.End.Character - }; - } - } -} diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.cs.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.cs.xlf index e39c146c27794..aa6b0e4bab4d4 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.cs.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.cs.xlf @@ -114,12 +114,12 @@ Editor Color Scheme - Editor Color Scheme + Barevné schéma editoru Editor color scheme options are only available when using a color theme bundled with Visual Studio. The color theme can be configured from the Environment > General options page. - Editor color scheme options are only available when using a color theme bundled with Visual Studio. The color theme can be configured from the Environment > General options page. + Možnosti barevného schématu editoru jsou k dispozici jen v případě, že se používá barva motivu dodávaná spolu se sadou Visual Studio. Barva motivu se dá nakonfigurovat na stránce možností Prostředí > Obecné. @@ -429,7 +429,7 @@ Prefer simplified boolean expressions - Prefer simplified boolean expressions + Upřednostňovat zjednodušené logické výrazy @@ -444,7 +444,7 @@ Razor C# Language Server Client - Razor C# Language Server Client + Klient serveru Razor pro jazyk C# @@ -544,7 +544,7 @@ Some color scheme colors are being overridden by changes made in the Environment > Fonts and Colors options page. Choose `Use Defaults` in the Fonts and Colors page to revert all customizations. - Some color scheme colors are being overridden by changes made in the Environment > Fonts and Colors options page. Choose `Use Defaults` in the Fonts and Colors page to revert all customizations. + Některé barvy barevného schématu se přepsaly změnami na stránce možností Prostředí > Písma a barvy. Pokud chcete zrušit všechna přizpůsobení, vyberte na stránce Písma a barvy možnost Použít výchozí. @@ -594,7 +594,7 @@ Value: - Value: + Hodnota: @@ -604,12 +604,12 @@ Visual Studio 2017 - Visual Studio 2017 + Visual Studio 2017 Visual Studio 2019 - Visual Studio 2019 + Visual Studio 2019 diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.de.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.de.xlf index ee4e068dd465b..623585970163c 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.de.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.de.xlf @@ -114,12 +114,12 @@ Editor Color Scheme - Editor Color Scheme + Editor-Farbschema Editor color scheme options are only available when using a color theme bundled with Visual Studio. The color theme can be configured from the Environment > General options page. - Editor color scheme options are only available when using a color theme bundled with Visual Studio. The color theme can be configured from the Environment > General options page. + Optionen für das Editor-Farbschema sind nur bei Verwendung eines im Lieferumfang von Visual Studio enthaltenen Farbdesigns verfügbar. Das Farbdesign kann über die Seite "Umgebung" > "Allgemeine Optionen" konfiguriert werden. @@ -429,7 +429,7 @@ Prefer simplified boolean expressions - Prefer simplified boolean expressions + Vereinfachte boolesche Ausdrücke bevorzugen @@ -444,7 +444,7 @@ Razor C# Language Server Client - Razor C# Language Server Client + Client des Razor C#-Sprachservers @@ -544,7 +544,7 @@ Some color scheme colors are being overridden by changes made in the Environment > Fonts and Colors options page. Choose `Use Defaults` in the Fonts and Colors page to revert all customizations. - Some color scheme colors are being overridden by changes made in the Environment > Fonts and Colors options page. Choose `Use Defaults` in the Fonts and Colors page to revert all customizations. + Einige Farbschemafarben werden durch Änderungen überschrieben, die auf der Optionsseite "Umgebung" > "Schriftarten und Farben" vorgenommen wurden. Wählen Sie auf der Seite "Schriftarten und Farben" die Option "Standardwerte verwenden" aus, um alle Anpassungen rückgängig zu machen. @@ -594,7 +594,7 @@ Value: - Value: + Wert: @@ -604,12 +604,12 @@ Visual Studio 2017 - Visual Studio 2017 + Visual Studio 2017 Visual Studio 2019 - Visual Studio 2019 + Visual Studio 2019 diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.es.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.es.xlf index 4fbab2f07cb24..c1f8710bbbbc6 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.es.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.es.xlf @@ -114,12 +114,12 @@ Editor Color Scheme - Editor Color Scheme + Combinación de colores del editor Editor color scheme options are only available when using a color theme bundled with Visual Studio. The color theme can be configured from the Environment > General options page. - Editor color scheme options are only available when using a color theme bundled with Visual Studio. The color theme can be configured from the Environment > General options page. + Las opciones de combinación de colores del editor solo están disponibles cuando se usa un tema de color incluido con Visual Studio. Dicho tema se puede configurar desde la página de Entorno > Opciones generales. @@ -379,7 +379,7 @@ Open documents - Abrir documentos + Documentos abiertos @@ -429,7 +429,7 @@ Prefer simplified boolean expressions - Prefer simplified boolean expressions + Preferir expresiones booleanas simplificadas @@ -444,7 +444,7 @@ Razor C# Language Server Client - Razor C# Language Server Client + Cliente de servidor de lenguaje C# de Razor @@ -544,7 +544,7 @@ Some color scheme colors are being overridden by changes made in the Environment > Fonts and Colors options page. Choose `Use Defaults` in the Fonts and Colors page to revert all customizations. - Some color scheme colors are being overridden by changes made in the Environment > Fonts and Colors options page. Choose `Use Defaults` in the Fonts and Colors page to revert all customizations. + Algunos de los colores de la combinación se reemplazan por los cambios realizados en la página de opciones de Entorno > Fuentes y colores. Elija "Usar valores predeterminados" en la página Fuentes y colores para revertir todas las personalizaciones. @@ -594,7 +594,7 @@ Value: - Value: + Valor: @@ -604,12 +604,12 @@ Visual Studio 2017 - Visual Studio 2017 + Visual Studio 2017 Visual Studio 2019 - Visual Studio 2019 + Visual Studio 2019 diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.fr.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.fr.xlf index cf60eedb9c91c..1ebff533a5b7c 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.fr.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.fr.xlf @@ -114,12 +114,12 @@ Editor Color Scheme - Editor Color Scheme + Modèle de couleurs de l'éditeur Editor color scheme options are only available when using a color theme bundled with Visual Studio. The color theme can be configured from the Environment > General options page. - Editor color scheme options are only available when using a color theme bundled with Visual Studio. The color theme can be configured from the Environment > General options page. + Les options relatives au modèle de couleurs de l'éditeur sont disponibles uniquement quand vous utilisez un thème de couleur fourni en bundle avec Visual Studio. Vous pouvez configurer le thème de couleur à partir de la page d'options Environnement > Général. @@ -429,7 +429,7 @@ Prefer simplified boolean expressions - Prefer simplified boolean expressions + Préférer les expressions booléennes simplifiées @@ -444,7 +444,7 @@ Razor C# Language Server Client - Razor C# Language Server Client + Client Razor du serveur de langage C# @@ -544,7 +544,7 @@ Some color scheme colors are being overridden by changes made in the Environment > Fonts and Colors options page. Choose `Use Defaults` in the Fonts and Colors page to revert all customizations. - Some color scheme colors are being overridden by changes made in the Environment > Fonts and Colors options page. Choose `Use Defaults` in the Fonts and Colors page to revert all customizations. + Certaines couleurs du modèle de couleurs sont substituées à la suite des changements apportés dans la page d'options Environnement > Polices et couleurs. Choisissez Utiliser les valeurs par défaut dans la page Polices et couleurs pour restaurer toutes les personnalisations. @@ -594,7 +594,7 @@ Value: - Value: + Valeur : @@ -604,12 +604,12 @@ Visual Studio 2017 - Visual Studio 2017 + Visual Studio 2017 Visual Studio 2019 - Visual Studio 2019 + Visual Studio 2019 diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.it.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.it.xlf index ac0c98c4197b6..ebcf2154e8173 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.it.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.it.xlf @@ -114,12 +114,12 @@ Editor Color Scheme - Editor Color Scheme + Combinazione colori editor Editor color scheme options are only available when using a color theme bundled with Visual Studio. The color theme can be configured from the Environment > General options page. - Editor color scheme options are only available when using a color theme bundled with Visual Studio. The color theme can be configured from the Environment > General options page. + Le opzioni della combinazione colori dell'editor sono disponibili solo quando si usa un tema colori fornito con Visual Studio. È possibile configurare il tema colore nella pagina Ambiente > Opzioni generali. @@ -379,7 +379,7 @@ Open documents - Apri documenti + Documenti aperti @@ -429,7 +429,7 @@ Prefer simplified boolean expressions - Prefer simplified boolean expressions + Preferisci espressioni booleane semplificate @@ -444,7 +444,7 @@ Razor C# Language Server Client - Razor C# Language Server Client + Client del server di linguaggio Razor C# @@ -544,7 +544,7 @@ Some color scheme colors are being overridden by changes made in the Environment > Fonts and Colors options page. Choose `Use Defaults` in the Fonts and Colors page to revert all customizations. - Some color scheme colors are being overridden by changes made in the Environment > Fonts and Colors options page. Choose `Use Defaults` in the Fonts and Colors page to revert all customizations. + Alcuni colori della combinazione colori sono sostituiti dalle modifiche apportate nella pagina di opzioni Ambiente > Tipi di carattere e colori. Scegliere `Usa impostazioni predefinite` nella pagina Tipi di carattere e colori per ripristinare tutte le personalizzazioni. @@ -594,7 +594,7 @@ Value: - Value: + Valore: @@ -604,12 +604,12 @@ Visual Studio 2017 - Visual Studio 2017 + Visual Studio 2017 Visual Studio 2019 - Visual Studio 2019 + Visual Studio 2019 diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ja.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ja.xlf index 920b31bd8ea87..c378a2c504c82 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ja.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ja.xlf @@ -114,12 +114,12 @@ Editor Color Scheme - Editor Color Scheme + エディターの配色 Editor color scheme options are only available when using a color theme bundled with Visual Studio. The color theme can be configured from the Environment > General options page. - Editor color scheme options are only available when using a color theme bundled with Visual Studio. The color theme can be configured from the Environment > General options page. + エディターの配色オプションは、Visual Studio にバンドルされている配色テーマを使用している場合にのみ使用できます。配色テーマは、[環境] > [全般] オプション ページで構成できます。 @@ -429,7 +429,7 @@ Prefer simplified boolean expressions - Prefer simplified boolean expressions + 単純なブール式を優先する @@ -444,7 +444,7 @@ Razor C# Language Server Client - Razor C# Language Server Client + Razor C# 言語サーバー クライアント @@ -544,7 +544,7 @@ Some color scheme colors are being overridden by changes made in the Environment > Fonts and Colors options page. Choose `Use Defaults` in the Fonts and Colors page to revert all customizations. - Some color scheme colors are being overridden by changes made in the Environment > Fonts and Colors options page. Choose `Use Defaults` in the Fonts and Colors page to revert all customizations. + 一部の配色パターンの色は、[環境] > [フォントおよび色] オプション ページで行われた変更によって上書きされます。[フォントおよび色] オプション ページで [既定値を使用] を選択すると、すべてのカスタマイズが元に戻ります。 @@ -594,7 +594,7 @@ Value: - Value: + 値: @@ -604,12 +604,12 @@ Visual Studio 2017 - Visual Studio 2017 + Visual Studio 2017 Visual Studio 2019 - Visual Studio 2019 + Visual Studio 2019 diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ko.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ko.xlf index a0e44134e1eb4..ee25ec5a54ebf 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ko.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ko.xlf @@ -114,12 +114,12 @@ Editor Color Scheme - Editor Color Scheme + 편집기 색 구성표 Editor color scheme options are only available when using a color theme bundled with Visual Studio. The color theme can be configured from the Environment > General options page. - Editor color scheme options are only available when using a color theme bundled with Visual Studio. The color theme can be configured from the Environment > General options page. + 편집기 색 구성표 옵션은 Visual Studio와 함께 제공되는 색 테마를 사용하는 경우에만 사용할 수 있습니다. 색 테마는 [환경] > [일반] 옵션 페이지에서 구성할 수 있습니다. @@ -379,7 +379,7 @@ Open documents - 문서 열기 + 열린 문서 @@ -429,7 +429,7 @@ Prefer simplified boolean expressions - Prefer simplified boolean expressions + 간단한 부울 식을 기본으로 사용 @@ -444,7 +444,7 @@ Razor C# Language Server Client - Razor C# Language Server Client + Razor C# 언어 서버 클라이언트 @@ -544,7 +544,7 @@ Some color scheme colors are being overridden by changes made in the Environment > Fonts and Colors options page. Choose `Use Defaults` in the Fonts and Colors page to revert all customizations. - Some color scheme colors are being overridden by changes made in the Environment > Fonts and Colors options page. Choose `Use Defaults` in the Fonts and Colors page to revert all customizations. + 색 구성표의 일부 색이 [환경] > [글꼴 및 색] 옵션 페이지에서 변경한 내용에 따라 재정의됩니다. 모든 사용자 지정을 되돌리려면 [글꼴 및 색] 페이지에서 '기본값 사용'을 선택하세요. @@ -594,7 +594,7 @@ Value: - Value: + 값: @@ -604,12 +604,12 @@ Visual Studio 2017 - Visual Studio 2017 + Visual Studio 2017 Visual Studio 2019 - Visual Studio 2019 + Visual Studio 2019 diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.pl.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.pl.xlf index fe824a4eeefa0..3658d5e8c116f 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.pl.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.pl.xlf @@ -114,12 +114,12 @@ Editor Color Scheme - Editor Color Scheme + Schemat kolorów edytora Editor color scheme options are only available when using a color theme bundled with Visual Studio. The color theme can be configured from the Environment > General options page. - Editor color scheme options are only available when using a color theme bundled with Visual Studio. The color theme can be configured from the Environment > General options page. + Opcje schematu kolorów edytora są dostępne tylko w przypadku używania motywu kolorów wbudowanego w program Visual Studio. Motyw kolorów można skonfigurować za pomocą strony Środowisko > Opcje ogólne. @@ -379,7 +379,7 @@ Open documents - Otwórz dokumenty + Otwarte dokumenty @@ -429,7 +429,7 @@ Prefer simplified boolean expressions - Prefer simplified boolean expressions + Preferuj uproszczone wyrażenia logiczne @@ -444,7 +444,7 @@ Razor C# Language Server Client - Razor C# Language Server Client + Klient serwera języka C# platformy Razor @@ -544,7 +544,7 @@ Some color scheme colors are being overridden by changes made in the Environment > Fonts and Colors options page. Choose `Use Defaults` in the Fonts and Colors page to revert all customizations. - Some color scheme colors are being overridden by changes made in the Environment > Fonts and Colors options page. Choose `Use Defaults` in the Fonts and Colors page to revert all customizations. + Niektóre kolory w schemacie kolorów są przesłaniane przez zmiany wprowadzone na stronie opcji Środowisko > Czcionki i kolory. Wybierz pozycję „Użyj ustawień domyślnych” na stronie Czcionki i kolory, aby wycofać wszystkie dostosowania. @@ -594,7 +594,7 @@ Value: - Value: + Wartość: @@ -604,12 +604,12 @@ Visual Studio 2017 - Visual Studio 2017 + Visual Studio 2017 Visual Studio 2019 - Visual Studio 2019 + Visual Studio 2019 diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.pt-BR.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.pt-BR.xlf index 8dffde593152f..bd763480533eb 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.pt-BR.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.pt-BR.xlf @@ -114,12 +114,12 @@ Editor Color Scheme - Editor Color Scheme + Esquema de Cores do Editor Editor color scheme options are only available when using a color theme bundled with Visual Studio. The color theme can be configured from the Environment > General options page. - Editor color scheme options are only available when using a color theme bundled with Visual Studio. The color theme can be configured from the Environment > General options page. + As opções do esquema de cores do editor estão disponíveis somente ao usar um tema de cores agrupado com Visual Studio. O tema de cores pode ser configurado na página Ambiente > Opções gerais. @@ -429,7 +429,7 @@ Prefer simplified boolean expressions - Prefer simplified boolean expressions + Preferir expressões boolianas simplificadas @@ -444,7 +444,7 @@ Razor C# Language Server Client - Razor C# Language Server Client + Cliente do Servidor de Linguagem C# do Razor @@ -544,7 +544,7 @@ Some color scheme colors are being overridden by changes made in the Environment > Fonts and Colors options page. Choose `Use Defaults` in the Fonts and Colors page to revert all customizations. - Some color scheme colors are being overridden by changes made in the Environment > Fonts and Colors options page. Choose `Use Defaults` in the Fonts and Colors page to revert all customizations. + Algumas cores do esquema de cores estão sendo substituídas pelas alterações feitas na página de Ambiente > Opções de Fontes e Cores. Escolha 'Usar Padrões' na página Fontes e Cores para reverter todas as personalizações. @@ -594,7 +594,7 @@ Value: - Value: + Valor: @@ -604,12 +604,12 @@ Visual Studio 2017 - Visual Studio 2017 + Visual Studio 2017 Visual Studio 2019 - Visual Studio 2019 + Visual Studio 2019 diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ru.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ru.xlf index b8ad3906ffe40..98febcd71dd99 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ru.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ru.xlf @@ -114,12 +114,12 @@ Editor Color Scheme - Editor Color Scheme + Цветовая схема редактора Editor color scheme options are only available when using a color theme bundled with Visual Studio. The color theme can be configured from the Environment > General options page. - Editor color scheme options are only available when using a color theme bundled with Visual Studio. The color theme can be configured from the Environment > General options page. + Параметры цветовой схемы редактора доступны только при использовании цветовой темы, поставляемой вместе с Visual Studio. Цветовую тему можно настроить на странице "Среда" > "Общие параметры". @@ -429,7 +429,7 @@ Prefer simplified boolean expressions - Prefer simplified boolean expressions + Предпочитать упрощенные логические выражения @@ -444,7 +444,7 @@ Razor C# Language Server Client - Razor C# Language Server Client + Клиент языкового сервера C# Razor @@ -544,7 +544,7 @@ Some color scheme colors are being overridden by changes made in the Environment > Fonts and Colors options page. Choose `Use Defaults` in the Fonts and Colors page to revert all customizations. - Some color scheme colors are being overridden by changes made in the Environment > Fonts and Colors options page. Choose `Use Defaults` in the Fonts and Colors page to revert all customizations. + Некоторые цвета цветовой схемы переопределяются изменениями, сделанными на странице "Среда" > "Шрифты и цвета". Выберите "Использовать значения по умолчанию" на странице "Шрифты и цвета", чтобы отменить все настройки. @@ -594,7 +594,7 @@ Value: - Value: + Значение: @@ -604,12 +604,12 @@ Visual Studio 2017 - Visual Studio 2017 + Visual Studio 2017 Visual Studio 2019 - Visual Studio 2019 + Visual Studio 2019 diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.tr.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.tr.xlf index 03b36d9c27a6c..4444ebe8b975d 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.tr.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.tr.xlf @@ -114,12 +114,12 @@ Editor Color Scheme - Editor Color Scheme + Düzenleyici Renk Düzeni Editor color scheme options are only available when using a color theme bundled with Visual Studio. The color theme can be configured from the Environment > General options page. - Editor color scheme options are only available when using a color theme bundled with Visual Studio. The color theme can be configured from the Environment > General options page. + Düzenleyici renk düzeni seçenekleri yalnızca Visual Studio ile paketlenmiş bir renk teması ile birlikte kullanılabilir. Renk teması, Ortam > Genel seçenekler sayfasından yapılandırılabilir. @@ -429,7 +429,7 @@ Prefer simplified boolean expressions - Prefer simplified boolean expressions + Basitleştirilmiş boolean ifadelerini tercih edin @@ -444,7 +444,7 @@ Razor C# Language Server Client - Razor C# Language Server Client + Razor C# Dil Sunucusu İstemcisi @@ -544,7 +544,7 @@ Some color scheme colors are being overridden by changes made in the Environment > Fonts and Colors options page. Choose `Use Defaults` in the Fonts and Colors page to revert all customizations. - Some color scheme colors are being overridden by changes made in the Environment > Fonts and Colors options page. Choose `Use Defaults` in the Fonts and Colors page to revert all customizations. + Bazı renk düzeni renkleri, Ortam > Yazı Tipleri ve Renkler seçenek sayfasında yapılan değişiklikler tarafından geçersiz kılınıyor. Tüm özelleştirmeleri geri döndürmek için Yazı Tipleri ve Renkler sayfasında `Varsayılanları Kullan` seçeneğini belirleyin. @@ -594,7 +594,7 @@ Value: - Value: + Değer: @@ -604,12 +604,12 @@ Visual Studio 2017 - Visual Studio 2017 + Visual Studio 2017 Visual Studio 2019 - Visual Studio 2019 + Visual Studio 2019 diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hans.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hans.xlf index 1438b670272f3..ba2edfd4490a5 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hans.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hans.xlf @@ -114,12 +114,12 @@ Editor Color Scheme - Editor Color Scheme + 编辑器配色方案 Editor color scheme options are only available when using a color theme bundled with Visual Studio. The color theme can be configured from the Environment > General options page. - Editor color scheme options are only available when using a color theme bundled with Visual Studio. The color theme can be configured from the Environment > General options page. + 只有在使用与 Visual Studio 绑定的颜色主题时,编辑器配色方案选项才可用。可在“环境”>“常规”选项页中配置颜色主题。 @@ -379,7 +379,7 @@ Open documents - 打开文档 + 打开的文档 @@ -429,7 +429,7 @@ Prefer simplified boolean expressions - Prefer simplified boolean expressions + 首选简化的布尔表达式 @@ -444,7 +444,7 @@ Razor C# Language Server Client - Razor C# Language Server Client + Razor C# 语言服务器客户端 @@ -544,7 +544,7 @@ Some color scheme colors are being overridden by changes made in the Environment > Fonts and Colors options page. Choose `Use Defaults` in the Fonts and Colors page to revert all customizations. - Some color scheme colors are being overridden by changes made in the Environment > Fonts and Colors options page. Choose `Use Defaults` in the Fonts and Colors page to revert all customizations. + 在“环境”>“字体和颜色”选项页中所做的更改将替代某些配色方案颜色。在“字体和颜色”页中选择“使用默认值”,还原所有自定义项。 @@ -594,7 +594,7 @@ Value: - Value: + 值: @@ -604,12 +604,12 @@ Visual Studio 2017 - Visual Studio 2017 + Visual Studio 2017 Visual Studio 2019 - Visual Studio 2019 + Visual Studio 2019 diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hant.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hant.xlf index 301b9796bfdfa..31c87f2733aa4 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hant.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hant.xlf @@ -114,12 +114,12 @@ Editor Color Scheme - Editor Color Scheme + 編輯器色彩配置 Editor color scheme options are only available when using a color theme bundled with Visual Studio. The color theme can be configured from the Environment > General options page. - Editor color scheme options are only available when using a color theme bundled with Visual Studio. The color theme can be configured from the Environment > General options page. + 只有在使用與 Visual Studio 配套的色彩佈景主題時,才可使用編輯器色彩配置選項。您可從 [環境] > [一般選項] 頁面設定色彩佈景主題。 @@ -379,7 +379,7 @@ Open documents - 開啟文件 + 開啟的文件 @@ -429,7 +429,7 @@ Prefer simplified boolean expressions - Prefer simplified boolean expressions + 建議使用簡易布林運算式 @@ -444,7 +444,7 @@ Razor C# Language Server Client - Razor C# Language Server Client + Razor C# 語言伺服器用戶端 @@ -544,7 +544,7 @@ Some color scheme colors are being overridden by changes made in the Environment > Fonts and Colors options page. Choose `Use Defaults` in the Fonts and Colors page to revert all customizations. - Some color scheme colors are being overridden by changes made in the Environment > Fonts and Colors options page. Choose `Use Defaults` in the Fonts and Colors page to revert all customizations. + [環境] > [字型和色彩選項] 頁面中所做的變更覆寫了某些色彩配置的色彩。請選擇 [字型和色彩] 頁面中的 [使用預設] 來還原所有自訂。 @@ -594,7 +594,7 @@ Value: - Value: + 值: @@ -604,12 +604,12 @@ Visual Studio 2017 - Visual Studio 2017 + Visual Studio 2017 Visual Studio 2019 - Visual Studio 2019 + Visual Studio 2019 diff --git a/src/VisualStudio/Core/Test.Next/EditAndContinue/ModuleUtilitiesTests.cs b/src/VisualStudio/Core/Test.Next/EditAndContinue/ModuleUtilitiesTests.cs new file mode 100644 index 0000000000000..85713409639c5 --- /dev/null +++ b/src/VisualStudio/Core/Test.Next/EditAndContinue/ModuleUtilitiesTests.cs @@ -0,0 +1,35 @@ +// 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 Microsoft.CodeAnalysis.Text; +using Microsoft.VisualStudio.Debugger.Symbols; +using Xunit; + +namespace Microsoft.VisualStudio.LanguageServices.EditAndContinue.UnitTests +{ + public class ModuleUtilitiesTests + { + [Theory] + [InlineData(1, 2, 3, 4, 0, 1, 2, 3)] + [InlineData(5, 0, 5, 0, 4, 0, 4, 0)] + [InlineData(0, 0, 0, 0, 0, 0, 0, 0)] + [InlineData(0, 2, 2, 2, 0, 0, 0, 0)] + [InlineData(2, 0, 2, 2, 0, 0, 0, 0)] + [InlineData(2, 2, 0, 2, 0, 0, 0, 0)] + [InlineData(2, 2, 2, 0, 0, 0, 0, 0)] + [InlineData(int.MinValue, 2, 2, 2, 0, 0, 0, 0)] + [InlineData(2, int.MinValue, 2, 2, 0, 0, 0, 0)] + [InlineData(2, 2, int.MinValue, 2, 0, 0, 0, 0)] + [InlineData(2, 2, 2, int.MinValue, 0, 0, 0, 0)] + [InlineData(int.MaxValue, int.MaxValue, int.MaxValue, int.MaxValue, int.MaxValue - 1, int.MaxValue - 1, int.MaxValue - 1, int.MaxValue - 1)] + public void Span(int startLine, int startColumn, int endLine, int endColumn, + int expectedStartLine, int expectedStartColumn, int expectedEndLine, int expectedEndColumn) + { + var actual = ModuleUtilities.ToLinePositionSpan(new DkmTextSpan(StartLine: startLine, EndLine: endLine, StartColumn: startColumn, EndColumn: endColumn)); + var expected = new LinePositionSpan(new LinePosition(expectedStartLine, expectedStartColumn), new LinePosition(expectedEndLine, expectedEndColumn)); + + Assert.Equal(expected, actual); + } + } +} diff --git a/src/VisualStudio/Core/Test.Next/EditAndContiue/Mocks/DkmActiveStatement.cs b/src/VisualStudio/Core/Test.Next/EditAndContiue/Mocks/DkmActiveStatement.cs deleted file mode 100644 index 7f176da0dd141..0000000000000 --- a/src/VisualStudio/Core/Test.Next/EditAndContiue/Mocks/DkmActiveStatement.cs +++ /dev/null @@ -1,36 +0,0 @@ -// 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 Microsoft.VisualStudio.Debugger.Clr; -using Microsoft.VisualStudio.Debugger.Symbols; - -namespace Microsoft.VisualStudio.LanguageServices.UnitTests.EditAndContinue -{ - internal sealed class DkmActiveStatement - { - public DkmActiveStatementFlags Flags { get; set; } - public DkmInstructionSymbol InstructionSymbol { get; set; } - public DkmClrInstructionAddress InstructionAddress { get; set; } - public DkmThread Thread { get; set; } - - public DkmActiveStatement( - Guid threadId, - Guid moduleId, - int methodToken, - uint methodVersion, - uint ilOffset, - DkmActiveStatementFlags flags) - { - Flags = flags; - InstructionAddress = new DkmClrInstructionAddress() - { - MethodId = new DkmClrMethodId(methodToken, methodVersion), - ILOffset = ilOffset, - ModuleInstance = new DkmClrModuleInstance() { Mvid = moduleId } - }; - Thread = new DkmThread() { UniqueId = threadId }; - } - } -} diff --git a/src/VisualStudio/Core/Test.Next/EditAndContiue/Mocks/DkmClrInstructionAddress.cs b/src/VisualStudio/Core/Test.Next/EditAndContiue/Mocks/DkmClrInstructionAddress.cs deleted file mode 100644 index 04f5592390178..0000000000000 --- a/src/VisualStudio/Core/Test.Next/EditAndContiue/Mocks/DkmClrInstructionAddress.cs +++ /dev/null @@ -1,16 +0,0 @@ -// 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 Microsoft.VisualStudio.Debugger.Clr; - -namespace Microsoft.VisualStudio.LanguageServices.UnitTests.EditAndContinue -{ - public class DkmClrInstructionAddress - { - public DkmClrMethodId MethodId { get; set; } - public uint ILOffset { get; set; } - public DkmClrModuleInstance ModuleInstance { get; set; } - } -} diff --git a/src/VisualStudio/Core/Test.Next/EditAndContiue/Mocks/DkmClrModuleInstance.cs b/src/VisualStudio/Core/Test.Next/EditAndContiue/Mocks/DkmClrModuleInstance.cs deleted file mode 100644 index 6625a1ccf2211..0000000000000 --- a/src/VisualStudio/Core/Test.Next/EditAndContiue/Mocks/DkmClrModuleInstance.cs +++ /dev/null @@ -1,13 +0,0 @@ -// 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; - -namespace Microsoft.VisualStudio.LanguageServices.UnitTests.EditAndContinue -{ - public class DkmClrModuleInstance - { - public Guid Mvid { get; set; } - } -} diff --git a/src/VisualStudio/Core/Test.Next/EditAndContiue/Mocks/DkmModule.cs b/src/VisualStudio/Core/Test.Next/EditAndContiue/Mocks/DkmModule.cs deleted file mode 100644 index c5283696e0f5b..0000000000000 --- a/src/VisualStudio/Core/Test.Next/EditAndContiue/Mocks/DkmModule.cs +++ /dev/null @@ -1,13 +0,0 @@ -// 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 Microsoft.VisualStudio.Debugger.Symbols; - -namespace Microsoft.VisualStudio.LanguageServices.UnitTests.EditAndContinue -{ - internal sealed class DkmModule - { - public DkmModuleId Id { get; set; } - } -} diff --git a/src/VisualStudio/Core/Test.Next/EditAndContiue/Mocks/DkmThread.cs b/src/VisualStudio/Core/Test.Next/EditAndContiue/Mocks/DkmThread.cs deleted file mode 100644 index 41977a751c0f6..0000000000000 --- a/src/VisualStudio/Core/Test.Next/EditAndContiue/Mocks/DkmThread.cs +++ /dev/null @@ -1,13 +0,0 @@ -// 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; - -namespace Microsoft.VisualStudio.LanguageServices.UnitTests.EditAndContinue -{ - public class DkmThread - { - public Guid UniqueId { get; set; } - } -} diff --git a/src/VisualStudio/Core/Test.Next/EditAndContiue/VisualStudioActiveStatementProviderTests.cs b/src/VisualStudio/Core/Test.Next/EditAndContiue/VisualStudioActiveStatementProviderTests.cs deleted file mode 100644 index 304cf3c78273b..0000000000000 --- a/src/VisualStudio/Core/Test.Next/EditAndContiue/VisualStudioActiveStatementProviderTests.cs +++ /dev/null @@ -1,140 +0,0 @@ -// 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.Collections.Generic; -using System.Linq; -using Microsoft.CodeAnalysis.EditAndContinue; -using Microsoft.CodeAnalysis.PooledObjects; -using Microsoft.CodeAnalysis.Text; -using Microsoft.VisualStudio.Debugger.Clr; -using Microsoft.VisualStudio.Debugger.Symbols; -using Roslyn.Test.Utilities; -using Xunit; - -namespace Microsoft.VisualStudio.LanguageServices.UnitTests.EditAndContinue -{ - public class VisualStudioActiveStatementProviderTests - { - [Fact] - public void GroupActiveStatementsByInstructionId() - { - var module1 = new Guid("10000000-0000-0000-0000-000000000000"); - var module2 = new Guid("20000000-0000-0000-0000-000000000000"); - var thread1 = new Guid("01000000-0000-0000-0000-000000000000"); - var thread2 = new Guid("02000000-0000-0000-0000-000000000000"); - - var map = new Dictionary Threads, int Index, ActiveStatementFlags Flags)>(); - - VisualStudioActiveStatementProvider.GroupActiveStatementsByInstructionId(map, new[] - { - // thread #1: - new DkmActiveStatement( - thread1, - module1, - 0x06000001, - methodVersion: 1, - ilOffset: 0, - DkmActiveStatementFlags.None | DkmActiveStatementFlags.MethodUpToDate), - new DkmActiveStatement( - thread1, - module2, - 0x06000001, - methodVersion: 1, - ilOffset: 0, - DkmActiveStatementFlags.Leaf | DkmActiveStatementFlags.MethodUpToDate), - - // thread #2: - new DkmActiveStatement( - thread2, - module1, - 0x06000001, - methodVersion: 1, - ilOffset: 0, - DkmActiveStatementFlags.MethodUpToDate), - new DkmActiveStatement( - thread2, - module1, - 0x06000002, - methodVersion: 1, - ilOffset: 2, - DkmActiveStatementFlags.MidStatement), - new DkmActiveStatement( - thread2, - module1, - 0x06000003, - methodVersion: 1, - ilOffset: 4, - DkmActiveStatementFlags.NonUser | DkmActiveStatementFlags.MethodUpToDate), - new DkmActiveStatement( - thread2, - module1, - 0x06000001, - methodVersion: 1, - ilOffset: 0, - DkmActiveStatementFlags.Leaf | DkmActiveStatementFlags.MethodUpToDate) - }); - - AssertEx.Equal(new[] - { - "0: mvid=10000000-0000-0000-0000-000000000000 0x06000001 v1 IL_0000 threads=[01000000-0000-0000-0000-000000000000,02000000-0000-0000-0000-000000000000,02000000-0000-0000-0000-000000000000] [IsLeafFrame, MethodUpToDate, IsNonLeafFrame]", - "1: mvid=20000000-0000-0000-0000-000000000000 0x06000001 v1 IL_0000 threads=[01000000-0000-0000-0000-000000000000] [IsLeafFrame, MethodUpToDate]", - "2: mvid=10000000-0000-0000-0000-000000000000 0x06000002 v1 IL_0002 threads=[02000000-0000-0000-0000-000000000000] [PartiallyExecuted, IsNonLeafFrame]", - "3: mvid=10000000-0000-0000-0000-000000000000 0x06000003 v1 IL_0004 threads=[02000000-0000-0000-0000-000000000000] [NonUserCode, MethodUpToDate, IsNonLeafFrame]" - }, map.OrderBy(e => e.Value.Index).Select(e => $"{e.Value.Index}: {e.Key.GetDebuggerDisplay()} threads=[{string.Join(",", e.Value.Threads)}] [{e.Value.Flags}]")); - } - - [Fact] - public void GroupActiveStatementsByInstructionId_InconsistentFlags() - { - var module1 = new Guid("10000000-0000-0000-0000-000000000000"); - var thread1 = new Guid("01000000-0000-0000-0000-000000000000"); - - var map = new Dictionary Threads, int Index, ActiveStatementFlags Flags)>(); - - Assert.Throws(() => VisualStudioActiveStatementProvider.GroupActiveStatementsByInstructionId(map, new[] - { - // thread #1: - new DkmActiveStatement( - thread1, - module1, - 0x06000001, - methodVersion: 1, - ilOffset: 0, - DkmActiveStatementFlags.MethodUpToDate), - - // thread #2: - new DkmActiveStatement( - thread1, - module1, - 0x06000001, - methodVersion: 1, - ilOffset: 0, - DkmActiveStatementFlags.MidStatement) - })); - } - - [Theory] - [InlineData(1, 2, 3, 4, 0, 1, 2, 3)] - [InlineData(5, 0, 5, 0, 4, 0, 4, 0)] - [InlineData(0, 0, 0, 0, 0, 0, 0, 0)] - [InlineData(0, 2, 2, 2, 0, 0, 0, 0)] - [InlineData(2, 0, 2, 2, 0, 0, 0, 0)] - [InlineData(2, 2, 0, 2, 0, 0, 0, 0)] - [InlineData(2, 2, 2, 0, 0, 0, 0, 0)] - [InlineData(int.MinValue, 2, 2, 2, 0, 0, 0, 0)] - [InlineData(2, int.MinValue, 2, 2, 0, 0, 0, 0)] - [InlineData(2, 2, int.MinValue, 2, 0, 0, 0, 0)] - [InlineData(2, 2, 2, int.MinValue, 0, 0, 0, 0)] - [InlineData(int.MaxValue, int.MaxValue, int.MaxValue, int.MaxValue, int.MaxValue - 1, int.MaxValue - 1, int.MaxValue - 1, int.MaxValue - 1)] - public void Span(int startLine, int startColumn, int endLine, int endColumn, - int expectedStartLine, int expectedStartColumn, int expectedEndLine, int expectedEndColumn) - { - var actual = VisualStudioActiveStatementProvider.ToLinePositionSpan(new DkmTextSpan(StartLine: startLine, EndLine: endLine, StartColumn: startColumn, EndColumn: endColumn)); - var expected = new LinePositionSpan(new LinePosition(expectedStartLine, expectedStartColumn), new LinePosition(expectedEndLine, expectedEndColumn)); - - Assert.Equal(expected, actual); - } - } -} diff --git a/src/VisualStudio/Core/Test.Next/Roslyn.VisualStudio.Next.UnitTests.csproj b/src/VisualStudio/Core/Test.Next/Roslyn.VisualStudio.Next.UnitTests.csproj index 78bb991497c84..81ebe114f4bd7 100644 --- a/src/VisualStudio/Core/Test.Next/Roslyn.VisualStudio.Next.UnitTests.csproj +++ b/src/VisualStudio/Core/Test.Next/Roslyn.VisualStudio.Next.UnitTests.csproj @@ -79,9 +79,6 @@ - - - diff --git a/src/VisualStudio/Core/Test.Next/Services/LanguageServiceTests.cs b/src/VisualStudio/Core/Test.Next/Services/LanguageServiceTests.cs index d3fe7784a4f10..43dbee2d4b862 100644 --- a/src/VisualStudio/Core/Test.Next/Services/LanguageServiceTests.cs +++ b/src/VisualStudio/Core/Test.Next/Services/LanguageServiceTests.cs @@ -4,15 +4,19 @@ using System; using System.Collections.Generic; +using System.Collections.Immutable; using System.Diagnostics; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis.Editor.Shared.Utilities; using Microsoft.CodeAnalysis.Editor.UnitTests.Workspaces; +using Microsoft.CodeAnalysis.PooledObjects; using Microsoft.CodeAnalysis.Remote; using Microsoft.CodeAnalysis.Test.Utilities; using Microsoft.VisualStudio.LanguageServer.Protocol; +using Microsoft.VisualStudio.Threading; using Newtonsoft.Json.Linq; using Roslyn.Test.Utilities.Remote; using StreamJsonRpc; @@ -28,17 +32,12 @@ public async Task CSharpLanguageServiceTest() { var code = @"class Test { void Method() { } }"; - using (var workspace = TestWorkspace.CreateCSharp(code)) - { - var solution = workspace.CurrentSolution; - - var results = await GetVsSearchResultsAsync(solution, WellKnownServiceHubServices.LanguageServer, "met"); + using var workspace = TestWorkspace.CreateCSharp(code); + var solution = workspace.CurrentSolution; - Assert.Equal(1, results.Count); - Assert.Equal(1, results[0].Symbols.Length); + var results = await GetVsSearchResultsAsync(workspace, WellKnownServiceHubServices.LanguageServer, "met"); - Assert.Equal("Method", results[0].Symbols[0].Name); - } + Assert.Equal("Method", Assert.Single(results).Name); } [Fact, Trait(Traits.Feature, Traits.Features.RemoteHost)] @@ -53,15 +52,12 @@ void method3() { } int methodProperty { get; } }"; - using (var workspace = TestWorkspace.CreateCSharp(code)) - { - var solution = workspace.CurrentSolution; + using var workspace = TestWorkspace.CreateCSharp(code); + var solution = workspace.CurrentSolution; - var results = await GetVsSearchResultsAsync(solution, WellKnownServiceHubServices.LanguageServer, "met"); + var results = await GetVsSearchResultsAsync(workspace, WellKnownServiceHubServices.LanguageServer, "met"); - Assert.Equal(1, results.Count); - Assert.Equal(4, results[0].Symbols.Length); - } + Assert.Equal(4, results.Length); } @@ -73,43 +69,51 @@ Sub Method() End Sub End Class"; - using (var workspace = TestWorkspace.CreateVisualBasic(code)) - { - var solution = workspace.CurrentSolution; - - var results = await GetVsSearchResultsAsync(solution, WellKnownServiceHubServices.LanguageServer, "met"); + using var workspace = TestWorkspace.CreateVisualBasic(code); + var solution = workspace.CurrentSolution; - Assert.Equal(1, results.Count); - Assert.Equal(1, results[0].Symbols.Length); + var results = await GetVsSearchResultsAsync(workspace, WellKnownServiceHubServices.LanguageServer, "met"); - Assert.Equal("Method", results[0].Symbols[0].Name); - } + Assert.Equal("Method", Assert.Single(results).Name); } - private async Task> GetVsSearchResultsAsync(Solution solution, string server, string query) + private async Task> GetVsSearchResultsAsync(TestWorkspace workspace, string server, string query) { - var client = (InProcRemoteHostClient)(await InProcRemoteHostClient.CreateAsync(solution.Workspace, runCacheCleanup: false)); + var solution = workspace.CurrentSolution; + var client = (InProcRemoteHostClient)await InProcRemoteHostClient.CreateAsync(solution.Workspace, runCacheCleanup: false); var document = solution.Projects.First().Documents.First(); await UpdatePrimaryWorkspace(client, solution.WithDocumentFilePath(document.Id, @"c:\" + document.FilePath)); - var callback = new Callback(); - using (var jsonRpc = JsonRpc.Attach(await client.RequestServiceAsync(server), callback)) + var workspaceSymbolParams = new WorkspaceSymbolParams + { + Query = query, + }; + + var symbolResultsBuilder = ArrayBuilder.GetInstance(); + var threadingContext = workspace.ExportProvider.GetExportedValue(); + var awaitableProgress = new ProgressWithCompletion(symbols => + { + symbolResultsBuilder.AddRange(symbols); + }, threadingContext.JoinableTaskFactory); + workspaceSymbolParams.PartialResultToken = awaitableProgress; + + using (var jsonRpc = JsonRpc.Attach(await client.RequestServiceAsync(server))) { var result = await jsonRpc.InvokeWithCancellationAsync( Methods.InitializeName, new object[] { new InitializeParams() }, CancellationToken.None); - Assert.True(result["capabilities"]["workspaceStreamingSymbolProvider"].ToObject()); + Assert.True(result["capabilities"]["workspaceSymbolProvider"].ToObject()); - var symbolResult = await jsonRpc.InvokeWithCancellationAsync( - VSSymbolMethods.WorkspaceBeginSymbolName, - new object[] { query, 0 }, + var symbolResult = await jsonRpc.InvokeWithCancellationAsync( + Methods.WorkspaceSymbolName, + new object[] { workspaceSymbolParams }, CancellationToken.None); } - return callback.Results; + return symbolResultsBuilder.ToImmutableAndFree(); } // make sure we always move remote workspace forward @@ -125,18 +129,5 @@ private async Task UpdatePrimaryWorkspace(InProcRemoteHostClient client, Solutio callbackTarget: null, CancellationToken.None)); } - - private class Callback - { - public List Results = new List(); - - [JsonRpcMethod(VSSymbolMethods.WorkspacePublishSymbolName)] - public Task WorkspacePublishSymbol(VSPublishSymbolParams symbols) - { - Results.Add(symbols); - - return Task.CompletedTask; - } - } } } diff --git a/src/VisualStudio/LiveShare/Impl/AbstractGoToDefinitionWithFindUsagesServiceHandler.cs b/src/VisualStudio/LiveShare/Impl/AbstractGoToDefinitionWithFindUsagesServiceHandler.cs index 7b039d7f6b729..6388d654ab04f 100644 --- a/src/VisualStudio/LiveShare/Impl/AbstractGoToDefinitionWithFindUsagesServiceHandler.cs +++ b/src/VisualStudio/LiveShare/Impl/AbstractGoToDefinitionWithFindUsagesServiceHandler.cs @@ -2,9 +2,10 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable enable + using System; using System.Collections.Generic; -using System.ComponentModel.Composition; using System.Linq; using System.Threading; using System.Threading.Tasks; @@ -70,7 +71,7 @@ public async Task HandleAsync(LSP.TextDocumentPositionParams request, Re /// private async Task> GetDefinitionsWithFindUsagesServiceAsync(Document document, int pos, CancellationToken cancellationToken) { - var findUsagesService = document.Project.LanguageServices.GetService(); + var findUsagesService = document.Project.LanguageServices.GetRequiredService(); var context = new SimpleFindUsagesContext(cancellationToken); diff --git a/src/VisualStudio/LiveShare/Impl/Client/CodeActions/RoslynCodeActionProvider.cs b/src/VisualStudio/LiveShare/Impl/Client/CodeActions/RoslynCodeActionProvider.cs index 18fdcccd38bd0..ebcb90532745c 100644 --- a/src/VisualStudio/LiveShare/Impl/Client/CodeActions/RoslynCodeActionProvider.cs +++ b/src/VisualStudio/LiveShare/Impl/Client/CodeActions/RoslynCodeActionProvider.cs @@ -48,15 +48,15 @@ public override async Task ComputeRefactoringsAsync(CodeRefactoringContext conte Range = ProtocolConversions.TextSpanToRange(span, text) }; - var commands = await lspClient.RequestAsync(LSP.Methods.TextDocumentCodeAction.ToLSRequest(), codeActionParams, cancellationToken).ConfigureAwait(false); - if (commands == null) + var results = await lspClient.RequestAsync(LSP.Methods.TextDocumentCodeAction.ToLSRequest(), codeActionParams, cancellationToken).ConfigureAwait(false); + if (results == null) { return; } - foreach (var command in commands) + foreach (var result in results) { - if (LanguageServicesUtils.TryParseJson(command, out LSP.Command lspCommand)) + if (result.Value is LSP.Command lspCommand) { // The command can either wrap a Command or a CodeAction. // If a Command, leave it unchanged; we want to dispatch it to the host to execute. diff --git a/src/VisualStudio/LiveShare/Impl/Client/LanguageServiceUtils.cs b/src/VisualStudio/LiveShare/Impl/Client/LanguageServiceUtils.cs index f6835b913a6cd..34568c59a71af 100644 --- a/src/VisualStudio/LiveShare/Impl/Client/LanguageServiceUtils.cs +++ b/src/VisualStudio/LiveShare/Impl/Client/LanguageServiceUtils.cs @@ -3,7 +3,6 @@ // See the LICENSE file in the project root for more information. using System.Linq; -using Microsoft.VisualStudio.LanguageServer.Protocol; using Newtonsoft.Json; using Newtonsoft.Json.Linq; @@ -27,16 +26,6 @@ public static string GetLanguageServerProviderServiceName(string lspServiceName) public static bool IsContentTypeRemote(string contentType) => contentType.EndsWith("-remote"); - public static bool HasVisualStudioLspCapability(this ClientCapabilities clientCapabilities) - { - if (clientCapabilities is VSClientCapabilities vsClientCapabilities) - { - return vsClientCapabilities.SupportsVisualStudioExtensions; - } - - return false; - } - public static bool TryParseJson(object json, out T t) { t = default; diff --git a/src/VisualStudio/LiveShare/Impl/Client/References/RoslynFindUsagesService.Exports.cs b/src/VisualStudio/LiveShare/Impl/Client/References/RoslynFindUsagesService.Exports.cs deleted file mode 100644 index 32bbfac1f8d58..0000000000000 --- a/src/VisualStudio/LiveShare/Impl/Client/References/RoslynFindUsagesService.Exports.cs +++ /dev/null @@ -1,33 +0,0 @@ -// 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 Microsoft.CodeAnalysis.Editor.FindUsages; -using Microsoft.CodeAnalysis.Host.Mef; - -namespace Microsoft.VisualStudio.LanguageServices.LiveShare.Client.References -{ - [ExportLanguageService(typeof(IFindUsagesService), StringConstants.CSharpLspLanguageName), Shared] - internal class CSharpLspFindUsagesService : RoslynFindUsagesService - { - [ImportingConstructor] - [Obsolete(MefConstruction.ImportingConstructorMessage, error: true)] - public CSharpLspFindUsagesService(CSharpLspClientServiceFactory csharpLspClientServiceFactory, RemoteLanguageServiceWorkspace remoteLanguageServiceWorkspace) - : base(csharpLspClientServiceFactory, remoteLanguageServiceWorkspace) - { - } - } - - [ExportLanguageService(typeof(IFindUsagesService), StringConstants.VBLspLanguageName), Shared] - internal class VBLspFindUsagesService : RoslynFindUsagesService - { - [ImportingConstructor] - [Obsolete(MefConstruction.ImportingConstructorMessage, error: true)] - public VBLspFindUsagesService(VisualBasicLspClientServiceFactory vbLspClientServiceFactory, RemoteLanguageServiceWorkspace remoteLanguageServiceWorkspace) - : base(vbLspClientServiceFactory, remoteLanguageServiceWorkspace) - { - } - } -} diff --git a/src/VisualStudio/LiveShare/Impl/Client/References/RoslynFindUsagesService.cs b/src/VisualStudio/LiveShare/Impl/Client/References/RoslynFindUsagesService.cs deleted file mode 100644 index b773a95843a83..0000000000000 --- a/src/VisualStudio/LiveShare/Impl/Client/References/RoslynFindUsagesService.cs +++ /dev/null @@ -1,73 +0,0 @@ -// 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.Collections.Immutable; -using System.Threading.Tasks; -using Microsoft.CodeAnalysis; -using Microsoft.CodeAnalysis.Editor.FindUsages; -using Microsoft.CodeAnalysis.FindUsages; -using Microsoft.CodeAnalysis.LanguageServer; -using Microsoft.VisualStudio.LanguageServices.LiveShare.Protocol; -using LSP = Microsoft.VisualStudio.LanguageServer.Protocol; - -namespace Microsoft.VisualStudio.LanguageServices.LiveShare.Client.References -{ - internal class RoslynFindUsagesService : IFindUsagesService - { - private readonly AbstractLspClientServiceFactory _roslynLspClientServiceFactory; - private readonly RemoteLanguageServiceWorkspace _remoteLanguageServiceWorkspace; - - public RoslynFindUsagesService(AbstractLspClientServiceFactory roslynLspClientServiceFactory, RemoteLanguageServiceWorkspace remoteLanguageServiceWorkspace) - { - _roslynLspClientServiceFactory = roslynLspClientServiceFactory ?? throw new ArgumentNullException(nameof(roslynLspClientServiceFactory)); - _remoteLanguageServiceWorkspace = remoteLanguageServiceWorkspace ?? throw new ArgumentNullException(nameof(remoteLanguageServiceWorkspace)); - } - - public Task FindImplementationsAsync(Document document, int position, IFindUsagesContext context) - { - // Find implementations is now handled by the VS LSP client. - return Task.CompletedTask; - } - - public async Task FindReferencesAsync(Document document, int position, IFindUsagesContext context) - { - var text = await document.GetTextAsync().ConfigureAwait(false); - - var lspClient = _roslynLspClientServiceFactory.ActiveLanguageServerClient; - if (lspClient == null) - { - return; - } - - var referenceParams = new LSP.ReferenceParams - { - Context = new LSP.ReferenceContext { IncludeDeclaration = false }, - TextDocument = ProtocolConversions.DocumentToTextDocumentIdentifier(document), - Position = ProtocolConversions.LinePositionToPosition(text.Lines.GetLinePosition(position)) - }; - - var locations = await lspClient.RequestAsync(LSP.Methods.TextDocumentReferences.ToLSRequest(), referenceParams, context.CancellationToken).ConfigureAwait(false); - if (locations == null) - { - return; - } - - // TODO: Need to get real definition data from the server. - var dummyDef = DefinitionItem.CreateNonNavigableItem(ImmutableArray.Empty, ImmutableArray.Empty); - await context.OnDefinitionFoundAsync(dummyDef).ConfigureAwait(false); - - foreach (var location in locations) - { - var documentSpan = await _remoteLanguageServiceWorkspace.GetDocumentSpanFromLocationAsync(location, context.CancellationToken).ConfigureAwait(false); - if (documentSpan == null) - { - continue; - } - - await context.OnReferenceFoundAsync(new SourceReferenceItem(dummyDef, documentSpan.Value)).ConfigureAwait(false); - } - } - } -} diff --git a/src/VisualStudio/LiveShare/Impl/Client/RoslynLSPClientService.cs b/src/VisualStudio/LiveShare/Impl/Client/RoslynLSPClientService.cs index 343d321258887..5ede20193d386 100644 --- a/src/VisualStudio/LiveShare/Impl/Client/RoslynLSPClientService.cs +++ b/src/VisualStudio/LiveShare/Impl/Client/RoslynLSPClientService.cs @@ -97,7 +97,6 @@ public Task CreateServiceAsync(CollaborationSession colla // Uses Roslyn client. CodeActionProvider = true, ExecuteCommandProvider = new ExecuteCommandOptions(), - ReferencesProvider = true, }))); var lifeTimeService = LspClientLifeTimeService; diff --git a/src/VisualStudio/LiveShare/Impl/CustomProtocol/LspRequestExtensions.cs b/src/VisualStudio/LiveShare/Impl/CustomProtocol/LspRequestExtensions.cs index 5aab0564a3a26..248480fac32f5 100644 --- a/src/VisualStudio/LiveShare/Impl/CustomProtocol/LspRequestExtensions.cs +++ b/src/VisualStudio/LiveShare/Impl/CustomProtocol/LspRequestExtensions.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +using Microsoft.VisualStudio.LanguageServices.Implementation.LanguageService; using LSP = Microsoft.VisualStudio.LanguageServer.Protocol; using LS = Microsoft.VisualStudio.LiveShare.LanguageServices; @@ -12,5 +13,8 @@ public static class LspRequestExtensions public static LS.LspRequest ToLSRequest(this LSP.LspRequest lspRequest) => new LS.LspRequest(lspRequest.Name); + public static LSP.ClientCapabilities GetClientCapabilities(this LS.RequestContext requestContext) + => requestContext.ClientCapabilities?.ToObject(InProcLanguageServer.JsonSerializer) ?? new LSP.VSClientCapabilities(); + } } diff --git a/src/VisualStudio/LiveShare/Impl/FindAllReferencesHandler.Exports.cs b/src/VisualStudio/LiveShare/Impl/FindAllReferencesHandler.Exports.cs deleted file mode 100644 index 7a126fabd20e8..0000000000000 --- a/src/VisualStudio/LiveShare/Impl/FindAllReferencesHandler.Exports.cs +++ /dev/null @@ -1,54 +0,0 @@ -// 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.ComponentModel.Composition; -using Microsoft.CodeAnalysis.Editor.Shared.Utilities; -using Microsoft.CodeAnalysis.Host.Mef; -using Microsoft.VisualStudio.LanguageServer.Protocol; -using Microsoft.VisualStudio.LiveShare.LanguageServices; - -namespace Microsoft.VisualStudio.LanguageServices.LiveShare -{ - [ExportLspRequestHandler(LiveShareConstants.RoslynContractName, Methods.TextDocumentReferencesName)] - [Obsolete("Used for backwards compatibility with old liveshare clients.")] - internal class RoslynFindAllReferencesHandler : FindAllReferencesHandler - { - [ImportingConstructor] - [Obsolete(MefConstruction.ImportingConstructorMessage, error: true)] - public RoslynFindAllReferencesHandler(IThreadingContext threadingContext) : base(threadingContext) - { - } - } - - [ExportLspRequestHandler(LiveShareConstants.CSharpContractName, Methods.TextDocumentReferencesName)] - internal class CSharpFindAllReferencesHandler : FindAllReferencesHandler - { - [ImportingConstructor] - [Obsolete(MefConstruction.ImportingConstructorMessage, error: true)] - public CSharpFindAllReferencesHandler(IThreadingContext threadingContext) : base(threadingContext) - { - } - } - - [ExportLspRequestHandler(LiveShareConstants.VisualBasicContractName, Methods.TextDocumentReferencesName)] - internal class VisualBasicFindAllReferencesHandler : FindAllReferencesHandler - { - [ImportingConstructor] - [Obsolete(MefConstruction.ImportingConstructorMessage, error: true)] - public VisualBasicFindAllReferencesHandler(IThreadingContext threadingContext) : base(threadingContext) - { - } - } - - [ExportLspRequestHandler(LiveShareConstants.TypeScriptContractName, Methods.TextDocumentReferencesName)] - internal class TypeScriptFindAllReferencesHandler : FindAllReferencesHandler - { - [ImportingConstructor] - [Obsolete(MefConstruction.ImportingConstructorMessage, error: true)] - public TypeScriptFindAllReferencesHandler(IThreadingContext threadingContext) : base(threadingContext) - { - } - } -} diff --git a/src/VisualStudio/LiveShare/Impl/FindAllReferencesHandler.cs b/src/VisualStudio/LiveShare/Impl/FindAllReferencesHandler.cs deleted file mode 100644 index 698e61fdeb092..0000000000000 --- a/src/VisualStudio/LiveShare/Impl/FindAllReferencesHandler.cs +++ /dev/null @@ -1,136 +0,0 @@ -// 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.Collections.Generic; -using System.Linq; -using System.Threading; -using System.Threading.Tasks; -using Microsoft.CodeAnalysis; -using Microsoft.CodeAnalysis.Classification; -using Microsoft.CodeAnalysis.Editor.FindUsages; -using Microsoft.CodeAnalysis.Editor.Shared.Extensions; -using Microsoft.CodeAnalysis.Editor.Shared.Utilities; -using Microsoft.CodeAnalysis.FindUsages; -using Microsoft.CodeAnalysis.LanguageServer; -using Microsoft.CodeAnalysis.PooledObjects; -using Microsoft.VisualStudio.LanguageServer.Protocol; -using Microsoft.VisualStudio.LiveShare.LanguageServices; -using Microsoft.VisualStudio.Shell; -using Microsoft.VisualStudio.Text.Adornments; -using LSP = Microsoft.VisualStudio.LanguageServer.Protocol; - -namespace Microsoft.VisualStudio.LanguageServices.LiveShare -{ - // TODO - This should move to the ILanguageClient when we remove the UI thread dependency. - // https://github.com/dotnet/roslyn/issues/38477 - internal class FindAllReferencesHandler : ILspRequestHandler - { - private readonly IThreadingContext _threadingContext; - - public FindAllReferencesHandler(IThreadingContext threadingContext) - => _threadingContext = threadingContext; - - public async Task HandleAsync(LSP.ReferenceParams request, RequestContext requestContext, CancellationToken cancellationToken) - { - var locations = ArrayBuilder.GetInstance(); - var solution = requestContext.Context; - var document = solution.GetDocumentFromURI(request.TextDocument.Uri); - if (document == null) - { - return locations.ToArrayAndFree(); - } - - var findUsagesService = document.Project.LanguageServices.GetService(); - var position = await document.GetPositionFromLinePositionAsync(ProtocolConversions.PositionToLinePosition(request.Position), cancellationToken).ConfigureAwait(false); - - var context = new SimpleFindUsagesContext(cancellationToken); - - // Roslyn calls into third party extensions to compute reference results and needs to be on the UI thread to compute results. - // This is not great for us and ideally we should ask for a Roslyn API where we can make this call without blocking the UI. - if (VsTaskLibraryHelper.ServiceInstance != null) - { - await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); - } - - await findUsagesService.FindReferencesAsync(document, position, context).ConfigureAwait(false); - - if (requestContext?.ClientCapabilities?.ToObject()?.HasVisualStudioLspCapability() == true) - { - return await GetReferenceGroupsAsync(request, context, cancellationToken).ConfigureAwait(false); - } - else - { - return await GetLocationsAsync(request, context, cancellationToken).ConfigureAwait(false); - } - } - - private async Task GetReferenceGroupsAsync(LSP.ReferenceParams request, SimpleFindUsagesContext context, CancellationToken cancellationToken) - { - var definitionMap = new Dictionary>(); - - foreach (var reference in context.GetReferences()) - { - if (!definitionMap.ContainsKey(reference.Definition)) - { - definitionMap.Add(reference.Definition, new List()); - } - - definitionMap[reference.Definition].Add(reference); - } - - var referenceGroups = ArrayBuilder.GetInstance(); - foreach (var keyValuePair in definitionMap) - { - var definition = keyValuePair.Key; - var references = keyValuePair.Value; - - var referenceGroup = new LSP.ReferenceGroup(); - var text = definition.GetClassifiedText(); - - referenceGroup.Definition = await ProtocolConversions.DocumentSpanToLocationWithTextAsync(definition.SourceSpans.First(), text, cancellationToken).ConfigureAwait(false); - referenceGroup.DefinitionIcon = new ImageElement(definition.Tags.GetFirstGlyph().GetImageId()); - - var locationWithTexts = new ArrayBuilder(); - foreach (var reference in references) - { - var classifiedSpansAndHighlightSpan = await ClassifiedSpansAndHighlightSpanFactory.ClassifyAsync(reference.SourceSpan, context.CancellationToken).ConfigureAwait(false); - var classifiedSpans = classifiedSpansAndHighlightSpan.ClassifiedSpans; - var referenceLocation = await ProtocolConversions.DocumentSpanToLocationAsync(reference.SourceSpan, cancellationToken).ConfigureAwait(false); - var docText = await reference.SourceSpan.Document.GetTextAsync(context.CancellationToken).ConfigureAwait(false); - var classifiedText = new ClassifiedTextElement(classifiedSpans.Select(cspan => new ClassifiedTextRun(cspan.ClassificationType, docText.ToString(cspan.TextSpan)))); - var locationWithText = new LSP.LocationWithText { Range = referenceLocation.Range, Uri = referenceLocation.Uri, Text = classifiedText }; - locationWithTexts.Add(locationWithText); - } - - referenceGroup.References = locationWithTexts.ToArrayAndFree(); - referenceGroups.Add(referenceGroup); - } - - return referenceGroups.ToArrayAndFree(); - } - - private static async Task GetLocationsAsync(LSP.ReferenceParams request, SimpleFindUsagesContext context, CancellationToken cancellationToken) - { - var locations = ArrayBuilder.GetInstance(); - - if (request.Context.IncludeDeclaration) - { - foreach (var definition in context.GetDefinitions()) - { - foreach (var docSpan in definition.SourceSpans) - { - locations.Add(await ProtocolConversions.DocumentSpanToLocationAsync(docSpan, cancellationToken).ConfigureAwait(false)); - } - } - } - - foreach (var reference in context.GetReferences()) - { - locations.Add(await ProtocolConversions.DocumentSpanToLocationAsync(reference.SourceSpan, cancellationToken).ConfigureAwait(false)); - } - - return locations.ToArrayAndFree(); - } - } -} diff --git a/src/VisualStudio/LiveShare/Impl/Shims/AbstractLiveShareHandlerShim.cs b/src/VisualStudio/LiveShare/Impl/Shims/AbstractLiveShareHandlerShim.cs deleted file mode 100644 index 3003445bf0a25..0000000000000 --- a/src/VisualStudio/LiveShare/Impl/Shims/AbstractLiveShareHandlerShim.cs +++ /dev/null @@ -1,35 +0,0 @@ -// 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. - -#nullable enable - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading; -using System.Threading.Tasks; -using Microsoft.CodeAnalysis; -using Microsoft.CodeAnalysis.LanguageServer.Handler; -using Microsoft.VisualStudio.LanguageServer.Protocol; -using Microsoft.VisualStudio.LiveShare.LanguageServices; - -namespace Microsoft.VisualStudio.LanguageServices.LiveShare -{ - /// - /// Defines a shim between a roslyn LSP request handler and live share LSP request handlers. - /// - internal abstract class AbstractLiveShareHandlerShim : ILspRequestHandler - { - protected readonly Lazy LazyRequestHandler; - - public AbstractLiveShareHandlerShim(IEnumerable> requestHandlers, string methodName) - => LazyRequestHandler = GetRequestHandler(requestHandlers, methodName); - - public virtual Task HandleAsync(RequestType param, RequestContext requestContext, CancellationToken cancellationToken) - => ((IRequestHandler)LazyRequestHandler.Value).HandleRequestAsync(requestContext.Context, param, requestContext.ClientCapabilities?.ToObject(), cancellationToken); - - protected Lazy GetRequestHandler(IEnumerable> requestHandlers, string methodName) - => requestHandlers.First(handler => handler.Metadata.MethodName == methodName); - } -} diff --git a/src/VisualStudio/LiveShare/Impl/Shims/CodeActionsHandlerShim.cs b/src/VisualStudio/LiveShare/Impl/Shims/CodeActionsHandlerShim.cs index 7cf94c76eef4c..777c389b0021c 100644 --- a/src/VisualStudio/LiveShare/Impl/Shims/CodeActionsHandlerShim.cs +++ b/src/VisualStudio/LiveShare/Impl/Shims/CodeActionsHandlerShim.cs @@ -2,27 +2,31 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable enable + using System; -using System.Collections.Generic; using System.ComponentModel.Composition; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Host.Mef; +using Microsoft.CodeAnalysis.CodeFixes; +using Microsoft.CodeAnalysis.CodeRefactorings; using Microsoft.CodeAnalysis.LanguageServer.Handler; using Microsoft.CodeAnalysis.PooledObjects; using Microsoft.VisualStudio.LanguageServer.Protocol; +using Microsoft.VisualStudio.LanguageServices.LiveShare.Protocol; using Microsoft.VisualStudio.LiveShare.LanguageServices; namespace Microsoft.VisualStudio.LanguageServices.LiveShare { - internal class CodeActionsHandlerShim : AbstractLiveShareHandlerShim + internal abstract class CodeActionsHandlerShim : CodeActionsHandler, ILspRequestHandler[], Solution> { public const string RemoteCommandNamePrefix = "_liveshare.remotecommand"; protected const string ProviderName = "Roslyn"; - public CodeActionsHandlerShim(IEnumerable> requestHandlers) - : base(requestHandlers, Methods.TextDocumentCodeActionName) + [Obsolete(MefConstruction.ImportingConstructorMessage, true)] + public CodeActionsHandlerShim(ICodeFixService codeFixService, ICodeRefactoringService codeRefactoringService) : base(codeFixService, codeRefactoringService) { } @@ -39,15 +43,15 @@ public CodeActionsHandlerShim(IEnumerable /// /// - public async override Task HandleAsync(CodeActionParams param, RequestContext requestContext, CancellationToken cancellationToken) + public async Task[]> HandleAsync(CodeActionParams param, RequestContext requestContext, CancellationToken cancellationToken) { - var result = await base.HandleAsync(param, requestContext, cancellationToken).ConfigureAwait(false); + var result = await base.HandleRequestAsync(requestContext.Context, param, requestContext.GetClientCapabilities(), cancellationToken).ConfigureAwait(false); - var commands = new ArrayBuilder(); + var commands = new ArrayBuilder>(); foreach (var resultObj in result) { var commandArguments = resultObj; - var title = resultObj is CodeAction codeAction ? codeAction.Title : ((Command)resultObj).Title; + var title = resultObj.Value is CodeAction codeAction ? codeAction.Title : ((Command)resultObj).Title; commands.Add(new Command { Title = title, @@ -67,7 +71,8 @@ internal class RoslynCodeActionsHandlerShim : CodeActionsHandlerShim { [ImportingConstructor] [Obsolete(MefConstruction.ImportingConstructorMessage, error: true)] - public RoslynCodeActionsHandlerShim([ImportMany] IEnumerable> requestHandlers) : base(requestHandlers) + public RoslynCodeActionsHandlerShim(ICodeFixService codeFixService, ICodeRefactoringService codeRefactoringService) + : base(codeFixService, codeRefactoringService) { } } @@ -77,7 +82,8 @@ internal class CSharpCodeActionsHandlerShim : CodeActionsHandlerShim { [ImportingConstructor] [Obsolete(MefConstruction.ImportingConstructorMessage, error: true)] - public CSharpCodeActionsHandlerShim([ImportMany] IEnumerable> requestHandlers) : base(requestHandlers) + public CSharpCodeActionsHandlerShim(ICodeFixService codeFixService, ICodeRefactoringService codeRefactoringService) + : base(codeFixService, codeRefactoringService) { } } @@ -87,7 +93,8 @@ internal class VisualBasicCodeActionsHandlerShim : CodeActionsHandlerShim { [ImportingConstructor] [Obsolete(MefConstruction.ImportingConstructorMessage, error: true)] - public VisualBasicCodeActionsHandlerShim([ImportMany] IEnumerable> requestHandlers) : base(requestHandlers) + public VisualBasicCodeActionsHandlerShim(ICodeFixService codeFixService, ICodeRefactoringService codeRefactoringService) + : base(codeFixService, codeRefactoringService) { } } @@ -97,7 +104,8 @@ internal class TypeScriptCodeActionsHandlerShim : CodeActionsHandlerShim { [ImportingConstructor] [Obsolete(MefConstruction.ImportingConstructorMessage, error: true)] - public TypeScriptCodeActionsHandlerShim([ImportMany] IEnumerable> requestHandlers) : base(requestHandlers) + public TypeScriptCodeActionsHandlerShim(ICodeFixService codeFixService, ICodeRefactoringService codeRefactoringService) + : base(codeFixService, codeRefactoringService) { } } diff --git a/src/VisualStudio/LiveShare/Impl/Shims/TypeScriptHandlerShims.cs b/src/VisualStudio/LiveShare/Impl/Shims/TypeScriptHandlerShims.cs index bad74e1884dfe..736538e40e3ed 100644 --- a/src/VisualStudio/LiveShare/Impl/Shims/TypeScriptHandlerShims.cs +++ b/src/VisualStudio/LiveShare/Impl/Shims/TypeScriptHandlerShims.cs @@ -11,72 +11,93 @@ using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis.Completion; +using Microsoft.CodeAnalysis.Completion.Providers; using Microsoft.CodeAnalysis.Editor; using Microsoft.CodeAnalysis.Editor.FindUsages; using Microsoft.CodeAnalysis.Editor.Shared.Utilities; using Microsoft.CodeAnalysis.Host.Mef; using Microsoft.CodeAnalysis.LanguageServer.Handler; +using Microsoft.CodeAnalysis.SignatureHelp; using Microsoft.CodeAnalysis.Text; using Microsoft.VisualStudio.LanguageServer.Protocol; +using Microsoft.VisualStudio.LanguageServices.Implementation.LanguageService; using Microsoft.VisualStudio.LanguageServices.LiveShare.CustomProtocol; +using Microsoft.VisualStudio.LanguageServices.LiveShare.Protocol; using Microsoft.VisualStudio.LiveShare.LanguageServices; +using Newtonsoft.Json.Linq; namespace Microsoft.VisualStudio.LanguageServices.LiveShare { [ExportLspRequestHandler(LiveShareConstants.TypeScriptContractName, Methods.TextDocumentCompletionName)] - internal class TypeScriptCompletionHandlerShim : AbstractLiveShareHandlerShim + internal class TypeScriptCompletionHandlerShim : CompletionHandler, ILspRequestHandler { [ImportingConstructor] [Obsolete(MefConstruction.ImportingConstructorMessage, error: true)] - public TypeScriptCompletionHandlerShim([ImportMany] IEnumerable> requestHandlers) - : base(requestHandlers, Methods.TextDocumentCompletionName) + public TypeScriptCompletionHandlerShim() { } + + public async Task HandleAsync(object input, RequestContext requestContext, CancellationToken cancellationToken) + { + // The VS LSP client supports streaming using IProgress on various requests. + // However, this is not yet supported through Live Share, so deserialization fails on the IProgress property. + // https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1043376 tracks Live Share support for this (committed for 16.6). + var request = ((JObject)input).ToObject(InProcLanguageServer.JsonSerializer); + // The return definition for TextDocumentCompletionName is SumType. + // However Live Share is unable to handle a SumType return when using ILspRequestHandler. + // So instead we just return the actual value from the SumType. + // https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1059193 tracks the fix. + var result = await base.HandleRequestAsync(requestContext.Context, request, requestContext.GetClientCapabilities(), cancellationToken).ConfigureAwait(false); + return result?.Value; + } } [ExportLspRequestHandler(LiveShareConstants.TypeScriptContractName, Methods.TextDocumentCompletionResolveName)] - internal class TypeScriptCompletionResolverHandlerShim : AbstractLiveShareHandlerShim + internal class TypeScriptCompletionResolverHandlerShim : CompletionResolveHandler, ILspRequestHandler { [ImportingConstructor] [Obsolete(MefConstruction.ImportingConstructorMessage, error: true)] - public TypeScriptCompletionResolverHandlerShim([ImportMany] IEnumerable> requestHandlers) - : base(requestHandlers, Methods.TextDocumentCompletionResolveName) + public TypeScriptCompletionResolverHandlerShim() { } + + public Task HandleAsync(LanguageServer.Protocol.CompletionItem param, RequestContext requestContext, CancellationToken cancellationToken) + => base.HandleRequestAsync(requestContext.Context, param, requestContext.GetClientCapabilities(), cancellationToken); } [ExportLspRequestHandler(LiveShareConstants.TypeScriptContractName, Methods.TextDocumentDocumentHighlightName)] - internal class TypeScriptDocumentHighlightHandlerShim : AbstractLiveShareHandlerShim + internal class TypeScriptDocumentHighlightHandlerShim : DocumentHighlightsHandler, ILspRequestHandler { [ImportingConstructor] [Obsolete(MefConstruction.ImportingConstructorMessage, error: true)] - public TypeScriptDocumentHighlightHandlerShim([ImportMany] IEnumerable> requestHandlers) - : base(requestHandlers, Methods.TextDocumentDocumentHighlightName) + public TypeScriptDocumentHighlightHandlerShim() { } + + public Task HandleAsync(TextDocumentPositionParams param, RequestContext requestContext, CancellationToken cancellationToken) + => base.HandleRequestAsync(requestContext.Context, param, requestContext.GetClientCapabilities(), cancellationToken); } [ExportLspRequestHandler(LiveShareConstants.TypeScriptContractName, Methods.TextDocumentDocumentSymbolName)] - internal class TypeScriptDocumentSymbolsHandlerShim : AbstractLiveShareHandlerShim + internal class TypeScriptDocumentSymbolsHandlerShim : DocumentSymbolsHandler, ILspRequestHandler { [ImportingConstructor] [Obsolete(MefConstruction.ImportingConstructorMessage, error: true)] - public TypeScriptDocumentSymbolsHandlerShim([ImportMany] IEnumerable> requestHandlers) - : base(requestHandlers, Methods.TextDocumentDocumentSymbolName) + public TypeScriptDocumentSymbolsHandlerShim() { } - public override async Task HandleAsync(DocumentSymbolParams param, RequestContext requestContext, CancellationToken cancellationToken) + public async Task HandleAsync(DocumentSymbolParams param, RequestContext requestContext, CancellationToken cancellationToken) { - var clientCapabilities = requestContext.ClientCapabilities?.ToObject(); - if (clientCapabilities?.TextDocument?.DocumentSymbol?.HierarchicalDocumentSymbolSupport == true) + var clientCapabilities = requestContext.GetClientCapabilities(); + if (clientCapabilities.TextDocument?.DocumentSymbol?.HierarchicalDocumentSymbolSupport == true) { // If the value is true, set it to false. Liveshare does not support hierarchical document symbols. clientCapabilities.TextDocument.DocumentSymbol.HierarchicalDocumentSymbolSupport = false; } - var handler = (IRequestHandler)LazyRequestHandler.Value; - var response = await handler.HandleRequestAsync(requestContext.Context, param, clientCapabilities, cancellationToken).ConfigureAwait(false); + var response = await base.HandleRequestAsync(requestContext.Context, param, clientCapabilities, cancellationToken).ConfigureAwait(false); // Since hierarchicalSupport will never be true, it is safe to cast the response to SymbolInformation[] return response.Cast().ToArray(); @@ -94,7 +115,7 @@ public TypeScriptFormatDocumentHandlerShim(IThreadingContext threadingContext) => _threadingContext = threadingContext; public Task HandleAsync(DocumentFormattingParams request, RequestContext requestContext, CancellationToken cancellationToken) - => base.HandleRequestAsync(requestContext.Context, request, requestContext.ClientCapabilities?.ToObject(), cancellationToken); + => base.HandleRequestAsync(requestContext.Context, request, requestContext.GetClientCapabilities(), cancellationToken); protected override async Task> GetFormattingChangesAsync(IEditorFormattingService formattingService, Document document, TextSpan? textSpan, CancellationToken cancellationToken) { @@ -115,7 +136,7 @@ public TypeScriptFormatDocumentRangeHandlerShim(IThreadingContext threadingConte => _threadingContext = threadingContext; public Task HandleAsync(DocumentRangeFormattingParams request, RequestContext requestContext, CancellationToken cancellationToken) - => base.HandleRequestAsync(requestContext.Context, request, requestContext.ClientCapabilities?.ToObject(), cancellationToken); + => base.HandleRequestAsync(requestContext.Context, request, requestContext.GetClientCapabilities(), cancellationToken); protected override async Task> GetFormattingChangesAsync(IEditorFormattingService formattingService, Document document, TextSpan? textSpan, CancellationToken cancellationToken) { @@ -154,7 +175,7 @@ public Task HandleAsync(DocumentOnTypeFormattingParams request, Requ } [ExportLspRequestHandler(LiveShareConstants.TypeScriptContractName, Methods.TextDocumentImplementationName)] - internal class TypeScriptFindImplementationsHandlerShim : FindImplementationsHandler, ILspRequestHandler + internal class TypeScriptFindImplementationsHandlerShim : FindImplementationsHandler, ILspRequestHandler { private readonly IThreadingContext _threadingContext; @@ -163,8 +184,15 @@ internal class TypeScriptFindImplementationsHandlerShim : FindImplementationsHan public TypeScriptFindImplementationsHandlerShim(IThreadingContext threadingContext) => _threadingContext = threadingContext; - public Task HandleAsync(TextDocumentPositionParams request, RequestContext requestContext, CancellationToken cancellationToken) - => base.HandleRequestAsync(requestContext.Context, request, requestContext.ClientCapabilities?.ToObject(), cancellationToken); + public async Task HandleAsync(TextDocumentPositionParams request, RequestContext requestContext, CancellationToken cancellationToken) + { + // The return definition for TextDocumentImplementationName is SumType. + // However Live Share is unable to handle a SumType return when using ILspRequestHandler. + // So instead we just return the actual value from the SumType. + // https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1059193 tracks the fix. + var result = await base.HandleRequestAsync(requestContext.Context, request, requestContext.GetClientCapabilities(), cancellationToken).ConfigureAwait(false); + return result?.Value; + } protected override async Task FindImplementationsAsync(IFindUsagesService findUsagesService, Document document, int position, SimpleFindUsagesContext context) { @@ -175,53 +203,64 @@ protected override async Task FindImplementationsAsync(IFindUsagesService findUs } [ExportLspRequestHandler(LiveShareConstants.TypeScriptContractName, Methods.InitializeName)] - internal class TypeScriptInitializeHandlerShim : AbstractLiveShareHandlerShim + internal class TypeScriptInitializeHandlerShim : InitializeHandler, ILspRequestHandler { [ImportingConstructor] [Obsolete(MefConstruction.ImportingConstructorMessage, error: true)] - public TypeScriptInitializeHandlerShim([ImportMany] IEnumerable> requestHandlers) - : base(requestHandlers, Methods.InitializeName) + public TypeScriptInitializeHandlerShim([ImportMany] IEnumerable> completionProviders) : base(completionProviders) { } - public override async Task HandleAsync(InitializeParams param, RequestContext requestContext, CancellationToken cancellationToken) + public async Task HandleAsync(InitializeParams param, RequestContext requestContext, CancellationToken cancellationToken) { - var initializeResult = await base.HandleAsync(param, requestContext, cancellationToken).ConfigureAwait(false); + var initializeResult = await base.HandleRequestAsync(requestContext.Context, param, requestContext.GetClientCapabilities(), cancellationToken).ConfigureAwait(false); initializeResult.Capabilities.Experimental = new RoslynExperimentalCapabilities { SyntacticLspProvider = true }; return initializeResult; } } [ExportLspRequestHandler(LiveShareConstants.TypeScriptContractName, Methods.TextDocumentSignatureHelpName)] - internal class TypeScriptSignatureHelpHandlerShim : AbstractLiveShareHandlerShim + internal class TypeScriptSignatureHelpHandlerShim : SignatureHelpHandler, ILspRequestHandler { [ImportingConstructor] [Obsolete(MefConstruction.ImportingConstructorMessage, error: true)] - public TypeScriptSignatureHelpHandlerShim([ImportMany] IEnumerable> requestHandlers) - : base(requestHandlers, Methods.TextDocumentSignatureHelpName) + public TypeScriptSignatureHelpHandlerShim([ImportMany] IEnumerable> allProviders) : base(allProviders) { } + + public Task HandleAsync(TextDocumentPositionParams param, RequestContext requestContext, CancellationToken cancellationToken) + => base.HandleRequestAsync(requestContext.Context, param, requestContext.GetClientCapabilities(), cancellationToken); } [ExportLspRequestHandler(LiveShareConstants.TypeScriptContractName, Methods.TextDocumentRenameName)] - internal class TypeScriptRenameHandlerShim : AbstractLiveShareHandlerShim + internal class TypeScriptRenameHandlerShim : RenameHandler, ILspRequestHandler { [ImportingConstructor] [Obsolete(MefConstruction.ImportingConstructorMessage, error: true)] - public TypeScriptRenameHandlerShim([ImportMany] IEnumerable> requestHandlers) - : base(requestHandlers, Methods.TextDocumentRenameName) + public TypeScriptRenameHandlerShim() { } + + public Task HandleAsync(RenameParams param, RequestContext requestContext, CancellationToken cancellationToken) + => base.HandleRequestAsync(requestContext.Context, param, requestContext.GetClientCapabilities(), cancellationToken); } [ExportLspRequestHandler(LiveShareConstants.TypeScriptContractName, Methods.WorkspaceSymbolName)] - internal class TypeScriptWorkspaceSymbolsHandlerShim : AbstractLiveShareHandlerShim + internal class TypeScriptWorkspaceSymbolsHandlerShim : WorkspaceSymbolsHandler, ILspRequestHandler { [ImportingConstructor] [Obsolete(MefConstruction.ImportingConstructorMessage, error: true)] - public TypeScriptWorkspaceSymbolsHandlerShim([ImportMany] IEnumerable> requestHandlers) - : base(requestHandlers, Methods.WorkspaceSymbolName) + public TypeScriptWorkspaceSymbolsHandlerShim() + { + } + + public Task HandleAsync(object input, RequestContext requestContext, CancellationToken cancellationToken) { + // The VS LSP client supports streaming using IProgress on various requests. + // However, this is not yet supported through Live Share, so deserialization fails on the IProgress property. + // https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1043376 tracks Live Share support for this (committed for 16.6). + var request = ((JObject)input).ToObject(InProcLanguageServer.JsonSerializer); + return base.HandleRequestAsync(requestContext.Context, request, requestContext.GetClientCapabilities(), cancellationToken); } } } diff --git a/src/VisualStudio/LiveShare/Test/AbstractLiveShareRequestHandlerTests.cs b/src/VisualStudio/LiveShare/Test/AbstractLiveShareRequestHandlerTests.cs index ea73c18649451..a3b5d62f7cfc2 100644 --- a/src/VisualStudio/LiveShare/Test/AbstractLiveShareRequestHandlerTests.cs +++ b/src/VisualStudio/LiveShare/Test/AbstractLiveShareRequestHandlerTests.cs @@ -75,17 +75,25 @@ protected override ExportProvider GetExportProvider() return exportProviderFactory.CreateExportProvider(); } - protected static async Task TestHandleAsync(Solution solution, RequestType request) + protected static async Task TestHandleAsync(Solution solution, RequestType request, string methodName) { var requestContext = new RequestContext(solution, new MockHostProtocolConverter(), JObject.FromObject(new ClientCapabilities())); - return await GetHandler(solution).HandleAsync(request, requestContext, CancellationToken.None); + return await GetHandler(solution, methodName).HandleAsync(request, requestContext, CancellationToken.None); } - protected static ILspRequestHandler GetHandler(Solution solution) + protected static ILspRequestHandler GetHandler(Solution solution, string methodName) { var workspace = (TestWorkspace)solution.Workspace; var handlers = workspace.ExportProvider.GetExportedValues(LiveShareConstants.RoslynContractName); - return (ILspRequestHandler)handlers.Single(handler => handler is ILspRequestHandler); + return (ILspRequestHandler)handlers.Single(handler => handler is ILspRequestHandler && IsMatchingMethod(handler, methodName)); + + // Since request handlers can have the same input and output types (especially with object), we need to also + // check that the LSP method the handler is exported for matches the one we're requesting. + static bool IsMatchingMethod(ILspRequestHandler handler, string methodName) + { + var attribute = (ExportLspRequestHandlerAttribute)Attribute.GetCustomAttribute(handler.GetType(), typeof(ExportLspRequestHandlerAttribute)); + return attribute?.MethodName == methodName; + } } } } diff --git a/src/VisualStudio/LiveShare/Test/ClassificationsHandlerTests.cs b/src/VisualStudio/LiveShare/Test/ClassificationsHandlerTests.cs index 6e71ccac2663c..0efd456af4703 100644 --- a/src/VisualStudio/LiveShare/Test/ClassificationsHandlerTests.cs +++ b/src/VisualStudio/LiveShare/Test/ClassificationsHandlerTests.cs @@ -27,7 +27,7 @@ void M() using var workspace = CreateTestWorkspace(markup, out var locations); var classifyLocation = locations["classify"].First(); - var results = await TestHandleAsync(workspace.CurrentSolution, CreateClassificationParams(classifyLocation)); + var results = await TestHandleAsync(workspace.CurrentSolution, CreateClassificationParams(classifyLocation), RoslynMethods.ClassificationsName); AssertJsonEquals(new ClassificationSpan[] { CreateClassificationSpan("keyword", classifyLocation.Range) }, results); } diff --git a/src/VisualStudio/LiveShare/Test/DiagnosticsHandlerTests.cs b/src/VisualStudio/LiveShare/Test/DiagnosticsHandlerTests.cs deleted file mode 100644 index 0407ee7c74137..0000000000000 --- a/src/VisualStudio/LiveShare/Test/DiagnosticsHandlerTests.cs +++ /dev/null @@ -1,41 +0,0 @@ -// 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.Linq; -using System.Threading.Tasks; -using Microsoft.CodeAnalysis.Editor.UnitTests.Workspaces; -using Microsoft.VisualStudio.LanguageServices.LiveShare.Protocol; -using Xunit; -using LSP = Microsoft.VisualStudio.LanguageServer.Protocol; - -namespace Microsoft.VisualStudio.LanguageServices.LiveShare.UnitTests -{ - public class DiagnosticsHandlerTests : AbstractLiveShareRequestHandlerTests - { - [Fact(Skip = "Need easy way to export analyzers for testing.")] - public async Task TestDiagnosticsAsync() - { - var markup = -@"class A -{ - void M() - { - {|diagnostic:var|} i = 1; - } -}"; - using var workspace = CreateTestWorkspace(markup, out var locations); - - var diagnosticLocation = locations["diagnostic"].First(); - - var _ = await TestHandleAsync(workspace.CurrentSolution, CreateTestDocumentParams(diagnosticLocation.Uri)); - } - - private static TextDocumentParams CreateTestDocumentParams(Uri uri) - => new TextDocumentParams() - { - TextDocument = CreateTextDocumentIdentifier(uri) - }; - } -} diff --git a/src/VisualStudio/LiveShare/Test/FindAllReferencesHandlerTests.cs b/src/VisualStudio/LiveShare/Test/FindAllReferencesHandlerTests.cs deleted file mode 100644 index beceb6f95e8b2..0000000000000 --- a/src/VisualStudio/LiveShare/Test/FindAllReferencesHandlerTests.cs +++ /dev/null @@ -1,126 +0,0 @@ -// 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.Linq; -using System.Threading.Tasks; -using Microsoft.CodeAnalysis; -using Roslyn.Test.Utilities; -using Xunit; -using LSP = Microsoft.VisualStudio.LanguageServer.Protocol; - -namespace Microsoft.VisualStudio.LanguageServices.LiveShare.UnitTests -{ - public class FindAllReferencesHandlerTests : AbstractLiveShareRequestHandlerTests - { - [WpfFact] - public async Task TestFindAllReferencesAsync() - { - var markup = -@"class A -{ - public int {|reference:someInt|} = 1; - void M() - { - var i = {|reference:someInt|} + 1; - } -} -class B -{ - int someInt = A.{|reference:someInt|} + 1; - void M2() - { - var j = someInt + A.{|caret:|}{|reference:someInt|}; - } -}"; - using var workspace = CreateTestWorkspace(markup, out var locations); - - var results = await RunFindAllReferencesAsync(workspace.CurrentSolution, locations["caret"].First(), true); - AssertLocationsEqual(locations["reference"], results); - } - - [WpfFact] - public async Task TestFindAllReferencesAsync_DoNotIncludeDeclarations() - { - var markup = -@"class A -{ - public int someInt = 1; - void M() - { - var i = {|reference:someInt|} + 1; - } -} -class B -{ - int someInt = A.{|reference:someInt|} + 1; - void M2() - { - var j = someInt + A.{|caret:|}{|reference:someInt|}; - } -}"; - using var workspace = CreateTestWorkspace(markup, out var locations); - - var results = await RunFindAllReferencesAsync(workspace.CurrentSolution, locations["caret"].First(), false); - AssertLocationsEqual(locations["reference"], results); - } - - [WpfFact] - public async Task TestFindAllReferencesAsync_MultipleDocuments() - { - var markups = new string[] { -@"class A -{ - public int {|reference:someInt|} = 1; - void M() - { - var i = {|reference:someInt|} + 1; - } -}", -@"class B -{ - int someInt = A.{|reference:someInt|} + 1; - void M2() - { - var j = someInt + A.{|caret:|}{|reference:someInt|}; - } -}" - }; - - using var workspace = CreateTestWorkspace(markups, out var locations); - - var results = await RunFindAllReferencesAsync(workspace.CurrentSolution, locations["caret"].First(), true); - AssertLocationsEqual(locations["reference"], results); - } - - [WpfFact] - public async Task TestFindAllReferencesAsync_InvalidLocation() - { - var markup = -@"class A -{ - {|caret:|} -}"; - using var workspace = CreateTestWorkspace(markup, out var locations); - - var results = await RunFindAllReferencesAsync(workspace.CurrentSolution, locations["caret"].First(), true); - Assert.Empty(results); - } - - private static async Task RunFindAllReferencesAsync(Solution solution, LSP.Location caret, bool includeDeclaration) - { - var request = new LSP.ReferenceParams() - { - TextDocument = CreateTextDocumentIdentifier(caret.Uri), - Position = caret.Range.Start, - Context = new LSP.ReferenceContext() - { - IncludeDeclaration = includeDeclaration - } - }; - - var references = await TestHandleAsync(solution, request); - return references.Select(o => (LSP.Location)o).ToArray(); - } - } -} diff --git a/src/VisualStudio/LiveShare/Test/PreviewCodeActionsTests.cs b/src/VisualStudio/LiveShare/Test/PreviewCodeActionsTests.cs index 748c943b35ff5..1d39529d58b3a 100644 --- a/src/VisualStudio/LiveShare/Test/PreviewCodeActionsTests.cs +++ b/src/VisualStudio/LiveShare/Test/PreviewCodeActionsTests.cs @@ -6,6 +6,7 @@ using System.Threading.Tasks; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.LanguageServer.CustomProtocol; +using Microsoft.VisualStudio.LanguageServices.LiveShare.CustomProtocol; using Xunit; using LSP = Microsoft.VisualStudio.LanguageServer.Protocol; @@ -27,7 +28,9 @@ void M() using var workspace = CreateTestWorkspace(markup, out var locations); var expected = CreateTextEdit("var", locations["edit"].First().Range); - var results = await TestHandleAsync(workspace.CurrentSolution, CreateRunCodeActionParams(CSharpAnalyzersResources.Use_implicit_type, locations["caret"].First())); + var results = await TestHandleAsync(workspace.CurrentSolution, + CreateRunCodeActionParams(CSharpAnalyzersResources.Use_implicit_type, locations["caret"].First()), + RoslynMethods.CodeActionPreviewName); AssertJsonEquals(new LSP.TextEdit[] { expected }, results); } diff --git a/src/VisualStudio/LiveShare/Test/ProjectsHandlerTests.cs b/src/VisualStudio/LiveShare/Test/ProjectsHandlerTests.cs index fea55d7e6e549..0761a518d3573 100644 --- a/src/VisualStudio/LiveShare/Test/ProjectsHandlerTests.cs +++ b/src/VisualStudio/LiveShare/Test/ProjectsHandlerTests.cs @@ -19,7 +19,7 @@ public async Task TestProjectsAsync() var solution = workspace.CurrentSolution; var expected = solution.Projects.Select(p => CreateLspProject(p)).ToArray(); - var results = (CustomProtocol.Project[])await TestHandleAsync(solution, null); + var results = (CustomProtocol.Project[])await TestHandleAsync(solution, null, CustomProtocol.RoslynMethods.ProjectsName); AssertJsonEquals(expected, results); } diff --git a/src/VisualStudio/LiveShare/Test/RunCodeActionsHandlerTests.cs b/src/VisualStudio/LiveShare/Test/RunCodeActionsHandlerTests.cs index ca9473b219e23..00e6f9e8ace06 100644 --- a/src/VisualStudio/LiveShare/Test/RunCodeActionsHandlerTests.cs +++ b/src/VisualStudio/LiveShare/Test/RunCodeActionsHandlerTests.cs @@ -6,6 +6,7 @@ using System.Threading.Tasks; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.LanguageServer.CustomProtocol; +using Microsoft.VisualStudio.LanguageServer.Protocol; using Newtonsoft.Json.Linq; using Roslyn.Test.Utilities; using Xunit; @@ -29,7 +30,7 @@ void M() using var workspace = CreateTestWorkspace(markup, out var locations); var codeActionLocation = locations["caret"].First(); - var results = await TestHandleAsync(workspace.CurrentSolution, CreateExecuteCommandParams(codeActionLocation, CSharpAnalyzersResources.Use_implicit_type)); + var results = await TestHandleAsync(workspace.CurrentSolution, CreateExecuteCommandParams(codeActionLocation, CSharpAnalyzersResources.Use_implicit_type), Methods.WorkspaceExecuteCommandName); Assert.True((bool)results); } diff --git a/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.cs.xlf b/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.cs.xlf index af77edb70c340..106ce06976f03 100644 --- a/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.cs.xlf +++ b/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.cs.xlf @@ -114,7 +114,7 @@ Show remarks in Quick Info - Show remarks in Quick Info + Zobrazit poznámky v Rychlých informacích diff --git a/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.de.xlf b/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.de.xlf index b89fa9638b495..28e830ab67176 100644 --- a/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.de.xlf +++ b/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.de.xlf @@ -114,7 +114,7 @@ Show remarks in Quick Info - Show remarks in Quick Info + Hinweise in QuickInfo anzeigen diff --git a/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.es.xlf b/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.es.xlf index a333be95dd31c..ee91e08f256ce 100644 --- a/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.es.xlf +++ b/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.es.xlf @@ -114,7 +114,7 @@ Show remarks in Quick Info - Show remarks in Quick Info + Mostrar comentarios en Información rápida diff --git a/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.fr.xlf b/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.fr.xlf index 5095d2936d4f6..861134318949d 100644 --- a/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.fr.xlf +++ b/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.fr.xlf @@ -114,7 +114,7 @@ Show remarks in Quick Info - Show remarks in Quick Info + Afficher les notes dans Info express diff --git a/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.it.xlf b/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.it.xlf index d26e3660705e0..65b7b67b32f40 100644 --- a/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.it.xlf +++ b/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.it.xlf @@ -114,7 +114,7 @@ Show remarks in Quick Info - Show remarks in Quick Info + Mostra i commenti in Informazioni rapide diff --git a/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.ja.xlf b/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.ja.xlf index b72caab91bd33..2618a72da7eae 100644 --- a/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.ja.xlf +++ b/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.ja.xlf @@ -114,7 +114,7 @@ Show remarks in Quick Info - Show remarks in Quick Info + クイック ヒントに注釈を表示する diff --git a/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.ko.xlf b/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.ko.xlf index 4d4c3322c1a2e..d6d658f99d77d 100644 --- a/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.ko.xlf +++ b/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.ko.xlf @@ -114,7 +114,7 @@ Show remarks in Quick Info - Show remarks in Quick Info + 요약 정보에 설명 표시 diff --git a/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.pl.xlf b/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.pl.xlf index 8607d97543bfe..dbdd14f82c84d 100644 --- a/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.pl.xlf +++ b/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.pl.xlf @@ -114,7 +114,7 @@ Show remarks in Quick Info - Show remarks in Quick Info + Pokaż uwagi w szybkich podpowiedziach diff --git a/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.pt-BR.xlf b/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.pt-BR.xlf index f69a282553dcd..6fba8f68f5f77 100644 --- a/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.pt-BR.xlf +++ b/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.pt-BR.xlf @@ -114,7 +114,7 @@ Show remarks in Quick Info - Show remarks in Quick Info + Mostrar os comentários nas Informações Rápidas diff --git a/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.ru.xlf b/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.ru.xlf index 5dfe5e43ef997..6247487dc09d0 100644 --- a/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.ru.xlf +++ b/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.ru.xlf @@ -114,7 +114,7 @@ Show remarks in Quick Info - Show remarks in Quick Info + Показать заметки в кратких сведениях diff --git a/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.tr.xlf b/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.tr.xlf index d1b12f29adb6a..6a5f9ca1c9d04 100644 --- a/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.tr.xlf +++ b/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.tr.xlf @@ -114,7 +114,7 @@ Show remarks in Quick Info - Show remarks in Quick Info + Hızlı Bilgi notlarını göster diff --git a/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.zh-Hans.xlf b/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.zh-Hans.xlf index 9f320675d3741..ab9f178af7a63 100644 --- a/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.zh-Hans.xlf +++ b/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.zh-Hans.xlf @@ -114,7 +114,7 @@ Show remarks in Quick Info - Show remarks in Quick Info + 在快速信息中显示备注 diff --git a/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.zh-Hant.xlf b/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.zh-Hant.xlf index c45d3e56434bc..66f279923f12c 100644 --- a/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.zh-Hant.xlf +++ b/src/VisualStudio/VisualBasic/Impl/xlf/BasicVSResources.zh-Hant.xlf @@ -114,7 +114,7 @@ Show remarks in Quick Info - Show remarks in Quick Info + 在快速諮詢中顯示備註 diff --git a/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.cs.xlf b/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.cs.xlf index 77508fa16d349..2553fe3b87f17 100644 --- a/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.cs.xlf +++ b/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.cs.xlf @@ -19,7 +19,7 @@ Automatic insertion of end constructs;Change pretty listing settings;Change outlining mode;Automatic insertion of Interface and MustOverride members;Show or hide procedure line separators;Turn error correction suggestions on or off;Turn highlighting of references and keywords on or off;Regex;Colorize regular expressions;Highlight related components under cursor;Report invalid regular expressions;regex;regular expression;Use enhanced colors;Editor Color Scheme; - Automatické vložení koncových konstruktorů;Změnit nastavení přehledného výpisu;Změnit režim sbalení;Automatické vkládání členů Interface a MustOverride;Zobrazit nebo skrýt oddělovače řádků procedur;Zapnout nebo vypnout návrhy oprav;Zapnout nebo vypnout zvýrazňování odkazů a klíčových slov;Regex;Obarvit regulární výrazy;Zvýrazňovat související komponenty pod kurzorem;Nahlásit neplatné regulární výrazy;reg. výr.;regulární výraz; + Automatické vložení koncových konstruktorů;Změnit nastavení přehledného výpisu;Změnit režim sbalení;Automatické vkládání členů Interface a MustOverride;Zobrazit nebo skrýt oddělovače řádků procedur;Zapnout nebo vypnout návrhy oprav;Zapnout nebo vypnout zvýrazňování odkazů a klíčových slov;Regex;Obarvit regulární výrazy;Zvýrazňovat související komponenty pod kurzorem;Nahlásit neplatné regulární výrazy;reg. výr.;regulární výraz;Používat rozšířené barvy;Barevné schéma editoru; Advanced options page keywords diff --git a/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.de.xlf b/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.de.xlf index f25454ec93a4f..ab8709e755d97 100644 --- a/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.de.xlf +++ b/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.de.xlf @@ -19,7 +19,7 @@ Automatic insertion of end constructs;Change pretty listing settings;Change outlining mode;Automatic insertion of Interface and MustOverride members;Show or hide procedure line separators;Turn error correction suggestions on or off;Turn highlighting of references and keywords on or off;Regex;Colorize regular expressions;Highlight related components under cursor;Report invalid regular expressions;regex;regular expression;Use enhanced colors;Editor Color Scheme; - Endkonstrukte automatisch einfügen;Einstellungen für automatische Strukturierung und Einrückung ändern;Gliederungsmodus ändern;Schnittstellen- und MustOverride-Member automatisch einfügen;Zeilentrennzeichen zwischen Prozeduren anzeigen oder ausblenden;Vorschläge für Fehlerkorrektur ein- oder ausschalten;Markierung von Verweisen und Schlüsselwörtern ein- oder ausschalten;Regex;Reguläre Ausdrücke farbig markieren;Verwandte Komponenten unter Cursor hervorheben;Ungültige reguläre Ausdrücke melden;regex;regulärer Ausdruck; + Endkonstrukte automatisch einfügen;Einstellungen für automatische Strukturierung und Einrückung ändern;Gliederungsmodus ändern;Schnittstellen- und MustOverride-Member automatisch einfügen;Zeilentrennzeichen zwischen Prozeduren anzeigen oder ausblenden;Vorschläge für Fehlerkorrektur ein- oder ausschalten;Markierung von Verweisen und Schlüsselwörtern ein- oder ausschalten;Regex;Reguläre Ausdrücke farbig markieren;Verwandte Komponenten unter Cursor hervorheben;Ungültige reguläre Ausdrücke melden;regex;regulärer Ausdruck;nErweiterte Farben verwenden;Editor-Farbschema; Advanced options page keywords diff --git a/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.es.xlf b/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.es.xlf index d0d56cf4bfce3..ed09492061cad 100644 --- a/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.es.xlf +++ b/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.es.xlf @@ -19,7 +19,7 @@ Automatic insertion of end constructs;Change pretty listing settings;Change outlining mode;Automatic insertion of Interface and MustOverride members;Show or hide procedure line separators;Turn error correction suggestions on or off;Turn highlighting of references and keywords on or off;Regex;Colorize regular expressions;Highlight related components under cursor;Report invalid regular expressions;regex;regular expression;Use enhanced colors;Editor Color Scheme; - Inserción automática de construcciones End;Cambiar configuración de la lista descriptiva;Cambiar modo de esquematización;Inserción automática de miembros Interface y MustOverride;Mostrar u ocultar separadores de línea de procedimientos;Activar o desactivar sugerencias de corrección de errores;Activar o desactivar resaltado de referencias y palabras clave;Regex;Colorear expresiones regulares;Resaltar componentes relacionados bajo el cursor;Informar sobre expresiones regulares no válidas;regex;expresión regular; + Inserción automática de construcciones End;Cambiar configuración de la lista descriptiva;Cambiar modo de esquematización;Inserción automática de miembros Interface y MustOverride;Mostrar u ocultar separadores de línea de procedimientos;Activar o desactivar sugerencias de corrección de errores;Activar o desactivar resaltado de referencias y palabras clave;Regex;Colorear expresiones regulares;Resaltar componentes relacionados bajo el cursor;Informar sobre expresiones regulares no válidas;regex;expresión regular;Usar colores mejorados;Combinación de colores del editor; Advanced options page keywords diff --git a/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.fr.xlf b/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.fr.xlf index 3cdbbd596a8b0..3386ea1bf7049 100644 --- a/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.fr.xlf +++ b/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.fr.xlf @@ -19,7 +19,7 @@ Automatic insertion of end constructs;Change pretty listing settings;Change outlining mode;Automatic insertion of Interface and MustOverride members;Show or hide procedure line separators;Turn error correction suggestions on or off;Turn highlighting of references and keywords on or off;Regex;Colorize regular expressions;Highlight related components under cursor;Report invalid regular expressions;regex;regular expression;Use enhanced colors;Editor Color Scheme; - Insertion automatique des constructions de fin;Changer les paramètres de listing en mode Pretty;Changer le mode Plan;Insertion automatique des membres Interface et MustOverride;Afficher ou masquer les séparateurs de ligne de procédure;Activer ou désactiver les suggestions de correction d'erreurs;Activer ou désactiver la mise en surbrillance des références et des mots clés;Regex;Mettre en couleurs les expressions régulières;Mettre en surbrillance les composants connexes sous le curseur;Signaler les expressions régulières non valides;regex;expression régulière; + Insertion automatique des constructions de fin;Changer les paramètres de listing en mode Pretty;Changer le mode Plan;Insertion automatique des membres Interface et MustOverride;Afficher ou masquer les séparateurs de ligne de procédure;Activer ou désactiver les suggestions de correction d'erreurs;Activer ou désactiver la mise en surbrillance des références et des mots clés;Regex;Mettre en couleurs les expressions régulières;Mettre en surbrillance les composants connexes sous le curseur;Signaler les expressions régulières non valides;regex;expression régulière;Utiliser des couleurs améliorées;Modèle de couleurs de l'éditeur; Advanced options page keywords diff --git a/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.it.xlf b/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.it.xlf index 60884dd8bacb6..b2403cf7f74a2 100644 --- a/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.it.xlf +++ b/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.it.xlf @@ -19,7 +19,7 @@ Automatic insertion of end constructs;Change pretty listing settings;Change outlining mode;Automatic insertion of Interface and MustOverride members;Show or hide procedure line separators;Turn error correction suggestions on or off;Turn highlighting of references and keywords on or off;Regex;Colorize regular expressions;Highlight related components under cursor;Report invalid regular expressions;regex;regular expression;Use enhanced colors;Editor Color Scheme; - Inserimento automatico di costrutti End;Modifica impostazioni di riformattazione;Modifica modalità struttura;Inserimento automatico di membri Interface e MustOverride;Mostra o nascondi separatori di riga routine;Attiva o disattiva i suggerimenti per la correzione degli errori;Attiva o disattiva evidenziazione di riferimenti e parole chiave;Regex;Colora espressioni regolari;Evidenzia componenti correlati sotto il cursore;Segnala espressioni regolari non valide;regex;espressione regolare; + Inserimento automatico di costrutti End;Modifica impostazioni di riformattazione;Modifica modalità struttura;Inserimento automatico di membri Interface e MustOverride;Mostra o nascondi separatori di riga routine;Attiva o disattiva i suggerimenti per la correzione degli errori;Attiva o disattiva l'evidenziazione di riferimenti e parole chiave;Regex;Colora espressioni regolari;Evidenzia i componenti correlati sotto il cursore;Segnala espressioni regolari non valide;regex;espressione regolare;Usa colori migliorati;Combinazione colori editor; Advanced options page keywords diff --git a/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.ja.xlf b/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.ja.xlf index 5b96fe3f29511..f2574f4920349 100644 --- a/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.ja.xlf +++ b/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.ja.xlf @@ -19,7 +19,7 @@ Automatic insertion of end constructs;Change pretty listing settings;Change outlining mode;Automatic insertion of Interface and MustOverride members;Show or hide procedure line separators;Turn error correction suggestions on or off;Turn highlighting of references and keywords on or off;Regex;Colorize regular expressions;Highlight related components under cursor;Report invalid regular expressions;regex;regular expression;Use enhanced colors;Editor Color Scheme; - コンストラクトの終端の自動挿入;再フォーマット設定の変更;アウトライン モードの変更;Interface と MustOverride メンバーの自動挿入;プロシージャ行の区切り記号の表示/非表示;エラー修正候補のオン/オフの切り替え;参照とキーワードの強調表示のオン/オフの切り替え;Regex;正規表現の色付け;カーソルの下の関連コンポーネントのハイライト;無効な正規表現の報告;Regex;正規表現; + コンストラクトの終端の自動挿入;再フォーマット設定の変更;アウトライン モードの変更;Interface と MustOverride メンバーの自動挿入;プロシージャ行の区切り記号の表示/非表示;エラー修正候補のオン/オフの切り替え;参照とキーワードの強調表示のオン/オフの切り替え;Regex;正規表現の色付け;カーソルの下の関連コンポーネントのハイライト;無効な正規表現の報告;Regex;正規表現;拡張された色を使用する;エディターの配色; Advanced options page keywords diff --git a/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.ko.xlf b/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.ko.xlf index 41644bf4c4215..ddc3902488b9e 100644 --- a/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.ko.xlf +++ b/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.ko.xlf @@ -19,7 +19,7 @@ Automatic insertion of end constructs;Change pretty listing settings;Change outlining mode;Automatic insertion of Interface and MustOverride members;Show or hide procedure line separators;Turn error correction suggestions on or off;Turn highlighting of references and keywords on or off;Regex;Colorize regular expressions;Highlight related components under cursor;Report invalid regular expressions;regex;regular expression;Use enhanced colors;Editor Color Scheme; - 맺음 구문 자동 삽입;자동 서식 지정 설정 변경;개요 모드 변경;인터페이스 및 MustOverride 멤버 자동 삽입;프로시저 줄 구분선 표시/숨기기;오류 수정 제안 설정/해제;참조 및 키워드의 강조 표시 설정/해제;Regex;정규식 색 입히기;커서 아래에 관련 구성 요소 강조 표시;잘못된 정규식 보고;regex;정규식 + 맺음 구문 자동 삽입;자동 서식 지정 설정 변경;개요 모드 변경;인터페이스 및 MustOverride 멤버 자동 삽입;프로시저 줄 구분 기호 표시/숨기기;오류 수정 제안 설정/해제;참조 및 키워드 강조 설정/해제;Regex;정규식 색 지정;커서 아래의 관련 구성 요소 강조;잘못된 정규식 보고;regex;정규식;향상된 색 사용;편집기 색 구성표; Advanced options page keywords diff --git a/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.pl.xlf b/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.pl.xlf index 8b3dfe46af0fa..9dd17865b8c84 100644 --- a/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.pl.xlf +++ b/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.pl.xlf @@ -19,7 +19,7 @@ Automatic insertion of end constructs;Change pretty listing settings;Change outlining mode;Automatic insertion of Interface and MustOverride members;Show or hide procedure line separators;Turn error correction suggestions on or off;Turn highlighting of references and keywords on or off;Regex;Colorize regular expressions;Highlight related components under cursor;Report invalid regular expressions;regex;regular expression;Use enhanced colors;Editor Color Scheme; - Automatyczne wstawianie konstrukcji końcowych;Zmień ustawienia formatowania kodu;Zmień tryb konspektu;Automatyczne wstawianie składowych Interface i MustOverride;Pokaż lub ukryj separatory wierszy procedury;Włącz lub wyłącz sugestie dotyczące poprawy błędów;Włącz lub wyłącz wyróżnianie odwołań i słów kluczowych;Wyrażenie regularne;Koloruj wyrażenia regularne;Wyróżnij pokrewne składniki wskazane przez kursor;Zgłaszaj nieprawidłowe wyrażenia regularne;wyrażenie regularne;wyrażenie regularne + Automatyczne wstawianie konstrukcji końcowych;Zmień ustawienia formatowania kodu;Zmień tryb konspektu;Automatyczne wstawianie składowych Interface i MustOverride;Pokaż lub ukryj separatory wierszy procedury;Włącz lub wyłącz sugestie dotyczące poprawy błędów;Włącz lub wyłącz wyróżnianie odwołań i słów kluczowych;Wyrażenie regularne;Koloruj wyrażenia regularne;Wyróżnij pokrewne składniki wskazane przez kursor;Zgłaszaj nieprawidłowe wyrażenia regularne;wyrażenie regularne;wyrażenie regularne;Użyj ulepszonych kolorów;Schemat kolorów edytora; Advanced options page keywords diff --git a/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.pt-BR.xlf b/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.pt-BR.xlf index 39fb62f22c14b..f650fc1fce721 100644 --- a/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.pt-BR.xlf +++ b/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.pt-BR.xlf @@ -19,7 +19,7 @@ Automatic insertion of end constructs;Change pretty listing settings;Change outlining mode;Automatic insertion of Interface and MustOverride members;Show or hide procedure line separators;Turn error correction suggestions on or off;Turn highlighting of references and keywords on or off;Regex;Colorize regular expressions;Highlight related components under cursor;Report invalid regular expressions;regex;regular expression;Use enhanced colors;Editor Color Scheme; - Inserção automática de constructos finais;Alterar as configurações de reformatação automática;Alterar o modo de estrutura de tópicos;Inserção automática de membros de Interface e de MustOverride;Mostrar ou ocultar separadores de linha de procedimento;Habilitar ou desabilitar sugestões para correção de erros;Habilitar ou desabilitar o realce de referências e palavras-chave;Regex;Colorir expressões regulares;Realçar os componentes relacionados sob o cursor;Relatar expressões regulares inválidas;regex;expressão regular; + Inserção automática de constructos finais;Alterar as configurações de reformatação automática;Alterar o modo de estrutura de tópicos;Inserção automática de membros de Interface e de MustOverride;Mostrar ou ocultar separadores de linha de procedimento;Habilitar ou desabilitar sugestões para correção de erros;Habilitar ou desabilitar o realce de referências e palavras-chave;Regex;Colorir expressões regulares;Realçar os componentes relacionados sob o cursor;Relatar expressões regulares inválidas;regex;expressão regular;Usar cores aprimoradas;Esquema de Cores do Editor; Advanced options page keywords diff --git a/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.ru.xlf b/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.ru.xlf index da520d37872d5..85bfed486c753 100644 --- a/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.ru.xlf +++ b/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.ru.xlf @@ -19,7 +19,7 @@ Automatic insertion of end constructs;Change pretty listing settings;Change outlining mode;Automatic insertion of Interface and MustOverride members;Show or hide procedure line separators;Turn error correction suggestions on or off;Turn highlighting of references and keywords on or off;Regex;Colorize regular expressions;Highlight related components under cursor;Report invalid regular expressions;regex;regular expression;Use enhanced colors;Editor Color Scheme; - Автоматическая вставка конечных конструкций;Изменение параметров автоматического форматирования;Изменение режима структуры;Автоматическая вставка интерфейса и членов MustOverride;Отображение или скрытие разделителей строк для процедуры;Включение или выключение предложения об исправлении ошибок;Включение или выключение выделения ссылок и ключевых слов;Регулярные выражения;Выделение регулярных выражений цветом;Выделение связанных компонентов под курсором;Выделение недопустимых регулярных выражений;регулярное выражение;регулярное выражение; + Автоматическая вставка конечных конструкций;Изменение параметров автоматического форматирования;Изменение режима структуры;Автоматическая вставка интерфейса и членов MustOverride;Отображение или скрытие разделителей строк для процедуры;Включение или отключение предложения об исправлении ошибок;Включение или отключение выделения ссылок и ключевых слов;Регулярные выражения;Выделение регулярных выражений цветом;Выделение связанных компонентов под курсором;Выделение недопустимых регулярных выражений;регулярное выражение;регулярное выражение;Использование расширенных цветов;Цветовая схема редактора; Advanced options page keywords diff --git a/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.tr.xlf b/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.tr.xlf index 6838bf1059ecb..7ba015740d0d7 100644 --- a/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.tr.xlf +++ b/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.tr.xlf @@ -19,7 +19,7 @@ Automatic insertion of end constructs;Change pretty listing settings;Change outlining mode;Automatic insertion of Interface and MustOverride members;Show or hide procedure line separators;Turn error correction suggestions on or off;Turn highlighting of references and keywords on or off;Regex;Colorize regular expressions;Highlight related components under cursor;Report invalid regular expressions;regex;regular expression;Use enhanced colors;Editor Color Scheme; - Bitirme yapılarının otomatik olarak eklenmesi;Düzgün listeleme ayarlarını değiştir;Ana hat modunu değiştir;Arabirim ve MustOverride üyelerinin otomatik olarak eklenmesi;Yordam satır ayıraçlarını göster veya gizle;Hata düzeltme önerilerini aç veya kapat;Başvuruları ve anahtar sözcükleri vurgulamayı aç veya kapat;Normal ifade;Normal ifadeleri renklendir;İmlecin altında ilgili bileşenleri vurgula;Geçersiz normal ifadeleri bildir;normal ifade;normal ifade; + Bitirme yapılarının otomatik olarak eklenmesi;Düzgün listeleme ayarlarını değiştir;Ana hat modunu değiştir;Arabirim ve MustOverride üyelerinin otomatik olarak eklenmesi;Yordam satır ayıraçlarını göster veya gizle;Hata düzeltme önerilerini aç veya kapat;Başvuruları ve anahtar sözcükleri vurgulamayı aç veya kapat;Normal ifade;Normal ifadeleri renklendir;İmlecin altında ilgili bileşenleri vurgula;Geçersiz normal ifadeleri bildir;normal ifade;normal ifade;Gelişmiş renkleri kullan;Düzenleyici Renk Düzeni; Advanced options page keywords diff --git a/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.zh-Hans.xlf b/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.zh-Hans.xlf index 6a70d01d4ab59..4da77b645c26b 100644 --- a/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.zh-Hans.xlf +++ b/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.zh-Hans.xlf @@ -19,7 +19,7 @@ Automatic insertion of end constructs;Change pretty listing settings;Change outlining mode;Automatic insertion of Interface and MustOverride members;Show or hide procedure line separators;Turn error correction suggestions on or off;Turn highlighting of references and keywords on or off;Regex;Colorize regular expressions;Highlight related components under cursor;Report invalid regular expressions;regex;regular expression;Use enhanced colors;Editor Color Scheme; - 自动插入 End 构造;更改整齐排列设置;更改大纲模式;自动插入 Interface 和 MustOverride 成员;显示或隐藏过程行分隔符;打开或关闭错误纠正建议;打开或关闭引用和关键字的突出显示;正则表达式;对正则表达式着色;突出显示光标下的相关部分;报告无效正则表达式;regex;正则表达式; + 自动插入 End 构造;更改整齐排列设置;更改大纲模式;自动插入 Interface 和 MustOverride 成员;显示或隐藏过程行分隔符;打开或关闭错误纠正建议;打开或关闭引用和关键字的突出显示;正则表达式;对正则表达式着色;突出显示光标下的相关部分;报告无效正则表达式;regex;正则表达式;使用增强色;编辑器配色方案; Advanced options page keywords diff --git a/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.zh-Hant.xlf b/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.zh-Hant.xlf index 445e719d2329b..a257f072dee72 100644 --- a/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.zh-Hant.xlf +++ b/src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.zh-Hant.xlf @@ -19,7 +19,7 @@ Automatic insertion of end constructs;Change pretty listing settings;Change outlining mode;Automatic insertion of Interface and MustOverride members;Show or hide procedure line separators;Turn error correction suggestions on or off;Turn highlighting of references and keywords on or off;Regex;Colorize regular expressions;Highlight related components under cursor;Report invalid regular expressions;regex;regular expression;Use enhanced colors;Editor Color Scheme; - 自動插入 End 建構;變更美化排列設定;變更大綱模式;自動插入 Interface 和 MustOverride 成員;顯示或隱藏程序行分隔符號;開啟或關閉錯誤修正建議;開啟或關閉參考及關鍵字的醒目提示;Regex;以顏色標示規則運算式;為資料指標下的相關元件加上醒目提示;回報無效的規則運算式;regex;規則運算式; + 自動插入 End 建構;變更美化排列設定;變更大綱模式;自動插入介面和 MustOverride 成員;顯示或隱藏程序行分隔符號;開啟或關閉錯誤修正建議;開啟或關閉參考及關鍵字的醒目提示;Regex;為規則運算式標示色彩;醒目提示游標下的相關元件;回報無效的規則運算式;regex;規則運算式;使用進階色彩;編輯器色彩配置; Advanced options page keywords diff --git a/src/Workspaces/Core/Portable/Remote/WellKnownServiceHubServices.cs b/src/Workspaces/Core/Portable/Remote/WellKnownServiceHubServices.cs index 6ec545577fd21..cf635121ac3bb 100644 --- a/src/Workspaces/Core/Portable/Remote/WellKnownServiceHubServices.cs +++ b/src/Workspaces/Core/Portable/Remote/WellKnownServiceHubServices.cs @@ -1,4 +1,4 @@ -// Licensed to the .NET Foundation under one or more agreements. +// 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. diff --git a/src/Workspaces/Core/Portable/Utilities/NullableStructExtensions.cs b/src/Workspaces/Core/Portable/Utilities/NullableStructExtensions.cs new file mode 100644 index 0000000000000..f30c49e1017da --- /dev/null +++ b/src/Workspaces/Core/Portable/Utilities/NullableStructExtensions.cs @@ -0,0 +1,17 @@ +// 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. + +#nullable enable + +namespace Roslyn.Utilities +{ + internal static class NullableStructExtensions + { + public static void Deconstruct(this T? value, out T valueOrDefault, out bool hasValue) where T : struct + { + valueOrDefault = value.GetValueOrDefault(); + hasValue = value.HasValue; + } + } +} diff --git a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.cs.xlf b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.cs.xlf index f74ffa9ef0de5..2fbe5e7154266 100644 --- a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.cs.xlf +++ b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.cs.xlf @@ -64,7 +64,7 @@ Only submission project can reference submission projects. - Only submission project can reference submission projects. + Na projekty odeslání se může odkazovat jen projekt odeslání. @@ -74,7 +74,7 @@ Project does not contain specified reference - Project does not contain specified reference + Projekt neobsahuje zadaný odkaz. @@ -1284,7 +1284,7 @@ Pozitivní kontrolní výrazy zpětného vyhledávání s nulovou délkou se obv The project already contains the specified reference. - The project already contains the specified reference. + Projekt už zadaný odkaz obsahuje. @@ -1309,7 +1309,7 @@ Pozitivní kontrolní výrazy zpětného vyhledávání s nulovou délkou se obv {0} is in a different project. - {0} is in a different project. + {0} se nachází v jiném projektu. diff --git a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.de.xlf b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.de.xlf index 2a6776682dd28..adb3676a097b1 100644 --- a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.de.xlf +++ b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.de.xlf @@ -64,7 +64,7 @@ Only submission project can reference submission projects. - Only submission project can reference submission projects. + Nur ein Übermittlungsprojekt kann auf Übermittlungsprojekte verweisen. @@ -74,7 +74,7 @@ Project does not contain specified reference - Project does not contain specified reference + Der angegebene Verweis ist im Projekt nicht enthalten. @@ -1284,7 +1284,7 @@ Positive Lookbehindassertionen mit Nullbreite werden normalerweise am Anfang reg The project already contains the specified reference. - The project already contains the specified reference. + Im Projekt ist der angegebene Verweis bereits enthalten. @@ -1309,7 +1309,7 @@ Positive Lookbehindassertionen mit Nullbreite werden normalerweise am Anfang reg {0} is in a different project. - {0} is in a different project. + "{0}" befindet sich in einem anderen Projekt. diff --git a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.es.xlf b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.es.xlf index f452a1cc09248..3e091a11aaabc 100644 --- a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.es.xlf +++ b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.es.xlf @@ -64,7 +64,7 @@ Only submission project can reference submission projects. - Only submission project can reference submission projects. + Solo un proyecto de envío puede hacer referencia a proyectos de envío. @@ -74,7 +74,7 @@ Project does not contain specified reference - Project does not contain specified reference + El proyecto no contiene la referencia especificada. @@ -1284,7 +1284,7 @@ Las aserciones de búsqueda retrasada (lookbehind) positivas de ancho cero se us The project already contains the specified reference. - The project already contains the specified reference. + El proyecto ya contiene la referencia especificada. @@ -1309,7 +1309,7 @@ Las aserciones de búsqueda retrasada (lookbehind) positivas de ancho cero se us {0} is in a different project. - {0} is in a different project. + {0} está en un proyecto distinto. diff --git a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.fr.xlf b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.fr.xlf index 3ccb6a476476a..c656663011a0e 100644 --- a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.fr.xlf +++ b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.fr.xlf @@ -64,7 +64,7 @@ Only submission project can reference submission projects. - Only submission project can reference submission projects. + Seul un projet de soumission peut référencer des projets de soumission. @@ -74,7 +74,7 @@ Project does not contain specified reference - Project does not contain specified reference + Le projet ne contient pas la référence spécifiée @@ -1284,7 +1284,7 @@ Les assertions arrière positives de largeur nulle sont généralement utilisée The project already contains the specified reference. - The project already contains the specified reference. + Le projet contient déjà la référence spécifiée. @@ -1309,7 +1309,7 @@ Les assertions arrière positives de largeur nulle sont généralement utilisée {0} is in a different project. - {0} is in a different project. + {0} est dans un autre projet. diff --git a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.it.xlf b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.it.xlf index ff90370a23692..9ae9ce019c75f 100644 --- a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.it.xlf +++ b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.it.xlf @@ -64,7 +64,7 @@ Only submission project can reference submission projects. - Only submission project can reference submission projects. + Solo il progetto di invio può fare riferimento a progetti di invio. @@ -74,7 +74,7 @@ Project does not contain specified reference - Project does not contain specified reference + Il progetto non contiene il riferimento specificato @@ -1284,7 +1284,7 @@ Le asserzioni lookbehind positive di larghezza zero vengono usate in genere all' The project already contains the specified reference. - The project already contains the specified reference. + Il progetto contiene già il riferimento specificato. @@ -1309,7 +1309,7 @@ Le asserzioni lookbehind positive di larghezza zero vengono usate in genere all' {0} is in a different project. - {0} is in a different project. + {0} si trova in un progetto diverso. diff --git a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.ja.xlf b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.ja.xlf index 30b34ce98d1c9..4b6a83fdf4cb2 100644 --- a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.ja.xlf +++ b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.ja.xlf @@ -64,7 +64,7 @@ Only submission project can reference submission projects. - Only submission project can reference submission projects. + 送信プロジェクトを参照できるのは、送信プロジェクトのみです。 @@ -74,7 +74,7 @@ Project does not contain specified reference - Project does not contain specified reference + 指定された参照がプロジェクトに含まれていません @@ -1284,7 +1284,7 @@ Zero-width positive lookbehind assertions are typically used at the beginning of The project already contains the specified reference. - The project already contains the specified reference. + このプロジェクトには、指定された参照が既に含まれています。 @@ -1309,7 +1309,7 @@ Zero-width positive lookbehind assertions are typically used at the beginning of {0} is in a different project. - {0} is in a different project. + {0} は別のプロジェクトに含まれています。 diff --git a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.ko.xlf b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.ko.xlf index 1d298ecb786db..c8c11b0f54ea2 100644 --- a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.ko.xlf +++ b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.ko.xlf @@ -64,7 +64,7 @@ Only submission project can reference submission projects. - Only submission project can reference submission projects. + 제출 프로젝트만 제출 프로젝트를 참조할 수 있습니다. @@ -74,7 +74,7 @@ Project does not contain specified reference - Project does not contain specified reference + 지정된 참조가 프로젝트에 포함되어 있지 않습니다. @@ -1284,7 +1284,7 @@ Zero-width positive lookbehind assertions are typically used at the beginning of The project already contains the specified reference. - The project already contains the specified reference. + 지정된 참조가 이미 프로젝트에 포함되어 있습니다. @@ -1309,7 +1309,7 @@ Zero-width positive lookbehind assertions are typically used at the beginning of {0} is in a different project. - {0} is in a different project. + {0}이(가) 다른 프로젝트에 있습니다. diff --git a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.pl.xlf b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.pl.xlf index 3b75f2b88fdeb..ef822c364eab9 100644 --- a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.pl.xlf +++ b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.pl.xlf @@ -64,7 +64,7 @@ Only submission project can reference submission projects. - Only submission project can reference submission projects. + Tylko przesyłany projekt może odwoływać się do przesyłanych projektów. @@ -74,7 +74,7 @@ Project does not contain specified reference - Project does not contain specified reference + Projekt nie zawiera określonego odwołania @@ -1284,7 +1284,7 @@ Pozytywne asercje wsteczne o zerowej szerokości są zwykle używane na początk The project already contains the specified reference. - The project already contains the specified reference. + Projekt już zawiera określone odwołanie. @@ -1309,7 +1309,7 @@ Pozytywne asercje wsteczne o zerowej szerokości są zwykle używane na początk {0} is in a different project. - {0} is in a different project. + Element {0} znajduje się w innym projekcie. diff --git a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.pt-BR.xlf b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.pt-BR.xlf index eb563e63fe231..df59878cc412d 100644 --- a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.pt-BR.xlf +++ b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.pt-BR.xlf @@ -64,7 +64,7 @@ Only submission project can reference submission projects. - Only submission project can reference submission projects. + Somente o projeto de envio pode fazer referência a projetos de envio. @@ -74,7 +74,7 @@ Project does not contain specified reference - Project does not contain specified reference + O projeto não contém a referência especificada @@ -1284,7 +1284,7 @@ As declarações de lookbehind positivas de largura zero normalmente são usadas The project already contains the specified reference. - The project already contains the specified reference. + O projeto já contém a referência especificada. @@ -1309,7 +1309,7 @@ As declarações de lookbehind positivas de largura zero normalmente são usadas {0} is in a different project. - {0} is in a different project. + {0} está em um projeto diferente. diff --git a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.ru.xlf b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.ru.xlf index f72a0a799e5d8..c07602b5412ea 100644 --- a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.ru.xlf +++ b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.ru.xlf @@ -64,7 +64,7 @@ Only submission project can reference submission projects. - Only submission project can reference submission projects. + Только проект отправки может ссылаться на другие проекты отправки. @@ -74,7 +74,7 @@ Project does not contain specified reference - Project does not contain specified reference + Проект не содержит указанную ссылку. @@ -1284,7 +1284,7 @@ Zero-width positive lookbehind assertions are typically used at the beginning of The project already contains the specified reference. - The project already contains the specified reference. + Проект уже содержит указанную ссылку. @@ -1309,7 +1309,7 @@ Zero-width positive lookbehind assertions are typically used at the beginning of {0} is in a different project. - {0} is in a different project. + {0} находится в другом проекте. diff --git a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.tr.xlf b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.tr.xlf index ad4911c89c7b7..e099befdc1947 100644 --- a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.tr.xlf +++ b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.tr.xlf @@ -64,7 +64,7 @@ Only submission project can reference submission projects. - Only submission project can reference submission projects. + Gönderim projelerine yalnızca gönderim projesi başvurabilir. @@ -74,7 +74,7 @@ Project does not contain specified reference - Project does not contain specified reference + Proje belirtilen başvuruyu içermiyor @@ -1284,7 +1284,7 @@ Sıfır genişlikli pozitif geri yönlü onaylamalar genellikle normal ifadeleri The project already contains the specified reference. - The project already contains the specified reference. + Proje belirtilen başvuruyu zaten içeriyor. @@ -1309,7 +1309,7 @@ Sıfır genişlikli pozitif geri yönlü onaylamalar genellikle normal ifadeleri {0} is in a different project. - {0} is in a different project. + {0}, farklı bir projede. diff --git a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.zh-Hans.xlf b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.zh-Hans.xlf index 19bb3a62adee0..a92dcc6a03994 100644 --- a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.zh-Hans.xlf +++ b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.zh-Hans.xlf @@ -64,7 +64,7 @@ Only submission project can reference submission projects. - Only submission project can reference submission projects. + 只有提交项目才能引用提交项目。 @@ -74,7 +74,7 @@ Project does not contain specified reference - Project does not contain specified reference + 项目不包含指定的引用 @@ -1284,7 +1284,7 @@ Zero-width positive lookbehind assertions are typically used at the beginning of The project already contains the specified reference. - The project already contains the specified reference. + 项目已包含指定的引用。 @@ -1309,7 +1309,7 @@ Zero-width positive lookbehind assertions are typically used at the beginning of {0} is in a different project. - {0} is in a different project. + {0} 位于不同的项目中。 diff --git a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.zh-Hant.xlf b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.zh-Hant.xlf index 95c5dc23e75a5..03cf6bee7821b 100644 --- a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.zh-Hant.xlf +++ b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.zh-Hant.xlf @@ -64,7 +64,7 @@ Only submission project can reference submission projects. - Only submission project can reference submission projects. + 只有提交專案可以參考提交專案。 @@ -74,7 +74,7 @@ Project does not contain specified reference - Project does not contain specified reference + 專案未包含指定的參考 @@ -1284,7 +1284,7 @@ Zero-width positive lookbehind assertions are typically used at the beginning of The project already contains the specified reference. - The project already contains the specified reference. + 專案已包含指定的參考。 @@ -1309,7 +1309,7 @@ Zero-width positive lookbehind assertions are typically used at the beginning of {0} is in a different project. - {0} is in a different project. + {0} 位於不同的專案中。 diff --git a/src/Workspaces/Remote/ServiceHub/Services/LanguageServer.cs b/src/Workspaces/Remote/ServiceHub/Services/LanguageServer.cs index 4de63264fef23..6b63ea7a8bb8b 100644 --- a/src/Workspaces/Remote/ServiceHub/Services/LanguageServer.cs +++ b/src/Workspaces/Remote/ServiceHub/Services/LanguageServer.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable enable + using System; using System.Collections.Immutable; using System.IO; @@ -13,6 +15,7 @@ using Microsoft.CodeAnalysis.NavigateTo; using Microsoft.VisualStudio.LanguageServer.Protocol; using Newtonsoft.Json.Linq; +using Roslyn.Utilities; using StreamJsonRpc; using LSP = Microsoft.VisualStudio.LanguageServer.Protocol; @@ -48,7 +51,8 @@ public Task InitializeAsync(JToken input, CancellationToken ca { Capabilities = new VSServerCapabilities() { - WorkspaceStreamingSymbolProvider = true + DisableGoToWorkspaceSymbols = true, + WorkspaceSymbolProvider = true, } }); } @@ -60,7 +64,7 @@ public Task InitializedAsync() } [JsonRpcMethod(Methods.ShutdownName)] - public void Shutdown(CancellationToken cancellationToken) + public void Shutdown(CancellationToken _) { // our language server shutdown when VS shutdown // we have this so that we don't get log file every time VS shutdown @@ -73,8 +77,8 @@ public void Exit() // we have this so that we don't get log file every time VS shutdown } - [JsonRpcMethod(VSSymbolMethods.WorkspaceBeginSymbolName)] - public Task BeginWorkspaceSymbolAsync(string query, int searchId, CancellationToken cancellationToken) + [JsonRpcMethod(Methods.WorkspaceSymbolName, UseSingleObjectParameterDeserialization = true)] + public Task WorkspaceSymbolAsync(WorkspaceSymbolParams args, CancellationToken cancellationToken) { return RunServiceAsync(async () => { @@ -83,49 +87,54 @@ public Task BeginWorkspaceSymbolAsync(string query, int sea // for now, we use whatever solution we have currently. in future, we will add an ability to sync VS's current solution // on demand from OOP side // https://github.com/dotnet/roslyn/issues/37424 - await SearchAsync(SolutionService.PrimaryWorkspace.CurrentSolution, query, searchId, cancellationToken).ConfigureAwait(false); - return new VSBeginSymbolParams(); + var results = await SearchAsync(SolutionService.PrimaryWorkspace.CurrentSolution, args, cancellationToken).ConfigureAwait(false); + return results.ToArray(); } }, cancellationToken); } - private async Task SearchAsync(Solution solution, string query, int searchId, CancellationToken cancellationToken) + private async Task> SearchAsync(Solution solution, WorkspaceSymbolParams args, CancellationToken cancellationToken) { - var tasks = solution.Projects.Select(p => SearchProjectAsync(p, cancellationToken)).ToArray(); + Contract.ThrowIfNull(args.PartialResultToken); + + var tasks = solution.Projects.SelectMany(p => p.Documents).Select(d => SearchDocumentAndReportSymbolsAsync(d, args, cancellationToken)); await Task.WhenAll(tasks).ConfigureAwait(false); - return; + return ImmutableArray.Empty; + } - async Task SearchProjectAsync(Project project, CancellationToken cancellationToken) - { - cancellationToken.ThrowIfCancellationRequested(); + private static async Task> SearchDocumentAsync(Document document, string query, CancellationToken cancellationToken) + { + cancellationToken.ThrowIfCancellationRequested(); - var results = await AbstractNavigateToSearchService.SearchProjectInCurrentProcessAsync( - project, - ImmutableArray.Empty, - query, - s_supportedKinds, - cancellationToken).ConfigureAwait(false); + var results = await AbstractNavigateToSearchService.SearchDocumentInCurrentProcessAsync( + document, + query, + s_supportedKinds, + cancellationToken).ConfigureAwait(false); - var convertedResults = await ConvertAsync(results, cancellationToken).ConfigureAwait(false); + return await ConvertAsync(results, cancellationToken).ConfigureAwait(false); + } - await EndPoint.InvokeAsync( - VSSymbolMethods.WorkspacePublishSymbolName, - new object[] { new VSPublishSymbolParams() { SearchId = searchId, Symbols = convertedResults } }, - cancellationToken).ConfigureAwait(false); - } + /// + /// Search the document and report the results back using + /// implementation for symbol search is threadsafe. + /// + private static async Task SearchDocumentAndReportSymbolsAsync(Document document, WorkspaceSymbolParams args, CancellationToken cancellationToken) + { + var convertedResults = await SearchDocumentAsync(document, args.Query, cancellationToken).ConfigureAwait(false); + args.PartialResultToken.Report(convertedResults.ToArray()); } - private static async Task ConvertAsync( + private static async Task> ConvertAsync( ImmutableArray results, CancellationToken cancellationToken) { - var symbols = new VSSymbolInformation[results.Length]; + var symbols = ImmutableArray.CreateBuilder(); - for (var i = 0; i < results.Length; i++) + foreach (var result in results) { - var result = results[i]; var text = await result.NavigableItem.Document.GetTextAsync(cancellationToken).ConfigureAwait(false); - symbols[i] = new VSSymbolInformation() + symbols.Add(new VSSymbolInformation() { Name = result.Name, ContainerName = result.AdditionalInformation, @@ -136,10 +145,10 @@ private static async Task ConvertAsync( Range = ProtocolConversions.TextSpanToRange(result.NavigableItem.SourceSpan, text) }, Icon = new VisualStudio.Text.Adornments.ImageElement(result.NavigableItem.Glyph.GetImageId()) - }; + }); } - return symbols; + return symbols.ToImmutableArray(); } } } diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.cs.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.cs.xlf index f916f11f92c3e..fa634e3a893ac 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.cs.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.cs.xlf @@ -4,37 +4,37 @@ Code-block preferences - Code-block preferences + Předvolby bloků kódu Expected string or char literal - Expected string or char literal + Očekával se řetězcový nebo znakový literál. Expression-bodied members - Expression-bodied members + Členy s výrazem v těle Null-checking preferences - Null-checking preferences + Předvolby kontrol hodnoty null Pattern matching preferences - Pattern matching preferences + Předvolby porovnávání vzorů 'using' directive preferences - 'using' directive preferences + Předvolby direktivy using {Locked="using"} "using" is a C# keyword and should not be localized. var preferences - var preferences + Předvolby pro var diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.de.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.de.xlf index e152be006c773..ee365d944ffd6 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.de.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.de.xlf @@ -4,37 +4,37 @@ Code-block preferences - Code-block preferences + Einstellungen für Codeblöcke Expected string or char literal - Expected string or char literal + Erwartete Zeichenfolge oder Zeichenliteral Expression-bodied members - Expression-bodied members + Ausdruckskörpermember Null-checking preferences - Null-checking preferences + Einstellungen für NULL-Überprüfung Pattern matching preferences - Pattern matching preferences + Einstellungen für den Musterabgleich 'using' directive preferences - 'using' directive preferences + Einstellungen für using-Anweisungen {Locked="using"} "using" is a C# keyword and should not be localized. var preferences - var preferences + Var-Einstellungen diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.es.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.es.xlf index 31999ea1b23da..ac4000bbeb7a6 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.es.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.es.xlf @@ -4,37 +4,37 @@ Code-block preferences - Code-block preferences + Preferencias de bloque de código Expected string or char literal - Expected string or char literal + Cadena o carácter literal esperados Expression-bodied members - Expression-bodied members + Miembros en cuerpo de expresión Null-checking preferences - Null-checking preferences + Preferencias de comprobación de nulo Pattern matching preferences - Pattern matching preferences + Preferencias de coincidencia de patrón 'using' directive preferences - 'using' directive preferences + Preferencias de directiva "using" {Locked="using"} "using" is a C# keyword and should not be localized. var preferences - var preferences + Preferencias de var diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.fr.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.fr.xlf index c39d556c50aef..5ba49bd52c4e9 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.fr.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.fr.xlf @@ -4,37 +4,37 @@ Code-block preferences - Code-block preferences + Préférences de bloc de code Expected string or char literal - Expected string or char literal + Littéral char ou string attendu Expression-bodied members - Expression-bodied members + Membres expression-bodied Null-checking preferences - Null-checking preferences + Préférences de vérification de valeur Null Pattern matching preferences - Pattern matching preferences + Préférences correspondants au modèle 'using' directive preferences - 'using' directive preferences + Préférences pour la directive 'using' {Locked="using"} "using" is a C# keyword and should not be localized. var preferences - var preferences + Préférences de var diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.it.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.it.xlf index cde55cffeba44..ff9a9076c2da0 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.it.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.it.xlf @@ -4,37 +4,37 @@ Code-block preferences - Code-block preferences + Preferenze per blocchi di codice Expected string or char literal - Expected string or char literal + È previsto un valore letterale di tipo stringa o char Expression-bodied members - Expression-bodied members + Membri con corpo di espressione Null-checking preferences - Null-checking preferences + Preference per controllo valori Null Pattern matching preferences - Pattern matching preferences + Preferenze per criteri di ricerca 'using' directive preferences - 'using' directive preferences + Preferenze per direttive 'using' {Locked="using"} "using" is a C# keyword and should not be localized. var preferences - var preferences + Preferenze per var diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.ja.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.ja.xlf index ea5cd79a398b4..b321177375f57 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.ja.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.ja.xlf @@ -4,37 +4,37 @@ Code-block preferences - Code-block preferences + コード ブロックの設定 Expected string or char literal - Expected string or char literal + 文字列または文字リテラルが必要です Expression-bodied members - Expression-bodied members + 式のようなメンバー Null-checking preferences - Null-checking preferences + Null チェック設定 Pattern matching preferences - Pattern matching preferences + パターン マッチング設定 'using' directive preferences - 'using' directive preferences + 'using' ディレクティブの基本設定 {Locked="using"} "using" is a C# keyword and should not be localized. var preferences - var preferences + var を優先 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.ko.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.ko.xlf index 68a1b7514f7c7..6b3c8f3a5d364 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.ko.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.ko.xlf @@ -4,37 +4,37 @@ Code-block preferences - Code-block preferences + 코드 블록 기본 설정 Expected string or char literal - Expected string or char literal + 문자열 또는 문자 리터럴이 필요합니다. Expression-bodied members - Expression-bodied members + 식 본문 멤버 Null-checking preferences - Null-checking preferences + Null 검사 기본 설정 Pattern matching preferences - Pattern matching preferences + 패턴 일치 기본 설정 'using' directive preferences - 'using' directive preferences + 'using' 지시문 기본 설정 {Locked="using"} "using" is a C# keyword and should not be localized. var preferences - var preferences + var 기본 설정 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.pl.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.pl.xlf index 20e74f207a404..9afa0ebccaf45 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.pl.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.pl.xlf @@ -4,37 +4,37 @@ Code-block preferences - Code-block preferences + Preferencje bloku kodu Expected string or char literal - Expected string or char literal + Oczekiwano ciągu lub literału znakowego Expression-bodied members - Expression-bodied members + Składowe z wyrażeniem w treści Null-checking preferences - Null-checking preferences + Preferencje sprawdzania wartości null Pattern matching preferences - Pattern matching preferences + Preferencje dopasowywania do wzorca 'using' directive preferences - 'using' directive preferences + Preferencje dyrektywy „using” {Locked="using"} "using" is a C# keyword and should not be localized. var preferences - var preferences + Preferencje zmiennych diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.pt-BR.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.pt-BR.xlf index 6445db3974d4b..22bfa1e1b75cc 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.pt-BR.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.pt-BR.xlf @@ -4,37 +4,37 @@ Code-block preferences - Code-block preferences + Preferências do bloco de código Expected string or char literal - Expected string or char literal + Cadeia de caracteres esperada ou literal char Expression-bodied members - Expression-bodied members + Membros aptos para expressão Null-checking preferences - Null-checking preferences + Preferências de verificação nula Pattern matching preferences - Pattern matching preferences + Preferências de correspondência de padrões 'using' directive preferences - 'using' directive preferences + Preferências da diretiva 'using' {Locked="using"} "using" is a C# keyword and should not be localized. var preferences - var preferences + preferências de var diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.ru.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.ru.xlf index f28aa114baf72..2102a5e803e06 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.ru.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.ru.xlf @@ -4,37 +4,37 @@ Code-block preferences - Code-block preferences + Предпочтения для блоков кода Expected string or char literal - Expected string or char literal + Требуется строка или знаковый литерал Expression-bodied members - Expression-bodied members + Члены, заданные выражениями Null-checking preferences - Null-checking preferences + Настройки проверки на null Pattern matching preferences - Pattern matching preferences + Настройки соответствия шаблонов 'using' directive preferences - 'using' directive preferences + предпочтения для директивы using {Locked="using"} "using" is a C# keyword and should not be localized. var preferences - var preferences + Предпочтения var diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.tr.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.tr.xlf index 16fdf6604ce29..c9e54c73fa46c 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.tr.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.tr.xlf @@ -4,37 +4,37 @@ Code-block preferences - Code-block preferences + Kod bloğu tercihleri Expected string or char literal - Expected string or char literal + Beklenen dize veya karakter sabiti değeri Expression-bodied members - Expression-bodied members + İfade gövdeli Üyeler Null-checking preferences - Null-checking preferences + Null denetimi tercihleri Pattern matching preferences - Pattern matching preferences + Desen eşleştirme tercihleri 'using' directive preferences - 'using' directive preferences + 'using' yönergesi tercihleri {Locked="using"} "using" is a C# keyword and should not be localized. var preferences - var preferences + var tercihleri diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.zh-Hans.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.zh-Hans.xlf index bc098b996fcee..e179a0b322aec 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.zh-Hans.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.zh-Hans.xlf @@ -4,37 +4,37 @@ Code-block preferences - Code-block preferences + 代码块首选项 Expected string or char literal - Expected string or char literal + 预期的字符串或字符文本 Expression-bodied members - Expression-bodied members + Expression-bodied 成员 Null-checking preferences - Null-checking preferences + Null 检查首选项 Pattern matching preferences - Pattern matching preferences + 模式匹配首选项 'using' directive preferences - 'using' directive preferences + "using" 指令首选项 {Locked="using"} "using" is a C# keyword and should not be localized. var preferences - var preferences + var 首选项 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.zh-Hant.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.zh-Hant.xlf index 4387a20486693..55ee733e947ad 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.zh-Hant.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.zh-Hant.xlf @@ -4,37 +4,37 @@ Code-block preferences - Code-block preferences + 程式碼區塊喜好設定 Expected string or char literal - Expected string or char literal + 必須是字串或字元常值 Expression-bodied members - Expression-bodied members + 運算式主體成員 Null-checking preferences - Null-checking preferences + Null 檢查喜好設定 Pattern matching preferences - Pattern matching preferences + 模式比對喜好設定 'using' directive preferences - 'using' directive preferences + 'using' 指示詞的喜好設定 {Locked="using"} "using" is a C# keyword and should not be localized. var preferences - var preferences + var 喜好設定 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.cs.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.cs.xlf index 14ea7d1cf576c..99f5196f84d8a 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.cs.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.cs.xlf @@ -4,22 +4,22 @@ Absolute path expected. - Absolute path expected. + Očekávala se absolutní cesta. Abstract Method - Abstract Method + Abstraktní metoda {locked: abstract}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) An element with the same key but a different value already exists. - An element with the same key but a different value already exists. + Element se stejným klíčem, ale odlišnou hodnotou už existuje. Begins with I - Begins with I + Začíná na I {locked:I} @@ -44,17 +44,17 @@ Cast is redundant. - Cast is redundant. + Přetypování je redundantní. Expression-level preferences - Expression-level preferences + Předvolby na úrovni výrazů Field preferences - Field preferences + Předvolby polí @@ -64,87 +64,87 @@ Language keywords vs BCL types preferences - Language keywords vs BCL types preferences + Předvolby klíčových slov jazyka a typů BCL Method - Method + metoda {locked:method} unless the capitalization should be handled differently Missing prefix: '{0}' - Missing prefix: '{0}' + Chybějící předpona: {0} Missing suffix: '{0}' - Missing suffix: '{0}' + Chybějící přípona: {0} Modifier preferences - Modifier preferences + Předvolby modifikátorů Naming rules - Naming rules + Pravidla pojmenování Naming styles - Naming styles + Styly pojmenování Non-Field Members - Non-Field Members + Členové bez pole {locked:field} Organize usings - Organize usings + Uspořádat direktivy using Parameter preferences - Parameter preferences + Předvolby parametrů Parentheses preferences - Parentheses preferences + Předvolby závorek Pascal Case - Pascal Case + PascalCase Prefix '{0}' does not match expected prefix '{1}' - Prefix '{0}' does not match expected prefix '{1}' + Předpona {0} neodpovídá očekávané předponě {1}. Prefix '{0}' is not expected - Prefix '{0}' is not expected + Předpona {0} se neočekávala. Private Method - Private Method + Privátní metoda {locked: private}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) Private or Internal Field - Private or Internal Field + Privátní nebo interní pole {locked: private}{locked: internal}{locked:field} Private or Internal Static Field - Private or Internal Static Field + Privátní nebo interní statické pole {locked: private}{locked: internal}{locked:static}{locked:field} @@ -154,22 +154,22 @@ Public or Protected Field - Public or Protected Field + Veřejné nebo chráněné pole {locked: public}{locked: protected}{locked:field} Specified sequence has duplicate items - Specified sequence has duplicate items + Zadané pořadí obsahuje duplicitní položky. Static Field - Static Field + Statické pole {locked:static}{locked:field} (unless the capitalization should be handled differently) Static Method - Static Method + Statická metoda {locked: static}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) @@ -179,52 +179,52 @@ Symbol specifications - Symbol specifications + Specifikace symbolů The first word, '{0}', must begin with a lower case character - The first word, '{0}', must begin with a lower case character + První slovo ({0}) musí začínat malým písmenem. The first word, '{0}', must begin with an upper case character - The first word, '{0}', must begin with an upper case character + První slovo ({0}) musí začínat velkým písmenem. These non-leading words must begin with a lowercase letter: {0} - These non-leading words must begin with a lowercase letter: {0} + Tato neúvodní slova musí začínat malým písmenem: {0}. These non-leading words must begin with an upper case letter: {0} - These non-leading words must begin with an upper case letter: {0} + Tato neúvodní slova musí začínat velkým písmenem: {0}. These words cannot contain lower case characters: {0} - These words cannot contain lower case characters: {0} + Tato slova nemohou obsahovat malá písmena: {0}. These words cannot contain upper case characters: {0} - These words cannot contain upper case characters: {0} + Tato slova nemohou obsahovat velká písmena: {0}. These words must begin with upper case characters: {0} - These words must begin with upper case characters: {0} + Tato slova musí začínat velkými písmeny: {0}. Types - Types + Typy {locked:types} unless the capitalization should be handled differently this. and Me. preferences - this. and Me. preferences + Předvolby pro this. a Me. diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.de.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.de.xlf index c035e84820a69..4f029d8975fa7 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.de.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.de.xlf @@ -4,22 +4,22 @@ Absolute path expected. - Absolute path expected. + Absoluter Pfad erwartet. Abstract Method - Abstract Method + Abstrakte Methode {locked: abstract}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) An element with the same key but a different value already exists. - An element with the same key but a different value already exists. + Es ist bereits ein Element mit dem gleichen Schlüssel, jedoch einem anderen Wert vorhanden. Begins with I - Begins with I + Beginnt mit I {locked:I} @@ -44,17 +44,17 @@ Cast is redundant. - Cast is redundant. + Umwandlung ist redundant. Expression-level preferences - Expression-level preferences + Einstellungen für Ausdrucksebene Field preferences - Field preferences + Einstellungen für Felder @@ -64,87 +64,87 @@ Language keywords vs BCL types preferences - Language keywords vs BCL types preferences + Einstellungen für Sprachschlüsselwörter und BCL-Typen Method - Method + Methode {locked:method} unless the capitalization should be handled differently Missing prefix: '{0}' - Missing prefix: '{0}' + Fehlendes Präfix: "{0}" Missing suffix: '{0}' - Missing suffix: '{0}' + Fehlendes Suffix: "{0}" Modifier preferences - Modifier preferences + Einstellungen für Modifizierer Naming rules - Naming rules + Benennungsregeln Naming styles - Naming styles + Benennungsstile Non-Field Members - Non-Field Members + Nicht-Feldmember {locked:field} Organize usings - Organize usings + Using-Direktiven organisieren Parameter preferences - Parameter preferences + Einstellungen für Parameter Parentheses preferences - Parentheses preferences + Einstellungen für Klammern Pascal Case - Pascal Case + Pascal-Schreibweise Prefix '{0}' does not match expected prefix '{1}' - Prefix '{0}' does not match expected prefix '{1}' + Das Präfix "{0}" entspricht nicht dem erwarteten Präfix "{1}". Prefix '{0}' is not expected - Prefix '{0}' is not expected + Das Präfix "{0}" wurde nicht erwartet. Private Method - Private Method + Private Methode {locked: private}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) Private or Internal Field - Private or Internal Field + Privates oder internes Feld {locked: private}{locked: internal}{locked:field} Private or Internal Static Field - Private or Internal Static Field + Privates oder internes statisches Feld {locked: private}{locked: internal}{locked:static}{locked:field} @@ -154,22 +154,22 @@ Public or Protected Field - Public or Protected Field + Öffentliches oder geschütztes Feld {locked: public}{locked: protected}{locked:field} Specified sequence has duplicate items - Specified sequence has duplicate items + Die angegebene Sequenz weist doppelte Elemente auf. Static Field - Static Field + Statisches Feld {locked:static}{locked:field} (unless the capitalization should be handled differently) Static Method - Static Method + Statische Methode {locked: static}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) @@ -179,52 +179,52 @@ Symbol specifications - Symbol specifications + Symbolspezifikationen The first word, '{0}', must begin with a lower case character - The first word, '{0}', must begin with a lower case character + Das erste Wort ("{0}") muss mit einem Kleinbuchstaben beginnen. The first word, '{0}', must begin with an upper case character - The first word, '{0}', must begin with an upper case character + Das erste Wort ("{0}") muss mit einem Großbuchstaben beginnen. These non-leading words must begin with a lowercase letter: {0} - These non-leading words must begin with a lowercase letter: {0} + Diese nicht führenden Wörter müssen mit einem Kleinbuchstaben beginnen: {0} These non-leading words must begin with an upper case letter: {0} - These non-leading words must begin with an upper case letter: {0} + Diese nicht führenden Wörter müssen mit einem Großbuchstaben beginnen: {0} These words cannot contain lower case characters: {0} - These words cannot contain lower case characters: {0} + Diese Wörter dürfen keine Kleinbuchstaben enthalten: {0} These words cannot contain upper case characters: {0} - These words cannot contain upper case characters: {0} + Diese Wörter dürfen keine Großbuchstaben enthalten: {0} These words must begin with upper case characters: {0} - These words must begin with upper case characters: {0} + Diese Wörter müssen mit Großbuchstaben beginnen: {0} Types - Types + Typen {locked:types} unless the capitalization should be handled differently this. and Me. preferences - this. and Me. preferences + this.- und Me.-Einstellungen diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.es.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.es.xlf index d6f3bdd30d866..a6b6e91f3d22e 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.es.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.es.xlf @@ -4,22 +4,22 @@ Absolute path expected. - Absolute path expected. + Ruta de acceso absoluta esperada. Abstract Method - Abstract Method + Método abstracto {locked: abstract}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) An element with the same key but a different value already exists. - An element with the same key but a different value already exists. + Ya existe un elemento con la misma clave pero un valor distinto. Begins with I - Begins with I + Empieza por I {locked:I} @@ -44,17 +44,17 @@ Cast is redundant. - Cast is redundant. + La conversión es redundante. Expression-level preferences - Expression-level preferences + Preferencias de nivel de expresión Field preferences - Field preferences + Preferencias de campo @@ -64,87 +64,87 @@ Language keywords vs BCL types preferences - Language keywords vs BCL types preferences + Preferencias de palabras clave frente a tipos de BCL Method - Method + método {locked:method} unless the capitalization should be handled differently Missing prefix: '{0}' - Missing prefix: '{0}' + Falta el prefijo: '{0}' Missing suffix: '{0}' - Missing suffix: '{0}' + Falta el sufijo: '{0}' Modifier preferences - Modifier preferences + Preferencias de modificador Naming rules - Naming rules + Reglas de nomenclatura Naming styles - Naming styles + Estilos de nomenclatura Non-Field Members - Non-Field Members + Miembros que no son un campo {locked:field} Organize usings - Organize usings + Organizar instrucciones Using Parameter preferences - Parameter preferences + Preferencias de parámetro Parentheses preferences - Parentheses preferences + Preferencias de paréntesis Pascal Case - Pascal Case + Pascal Case Prefix '{0}' does not match expected prefix '{1}' - Prefix '{0}' does not match expected prefix '{1}' + El prefijo "{0}" no coincide con el prefijo esperado "{1}". Prefix '{0}' is not expected - Prefix '{0}' is not expected + No se espera el prefijo "{0}" Private Method - Private Method + Método privado {locked: private}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) Private or Internal Field - Private or Internal Field + Campo privado o interno {locked: private}{locked: internal}{locked:field} Private or Internal Static Field - Private or Internal Static Field + Campo estático privado o interno {locked: private}{locked: internal}{locked:static}{locked:field} @@ -154,22 +154,22 @@ Public or Protected Field - Public or Protected Field + Campo público o protegido {locked: public}{locked: protected}{locked:field} Specified sequence has duplicate items - Specified sequence has duplicate items + La secuencia especificada tiene elementos duplicados. Static Field - Static Field + Campo estático {locked:static}{locked:field} (unless the capitalization should be handled differently) Static Method - Static Method + Método estático {locked: static}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) @@ -179,52 +179,52 @@ Symbol specifications - Symbol specifications + Especificaciones de símbolos The first word, '{0}', must begin with a lower case character - The first word, '{0}', must begin with a lower case character + La primera palabra, '{0}', debe comenzar con un carácter en minúscula The first word, '{0}', must begin with an upper case character - The first word, '{0}', must begin with an upper case character + La primera palabra, '{0}', debe comenzar con un carácter en mayúscula These non-leading words must begin with a lowercase letter: {0} - These non-leading words must begin with a lowercase letter: {0} + Las palabras que no están al principio deben comenzar con una letra minúscula: {0} These non-leading words must begin with an upper case letter: {0} - These non-leading words must begin with an upper case letter: {0} + Las palabras que no están al principio deben comenzar con una letra mayúscula: {0} These words cannot contain lower case characters: {0} - These words cannot contain lower case characters: {0} + Estas palabras no pueden contener caracteres en minúscula: {0} These words cannot contain upper case characters: {0} - These words cannot contain upper case characters: {0} + Estas palabras no pueden contener caracteres en mayúscula: {0} These words must begin with upper case characters: {0} - These words must begin with upper case characters: {0} + Estas palabras deben comenzar por caracteres en mayúscula: {0} Types - Types + Tipos {locked:types} unless the capitalization should be handled differently this. and Me. preferences - this. and Me. preferences + Preferencias de this. y .me diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.fr.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.fr.xlf index d1b993e017b0e..ce82881aa0220 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.fr.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.fr.xlf @@ -4,22 +4,22 @@ Absolute path expected. - Absolute path expected. + Chemin d'accès absolu attendu. Abstract Method - Abstract Method + Méthode abstraite {locked: abstract}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) An element with the same key but a different value already exists. - An element with the same key but a different value already exists. + Il existe déjà un élément utilisant la même clé mais une autre valeur. Begins with I - Begins with I + Commence par I {locked:I} @@ -44,17 +44,17 @@ Cast is redundant. - Cast is redundant. + Cast est redondant. Expression-level preferences - Expression-level preferences + Préférences de niveau expression Field preferences - Field preferences + Préférences de champ @@ -64,87 +64,87 @@ Language keywords vs BCL types preferences - Language keywords vs BCL types preferences + Préférences des mots clés de langage par rapport aux types BCL Method - Method + méthode {locked:method} unless the capitalization should be handled differently Missing prefix: '{0}' - Missing prefix: '{0}' + Préfixe manquant : '{0}' Missing suffix: '{0}' - Missing suffix: '{0}' + Suffixe manquant : '{0}' Modifier preferences - Modifier preferences + Préférences de modificateur Naming rules - Naming rules + Règles de nommage Naming styles - Naming styles + Styles de nommage Non-Field Members - Non-Field Members + Membres autres que des champs {locked:field} Organize usings - Organize usings + Organiser les instructions Using Parameter preferences - Parameter preferences + Préférences de paramètre Parentheses preferences - Parentheses preferences + Préférences de parenthèses Pascal Case - Pascal Case + Casse Pascal Prefix '{0}' does not match expected prefix '{1}' - Prefix '{0}' does not match expected prefix '{1}' + Le préfixe « {0} » ne correspond pas au préfixe attendu « {1} » Prefix '{0}' is not expected - Prefix '{0}' is not expected + Le préfixe « {0} » n'est pas attendu Private Method - Private Method + Méthode privée {locked: private}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) Private or Internal Field - Private or Internal Field + Champ privé ou interne {locked: private}{locked: internal}{locked:field} Private or Internal Static Field - Private or Internal Static Field + Champ statique privé ou interne {locked: private}{locked: internal}{locked:static}{locked:field} @@ -154,22 +154,22 @@ Public or Protected Field - Public or Protected Field + Champ public ou protégé {locked: public}{locked: protected}{locked:field} Specified sequence has duplicate items - Specified sequence has duplicate items + La séquence spécifiée comporte des éléments dupliqués Static Field - Static Field + Champ statique {locked:static}{locked:field} (unless the capitalization should be handled differently) Static Method - Static Method + Méthode statique {locked: static}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) @@ -179,52 +179,52 @@ Symbol specifications - Symbol specifications + Spécifications de symboles The first word, '{0}', must begin with a lower case character - The first word, '{0}', must begin with a lower case character + Le premier mot, '{0}', doit commencer par une lettre minuscule The first word, '{0}', must begin with an upper case character - The first word, '{0}', must begin with an upper case character + Le premier mot, '{0}', doit commencer par une lettre majuscule These non-leading words must begin with a lowercase letter: {0} - These non-leading words must begin with a lowercase letter: {0} + Les mots suivants, non placés au début, doivent commencer par une lettre minuscule : {0} These non-leading words must begin with an upper case letter: {0} - These non-leading words must begin with an upper case letter: {0} + Les mots suivants, non placés au début, doivent commencer par une lettre majuscule : {0} These words cannot contain lower case characters: {0} - These words cannot contain lower case characters: {0} + Les mots suivants ne peuvent pas contenir de lettres minuscules : {0} These words cannot contain upper case characters: {0} - These words cannot contain upper case characters: {0} + Les mots suivants ne peuvent pas contenir de lettres majuscules : {0} These words must begin with upper case characters: {0} - These words must begin with upper case characters: {0} + Les mots suivants doivent commencer par des lettres majuscules : {0} Types - Types + Types {locked:types} unless the capitalization should be handled differently this. and Me. preferences - this. and Me. preferences + Préférences de this. et Me. diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.it.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.it.xlf index cec6df506943e..536efaf38d664 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.it.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.it.xlf @@ -4,22 +4,22 @@ Absolute path expected. - Absolute path expected. + È previsto il percorso assoluto. Abstract Method - Abstract Method + Metodo astratto {locked: abstract}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) An element with the same key but a different value already exists. - An element with the same key but a different value already exists. + Esiste già un elemento con la stessa chiave ma valore diverso. Begins with I - Begins with I + Inizia con I {locked:I} @@ -44,17 +44,17 @@ Cast is redundant. - Cast is redundant. + Il cast è ridondante. Expression-level preferences - Expression-level preferences + Preferenze a livello di espressione Field preferences - Field preferences + Preferenze per campi @@ -64,87 +64,87 @@ Language keywords vs BCL types preferences - Language keywords vs BCL types preferences + Preferenze per parole chiave linguaggio rispetto a tipi BCL Method - Method + metodo {locked:method} unless the capitalization should be handled differently Missing prefix: '{0}' - Missing prefix: '{0}' + Manca il prefisso: '{0}' Missing suffix: '{0}' - Missing suffix: '{0}' + Manca il suffisso: '{0}' Modifier preferences - Modifier preferences + Preferenze per modificatore Naming rules - Naming rules + Regole di denominazione Naming styles - Naming styles + Stili di denominazione Non-Field Members - Non-Field Members + Membri non di campo {locked:field} Organize usings - Organize usings + Organizza using Parameter preferences - Parameter preferences + Preferenze per parametri Parentheses preferences - Parentheses preferences + Preferenze per parentesi Pascal Case - Pascal Case + Notazione Pascal Prefix '{0}' does not match expected prefix '{1}' - Prefix '{0}' does not match expected prefix '{1}' + Il prefisso '{0}' non corrisponde al prefisso previsto '{1}' Prefix '{0}' is not expected - Prefix '{0}' is not expected + Il prefisso '{0}' non è previsto Private Method - Private Method + Metodo privato {locked: private}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) Private or Internal Field - Private or Internal Field + Campo privato o interno {locked: private}{locked: internal}{locked:field} Private or Internal Static Field - Private or Internal Static Field + Campo statico privato o interno {locked: private}{locked: internal}{locked:static}{locked:field} @@ -154,22 +154,22 @@ Public or Protected Field - Public or Protected Field + Campo pubblico o protetto {locked: public}{locked: protected}{locked:field} Specified sequence has duplicate items - Specified sequence has duplicate items + La sequenza specificata contiene elementi duplicati Static Field - Static Field + Campo statico {locked:static}{locked:field} (unless the capitalization should be handled differently) Static Method - Static Method + Metodo statico {locked: static}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) @@ -179,52 +179,52 @@ Symbol specifications - Symbol specifications + Specifiche dei simboli The first word, '{0}', must begin with a lower case character - The first word, '{0}', must begin with a lower case character + La prima parola, '{0}', deve iniziare con un carattere minuscolo The first word, '{0}', must begin with an upper case character - The first word, '{0}', must begin with an upper case character + La prima parola, '{0}', deve iniziare con un carattere maiuscolo These non-leading words must begin with a lowercase letter: {0} - These non-leading words must begin with a lowercase letter: {0} + Queste parole non iniziali devono iniziare con una lettera minuscola: {0} These non-leading words must begin with an upper case letter: {0} - These non-leading words must begin with an upper case letter: {0} + Queste parole non iniziali devono iniziare con una lettera maiuscola: {0} These words cannot contain lower case characters: {0} - These words cannot contain lower case characters: {0} + Queste parole non possono contenere caratteri minuscoli: {0} These words cannot contain upper case characters: {0} - These words cannot contain upper case characters: {0} + Queste parole non possono contenere caratteri maiuscoli: {0} These words must begin with upper case characters: {0} - These words must begin with upper case characters: {0} + Queste parole devono iniziare con caratteri maiuscoli: {0} Types - Types + Tipi {locked:types} unless the capitalization should be handled differently this. and Me. preferences - this. and Me. preferences + Preferenze per this. e Me. diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.ja.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.ja.xlf index fee9ce543b72d..cce973c31518d 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.ja.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.ja.xlf @@ -4,22 +4,22 @@ Absolute path expected. - Absolute path expected. + 絶対パスが必要です。 Abstract Method - Abstract Method + 抽象メソッド {locked: abstract}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) An element with the same key but a different value already exists. - An element with the same key but a different value already exists. + キーが同じで値が異なる要素が既に存在します。 Begins with I - Begins with I + I で始まる {locked:I} @@ -44,17 +44,17 @@ Cast is redundant. - Cast is redundant. + キャストが冗長です。 Expression-level preferences - Expression-level preferences + 式レベルの設定 Field preferences - Field preferences + フィールド設定 @@ -64,87 +64,87 @@ Language keywords vs BCL types preferences - Language keywords vs BCL types preferences + 言語キーワードと BCL の種類の設定 Method - Method + メソッド {locked:method} unless the capitalization should be handled differently Missing prefix: '{0}' - Missing prefix: '{0}' + 存在しないプレフィックス: '{0}' Missing suffix: '{0}' - Missing suffix: '{0}' + 存在しないサフィックス: '{0}' Modifier preferences - Modifier preferences + 修飾子設定 Naming rules - Naming rules + 名前付けルール Naming styles - Naming styles + 命名スタイル Non-Field Members - Non-Field Members + フィールド以外のメンバー {locked:field} Organize usings - Organize usings + using の整理 Parameter preferences - Parameter preferences + パラメーターの設定 Parentheses preferences - Parentheses preferences + かっこの設定 Pascal Case - Pascal Case + パスカル ケース Prefix '{0}' does not match expected prefix '{1}' - Prefix '{0}' does not match expected prefix '{1}' + プレフィックス '{0}' が予想されるプレフィックス '{1}' と一致しません Prefix '{0}' is not expected - Prefix '{0}' is not expected + プレフィックス '{0}' は予期されていません Private Method - Private Method + プライベート メソッド {locked: private}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) Private or Internal Field - Private or Internal Field + プライベートまたは内部フィールド {locked: private}{locked: internal}{locked:field} Private or Internal Static Field - Private or Internal Static Field + プライベートまたは内部静的フィールド {locked: private}{locked: internal}{locked:static}{locked:field} @@ -154,22 +154,22 @@ Public or Protected Field - Public or Protected Field + パブリックまたは保護されたフィールド {locked: public}{locked: protected}{locked:field} Specified sequence has duplicate items - Specified sequence has duplicate items + 指定されたシーケンスには重複する項目があります Static Field - Static Field + 静的フィールド {locked:static}{locked:field} (unless the capitalization should be handled differently) Static Method - Static Method + 静的メソッド {locked: static}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) @@ -179,52 +179,52 @@ Symbol specifications - Symbol specifications + 記号の仕様 The first word, '{0}', must begin with a lower case character - The first word, '{0}', must begin with a lower case character + 最初の単語 '{0}' は、小文字で始まらなければなりません The first word, '{0}', must begin with an upper case character - The first word, '{0}', must begin with an upper case character + 最初の単語 '{0}' は、大文字で始まらなければなりません These non-leading words must begin with a lowercase letter: {0} - These non-leading words must begin with a lowercase letter: {0} + これらの 2 番目以降の単語は、小文字で始まらなければなりません: {0} These non-leading words must begin with an upper case letter: {0} - These non-leading words must begin with an upper case letter: {0} + これらの 2 番目以降の単語は、大文字で始まらなければなりません: {0} These words cannot contain lower case characters: {0} - These words cannot contain lower case characters: {0} + これらの単語に小文字が含まれていてはなりません: {0} These words cannot contain upper case characters: {0} - These words cannot contain upper case characters: {0} + これらの単語に大文字が含まれていてはなりません: {0} These words must begin with upper case characters: {0} - These words must begin with upper case characters: {0} + これらの単語は、大文字で始まらなければなりません: {0} Types - Types + {locked:types} unless the capitalization should be handled differently this. and Me. preferences - this. and Me. preferences + this. と Me. の設定 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.ko.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.ko.xlf index 273017784dce9..e7f5c5605153e 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.ko.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.ko.xlf @@ -4,22 +4,22 @@ Absolute path expected. - Absolute path expected. + 절대 경로가 필요합니다. Abstract Method - Abstract Method + 추상 메서드 {locked: abstract}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) An element with the same key but a different value already exists. - An element with the same key but a different value already exists. + 키가 같지만 값이 다른 요소가 이미 있습니다. Begins with I - Begins with I + I로 시작 {locked:I} @@ -44,17 +44,17 @@ Cast is redundant. - Cast is redundant. + 캐스팅이 중복됩니다. Expression-level preferences - Expression-level preferences + 식 수준 기본 설정 Field preferences - Field preferences + 필드 기본 설정 @@ -64,87 +64,87 @@ Language keywords vs BCL types preferences - Language keywords vs BCL types preferences + 언어 키워드 및 BCL 형식 기본 설정 Method - Method + 메서드 {locked:method} unless the capitalization should be handled differently Missing prefix: '{0}' - Missing prefix: '{0}' + 누락된 접두사: '{0}' Missing suffix: '{0}' - Missing suffix: '{0}' + 누락된 접미사: '{0}' Modifier preferences - Modifier preferences + 한정자 기본 설정 Naming rules - Naming rules + 명명 규칙 Naming styles - Naming styles + 명명 스타일 Non-Field Members - Non-Field Members + 필드가 아닌 멤버 {locked:field} Organize usings - Organize usings + Using 구성 Parameter preferences - Parameter preferences + 매개 변수 기본 설정 Parentheses preferences - Parentheses preferences + 괄호 기본 설정 Pascal Case - Pascal Case + 파스칼식 대/소문자 Prefix '{0}' does not match expected prefix '{1}' - Prefix '{0}' does not match expected prefix '{1}' + 접두사 '{0}'이(가) 필요한 접두사 '{1}'과(와) 일치하지 않습니다. Prefix '{0}' is not expected - Prefix '{0}' is not expected + 접두사 '{0}'은(는) 사용할 수 없습니다. Private Method - Private Method + 프라이빗 메서드 {locked: private}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) Private or Internal Field - Private or Internal Field + 프라이빗 또는 내부 필드 {locked: private}{locked: internal}{locked:field} Private or Internal Static Field - Private or Internal Static Field + 프라이빗 또는 내부 정적 필드 {locked: private}{locked: internal}{locked:static}{locked:field} @@ -154,22 +154,22 @@ Public or Protected Field - Public or Protected Field + 공용 또는 보호된 필드 {locked: public}{locked: protected}{locked:field} Specified sequence has duplicate items - Specified sequence has duplicate items + 지정된 시퀀스에 중복 항목이 있습니다. Static Field - Static Field + 정적 필드 {locked:static}{locked:field} (unless the capitalization should be handled differently) Static Method - Static Method + 정적 메서드 {locked: static}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) @@ -179,52 +179,52 @@ Symbol specifications - Symbol specifications + 기호 사양 The first word, '{0}', must begin with a lower case character - The first word, '{0}', must begin with a lower case character + 첫 번째 단어 '{0}'은(는) 소문자로 시작해야 합니다. The first word, '{0}', must begin with an upper case character - The first word, '{0}', must begin with an upper case character + 첫 번째 단어 '{0}'은(는) 대문자로 시작해야 합니다. These non-leading words must begin with a lowercase letter: {0} - These non-leading words must begin with a lowercase letter: {0} + 이러한 맨 앞에 있지 않는 단어는 소문자로 시작해야 합니다. {0} These non-leading words must begin with an upper case letter: {0} - These non-leading words must begin with an upper case letter: {0} + 이러한 맨 앞에 있지 않는 단어는 대문자로 시작해야 합니다. {0} These words cannot contain lower case characters: {0} - These words cannot contain lower case characters: {0} + 이러한 단어에는 소문자를 사용할 수 없습니다. {0} These words cannot contain upper case characters: {0} - These words cannot contain upper case characters: {0} + 이러한 단어에는 대문자를 사용할 수 없습니다. {0} These words must begin with upper case characters: {0} - These words must begin with upper case characters: {0} + 이러한 단어는 대문자로 시작해야 합니다. {0} Types - Types + 형식 {locked:types} unless the capitalization should be handled differently this. and Me. preferences - this. and Me. preferences + this. 및 Me. 기본 설정 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.pl.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.pl.xlf index cca4e02532ae0..989a377a354f3 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.pl.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.pl.xlf @@ -4,22 +4,22 @@ Absolute path expected. - Absolute path expected. + Oczekiwano ścieżki bezwzględnej. Abstract Method - Abstract Method + Metoda abstrakcyjna {locked: abstract}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) An element with the same key but a different value already exists. - An element with the same key but a different value already exists. + Element z tym samym kluczem, ale inną wartością, już istnieje. Begins with I - Begins with I + Rozpoczyna się znakiem I {locked:I} @@ -44,17 +44,17 @@ Cast is redundant. - Cast is redundant. + Rzutowanie jest zbędne. Expression-level preferences - Expression-level preferences + Preferencje na poziomie wyrażeń Field preferences - Field preferences + Preferencje pól @@ -64,87 +64,87 @@ Language keywords vs BCL types preferences - Language keywords vs BCL types preferences + Słowa kluczowe języka a preferencje typów BCL Method - Method + metoda {locked:method} unless the capitalization should be handled differently Missing prefix: '{0}' - Missing prefix: '{0}' + Brakujący prefiks: „{0}” Missing suffix: '{0}' - Missing suffix: '{0}' + Brakujący sufiks: „{0}” Modifier preferences - Modifier preferences + Preferencje modyfikatora Naming rules - Naming rules + Reguły nazewnictwa Naming styles - Naming styles + Style nazewnictwa Non-Field Members - Non-Field Members + Składowe inne niż pola {locked:field} Organize usings - Organize usings + Organizuj użycia Parameter preferences - Parameter preferences + Preferencje dotyczące parametrów Parentheses preferences - Parentheses preferences + Preferencje dotyczące nawiasów Pascal Case - Pascal Case + PascalCase Prefix '{0}' does not match expected prefix '{1}' - Prefix '{0}' does not match expected prefix '{1}' + Prefiks „{0}” jest inny niż oczekiwany prefiks „{1}” Prefix '{0}' is not expected - Prefix '{0}' is not expected + Nieoczekiwany prefiks „{0}” Private Method - Private Method + Metoda prywatna {locked: private}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) Private or Internal Field - Private or Internal Field + Pole prywatne lub wewnętrzne {locked: private}{locked: internal}{locked:field} Private or Internal Static Field - Private or Internal Static Field + Prywatne lub wewnętrzne pole statyczne {locked: private}{locked: internal}{locked:static}{locked:field} @@ -154,22 +154,22 @@ Public or Protected Field - Public or Protected Field + Pole publiczne lub chronione {locked: public}{locked: protected}{locked:field} Specified sequence has duplicate items - Specified sequence has duplicate items + Określona sekwencja zawiera zduplikowane elementy Static Field - Static Field + Pole statyczne {locked:static}{locked:field} (unless the capitalization should be handled differently) Static Method - Static Method + Metoda statyczna {locked: static}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) @@ -179,52 +179,52 @@ Symbol specifications - Symbol specifications + Specyfikacje symboli The first word, '{0}', must begin with a lower case character - The first word, '{0}', must begin with a lower case character + Pierwszy wyraz, „{0}”, musi rozpoczynać się małą literą The first word, '{0}', must begin with an upper case character - The first word, '{0}', must begin with an upper case character + Pierwszy wyraz, „{0}”, musi rozpoczynać się wielką literą These non-leading words must begin with a lowercase letter: {0} - These non-leading words must begin with a lowercase letter: {0} + Te wyrazy inne niż początkowe muszą rozpoczynać się małą literą: {0} These non-leading words must begin with an upper case letter: {0} - These non-leading words must begin with an upper case letter: {0} + Te wyrazy inne niż początkowe muszą rozpoczynać się wielką literą: {0} These words cannot contain lower case characters: {0} - These words cannot contain lower case characters: {0} + Te wyrazy nie mogą zawierać małych liter: {0} These words cannot contain upper case characters: {0} - These words cannot contain upper case characters: {0} + Te wyrazy nie mogą zawierać wielkich liter: {0} These words must begin with upper case characters: {0} - These words must begin with upper case characters: {0} + Te wyrazy muszą rozpoczynać się wielką literą: {0} Types - Types + Typy {locked:types} unless the capitalization should be handled differently this. and Me. preferences - this. and Me. preferences + Preferencje dotyczące słów kluczowych this. i Me. diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.pt-BR.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.pt-BR.xlf index 7cd95a7f24e34..e33efda05aabf 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.pt-BR.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.pt-BR.xlf @@ -4,22 +4,22 @@ Absolute path expected. - Absolute path expected. + Caminho absoluto esperado. Abstract Method - Abstract Method + Método Abstract {locked: abstract}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) An element with the same key but a different value already exists. - An element with the same key but a different value already exists. + Um elemento com a mesma chave, mas um valor diferente já existe. Begins with I - Begins with I + Começa com I {locked:I} @@ -44,17 +44,17 @@ Cast is redundant. - Cast is redundant. + Conversão é redundante. Expression-level preferences - Expression-level preferences + Preferências de nível de expressão Field preferences - Field preferences + Preferências de campo @@ -64,87 +64,87 @@ Language keywords vs BCL types preferences - Language keywords vs BCL types preferences + Preferências de tipos BCL contra palavras-chave do idioma Method - Method + método {locked:method} unless the capitalization should be handled differently Missing prefix: '{0}' - Missing prefix: '{0}' + Prefixo ausente: '{0}' Missing suffix: '{0}' - Missing suffix: '{0}' + Sufixo ausente: '{0}' Modifier preferences - Modifier preferences + Preferências de modificador Naming rules - Naming rules + Regras de nomenclatura Naming styles - Naming styles + Estilos de nomenclatura Non-Field Members - Non-Field Members + Membros Sem Campo {locked:field} Organize usings - Organize usings + Organizar Usos Parameter preferences - Parameter preferences + Preferências de parâmetro Parentheses preferences - Parentheses preferences + Preferências de parênteses Pascal Case - Pascal Case + Pascal Case Prefix '{0}' does not match expected prefix '{1}' - Prefix '{0}' does not match expected prefix '{1}' + O prefixo '{0}' não coincide com prefixo esperado '{1}' Prefix '{0}' is not expected - Prefix '{0}' is not expected + O prefixo '{0}' não é esperado Private Method - Private Method + Método Privado {locked: private}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) Private or Internal Field - Private or Internal Field + Campo Privado ou Interno {locked: private}{locked: internal}{locked:field} Private or Internal Static Field - Private or Internal Static Field + Campo Privado ou Estático Interno {locked: private}{locked: internal}{locked:static}{locked:field} @@ -154,22 +154,22 @@ Public or Protected Field - Public or Protected Field + Campo Protegido ou Público {locked: public}{locked: protected}{locked:field} Specified sequence has duplicate items - Specified sequence has duplicate items + A sequência especificada tem itens duplicados Static Field - Static Field + Campo Estático {locked:static}{locked:field} (unless the capitalization should be handled differently) Static Method - Static Method + Método Estático {locked: static}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) @@ -179,52 +179,52 @@ Symbol specifications - Symbol specifications + Especificações de símbolo The first word, '{0}', must begin with a lower case character - The first word, '{0}', must begin with a lower case character + A primeira palavra, '{0}', deve começar com um caractere minúsculo The first word, '{0}', must begin with an upper case character - The first word, '{0}', must begin with an upper case character + A primeira palavra, '{0}', deve começar com um caractere maiúsculo These non-leading words must begin with a lowercase letter: {0} - These non-leading words must begin with a lowercase letter: {0} + Essas palavras não iniciais devem começar com uma letra minúscula: {0} These non-leading words must begin with an upper case letter: {0} - These non-leading words must begin with an upper case letter: {0} + Essas palavras não iniciais devem começar com uma letra maiúscula: {0} These words cannot contain lower case characters: {0} - These words cannot contain lower case characters: {0} + Essas palavras não podem conter caracteres minúsculos: {0} These words cannot contain upper case characters: {0} - These words cannot contain upper case characters: {0} + Essas palavras não podem conter caracteres maiúsculos: {0} These words must begin with upper case characters: {0} - These words must begin with upper case characters: {0} + Essas palavras devem começar com caracteres maiúsculos: {0} Types - Types + Tipos {locked:types} unless the capitalization should be handled differently this. and Me. preferences - this. and Me. preferences + Preferências diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.ru.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.ru.xlf index d4993bbc1c64d..7e6dcb498ccec 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.ru.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.ru.xlf @@ -4,22 +4,22 @@ Absolute path expected. - Absolute path expected. + Ожидался абсолютный путь. Abstract Method - Abstract Method + Абстрактный метод {locked: abstract}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) An element with the same key but a different value already exists. - An element with the same key but a different value already exists. + Элемент с таким ключом, но другим значением уже существует. Begins with I - Begins with I + Начинается с I {locked:I} @@ -44,17 +44,17 @@ Cast is redundant. - Cast is redundant. + Приведение избыточно. Expression-level preferences - Expression-level preferences + Выражения уровень предпочтения Field preferences - Field preferences + Предпочтения для полей @@ -64,87 +64,87 @@ Language keywords vs BCL types preferences - Language keywords vs BCL types preferences + Параметры использования ключевых слов языка и типов BCL Method - Method + метод {locked:method} unless the capitalization should be handled differently Missing prefix: '{0}' - Missing prefix: '{0}' + Отсутствует префикс: "{0}" Missing suffix: '{0}' - Missing suffix: '{0}' + Отсутствует суффикс: "{0}" Modifier preferences - Modifier preferences + Предпочтения модификатора Naming rules - Naming rules + Правила именования Naming styles - Naming styles + Стили именования Non-Field Members - Non-Field Members + Не являющиеся полем члены {locked:field} Organize usings - Organize usings + Упорядочение Using Parameter preferences - Parameter preferences + Настройки параметров Parentheses preferences - Parentheses preferences + Предпочтения для скобок Pascal Case - Pascal Case + ВсеЧастиСПрописнойБуквы Prefix '{0}' does not match expected prefix '{1}' - Prefix '{0}' does not match expected prefix '{1}' + Префикс '{0}' не соответствует ожидаемому префиксу '{1}' Prefix '{0}' is not expected - Prefix '{0}' is not expected + Префикс "{0}" является недопустимым Private Method - Private Method + Частный метод {locked: private}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) Private or Internal Field - Private or Internal Field + Частное или внутреннее поле {locked: private}{locked: internal}{locked:field} Private or Internal Static Field - Private or Internal Static Field + Частное или внутреннее статическое поле {locked: private}{locked: internal}{locked:static}{locked:field} @@ -154,22 +154,22 @@ Public or Protected Field - Public or Protected Field + Открытое или защищенное поле {locked: public}{locked: protected}{locked:field} Specified sequence has duplicate items - Specified sequence has duplicate items + Указанная последовательность содержит повторяющиеся элементы. Static Field - Static Field + Статическое поле {locked:static}{locked:field} (unless the capitalization should be handled differently) Static Method - Static Method + Статический метод {locked: static}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) @@ -179,52 +179,52 @@ Symbol specifications - Symbol specifications + Спецификации символов The first word, '{0}', must begin with a lower case character - The first word, '{0}', must begin with a lower case character + Первое слово ("{0}") должно начинаться со строчного символа The first word, '{0}', must begin with an upper case character - The first word, '{0}', must begin with an upper case character + Первое слово ("{0}") должно начинаться с прописного символа These non-leading words must begin with a lowercase letter: {0} - These non-leading words must begin with a lowercase letter: {0} + Эти неначальные слова должны начинаться со строчных символов: {0} These non-leading words must begin with an upper case letter: {0} - These non-leading words must begin with an upper case letter: {0} + Эти неначальные слова должны начинаться с прописных символов: {0} These words cannot contain lower case characters: {0} - These words cannot contain lower case characters: {0} + Эти слова не могут содержать строчные символы: {0} These words cannot contain upper case characters: {0} - These words cannot contain upper case characters: {0} + Эти слова не могут содержать прописные символы: {0} These words must begin with upper case characters: {0} - These words must begin with upper case characters: {0} + Эти слова должны начинаться с прописных символов: {0} Types - Types + Типы {locked:types} unless the capitalization should be handled differently this. and Me. preferences - this. and Me. preferences + Предпочтения для this. и Me. diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.tr.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.tr.xlf index ba4bd149bb755..8270d7a28e71d 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.tr.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.tr.xlf @@ -4,22 +4,22 @@ Absolute path expected. - Absolute path expected. + Mutlak yok bekleniyor. Abstract Method - Abstract Method + Soyut Metot {locked: abstract}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) An element with the same key but a different value already exists. - An element with the same key but a different value already exists. + Aynı anahtara, ancak farklı bir değere sahip olan bir öğe zaten var. Begins with I - Begins with I + I ile başlar {locked:I} @@ -44,17 +44,17 @@ Cast is redundant. - Cast is redundant. + Atama gereksizdir. Expression-level preferences - Expression-level preferences + İfade düzey tercihleri Field preferences - Field preferences + Alan tercihleri @@ -64,87 +64,87 @@ Language keywords vs BCL types preferences - Language keywords vs BCL types preferences + Dil anahtar kelimeler vs BCL türleri tercihleri Method - Method + yöntem {locked:method} unless the capitalization should be handled differently Missing prefix: '{0}' - Missing prefix: '{0}' + Eksik ön ek: '{0}' Missing suffix: '{0}' - Missing suffix: '{0}' + Eksik son ek: '{0}' Modifier preferences - Modifier preferences + Değiştirici tercihleri Naming rules - Naming rules + Adlandırma kuralları Naming styles - Naming styles + Adlandırma stilleri Non-Field Members - Non-Field Members + Alan Olmayan Üyeler {locked:field} Organize usings - Organize usings + Kullanımları Düzenle Parameter preferences - Parameter preferences + Parametre tercihleri Parentheses preferences - Parentheses preferences + Parantez tercihleri Pascal Case - Pascal Case + Baş Harfleri Büyük Olmak Üzere Bitişik Prefix '{0}' does not match expected prefix '{1}' - Prefix '{0}' does not match expected prefix '{1}' + '{0}' öneki 'beklenen {1}' öneki eşleşmiyor Prefix '{0}' is not expected - Prefix '{0}' is not expected + '{0}' öneki beklenmez Private Method - Private Method + Özel Metot {locked: private}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) Private or Internal Field - Private or Internal Field + Özel veya İç Alan {locked: private}{locked: internal}{locked:field} Private or Internal Static Field - Private or Internal Static Field + Özel veya İç Statik Alan {locked: private}{locked: internal}{locked:static}{locked:field} @@ -154,22 +154,22 @@ Public or Protected Field - Public or Protected Field + Genel veya Korunan Alan {locked: public}{locked: protected}{locked:field} Specified sequence has duplicate items - Specified sequence has duplicate items + Belirtilen dizide yinelenen öğeler var Static Field - Static Field + Statik Alan {locked:static}{locked:field} (unless the capitalization should be handled differently) Static Method - Static Method + Statik Metot {locked: static}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) @@ -179,52 +179,52 @@ Symbol specifications - Symbol specifications + Sembol belirtimleri The first word, '{0}', must begin with a lower case character - The first word, '{0}', must begin with a lower case character + İlk sözcük ('{0}') küçük harf karakterle başlamalıdır The first word, '{0}', must begin with an upper case character - The first word, '{0}', must begin with an upper case character + İlk sözcük ('{0}') büyük harf karakterle başlamalıdır These non-leading words must begin with a lowercase letter: {0} - These non-leading words must begin with a lowercase letter: {0} + Başta olmayan bu sözcükler küçük harf karakterle başlamalıdır: {0} These non-leading words must begin with an upper case letter: {0} - These non-leading words must begin with an upper case letter: {0} + Başta olmayan bu sözcükler büyük harf karakterle başlamalıdır: {0} These words cannot contain lower case characters: {0} - These words cannot contain lower case characters: {0} + Bu sözcükler küçük harf karakter içeremez: {0} These words cannot contain upper case characters: {0} - These words cannot contain upper case characters: {0} + Bu sözcükler büyük harf karakter içeremez: {0} These words must begin with upper case characters: {0} - These words must begin with upper case characters: {0} + Bu sözcükler büyük harf karakterle başlamalıdır: {0} Types - Types + Türler {locked:types} unless the capitalization should be handled differently this. and Me. preferences - this. and Me. preferences + Bu. ve bana tercihleri diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.zh-Hans.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.zh-Hans.xlf index 0b26a4e8dcb99..f7e39091dda64 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.zh-Hans.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.zh-Hans.xlf @@ -4,22 +4,22 @@ Absolute path expected. - Absolute path expected. + 预期的绝对路径。 Abstract Method - Abstract Method + 抽象方法 {locked: abstract}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) An element with the same key but a different value already exists. - An element with the same key but a different value already exists. + 已存在键相同但值不同的元素。 Begins with I - Begins with I + 以 I 开始 {locked:I} @@ -44,17 +44,17 @@ Cast is redundant. - Cast is redundant. + 转换是多余的。 Expression-level preferences - Expression-level preferences + 表达式级首选项 Field preferences - Field preferences + 字段首选项 @@ -64,87 +64,87 @@ Language keywords vs BCL types preferences - Language keywords vs BCL types preferences + 语言关键字与 bcl 类型首选项 Method - Method + 方法 {locked:method} unless the capitalization should be handled differently Missing prefix: '{0}' - Missing prefix: '{0}' + 缺少前缀: {0} Missing suffix: '{0}' - Missing suffix: '{0}' + 缺少后缀: {0} Modifier preferences - Modifier preferences + 修饰符首选项 Naming rules - Naming rules + 命名规则 Naming styles - Naming styles + 命名样式 Non-Field Members - Non-Field Members + 非字段成员 {locked:field} Organize usings - Organize usings + 组织 Using Parameter preferences - Parameter preferences + 参数首选项 Parentheses preferences - Parentheses preferences + 括号首选项 Pascal Case - Pascal Case + 帕斯卡拼写法 Prefix '{0}' does not match expected prefix '{1}' - Prefix '{0}' does not match expected prefix '{1}' + 前缀 "{0}" 与预期前缀 "{1}" 不匹配 Prefix '{0}' is not expected - Prefix '{0}' is not expected + 前缀“{0}”不是预期的 Private Method - Private Method + 私有方法 {locked: private}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) Private or Internal Field - Private or Internal Field + 私有或内部字段 {locked: private}{locked: internal}{locked:field} Private or Internal Static Field - Private or Internal Static Field + 私有或内部静态字段 {locked: private}{locked: internal}{locked:static}{locked:field} @@ -154,22 +154,22 @@ Public or Protected Field - Public or Protected Field + 公共或受保护的字段 {locked: public}{locked: protected}{locked:field} Specified sequence has duplicate items - Specified sequence has duplicate items + 指定的序列有重复项 Static Field - Static Field + 静态字段 {locked:static}{locked:field} (unless the capitalization should be handled differently) Static Method - Static Method + 静态方法 {locked: static}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) @@ -179,52 +179,52 @@ Symbol specifications - Symbol specifications + 符号规范 The first word, '{0}', must begin with a lower case character - The first word, '{0}', must begin with a lower case character + 第一个字(“{0}”)必须以小写字符开头 The first word, '{0}', must begin with an upper case character - The first word, '{0}', must begin with an upper case character + 第一个字(“{0}”)必须以大写字符开头 These non-leading words must begin with a lowercase letter: {0} - These non-leading words must begin with a lowercase letter: {0} + 这些非前导字必须以小写字母开头: {0} These non-leading words must begin with an upper case letter: {0} - These non-leading words must begin with an upper case letter: {0} + 这些非前导字必须以大写字母开头: {0} These words cannot contain lower case characters: {0} - These words cannot contain lower case characters: {0} + 这些字不能包含小写字符: {0} These words cannot contain upper case characters: {0} - These words cannot contain upper case characters: {0} + 这些字不能包含大写字符: {0} These words must begin with upper case characters: {0} - These words must begin with upper case characters: {0} + 这些字必须以大写字符开头: {0} Types - Types + 类型 {locked:types} unless the capitalization should be handled differently this. and Me. preferences - this. and Me. preferences + this. 和 Me. 首选项 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.zh-Hant.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.zh-Hant.xlf index 64734ae32a683..1b13a6d25d654 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.zh-Hant.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/xlf/CompilerExtensionsResources.zh-Hant.xlf @@ -4,22 +4,22 @@ Absolute path expected. - Absolute path expected. + 必須是絕對路徑。 Abstract Method - Abstract Method + 抽象方法 {locked: abstract}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) An element with the same key but a different value already exists. - An element with the same key but a different value already exists. + 已經有相同索引鍵但不同值的項目。 Begins with I - Begins with I + 以 I 開頭 {locked:I} @@ -44,17 +44,17 @@ Cast is redundant. - Cast is redundant. + 多餘的 Cast。 Expression-level preferences - Expression-level preferences + 運算式層級喜好設定 Field preferences - Field preferences + 欄位喜好設定 @@ -64,87 +64,87 @@ Language keywords vs BCL types preferences - Language keywords vs BCL types preferences + 語言關鍵字與 BCL 類型喜好設定 Method - Method + 方法 {locked:method} unless the capitalization should be handled differently Missing prefix: '{0}' - Missing prefix: '{0}' + 遺漏前置詞: '{0}' Missing suffix: '{0}' - Missing suffix: '{0}' + 遺漏尾碼: '{0}' Modifier preferences - Modifier preferences + 修飾元喜好設定 Naming rules - Naming rules + 命名規則 Naming styles - Naming styles + 命名樣式 Non-Field Members - Non-Field Members + 非欄位成員 {locked:field} Organize usings - Organize usings + 組合管理 Using Parameter preferences - Parameter preferences + 參數喜好設定 Parentheses preferences - Parentheses preferences + 括號喜好設定 Pascal Case - Pascal Case + Pascal 命名法的大小寫 Prefix '{0}' does not match expected prefix '{1}' - Prefix '{0}' does not match expected prefix '{1}' + 前置詞 '{0}' 不符合預期的前置詞 '{1}' Prefix '{0}' is not expected - Prefix '{0}' is not expected + 不應為前置詞 '{0}' Private Method - Private Method + 私人方法 {locked: private}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) Private or Internal Field - Private or Internal Field + 私人或內部欄位 {locked: private}{locked: internal}{locked:field} Private or Internal Static Field - Private or Internal Static Field + 私人或內部靜態欄位 {locked: private}{locked: internal}{locked:static}{locked:field} @@ -154,22 +154,22 @@ Public or Protected Field - Public or Protected Field + 公用或受保護欄位 {locked: public}{locked: protected}{locked:field} Specified sequence has duplicate items - Specified sequence has duplicate items + 指定的序列具有重複項目 Static Field - Static Field + 靜態欄位 {locked:static}{locked:field} (unless the capitalization should be handled differently) Static Method - Static Method + 靜態方法 {locked: static}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently) @@ -179,52 +179,52 @@ Symbol specifications - Symbol specifications + 符號規格 The first word, '{0}', must begin with a lower case character - The first word, '{0}', must begin with a lower case character + 第一個字組 '{0}' 必須以小寫字母開頭 The first word, '{0}', must begin with an upper case character - The first word, '{0}', must begin with an upper case character + 第一個字組 '{0}' 必須以大寫字母開頭 These non-leading words must begin with a lowercase letter: {0} - These non-leading words must begin with a lowercase letter: {0} + 非前置字組必須以小寫字母開頭: {0} These non-leading words must begin with an upper case letter: {0} - These non-leading words must begin with an upper case letter: {0} + 非前置字組必須以大寫字母開頭: {0} These words cannot contain lower case characters: {0} - These words cannot contain lower case characters: {0} + 這些字組不可包含小寫字母: {0} These words cannot contain upper case characters: {0} - These words cannot contain upper case characters: {0} + 這些字組不可包含大寫字母: {0} These words must begin with upper case characters: {0} - These words must begin with upper case characters: {0} + 這些字組必須包含大寫字母: {0} Types - Types + 型別 {locked:types} unless the capitalization should be handled differently this. and Me. preferences - this. and Me. preferences + this. 和 Me. 喜好設定 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.cs.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.cs.xlf index e861c2a9743c7..c5583432990ea 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.cs.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.cs.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Odebrat tuto hodnotu, když se přidá jiná https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.de.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.de.xlf index 0b8ef141587ad..61dc0afc3ba28 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.de.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.de.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Dieser Wert wird entfernt, wenn ein anderer hinzugefügt wird. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.es.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.es.xlf index be7eb40cbcc6a..47f2f050e4cfd 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.es.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.es.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Quite este valor cuando se agregue otro. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.fr.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.fr.xlf index 2786f5abb593f..95e749b98bb0c 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.fr.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.fr.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Supprimer cette valeur quand une autre est ajoutée. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.it.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.it.xlf index 9c1625bef17d4..c3d8078b8cc6d 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.it.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.it.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Rimuovere questo valore quando ne viene aggiunto un altro. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.ja.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.ja.xlf index 7ce69a38361d6..9788987d600e3 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.ja.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.ja.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + 別の値が追加されたら、この値を削除します。 https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.ko.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.ko.xlf index 28f5ec6d15843..f27d7315030cc 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.ko.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.ko.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + 다른 값을 추가할 때 이 값을 제거하세요. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.pl.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.pl.xlf index 74fd33d1db1d1..e60c42af99e22 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.pl.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.pl.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Usuń tę wartość, gdy dodawana jest kolejna. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.pt-BR.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.pt-BR.xlf index 6a67c820be8e2..fe97d9c427ca3 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.pt-BR.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.pt-BR.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Remover este valor quando outro for adicionado. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.ru.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.ru.xlf index 557dcf343e960..58da399d2e7a0 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.ru.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.ru.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Удалите это значение при добавлении другого значения. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.tr.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.tr.xlf index 349f8edfe77d3..0a73cf1fde433 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.tr.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.tr.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Başka bir değer eklendiğinde bu değeri kaldırın. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.zh-Hans.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.zh-Hans.xlf index 694669fddab38..39fa79607f3aa 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.zh-Hans.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.zh-Hans.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + 在添加其他值时删除此值。 https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.zh-Hant.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.zh-Hant.xlf index c4c842ae81855..ff3682d48f3af 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.zh-Hant.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/xlf/VisualBasicCompilerExtensionsResources.zh-Hant.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + 當新增另一個值時移除此值。 https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.cs.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.cs.xlf index d87551858ca7a..ec79158502889 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.cs.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.cs.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Odebrat tuto hodnotu, když se přidá jiná https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.de.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.de.xlf index 19cb940825302..ed8498ba9b9c9 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.de.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.de.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Dieser Wert wird entfernt, wenn ein anderer hinzugefügt wird. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.es.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.es.xlf index 574d6accb1fef..2b4483d1dd6e7 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.es.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.es.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Quite este valor cuando se agregue otro. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.fr.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.fr.xlf index 0f0f97113fdab..8551235b51c73 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.fr.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.fr.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Supprimer cette valeur quand une autre est ajoutée. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.it.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.it.xlf index e8d0be821d747..a9898b35a30b4 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.it.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.it.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Rimuovere questo valore quando ne viene aggiunto un altro. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.ja.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.ja.xlf index 6c05949ca0edc..2f05d38df1398 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.ja.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.ja.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + 別の値が追加されたら、この値を削除します。 https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.ko.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.ko.xlf index 7d343f24eb2f7..767f8524d7d34 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.ko.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.ko.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + 다른 값을 추가할 때 이 값을 제거하세요. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.pl.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.pl.xlf index 72836de4d92d9..2abecc70ab7fe 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.pl.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.pl.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Usuń tę wartość, gdy dodawana jest kolejna. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.pt-BR.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.pt-BR.xlf index 24aaf025cef16..7e6f91e4c714e 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.pt-BR.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.pt-BR.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Remover este valor quando outro for adicionado. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.ru.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.ru.xlf index 67e3acd8b64ec..54d976268e330 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.ru.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.ru.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Удалите это значение при добавлении другого значения. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.tr.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.tr.xlf index 44c5f43733718..ac36caac4da6b 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.tr.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.tr.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Başka bir değer eklendiğinde bu değeri kaldırın. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.zh-Hans.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.zh-Hans.xlf index 9cb39584e07bd..0c1c5879521dc 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.zh-Hans.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.zh-Hans.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + 在添加其他值时删除此值。 https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.zh-Hant.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.zh-Hant.xlf index 1c47dd478c457..d9e152f5c39e1 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.zh-Hant.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/xlf/CSharpWorkspaceExtensionsResources.zh-Hant.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + 當新增另一個值時移除此值。 https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.cs.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.cs.xlf index 26faeac15ca5b..b260a21696b04 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.cs.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.cs.xlf @@ -4,47 +4,47 @@ Compilation is required to accomplish the task but is not supported by project {0}. - Compilation is required to accomplish the task but is not supported by project {0}. + K provedení úlohy se vyžaduje kompilace, ale projekt {0} ji nepodporuje. Fix all '{0}' - Fix all '{0}' + Opravit vše ({0}) Fix all '{0}' in '{1}' - Fix all '{0}' in '{1}' + Opravit vše ({0}) v: {1} Fix all '{0}' in Solution - Fix all '{0}' in Solution + Opravit vše ({0}) v řešení Project of ID {0} is required to accomplish the task but is not available from the solution - Project of ID {0} is required to accomplish the task but is not available from the solution + Ke splnění úkolu se vyžaduje projekt s ID {0}, který ale není z řešení dostupný. Supplied diagnostic cannot be null. - Supplied diagnostic cannot be null. + Zadaná diagnostika nemůže být null. Syntax tree is required to accomplish the task but is not supported by document {0}. - Syntax tree is required to accomplish the task but is not supported by document {0}. + K provedení úlohy se vyžaduje strom syntaxe, ale dokument {0} ho nepodporuje. The solution does not contain the specified document. - The solution does not contain the specified document. + Řešení neobsahuje zadaný dokument. Warning: Declaration changes scope and may change meaning. - Warning: Declaration changes scope and may change meaning. + Upozornění: Deklarace mění rozsah a může změnit význam. diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.de.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.de.xlf index 430618348839f..e1b4b7ed01fc5 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.de.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.de.xlf @@ -4,47 +4,47 @@ Compilation is required to accomplish the task but is not supported by project {0}. - Compilation is required to accomplish the task but is not supported by project {0}. + Die Kompilierung ist zum Ausführen der Aufgabe erforderlich, wird aber vom Projekt "{0}" nicht unterstützt. Fix all '{0}' - Fix all '{0}' + Alle '{0}' reparieren Fix all '{0}' in '{1}' - Fix all '{0}' in '{1}' + Alle '{0}' in '{1}' reparieren Fix all '{0}' in Solution - Fix all '{0}' in Solution + Alle '{0}' in Lösung reparieren Project of ID {0} is required to accomplish the task but is not available from the solution - Project of ID {0} is required to accomplish the task but is not available from the solution + Ein Projekt mit der ID "{0}" ist zum Ausführen der Aufgabe erforderlich, steht aber in der Projektmappe nicht zur Verfügung. Supplied diagnostic cannot be null. - Supplied diagnostic cannot be null. + Bereitgestellte Diagnose darf nicht null sein. Syntax tree is required to accomplish the task but is not supported by document {0}. - Syntax tree is required to accomplish the task but is not supported by document {0}. + Die Syntaxstruktur ist zum Ausführen der Aufgabe erforderlich, wird aber vom Dokument "{0}" nicht unterstützt. The solution does not contain the specified document. - The solution does not contain the specified document. + Die Lösung enthält nicht das angegebene Dokument. Warning: Declaration changes scope and may change meaning. - Warning: Declaration changes scope and may change meaning. + Warnung: Die Deklaration ändert den Bereich und möglicherweise die Bedeutung. diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.es.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.es.xlf index 618468555dcfa..1b78e6d680b8a 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.es.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.es.xlf @@ -4,47 +4,47 @@ Compilation is required to accomplish the task but is not supported by project {0}. - Compilation is required to accomplish the task but is not supported by project {0}. + La compilación es necesaria para realizar la tarea, pero el proyecto {0} no la admite. Fix all '{0}' - Fix all '{0}' + Corregir todo '{0}' Fix all '{0}' in '{1}' - Fix all '{0}' in '{1}' + Corregir todo '{0}' en '{1}' Fix all '{0}' in Solution - Fix all '{0}' in Solution + Corregir todo '{0}' en solución Project of ID {0} is required to accomplish the task but is not available from the solution - Project of ID {0} is required to accomplish the task but is not available from the solution + Se necesita el identificador de proyecto "{0}" para realizar la tarea, pero no está disponibles en la solución Supplied diagnostic cannot be null. - Supplied diagnostic cannot be null. + El diagnóstico suministrado no puede ser nulo. Syntax tree is required to accomplish the task but is not supported by document {0}. - Syntax tree is required to accomplish the task but is not supported by document {0}. + El árbol de sintaxis es necesario para realizar la tarea, pero el documento {0} no lo admite. The solution does not contain the specified document. - The solution does not contain the specified document. + La solución no contiene el documento especificado. Warning: Declaration changes scope and may change meaning. - Warning: Declaration changes scope and may change meaning. + Advertencia: La declaración cambia el ámbito y puede cambiar el significado. diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.fr.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.fr.xlf index 74e088ccb7209..c00a9f0c92b08 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.fr.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.fr.xlf @@ -4,47 +4,47 @@ Compilation is required to accomplish the task but is not supported by project {0}. - Compilation is required to accomplish the task but is not supported by project {0}. + Une compilation est nécessaire pour accomplir la tâche, mais elle n'est pas prise en charge par le projet {0}. Fix all '{0}' - Fix all '{0}' + Corriger tous les '{0}' Fix all '{0}' in '{1}' - Fix all '{0}' in '{1}' + Pour toutes les '{0}' dans '{1}' Fix all '{0}' in Solution - Fix all '{0}' in Solution + Corriger tous les '{0}' dans la solution Project of ID {0} is required to accomplish the task but is not available from the solution - Project of ID {0} is required to accomplish the task but is not available from the solution + Le projet de l'ID {0} est nécessaire pour accomplir la tâche mais n'est pas disponible dans la solution Supplied diagnostic cannot be null. - Supplied diagnostic cannot be null. + Le diagnostic fourni ne peut pas être null. Syntax tree is required to accomplish the task but is not supported by document {0}. - Syntax tree is required to accomplish the task but is not supported by document {0}. + Une arborescence de syntaxe est nécessaire pour accomplir la tâche, mais elle n'est pas prise en charge par le document {0}. The solution does not contain the specified document. - The solution does not contain the specified document. + La solution ne contient pas le document spécifié. Warning: Declaration changes scope and may change meaning. - Warning: Declaration changes scope and may change meaning. + Avertissement : La déclaration change la portée et éventuellement la signification. diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.it.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.it.xlf index 362c4786678ee..584ccef5f4fb7 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.it.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.it.xlf @@ -4,47 +4,47 @@ Compilation is required to accomplish the task but is not supported by project {0}. - Compilation is required to accomplish the task but is not supported by project {0}. + Per eseguire l'attività, è necessaria la compilazione, che però non è supportata dal progetto {0}. Fix all '{0}' - Fix all '{0}' + Correggi tutti '{0}' Fix all '{0}' in '{1}' - Fix all '{0}' in '{1}' + Correggi tutti '{0}' in '{1}' Fix all '{0}' in Solution - Fix all '{0}' in Solution + Correggi tutti '{0}' nella soluzione Project of ID {0} is required to accomplish the task but is not available from the solution - Project of ID {0} is required to accomplish the task but is not available from the solution + Per eseguire l'attività, è necessario il progetto con ID '{0}', che però non è disponibile dalla soluzione Supplied diagnostic cannot be null. - Supplied diagnostic cannot be null. + La diagnostica specificata non può essere Null. Syntax tree is required to accomplish the task but is not supported by document {0}. - Syntax tree is required to accomplish the task but is not supported by document {0}. + Per eseguire l'attività, è necessario l'albero della sintassi, che però non è supportato dal documento {0}. The solution does not contain the specified document. - The solution does not contain the specified document. + La soluzione non contiene il documento specificato. Warning: Declaration changes scope and may change meaning. - Warning: Declaration changes scope and may change meaning. + Avviso: la dichiarazione implica la modifica dell'ambito e potrebbe modificare il significato. diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.ja.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.ja.xlf index 98bafe938a031..d0441234eaba7 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.ja.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.ja.xlf @@ -4,47 +4,47 @@ Compilation is required to accomplish the task but is not supported by project {0}. - Compilation is required to accomplish the task but is not supported by project {0}. + コンパイルはタスクの実行に必要ですが、プロジェクト {0} ではサポートされていません。 Fix all '{0}' - Fix all '{0}' + すべての '{0}' を修正します Fix all '{0}' in '{1}' - Fix all '{0}' in '{1}' + {1}' に含まれているすべての '{0}' を修正します Fix all '{0}' in Solution - Fix all '{0}' in Solution + ソリューションに含まれているすべての '{0}' を修正します Project of ID {0} is required to accomplish the task but is not available from the solution - Project of ID {0} is required to accomplish the task but is not available from the solution + タスクの完了には ID {0} のプロジェクトが必要ですが、このソリューションからは利用できません Supplied diagnostic cannot be null. - Supplied diagnostic cannot be null. + 診断に null は指定できません。 Syntax tree is required to accomplish the task but is not supported by document {0}. - Syntax tree is required to accomplish the task but is not supported by document {0}. + 構文ツリーはタスクの実行に必要ですが、ドキュメント {0} ではサポートされていません。 The solution does not contain the specified document. - The solution does not contain the specified document. + ソリューションには、指定されたドキュメントがありません。 Warning: Declaration changes scope and may change meaning. - Warning: Declaration changes scope and may change meaning. + 警告: 宣言によりスコープが変更され、意味が変わる可能性があります。 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.ko.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.ko.xlf index 7c2b57abe3b9f..899a43b88a4b4 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.ko.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.ko.xlf @@ -4,47 +4,47 @@ Compilation is required to accomplish the task but is not supported by project {0}. - Compilation is required to accomplish the task but is not supported by project {0}. + 작업을 수행하는 데 컴파일이 필요하지만 프로젝트 {0}에서 지원하지 않습니다. Fix all '{0}' - Fix all '{0}' + 모든 '{0}' 수정 Fix all '{0}' in '{1}' - Fix all '{0}' in '{1}' + {1}'의 모든 '{0}' 수정 Fix all '{0}' in Solution - Fix all '{0}' in Solution + 솔루션의 모든 '{0}' 수정 Project of ID {0} is required to accomplish the task but is not available from the solution - Project of ID {0} is required to accomplish the task but is not available from the solution + 작업을 수행하는 데 ID가 {0}인 프로젝트가 필요하지만, 솔루션에서 해당 프로젝트를 사용할 수 없습니다. Supplied diagnostic cannot be null. - Supplied diagnostic cannot be null. + 제공된 진단은 null일 수 없습니다. Syntax tree is required to accomplish the task but is not supported by document {0}. - Syntax tree is required to accomplish the task but is not supported by document {0}. + 작업을 수행하는 데 구문 트리가 필요하지만 문서 {0}에서 지원하지 않습니다. The solution does not contain the specified document. - The solution does not contain the specified document. + 솔루션에 지정한 문서가 포함되어 있지 않습니다. Warning: Declaration changes scope and may change meaning. - Warning: Declaration changes scope and may change meaning. + 경고: 선언 시 범위가 변경되고 의미가 변경될 수 있습니다. diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.pl.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.pl.xlf index 15f5be32c6c7f..6ce41179340ce 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.pl.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.pl.xlf @@ -4,47 +4,47 @@ Compilation is required to accomplish the task but is not supported by project {0}. - Compilation is required to accomplish the task but is not supported by project {0}. + Ukończenie zadania wymaga kompilacji, ale nie jest ona obsługiwana przez projekt {0}. Fix all '{0}' - Fix all '{0}' + Napraw wszystkie wystąpienia elementu „{0}” Fix all '{0}' in '{1}' - Fix all '{0}' in '{1}' + Napraw wszystkie wystąpienia elementu „{0}” w zakresie „{1}” Fix all '{0}' in Solution - Fix all '{0}' in Solution + Napraw wszystkie wystąpienia elementu „{0}” w rozwiązaniu Project of ID {0} is required to accomplish the task but is not available from the solution - Project of ID {0} is required to accomplish the task but is not available from the solution + Do wykonania zadania wymagany jest projekt o identyfikatorze {0}, ale nie jest on udostępniany przez rozwiązanie Supplied diagnostic cannot be null. - Supplied diagnostic cannot be null. + Podane informacje diagnostyczne nie mogą mieć wartości null. Syntax tree is required to accomplish the task but is not supported by document {0}. - Syntax tree is required to accomplish the task but is not supported by document {0}. + Ukończenie zadania wymaga drzewa składni, ale nie jest ono obsługiwane przez dokument {0}. The solution does not contain the specified document. - The solution does not contain the specified document. + Rozwiązanie nie zawiera określonego dokumentu. Warning: Declaration changes scope and may change meaning. - Warning: Declaration changes scope and may change meaning. + Ostrzeżenie: deklaracja zmienia zakres i może zmienić znaczenie. diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.pt-BR.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.pt-BR.xlf index 774a6afd46722..d9f762bf4227e 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.pt-BR.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.pt-BR.xlf @@ -4,47 +4,47 @@ Compilation is required to accomplish the task but is not supported by project {0}. - Compilation is required to accomplish the task but is not supported by project {0}. + A compilação é necessária para realizar a tarefa, mas não é compatível com o projeto {0}. Fix all '{0}' - Fix all '{0}' + Corrigir todos os '{0}' Fix all '{0}' in '{1}' - Fix all '{0}' in '{1}' + Corrigir todos os '{0}' em '{1}' Fix all '{0}' in Solution - Fix all '{0}' in Solution + Corrigir todos os '{0}' na Solução Project of ID {0} is required to accomplish the task but is not available from the solution - Project of ID {0} is required to accomplish the task but is not available from the solution + O projeto com a ID {0} é necessário para realizar a tarefa, mas não está disponível na solução Supplied diagnostic cannot be null. - Supplied diagnostic cannot be null. + O diagnóstico fornecido não pode ser nulo. Syntax tree is required to accomplish the task but is not supported by document {0}. - Syntax tree is required to accomplish the task but is not supported by document {0}. + A árvore de sintaxe é necessária para realizar a tarefa, mas não é compatível com o documento {0}. The solution does not contain the specified document. - The solution does not contain the specified document. + A solução não contém o documento especificado. Warning: Declaration changes scope and may change meaning. - Warning: Declaration changes scope and may change meaning. + Aviso: a declaração altera e escopo e pode alterar o significado. diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.ru.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.ru.xlf index c023cc6387cd1..742117c1c9930 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.ru.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.ru.xlf @@ -4,47 +4,47 @@ Compilation is required to accomplish the task but is not supported by project {0}. - Compilation is required to accomplish the task but is not supported by project {0}. + Для выполнения задачи требуется компиляция, но она не поддерживается в проекте {0}. Fix all '{0}' - Fix all '{0}' + Исправить все "{0}" Fix all '{0}' in '{1}' - Fix all '{0}' in '{1}' + Исправить все "{0}" в "{1}" Fix all '{0}' in Solution - Fix all '{0}' in Solution + Исправить все "{0}" в решении Project of ID {0} is required to accomplish the task but is not available from the solution - Project of ID {0} is required to accomplish the task but is not available from the solution + Проект с ИД "{0}" необходим для выполнения задачи, но он недоступен из решения. Supplied diagnostic cannot be null. - Supplied diagnostic cannot be null. + Указанная диагностика не может быть NULL. Syntax tree is required to accomplish the task but is not supported by document {0}. - Syntax tree is required to accomplish the task but is not supported by document {0}. + Для выполнения задачи требуется синтаксическое дерево, но оно не поддерживается в документе {0}. The solution does not contain the specified document. - The solution does not contain the specified document. + Указанный документ отсутствует в решении. Warning: Declaration changes scope and may change meaning. - Warning: Declaration changes scope and may change meaning. + Предупреждение. Объявление изменяет область и может изменить значение. diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.tr.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.tr.xlf index 8b259a46df793..1e56b8a05175f 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.tr.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.tr.xlf @@ -4,47 +4,47 @@ Compilation is required to accomplish the task but is not supported by project {0}. - Compilation is required to accomplish the task but is not supported by project {0}. + Görevi gerçekleştirmek için derleme gerekiyor ancak bu, {0} projesi tarafından desteklenmiyor. Fix all '{0}' - Fix all '{0}' + Geçtiği her yerde '{0}' ifadesini düzelt Fix all '{0}' in '{1}' - Fix all '{0}' in '{1}' + {1}' içinde geçtiği her yerde '{0}' ifadesini düzelt Fix all '{0}' in Solution - Fix all '{0}' in Solution + Çözüm'de geçtiği her yerde '{0}' ifadesini düzelt Project of ID {0} is required to accomplish the task but is not available from the solution - Project of ID {0} is required to accomplish the task but is not available from the solution + Görevi gerçekleştirmek için '{0}' kimlikli proje gerekli, ancak bu proje çözümde yok Supplied diagnostic cannot be null. - Supplied diagnostic cannot be null. + Sağlanan tanı null olamaz. Syntax tree is required to accomplish the task but is not supported by document {0}. - Syntax tree is required to accomplish the task but is not supported by document {0}. + Görevi gerçekleştirmek için söz dizimi ağacı gerekiyor ancak bu, {0} belgesi tarafından desteklenmiyor. The solution does not contain the specified document. - The solution does not contain the specified document. + Çözüm belirtilen belgeyi içermiyor. Warning: Declaration changes scope and may change meaning. - Warning: Declaration changes scope and may change meaning. + Uyarı: Bildirim, kapsamı değiştiriyor ve anlamı da değiştirebilir. diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.zh-Hans.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.zh-Hans.xlf index d16cbbb94b364..6196afb3309a9 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.zh-Hans.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.zh-Hans.xlf @@ -4,47 +4,47 @@ Compilation is required to accomplish the task but is not supported by project {0}. - Compilation is required to accomplish the task but is not supported by project {0}. + 必须进行编译才能完成该任务,但项目 {0} 不支持此操作。 Fix all '{0}' - Fix all '{0}' + 修复所有“{0}” Fix all '{0}' in '{1}' - Fix all '{0}' in '{1}' + 修复“{1}”中的所有“{0}” Fix all '{0}' in Solution - Fix all '{0}' in Solution + 修复解决方案中的所有“{0}” Project of ID {0} is required to accomplish the task but is not available from the solution - Project of ID {0} is required to accomplish the task but is not available from the solution + 需要 ID 为 {0} 的项目才能完成任务,但无法从解决方案中使用该项目 Supplied diagnostic cannot be null. - Supplied diagnostic cannot be null. + 提供的诊断不能为 null。 Syntax tree is required to accomplish the task but is not supported by document {0}. - Syntax tree is required to accomplish the task but is not supported by document {0}. + 必须使用语法树才能完成该任务,但文档 {0} 不支持它。 The solution does not contain the specified document. - The solution does not contain the specified document. + 解决方案不包含指定的文档。 Warning: Declaration changes scope and may change meaning. - Warning: Declaration changes scope and may change meaning. + 警告: 声明更改了作用域,并且可能更改含义。 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.zh-Hant.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.zh-Hant.xlf index 0630bdd52340b..726bc7c6fa2ab 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.zh-Hant.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/xlf/WorkspaceExtensionsResources.zh-Hant.xlf @@ -4,47 +4,47 @@ Compilation is required to accomplish the task but is not supported by project {0}. - Compilation is required to accomplish the task but is not supported by project {0}. + 必須編譯才能完成工作,但專案 {0} 並不支援。 Fix all '{0}' - Fix all '{0}' + 修正所有 '{0}' Fix all '{0}' in '{1}' - Fix all '{0}' in '{1}' + 修正 '{1}' 中的所有 '{0}' Fix all '{0}' in Solution - Fix all '{0}' in Solution + 修正方案中的所有 '{0}' Project of ID {0} is required to accomplish the task but is not available from the solution - Project of ID {0} is required to accomplish the task but is not available from the solution + 完成工作需要識別碼為 {0} 的專案,但是無法從解決方案取得 Supplied diagnostic cannot be null. - Supplied diagnostic cannot be null. + 提供的診斷不可為 null。 Syntax tree is required to accomplish the task but is not supported by document {0}. - Syntax tree is required to accomplish the task but is not supported by document {0}. + 需要語法樹狀結構才能完成工作,但文件 {0} 並不支援。 The solution does not contain the specified document. - The solution does not contain the specified document. + 此方案不包含指定的文件。 Warning: Declaration changes scope and may change meaning. - Warning: Declaration changes scope and may change meaning. + 警告: 宣告會變更範圍,且可能會變更意義。 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.cs.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.cs.xlf index b3e07b4269548..3d553e20bec9c 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.cs.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.cs.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Odebrat tuto hodnotu, když se přidá jiná https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.de.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.de.xlf index bf424db27a3ca..567ba178ca2e3 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.de.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.de.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Dieser Wert wird entfernt, wenn ein anderer hinzugefügt wird. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.es.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.es.xlf index 07d1946c8d89b..891c75fd7babe 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.es.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.es.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Quite este valor cuando se agregue otro. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.fr.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.fr.xlf index 32ca3e5240be0..1773f9e78539d 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.fr.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.fr.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Supprimer cette valeur quand une autre est ajoutée. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.it.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.it.xlf index d9820d5714245..6385e4541e4db 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.it.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.it.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Rimuovere questo valore quando ne viene aggiunto un altro. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.ja.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.ja.xlf index a15a700fe4aba..9665bf7e60bce 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.ja.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.ja.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + 別の値が追加されたら、この値を削除します。 https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.ko.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.ko.xlf index 4ddb966c5597b..fabf05717c062 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.ko.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.ko.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + 다른 값을 추가할 때 이 값을 제거하세요. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.pl.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.pl.xlf index dfe0a59d4e67b..c24a28f5fd23c 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.pl.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.pl.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Usuń tę wartość, gdy dodawana jest kolejna. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.pt-BR.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.pt-BR.xlf index 9df7a49298777..ff2c42b32a600 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.pt-BR.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.pt-BR.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Remover este valor quando outro for adicionado. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.ru.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.ru.xlf index 7ecc3a2f20862..b4e6ecccbfb74 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.ru.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.ru.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Удалите это значение при добавлении другого значения. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.tr.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.tr.xlf index 428070411396b..5b44a43102c9e 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.tr.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.tr.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + Başka bir değer eklendiğinde bu değeri kaldırın. https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.zh-Hans.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.zh-Hans.xlf index 523683b18b013..e6b6b44b58aaf 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.zh-Hans.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.zh-Hans.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + 在添加其他值时删除此值。 https://github.com/Microsoft/msbuild/issues/1661 diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.zh-Hant.xlf b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.zh-Hant.xlf index d9e90c0ce72f3..68339b2513640 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.zh-Hant.xlf +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/VisualBasic/xlf/VisualBasicWorkspaceExtensionsResources.zh-Hant.xlf @@ -4,7 +4,7 @@ Remove this value when another is added. - Remove this value when another is added. + 當新增另一個值時移除此值。 https://github.com/Microsoft/msbuild/issues/1661