Skip to content

Commit 5d6d942

Browse files
committed
Re-word async void analyzer description
1 parent d2b46de commit 5d6d942

14 files changed

+27
-27
lines changed

src/Analyzers/MSTest.Analyzers/Resources.resx

+1-1
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,6 @@ The type declaring these methods should also respect the following rules:
565565
<value>Do not assert inside 'async void' methods, local functions, or lambdas because they may not fail the test</value>
566566
</data>
567567
<data name="AvoidUsingAssertsInAsyncVoidContextDescription" xml:space="preserve">
568-
<value>Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unobserved exceptions. When using VSTest, they will be silently swallowed. When using Microsoft.Testing.Platform, they may crash the process.</value>
568+
<value>Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unhandled exceptions. When using VSTest under .NET Framework, they will be silently swallowed. When using Microsoft.Testing.Platform or VSTest under modern .NET, they may crash the process.</value>
569569
</data>
570570
</root>

src/Analyzers/MSTest.Analyzers/xlf/Resources.cs.xlf

+2-2
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ Typ deklarující tyto metody by měl také respektovat následující pravidla:
148148
<note />
149149
</trans-unit>
150150
<trans-unit id="AvoidUsingAssertsInAsyncVoidContextDescription">
151-
<source>Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unobserved exceptions. When using VSTest, they will be silently swallowed. When using Microsoft.Testing.Platform, they may crash the process.</source>
152-
<target state="new">Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unobserved exceptions. When using VSTest, they will be silently swallowed. When using Microsoft.Testing.Platform, they may crash the process.</target>
151+
<source>Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unhandled exceptions. When using VSTest under .NET Framework, they will be silently swallowed. When using Microsoft.Testing.Platform or VSTest under modern .NET, they may crash the process.</source>
152+
<target state="new">Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unhandled exceptions. When using VSTest under .NET Framework, they will be silently swallowed. When using Microsoft.Testing.Platform or VSTest under modern .NET, they may crash the process.</target>
153153
<note />
154154
</trans-unit>
155155
<trans-unit id="AvoidUsingAssertsInAsyncVoidContextMessageFormat">

src/Analyzers/MSTest.Analyzers/xlf/Resources.de.xlf

+2-2
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ Der Typ, der diese Methoden deklariert, sollte auch die folgenden Regeln beachte
148148
<note />
149149
</trans-unit>
150150
<trans-unit id="AvoidUsingAssertsInAsyncVoidContextDescription">
151-
<source>Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unobserved exceptions. When using VSTest, they will be silently swallowed. When using Microsoft.Testing.Platform, they may crash the process.</source>
152-
<target state="new">Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unobserved exceptions. When using VSTest, they will be silently swallowed. When using Microsoft.Testing.Platform, they may crash the process.</target>
151+
<source>Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unhandled exceptions. When using VSTest under .NET Framework, they will be silently swallowed. When using Microsoft.Testing.Platform or VSTest under modern .NET, they may crash the process.</source>
152+
<target state="new">Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unhandled exceptions. When using VSTest under .NET Framework, they will be silently swallowed. When using Microsoft.Testing.Platform or VSTest under modern .NET, they may crash the process.</target>
153153
<note />
154154
</trans-unit>
155155
<trans-unit id="AvoidUsingAssertsInAsyncVoidContextMessageFormat">

src/Analyzers/MSTest.Analyzers/xlf/Resources.es.xlf

+2-2
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ El tipo que declara estos métodos también debe respetar las reglas siguientes:
148148
<note />
149149
</trans-unit>
150150
<trans-unit id="AvoidUsingAssertsInAsyncVoidContextDescription">
151-
<source>Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unobserved exceptions. When using VSTest, they will be silently swallowed. When using Microsoft.Testing.Platform, they may crash the process.</source>
152-
<target state="new">Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unobserved exceptions. When using VSTest, they will be silently swallowed. When using Microsoft.Testing.Platform, they may crash the process.</target>
151+
<source>Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unhandled exceptions. When using VSTest under .NET Framework, they will be silently swallowed. When using Microsoft.Testing.Platform or VSTest under modern .NET, they may crash the process.</source>
152+
<target state="new">Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unhandled exceptions. When using VSTest under .NET Framework, they will be silently swallowed. When using Microsoft.Testing.Platform or VSTest under modern .NET, they may crash the process.</target>
153153
<note />
154154
</trans-unit>
155155
<trans-unit id="AvoidUsingAssertsInAsyncVoidContextMessageFormat">

src/Analyzers/MSTest.Analyzers/xlf/Resources.fr.xlf

+2-2
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ Le type doit être une classe
148148
<note />
149149
</trans-unit>
150150
<trans-unit id="AvoidUsingAssertsInAsyncVoidContextDescription">
151-
<source>Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unobserved exceptions. When using VSTest, they will be silently swallowed. When using Microsoft.Testing.Platform, they may crash the process.</source>
152-
<target state="new">Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unobserved exceptions. When using VSTest, they will be silently swallowed. When using Microsoft.Testing.Platform, they may crash the process.</target>
151+
<source>Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unhandled exceptions. When using VSTest under .NET Framework, they will be silently swallowed. When using Microsoft.Testing.Platform or VSTest under modern .NET, they may crash the process.</source>
152+
<target state="new">Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unhandled exceptions. When using VSTest under .NET Framework, they will be silently swallowed. When using Microsoft.Testing.Platform or VSTest under modern .NET, they may crash the process.</target>
153153
<note />
154154
</trans-unit>
155155
<trans-unit id="AvoidUsingAssertsInAsyncVoidContextMessageFormat">

src/Analyzers/MSTest.Analyzers/xlf/Resources.it.xlf

+2-2
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ Anche il tipo che dichiara questi metodi deve rispettare le regole seguenti:
148148
<note />
149149
</trans-unit>
150150
<trans-unit id="AvoidUsingAssertsInAsyncVoidContextDescription">
151-
<source>Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unobserved exceptions. When using VSTest, they will be silently swallowed. When using Microsoft.Testing.Platform, they may crash the process.</source>
152-
<target state="new">Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unobserved exceptions. When using VSTest, they will be silently swallowed. When using Microsoft.Testing.Platform, they may crash the process.</target>
151+
<source>Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unhandled exceptions. When using VSTest under .NET Framework, they will be silently swallowed. When using Microsoft.Testing.Platform or VSTest under modern .NET, they may crash the process.</source>
152+
<target state="new">Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unhandled exceptions. When using VSTest under .NET Framework, they will be silently swallowed. When using Microsoft.Testing.Platform or VSTest under modern .NET, they may crash the process.</target>
153153
<note />
154154
</trans-unit>
155155
<trans-unit id="AvoidUsingAssertsInAsyncVoidContextMessageFormat">

src/Analyzers/MSTest.Analyzers/xlf/Resources.ja.xlf

+2-2
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ The type declaring these methods should also respect the following rules:
148148
<note />
149149
</trans-unit>
150150
<trans-unit id="AvoidUsingAssertsInAsyncVoidContextDescription">
151-
<source>Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unobserved exceptions. When using VSTest, they will be silently swallowed. When using Microsoft.Testing.Platform, they may crash the process.</source>
152-
<target state="new">Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unobserved exceptions. When using VSTest, they will be silently swallowed. When using Microsoft.Testing.Platform, they may crash the process.</target>
151+
<source>Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unhandled exceptions. When using VSTest under .NET Framework, they will be silently swallowed. When using Microsoft.Testing.Platform or VSTest under modern .NET, they may crash the process.</source>
152+
<target state="new">Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unhandled exceptions. When using VSTest under .NET Framework, they will be silently swallowed. When using Microsoft.Testing.Platform or VSTest under modern .NET, they may crash the process.</target>
153153
<note />
154154
</trans-unit>
155155
<trans-unit id="AvoidUsingAssertsInAsyncVoidContextMessageFormat">

src/Analyzers/MSTest.Analyzers/xlf/Resources.ko.xlf

+2-2
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ The type declaring these methods should also respect the following rules:
148148
<note />
149149
</trans-unit>
150150
<trans-unit id="AvoidUsingAssertsInAsyncVoidContextDescription">
151-
<source>Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unobserved exceptions. When using VSTest, they will be silently swallowed. When using Microsoft.Testing.Platform, they may crash the process.</source>
152-
<target state="new">Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unobserved exceptions. When using VSTest, they will be silently swallowed. When using Microsoft.Testing.Platform, they may crash the process.</target>
151+
<source>Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unhandled exceptions. When using VSTest under .NET Framework, they will be silently swallowed. When using Microsoft.Testing.Platform or VSTest under modern .NET, they may crash the process.</source>
152+
<target state="new">Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unhandled exceptions. When using VSTest under .NET Framework, they will be silently swallowed. When using Microsoft.Testing.Platform or VSTest under modern .NET, they may crash the process.</target>
153153
<note />
154154
</trans-unit>
155155
<trans-unit id="AvoidUsingAssertsInAsyncVoidContextMessageFormat">

src/Analyzers/MSTest.Analyzers/xlf/Resources.pl.xlf

+2-2
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ Typ deklarujący te metody powinien również przestrzegać następujących regu
148148
<note />
149149
</trans-unit>
150150
<trans-unit id="AvoidUsingAssertsInAsyncVoidContextDescription">
151-
<source>Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unobserved exceptions. When using VSTest, they will be silently swallowed. When using Microsoft.Testing.Platform, they may crash the process.</source>
152-
<target state="new">Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unobserved exceptions. When using VSTest, they will be silently swallowed. When using Microsoft.Testing.Platform, they may crash the process.</target>
151+
<source>Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unhandled exceptions. When using VSTest under .NET Framework, they will be silently swallowed. When using Microsoft.Testing.Platform or VSTest under modern .NET, they may crash the process.</source>
152+
<target state="new">Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unhandled exceptions. When using VSTest under .NET Framework, they will be silently swallowed. When using Microsoft.Testing.Platform or VSTest under modern .NET, they may crash the process.</target>
153153
<note />
154154
</trans-unit>
155155
<trans-unit id="AvoidUsingAssertsInAsyncVoidContextMessageFormat">

src/Analyzers/MSTest.Analyzers/xlf/Resources.pt-BR.xlf

+2-2
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ O tipo que declara esses métodos também deve respeitar as seguintes regras:
148148
<note />
149149
</trans-unit>
150150
<trans-unit id="AvoidUsingAssertsInAsyncVoidContextDescription">
151-
<source>Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unobserved exceptions. When using VSTest, they will be silently swallowed. When using Microsoft.Testing.Platform, they may crash the process.</source>
152-
<target state="new">Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unobserved exceptions. When using VSTest, they will be silently swallowed. When using Microsoft.Testing.Platform, they may crash the process.</target>
151+
<source>Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unhandled exceptions. When using VSTest under .NET Framework, they will be silently swallowed. When using Microsoft.Testing.Platform or VSTest under modern .NET, they may crash the process.</source>
152+
<target state="new">Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unhandled exceptions. When using VSTest under .NET Framework, they will be silently swallowed. When using Microsoft.Testing.Platform or VSTest under modern .NET, they may crash the process.</target>
153153
<note />
154154
</trans-unit>
155155
<trans-unit id="AvoidUsingAssertsInAsyncVoidContextMessageFormat">

src/Analyzers/MSTest.Analyzers/xlf/Resources.ru.xlf

+2-2
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ The type declaring these methods should also respect the following rules:
151151
<note />
152152
</trans-unit>
153153
<trans-unit id="AvoidUsingAssertsInAsyncVoidContextDescription">
154-
<source>Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unobserved exceptions. When using VSTest, they will be silently swallowed. When using Microsoft.Testing.Platform, they may crash the process.</source>
155-
<target state="new">Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unobserved exceptions. When using VSTest, they will be silently swallowed. When using Microsoft.Testing.Platform, they may crash the process.</target>
154+
<source>Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unhandled exceptions. When using VSTest under .NET Framework, they will be silently swallowed. When using Microsoft.Testing.Platform or VSTest under modern .NET, they may crash the process.</source>
155+
<target state="new">Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unhandled exceptions. When using VSTest under .NET Framework, they will be silently swallowed. When using Microsoft.Testing.Platform or VSTest under modern .NET, they may crash the process.</target>
156156
<note />
157157
</trans-unit>
158158
<trans-unit id="AvoidUsingAssertsInAsyncVoidContextMessageFormat">

src/Analyzers/MSTest.Analyzers/xlf/Resources.tr.xlf

+2-2
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ Bu yöntemleri bildiren tipin ayrıca aşağıdaki kurallara uyması gerekir:
148148
<note />
149149
</trans-unit>
150150
<trans-unit id="AvoidUsingAssertsInAsyncVoidContextDescription">
151-
<source>Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unobserved exceptions. When using VSTest, they will be silently swallowed. When using Microsoft.Testing.Platform, they may crash the process.</source>
152-
<target state="new">Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unobserved exceptions. When using VSTest, they will be silently swallowed. When using Microsoft.Testing.Platform, they may crash the process.</target>
151+
<source>Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unhandled exceptions. When using VSTest under .NET Framework, they will be silently swallowed. When using Microsoft.Testing.Platform or VSTest under modern .NET, they may crash the process.</source>
152+
<target state="new">Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unhandled exceptions. When using VSTest under .NET Framework, they will be silently swallowed. When using Microsoft.Testing.Platform or VSTest under modern .NET, they may crash the process.</target>
153153
<note />
154154
</trans-unit>
155155
<trans-unit id="AvoidUsingAssertsInAsyncVoidContextMessageFormat">

src/Analyzers/MSTest.Analyzers/xlf/Resources.zh-Hans.xlf

+2-2
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ The type declaring these methods should also respect the following rules:
148148
<note />
149149
</trans-unit>
150150
<trans-unit id="AvoidUsingAssertsInAsyncVoidContextDescription">
151-
<source>Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unobserved exceptions. When using VSTest, they will be silently swallowed. When using Microsoft.Testing.Platform, they may crash the process.</source>
152-
<target state="new">Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unobserved exceptions. When using VSTest, they will be silently swallowed. When using Microsoft.Testing.Platform, they may crash the process.</target>
151+
<source>Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unhandled exceptions. When using VSTest under .NET Framework, they will be silently swallowed. When using Microsoft.Testing.Platform or VSTest under modern .NET, they may crash the process.</source>
152+
<target state="new">Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unhandled exceptions. When using VSTest under .NET Framework, they will be silently swallowed. When using Microsoft.Testing.Platform or VSTest under modern .NET, they may crash the process.</target>
153153
<note />
154154
</trans-unit>
155155
<trans-unit id="AvoidUsingAssertsInAsyncVoidContextMessageFormat">

0 commit comments

Comments
 (0)