未验证 提交 abe7a8a4 编写于 作者: M msftbot[bot] 提交者: GitHub

Merge pull request #43068 from mavasani/PortUseSimpleUsingStatement

Port UseSimpleUsingStatement analyzer/fixer/test to shared layer
......@@ -79,6 +79,7 @@
<Compile Include="$(MSBuildThisFileDirectory)UsePatternMatching\CSharpAsAndNullCheckDiagnosticAnalyzer.Analyzer.cs" />
<Compile Include="$(MSBuildThisFileDirectory)UsePatternMatching\CSharpAsAndNullCheckDiagnosticAnalyzer.cs" />
<Compile Include="$(MSBuildThisFileDirectory)UsePatternMatching\CSharpIsAndCastCheckDiagnosticAnalyzer.cs" />
<Compile Include="$(MSBuildThisFileDirectory)UseSimpleUsingStatement\UseSimpleUsingStatementDiagnosticAnalyzer.cs" />
<Compile Include="$(MSBuildThisFileDirectory)UseThrowExpression\CSharpUseThrowExpressionDiagnosticAnalyzer.cs" />
<Compile Include="$(MSBuildThisFileDirectory)ValidateFormatString\CSharpValidateFormatStringDiagnosticAnalyzer.cs" />
</ItemGroup>
......
......@@ -215,6 +215,12 @@
<data name="Use_is_null_check" xml:space="preserve">
<value>Use 'is null' check</value>
</data>
<data name="Use_simple_using_statement" xml:space="preserve">
<value>Use simple 'using' statement</value>
</data>
<data name="using_statement_can_be_simplified" xml:space="preserve">
<value>'using' statement can be simplified</value>
</data>
<data name="if_statement_can_be_simplified" xml:space="preserve">
<value>'if' statement can be simplified</value>
</data>
......
......@@ -53,8 +53,8 @@ public UseSimpleUsingStatementDiagnosticAnalyzer()
: base(IDEDiagnosticIds.UseSimpleUsingStatementDiagnosticId,
CSharpCodeStyleOptions.PreferSimpleUsingStatement,
LanguageNames.CSharp,
new LocalizableResourceString(nameof(FeaturesResources.Use_simple_using_statement), FeaturesResources.ResourceManager, typeof(FeaturesResources)),
new LocalizableResourceString(nameof(FeaturesResources.using_statement_can_be_simplified), FeaturesResources.ResourceManager, typeof(FeaturesResources)))
new LocalizableResourceString(nameof(CSharpAnalyzersResources.Use_simple_using_statement), CSharpAnalyzersResources.ResourceManager, typeof(CSharpAnalyzersResources)),
new LocalizableResourceString(nameof(CSharpAnalyzersResources.using_statement_can_be_simplified), CSharpAnalyzersResources.ResourceManager, typeof(CSharpAnalyzersResources)))
{
}
......
......@@ -172,6 +172,11 @@
<target state="new">Use range operator</target>
<note />
</trans-unit>
<trans-unit id="Use_simple_using_statement">
<source>Use simple 'using' statement</source>
<target state="new">Use simple 'using' statement</target>
<note />
</trans-unit>
<trans-unit id="Use_switch_expression">
<source>Use 'switch' expression</source>
<target state="new">Use 'switch' expression</target>
......@@ -222,6 +227,11 @@
<target state="new">Using directive is unnecessary.</target>
<note />
</trans-unit>
<trans-unit id="using_statement_can_be_simplified">
<source>'using' statement can be simplified</source>
<target state="new">'using' statement can be simplified</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -172,6 +172,11 @@
<target state="new">Use range operator</target>
<note />
</trans-unit>
<trans-unit id="Use_simple_using_statement">
<source>Use simple 'using' statement</source>
<target state="new">Use simple 'using' statement</target>
<note />
</trans-unit>
<trans-unit id="Use_switch_expression">
<source>Use 'switch' expression</source>
<target state="new">Use 'switch' expression</target>
......@@ -222,6 +227,11 @@
<target state="new">Using directive is unnecessary.</target>
<note />
</trans-unit>
<trans-unit id="using_statement_can_be_simplified">
<source>'using' statement can be simplified</source>
<target state="new">'using' statement can be simplified</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -172,6 +172,11 @@
<target state="new">Use range operator</target>
<note />
</trans-unit>
<trans-unit id="Use_simple_using_statement">
<source>Use simple 'using' statement</source>
<target state="new">Use simple 'using' statement</target>
<note />
</trans-unit>
<trans-unit id="Use_switch_expression">
<source>Use 'switch' expression</source>
<target state="new">Use 'switch' expression</target>
......@@ -222,6 +227,11 @@
<target state="new">Using directive is unnecessary.</target>
<note />
</trans-unit>
<trans-unit id="using_statement_can_be_simplified">
<source>'using' statement can be simplified</source>
<target state="new">'using' statement can be simplified</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -172,6 +172,11 @@
<target state="new">Use range operator</target>
<note />
</trans-unit>
<trans-unit id="Use_simple_using_statement">
<source>Use simple 'using' statement</source>
<target state="new">Use simple 'using' statement</target>
<note />
</trans-unit>
<trans-unit id="Use_switch_expression">
<source>Use 'switch' expression</source>
<target state="new">Use 'switch' expression</target>
......@@ -222,6 +227,11 @@
<target state="new">Using directive is unnecessary.</target>
<note />
</trans-unit>
<trans-unit id="using_statement_can_be_simplified">
<source>'using' statement can be simplified</source>
<target state="new">'using' statement can be simplified</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -172,6 +172,11 @@
<target state="new">Use range operator</target>
<note />
</trans-unit>
<trans-unit id="Use_simple_using_statement">
<source>Use simple 'using' statement</source>
<target state="new">Use simple 'using' statement</target>
<note />
</trans-unit>
<trans-unit id="Use_switch_expression">
<source>Use 'switch' expression</source>
<target state="new">Use 'switch' expression</target>
......@@ -222,6 +227,11 @@
<target state="new">Using directive is unnecessary.</target>
<note />
</trans-unit>
<trans-unit id="using_statement_can_be_simplified">
<source>'using' statement can be simplified</source>
<target state="new">'using' statement can be simplified</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -172,6 +172,11 @@
<target state="new">Use range operator</target>
<note />
</trans-unit>
<trans-unit id="Use_simple_using_statement">
<source>Use simple 'using' statement</source>
<target state="new">Use simple 'using' statement</target>
<note />
</trans-unit>
<trans-unit id="Use_switch_expression">
<source>Use 'switch' expression</source>
<target state="new">Use 'switch' expression</target>
......@@ -222,6 +227,11 @@
<target state="new">Using directive is unnecessary.</target>
<note />
</trans-unit>
<trans-unit id="using_statement_can_be_simplified">
<source>'using' statement can be simplified</source>
<target state="new">'using' statement can be simplified</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -172,6 +172,11 @@
<target state="new">Use range operator</target>
<note />
</trans-unit>
<trans-unit id="Use_simple_using_statement">
<source>Use simple 'using' statement</source>
<target state="new">Use simple 'using' statement</target>
<note />
</trans-unit>
<trans-unit id="Use_switch_expression">
<source>Use 'switch' expression</source>
<target state="new">Use 'switch' expression</target>
......@@ -222,6 +227,11 @@
<target state="new">Using directive is unnecessary.</target>
<note />
</trans-unit>
<trans-unit id="using_statement_can_be_simplified">
<source>'using' statement can be simplified</source>
<target state="new">'using' statement can be simplified</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -172,6 +172,11 @@
<target state="new">Use range operator</target>
<note />
</trans-unit>
<trans-unit id="Use_simple_using_statement">
<source>Use simple 'using' statement</source>
<target state="new">Use simple 'using' statement</target>
<note />
</trans-unit>
<trans-unit id="Use_switch_expression">
<source>Use 'switch' expression</source>
<target state="new">Use 'switch' expression</target>
......@@ -222,6 +227,11 @@
<target state="new">Using directive is unnecessary.</target>
<note />
</trans-unit>
<trans-unit id="using_statement_can_be_simplified">
<source>'using' statement can be simplified</source>
<target state="new">'using' statement can be simplified</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -172,6 +172,11 @@
<target state="new">Use range operator</target>
<note />
</trans-unit>
<trans-unit id="Use_simple_using_statement">
<source>Use simple 'using' statement</source>
<target state="new">Use simple 'using' statement</target>
<note />
</trans-unit>
<trans-unit id="Use_switch_expression">
<source>Use 'switch' expression</source>
<target state="new">Use 'switch' expression</target>
......@@ -222,6 +227,11 @@
<target state="new">Using directive is unnecessary.</target>
<note />
</trans-unit>
<trans-unit id="using_statement_can_be_simplified">
<source>'using' statement can be simplified</source>
<target state="new">'using' statement can be simplified</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -172,6 +172,11 @@
<target state="new">Use range operator</target>
<note />
</trans-unit>
<trans-unit id="Use_simple_using_statement">
<source>Use simple 'using' statement</source>
<target state="new">Use simple 'using' statement</target>
<note />
</trans-unit>
<trans-unit id="Use_switch_expression">
<source>Use 'switch' expression</source>
<target state="new">Use 'switch' expression</target>
......@@ -222,6 +227,11 @@
<target state="new">Using directive is unnecessary.</target>
<note />
</trans-unit>
<trans-unit id="using_statement_can_be_simplified">
<source>'using' statement can be simplified</source>
<target state="new">'using' statement can be simplified</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -172,6 +172,11 @@
<target state="new">Use range operator</target>
<note />
</trans-unit>
<trans-unit id="Use_simple_using_statement">
<source>Use simple 'using' statement</source>
<target state="new">Use simple 'using' statement</target>
<note />
</trans-unit>
<trans-unit id="Use_switch_expression">
<source>Use 'switch' expression</source>
<target state="new">Use 'switch' expression</target>
......@@ -222,6 +227,11 @@
<target state="new">Using directive is unnecessary.</target>
<note />
</trans-unit>
<trans-unit id="using_statement_can_be_simplified">
<source>'using' statement can be simplified</source>
<target state="new">'using' statement can be simplified</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -172,6 +172,11 @@
<target state="new">Use range operator</target>
<note />
</trans-unit>
<trans-unit id="Use_simple_using_statement">
<source>Use simple 'using' statement</source>
<target state="new">Use simple 'using' statement</target>
<note />
</trans-unit>
<trans-unit id="Use_switch_expression">
<source>Use 'switch' expression</source>
<target state="new">Use 'switch' expression</target>
......@@ -222,6 +227,11 @@
<target state="new">Using directive is unnecessary.</target>
<note />
</trans-unit>
<trans-unit id="using_statement_can_be_simplified">
<source>'using' statement can be simplified</source>
<target state="new">'using' statement can be simplified</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -172,6 +172,11 @@
<target state="new">Use range operator</target>
<note />
</trans-unit>
<trans-unit id="Use_simple_using_statement">
<source>Use simple 'using' statement</source>
<target state="new">Use simple 'using' statement</target>
<note />
</trans-unit>
<trans-unit id="Use_switch_expression">
<source>Use 'switch' expression</source>
<target state="new">Use 'switch' expression</target>
......@@ -222,6 +227,11 @@
<target state="new">Using directive is unnecessary.</target>
<note />
</trans-unit>
<trans-unit id="using_statement_can_be_simplified">
<source>'using' statement can be simplified</source>
<target state="new">'using' statement can be simplified</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -53,6 +53,7 @@
<Compile Include="$(MSBuildThisFileDirectory)UseObjectInitializer\UseInitializerHelpers.cs" />
<Compile Include="$(MSBuildThisFileDirectory)UsePatternMatching\CSharpAsAndNullCheckCodeFixProvider.cs" />
<Compile Include="$(MSBuildThisFileDirectory)UsePatternMatching\CSharpIsAndCastCheckCodeFixProvider.cs" />
<Compile Include="$(MSBuildThisFileDirectory)UseSimpleUsingStatement\UseSimpleUsingStatementCodeFixProvider.cs" />
</ItemGroup>
<ItemGroup Condition="'$(DefaultLanguageSourceExtension)' != '' AND '$(BuildingInsideVisualStudio)' != 'true'">
<ExpectedCompile Include="$(MSBuildThisFileDirectory)**\*$(DefaultLanguageSourceExtension)" />
......
......@@ -143,10 +143,10 @@ private static LocalDeclarationStatementSyntax Convert(UsingStatementSyntax usin
Token(SyntaxKind.SemicolonToken)).WithTrailingTrivia(ElasticCarriageReturnLineFeed);
}
private class MyCodeAction : CodeAction.DocumentChangeAction
private class MyCodeAction : CustomCodeActions.DocumentChangeAction
{
public MyCodeAction(Func<CancellationToken, Task<Document>> createChangedDocument)
: base(FeaturesResources.Use_simple_using_statement, createChangedDocument, FeaturesResources.Use_simple_using_statement)
: base(CSharpAnalyzersResources.Use_simple_using_statement, createChangedDocument, CSharpAnalyzersResources.Use_simple_using_statement)
{
}
}
......
......@@ -73,6 +73,7 @@
<Compile Include="$(MSBuildThisFileDirectory)UsePatternMatching\CSharpAsAndNullCheckTests_FixAllTests.cs" />
<Compile Include="$(MSBuildThisFileDirectory)UsePatternMatching\CSharpIsAndCastCheckDiagnosticAnalyzerTests.cs" />
<Compile Include="$(MSBuildThisFileDirectory)UsePatternMatching\CSharpIsAndCastCheckDiagnosticAnalyzerTests_FixAllTests.cs" />
<Compile Include="$(MSBuildThisFileDirectory)UseSimpleUsingStatement\UseSimpleUsingStatementTests.cs" />
<Compile Include="$(MSBuildThisFileDirectory)UseSystemHashCode\UseSystemHashCodeTests.cs" />
<Compile Include="$(MSBuildThisFileDirectory)UseThrowExpression\UseThrowExpressionTests.cs" />
<Compile Include="$(MSBuildThisFileDirectory)UseThrowExpression\UseThrowExpressionTests_FixAllTests.cs" />
......
......@@ -1366,12 +1366,6 @@ This version used in: {2}</value>
<data name="Wrap_and_align_expression" xml:space="preserve">
<value>Wrap and align expression</value>
</data>
<data name="Use_simple_using_statement" xml:space="preserve">
<value>Use simple 'using' statement</value>
</data>
<data name="using_statement_can_be_simplified" xml:space="preserve">
<value>'using' statement can be simplified</value>
</data>
<data name="Move_contents_to_namespace" xml:space="preserve">
<value>Move contents to namespace...</value>
</data>
......
......@@ -597,11 +597,6 @@
<target state="translated">Použijte doporučený vzor Dispose, abyste měli jistotu, že objekt vytvořený pomocí {0} se vyřadí na všech cestách: příkaz/deklarace using nebo výraz try/finally</target>
<note>{Locked="using"}{Locked="try"}{Locked="finally"} "using", "try" and "finally" are C# keywords and should not be localized.</note>
</trans-unit>
<trans-unit id="Use_simple_using_statement">
<source>Use simple 'using' statement</source>
<target state="translated">Použít jednoduchý příkaz using</target>
<note />
</trans-unit>
<trans-unit id="Value_colon">
<source>Value:</source>
<target state="new">Value:</target>
......@@ -2290,11 +2285,6 @@ Tato verze se používá zde: {2}.</target>
<target state="translated">aktualizace použití v závislých projektech</target>
<note />
</trans-unit>
<trans-unit id="using_statement_can_be_simplified">
<source>'using' statement can be simplified</source>
<target state="translated">Příkaz using lze zjednodušit.</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -597,11 +597,6 @@
<target state="translated">Verwenden Sie das empfohlene Dispose-Muster, um sicherzustellen, dass das von "{0}" erstellte Objekt in allen Pfaden gelöscht wird: using-Anweisung/-Deklaration oder try/finally.</target>
<note>{Locked="using"}{Locked="try"}{Locked="finally"} "using", "try" and "finally" are C# keywords and should not be localized.</note>
</trans-unit>
<trans-unit id="Use_simple_using_statement">
<source>Use simple 'using' statement</source>
<target state="translated">Einfache using-Anweisung verwenden</target>
<note />
</trans-unit>
<trans-unit id="Value_colon">
<source>Value:</source>
<target state="new">Value:</target>
......@@ -2290,11 +2285,6 @@ Diese Version wird verwendet in: {2}</target>
<target state="translated">Verwendungen in abhängigen Projekten werden aktualisiert.</target>
<note />
</trans-unit>
<trans-unit id="using_statement_can_be_simplified">
<source>'using' statement can be simplified</source>
<target state="translated">Die using-Anweisung kann vereinfacht werden.</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -597,11 +597,6 @@
<target state="translated">Use el patrón de Dispose recomendado para asegurarse de que el objeto creado por "{0}" se desecha en todas las rutas de acceso: instrucción o declaración using o try/finally</target>
<note>{Locked="using"}{Locked="try"}{Locked="finally"} "using", "try" and "finally" are C# keywords and should not be localized.</note>
</trans-unit>
<trans-unit id="Use_simple_using_statement">
<source>Use simple 'using' statement</source>
<target state="translated">Use la instrucción "using" simple</target>
<note />
</trans-unit>
<trans-unit id="Value_colon">
<source>Value:</source>
<target state="new">Value:</target>
......@@ -2290,11 +2285,6 @@ Esta versión se utiliza en: {2}</target>
<target state="translated">actualización de usos en proyectos dependientes</target>
<note />
</trans-unit>
<trans-unit id="using_statement_can_be_simplified">
<source>'using' statement can be simplified</source>
<target state="translated">La instrucción "using" se puede simplificar</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -597,11 +597,6 @@
<target state="translated">Utilisez le modèle Dispose recommandé pour vérifier que l'objet créé par '{0}' est supprimé sur tous les chemins : instruction/déclaration using ou try/finally</target>
<note>{Locked="using"}{Locked="try"}{Locked="finally"} "using", "try" and "finally" are C# keywords and should not be localized.</note>
</trans-unit>
<trans-unit id="Use_simple_using_statement">
<source>Use simple 'using' statement</source>
<target state="translated">Utiliser une instruction 'using' simple</target>
<note />
</trans-unit>
<trans-unit id="Value_colon">
<source>Value:</source>
<target state="new">Value:</target>
......@@ -2290,11 +2285,6 @@ Version utilisée dans : {2}</target>
<target state="translated">mise à jour des utilisations dans les projets dépendants</target>
<note />
</trans-unit>
<trans-unit id="using_statement_can_be_simplified">
<source>'using' statement can be simplified</source>
<target state="translated">L'instruction 'using' peut être simplifiée</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -597,11 +597,6 @@
<target state="translated">Usare il criterio dispose consigliato per garantire che l'oggetto creato da '{0}' venga eliminato in tutti i percorsi, ovvero istruzione/dichiarazione using o try/finally</target>
<note>{Locked="using"}{Locked="try"}{Locked="finally"} "using", "try" and "finally" are C# keywords and should not be localized.</note>
</trans-unit>
<trans-unit id="Use_simple_using_statement">
<source>Use simple 'using' statement</source>
<target state="translated">Usa l'istruzione 'using' semplice</target>
<note />
</trans-unit>
<trans-unit id="Value_colon">
<source>Value:</source>
<target state="new">Value:</target>
......@@ -2290,11 +2285,6 @@ Questa versione è usata {2}</target>
<target state="translated">aggiornamento degli utilizzi nei progetti dipendenti</target>
<note />
</trans-unit>
<trans-unit id="using_statement_can_be_simplified">
<source>'using' statement can be simplified</source>
<target state="translated">L'istruzione 'using' può essere semplificata</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -597,11 +597,6 @@
<target state="translated">推奨された破棄パターンを使用して、'{0}' が作成したオブジェクトがすべてのパスで破棄されるようにします: using ステートメント/宣言または try/finally</target>
<note>{Locked="using"}{Locked="try"}{Locked="finally"} "using", "try" and "finally" are C# keywords and should not be localized.</note>
</trans-unit>
<trans-unit id="Use_simple_using_statement">
<source>Use simple 'using' statement</source>
<target state="translated">単純な 'using' ステートメントを使用する</target>
<note />
</trans-unit>
<trans-unit id="Value_colon">
<source>Value:</source>
<target state="new">Value:</target>
......@@ -2290,11 +2285,6 @@ This version used in: {2}</source>
<target state="translated">依存プロジェクトの使用の更新</target>
<note />
</trans-unit>
<trans-unit id="using_statement_can_be_simplified">
<source>'using' statement can be simplified</source>
<target state="translated">'using' ステートメントは単純にできます</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -597,11 +597,6 @@
<target state="translated">권장 dispose 패턴을 사용하여, '{0}'에 의해 만들어진 개체가 모든 경로(using 문/선언 또는 try/finally)에서 삭제되도록 합니다.</target>
<note>{Locked="using"}{Locked="try"}{Locked="finally"} "using", "try" and "finally" are C# keywords and should not be localized.</note>
</trans-unit>
<trans-unit id="Use_simple_using_statement">
<source>Use simple 'using' statement</source>
<target state="translated">간단한 'using' 문 사용</target>
<note />
</trans-unit>
<trans-unit id="Value_colon">
<source>Value:</source>
<target state="new">Value:</target>
......@@ -2290,11 +2285,6 @@ This version used in: {2}</source>
<target state="translated">종속 프로젝트에서 사용을 업데이트하는 중</target>
<note />
</trans-unit>
<trans-unit id="using_statement_can_be_simplified">
<source>'using' statement can be simplified</source>
<target state="translated">'using' 문을 간소화할 수 있습니다.</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -597,11 +597,6 @@
<target state="translated">Użyj zalecanego wzorca likwidacji, aby upewnić się, że obiekt utworzony przez element „{0}” jest likwidowany we wszystkich ścieżkach: instrukcja/deklaracja using lub try/finally</target>
<note>{Locked="using"}{Locked="try"}{Locked="finally"} "using", "try" and "finally" are C# keywords and should not be localized.</note>
</trans-unit>
<trans-unit id="Use_simple_using_statement">
<source>Use simple 'using' statement</source>
<target state="translated">Użyj prostej instrukcji „using”</target>
<note />
</trans-unit>
<trans-unit id="Value_colon">
<source>Value:</source>
<target state="new">Value:</target>
......@@ -2290,11 +2285,6 @@ Ta wersja jest używana wersja: {2}</target>
<target state="translated">aktualizowanie użyć w projektach zależnych</target>
<note />
</trans-unit>
<trans-unit id="using_statement_can_be_simplified">
<source>'using' statement can be simplified</source>
<target state="translated">Instrukcję „using” można uprościć</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -597,11 +597,6 @@
<target state="translated">Use o padrão de descarte recomendado para garantir que o objeto criado por '{0}' seja descartado em todos os caminhos: instrução/declaração using ou try/finally</target>
<note>{Locked="using"}{Locked="try"}{Locked="finally"} "using", "try" and "finally" are C# keywords and should not be localized.</note>
</trans-unit>
<trans-unit id="Use_simple_using_statement">
<source>Use simple 'using' statement</source>
<target state="translated">Usar a instrução 'using' simples</target>
<note />
</trans-unit>
<trans-unit id="Value_colon">
<source>Value:</source>
<target state="new">Value:</target>
......@@ -2290,11 +2285,6 @@ Essa versão é usada no: {2}</target>
<target state="translated">atualizar usos em projetos dependentes</target>
<note />
</trans-unit>
<trans-unit id="using_statement_can_be_simplified">
<source>'using' statement can be simplified</source>
<target state="translated">A instrução 'using' pode ser simplificada</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -597,11 +597,6 @@
<target state="translated">Используйте рекомендуемый шаблон освобождения, чтобы убедиться, что объект, созданный "{0}", освобожден для всех путей: инструкцию или объявление using либо конструкцию try/finally.</target>
<note>{Locked="using"}{Locked="try"}{Locked="finally"} "using", "try" and "finally" are C# keywords and should not be localized.</note>
</trans-unit>
<trans-unit id="Use_simple_using_statement">
<source>Use simple 'using' statement</source>
<target state="translated">Использовать простой оператор using</target>
<note />
</trans-unit>
<trans-unit id="Value_colon">
<source>Value:</source>
<target state="new">Value:</target>
......@@ -2290,11 +2285,6 @@ This version used in: {2}</source>
<target state="translated">обновление директив usage в зависимых проектах</target>
<note />
</trans-unit>
<trans-unit id="using_statement_can_be_simplified">
<source>'using' statement can be simplified</source>
<target state="translated">Оператор using можно упростить</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -597,11 +597,6 @@
<target state="translated">'{0}' tarafından oluşturulan nesnenin tüm yollarda atıldığından emin olmak için önerilen atma desenini kullanın: using deyimi/bildirimi veya try/finally</target>
<note>{Locked="using"}{Locked="try"}{Locked="finally"} "using", "try" and "finally" are C# keywords and should not be localized.</note>
</trans-unit>
<trans-unit id="Use_simple_using_statement">
<source>Use simple 'using' statement</source>
<target state="translated">Basit 'using' deyimini kullan</target>
<note />
</trans-unit>
<trans-unit id="Value_colon">
<source>Value:</source>
<target state="new">Value:</target>
......@@ -2290,11 +2285,6 @@ Bu sürüm şurada kullanılır: {2}</target>
<target state="translated">bağımlı projelerdeki kullanımlar güncelleştiriliyor</target>
<note />
</trans-unit>
<trans-unit id="using_statement_can_be_simplified">
<source>'using' statement can be simplified</source>
<target state="translated">'using' deyimi basitleştirilebilir</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -597,11 +597,6 @@
<target state="translated">使用建议的释放模式以确保在所有路径上释放由 "{0}" 创建的对象: using 语句/声明或 try/finally</target>
<note>{Locked="using"}{Locked="try"}{Locked="finally"} "using", "try" and "finally" are C# keywords and should not be localized.</note>
</trans-unit>
<trans-unit id="Use_simple_using_statement">
<source>Use simple 'using' statement</source>
<target state="translated">使用简单的 "using" 语句</target>
<note />
</trans-unit>
<trans-unit id="Value_colon">
<source>Value:</source>
<target state="new">Value:</target>
......@@ -2290,11 +2285,6 @@ This version used in: {2}</source>
<target state="translated">更新相关项目中的用法</target>
<note />
</trans-unit>
<trans-unit id="using_statement_can_be_simplified">
<source>'using' statement can be simplified</source>
<target state="translated">可简化 "using" 语句</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -597,11 +597,6 @@
<target state="translated">請使用建議的處置模式,確保 '{0}' 建立的物件在所有路徑上均會經過處置: using 陳述式/宣告或 try/finally</target>
<note>{Locked="using"}{Locked="try"}{Locked="finally"} "using", "try" and "finally" are C# keywords and should not be localized.</note>
</trans-unit>
<trans-unit id="Use_simple_using_statement">
<source>Use simple 'using' statement</source>
<target state="translated">使用簡單的 'using' 陳述式</target>
<note />
</trans-unit>
<trans-unit id="Value_colon">
<source>Value:</source>
<target state="new">Value:</target>
......@@ -2290,11 +2285,6 @@ This version used in: {2}</source>
<target state="translated">正在更新相依專案中的使用方式</target>
<note />
</trans-unit>
<trans-unit id="using_statement_can_be_simplified">
<source>'using' statement can be simplified</source>
<target state="translated">'using' 陳述式可簡化</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册