Skip to content

Commit

Permalink
fix grammar in CA2261 message
Browse files Browse the repository at this point in the history
  • Loading branch information
gewarren committed Nov 17, 2023
1 parent b924542 commit 88a390d
Show file tree
Hide file tree
Showing 16 changed files with 155 additions and 155 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
Expand All @@ -26,36 +26,36 @@
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
Expand Down Expand Up @@ -1005,10 +1005,10 @@
<value>Do not use ConfigureAwaitOptions.SuppressThrowing with Task&lt;TResult&gt;</value>
</data>
<data name="DoNotUseConfigureAwaitWithSuppressThrowingMessage" xml:space="preserve">
<value>The ConfigureAwaitOptions.SuppressThrowing is only supported with the non-generic Task</value>
<value>The ConfigureAwaitOptions.SuppressThrowing option is only supported with the non-generic Task</value>
</data>
<data name="DoNotUseConfigureAwaitWithSuppressThrowingDescription" xml:space="preserve">
<value>The ConfigureAwaitOptions.SuppressThrowing is only supported with the non-generic Task, not a Task&lt;TResult&gt;. To use it with a Task&lt;TResult&gt;, first cast to the base Task.</value>
<value>The ConfigureAwaitOptions.SuppressThrowing option is only supported with the non-generic Task, not a Task&lt;TResult&gt;. To use it with a Task&lt;TResult&gt;, first cast to the base Task.</value>
</data>
<data name="DoNotCreateTaskCompletionSourceWithWrongArgumentsTitle" xml:space="preserve">
<value>Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum</value>
Expand Down Expand Up @@ -1707,9 +1707,9 @@
<value>The 'ModuleInitializer' attribute should not be used in libraries</value>
</data>
<data name="DoNotCallEnumerableCastOrOfTypeWithIncompatibleTypesDescription" xml:space="preserve">
<value>Enumerable.Cast&lt;T&gt; and Enumerable.OfType&lt;T&gt; require compatible types to function expectedly.
The generic cast (IL 'unbox.any') used by the sequence returned by Enumerable.Cast&lt;T&gt; will throw InvalidCastException at runtime on elements of the types specified.
The generic type check (C# 'is' operator/IL 'isinst') used by Enumerable.OfType&lt;T&gt; will never succeed with elements of types specified, resulting in an empty sequence.
<value>Enumerable.Cast&lt;T&gt; and Enumerable.OfType&lt;T&gt; require compatible types to function expectedly.
The generic cast (IL 'unbox.any') used by the sequence returned by Enumerable.Cast&lt;T&gt; will throw InvalidCastException at runtime on elements of the types specified.
The generic type check (C# 'is' operator/IL 'isinst') used by Enumerable.OfType&lt;T&gt; will never succeed with elements of types specified, resulting in an empty sequence.
Widening and user defined conversions are not supported with generic types.</value>
</data>
<data name="DoNotCallEnumerableCastOrOfTypeWithIncompatibleTypesMessageCast" xml:space="preserve">
Expand Down Expand Up @@ -2096,4 +2096,4 @@ Widening and user defined conversions are not supported with generic types.</val
<data name="AvoidSingleUseOfLocalJsonSerializerOptionsTitle" xml:space="preserve">
<value>Cache and reuse 'JsonSerializerOptions' instances</value>
</data>
</root>
</root>
Original file line number Diff line number Diff line change
Expand Up @@ -588,13 +588,13 @@
<note />
</trans-unit>
<trans-unit id="DoNotCallEnumerableCastOrOfTypeWithIncompatibleTypesDescription">
<source>Enumerable.Cast&lt;T&gt; and Enumerable.OfType&lt;T&gt; require compatible types to function expectedly.
The generic cast (IL 'unbox.any') used by the sequence returned by Enumerable.Cast&lt;T&gt; will throw InvalidCastException at runtime on elements of the types specified.
The generic type check (C# 'is' operator/IL 'isinst') used by Enumerable.OfType&lt;T&gt; will never succeed with elements of types specified, resulting in an empty sequence.
<source>Enumerable.Cast&lt;T&gt; and Enumerable.OfType&lt;T&gt; require compatible types to function expectedly.
The generic cast (IL 'unbox.any') used by the sequence returned by Enumerable.Cast&lt;T&gt; will throw InvalidCastException at runtime on elements of the types specified.
The generic type check (C# 'is' operator/IL 'isinst') used by Enumerable.OfType&lt;T&gt; will never succeed with elements of types specified, resulting in an empty sequence.
Widening and user defined conversions are not supported with generic types.</source>
<target state="translated">Metody Enumerable.Cast&lt;T&gt; a Enumerable.OfType&lt;T&gt; vyžadují k očekávané funkci kompatibilní typy.
Obecné přetypování (IL unbox.any) používané sekvencí vrácenou metodou Enumerable.Cast&lt;T&gt; vyvolá výjimku InvalidCastException za běhu u prvků zadaných typů.
Ověření obecného typu (operátor is v jazyce C# /isinst převodního jazyka IL) metodou Enumerable.OfType&lt;T&gt; nebude nikdy úspěšné s prvky zadaných typů a výsledkem bude prázdná sekvence.
<target state="translated">Metody Enumerable.Cast&lt;T&gt; a Enumerable.OfType&lt;T&gt; vyžadují k očekávané funkci kompatibilní typy.
Obecné přetypování (IL unbox.any) používané sekvencí vrácenou metodou Enumerable.Cast&lt;T&gt; vyvolá výjimku InvalidCastException za běhu u prvků zadaných typů.
Ověření obecného typu (operátor is v jazyce C# /isinst převodního jazyka IL) metodou Enumerable.OfType&lt;T&gt; nebude nikdy úspěšné s prvky zadaných typů a výsledkem bude prázdná sekvence.
Rozšíření a uživatelem definované převody se u obecných typů nepodporují.</target>
<note />
</trans-unit>
Expand Down Expand Up @@ -924,12 +924,12 @@ Obecné přetypování (IL unbox.any) používané sekvencí vrácenou metodou E
<note />
</trans-unit>
<trans-unit id="DoNotUseConfigureAwaitWithSuppressThrowingDescription">
<source>The ConfigureAwaitOptions.SuppressThrowing is only supported with the non-generic Task, not a Task&lt;TResult&gt;. To use it with a Task&lt;TResult&gt;, first cast to the base Task.</source>
<source>The ConfigureAwaitOptions.SuppressThrowing option is only supported with the non-generic Task, not a Task&lt;TResult&gt;. To use it with a Task&lt;TResult&gt;, first cast to the base Task.</source>
<target state="translated">ConfigureAwaitOptions.SuppressThrowing se podporuje pouze u neobecných úloh, nikoli u Task&lt;TResult&gt;. Pokud ho chcete použít s task&lt;TResult&gt;, nejprve ho přetypujte na základní úlohu.</target>
<note />
</trans-unit>
<trans-unit id="DoNotUseConfigureAwaitWithSuppressThrowingMessage">
<source>The ConfigureAwaitOptions.SuppressThrowing is only supported with the non-generic Task</source>
<source>The ConfigureAwaitOptions.SuppressThrowing option is only supported with the non-generic Task</source>
<target state="translated">ConfigureAwaitOptions.SuppressThrowing se podporuje pouze s neobecnou úlohou.</target>
<note />
</trans-unit>
Expand Down Expand Up @@ -3270,4 +3270,4 @@ Obecné přetypování (IL unbox.any) používané sekvencí vrácenou metodou E
</trans-unit>
</body>
</file>
</xliff>
</xliff>
Original file line number Diff line number Diff line change
Expand Up @@ -588,13 +588,13 @@
<note />
</trans-unit>
<trans-unit id="DoNotCallEnumerableCastOrOfTypeWithIncompatibleTypesDescription">
<source>Enumerable.Cast&lt;T&gt; and Enumerable.OfType&lt;T&gt; require compatible types to function expectedly.
The generic cast (IL 'unbox.any') used by the sequence returned by Enumerable.Cast&lt;T&gt; will throw InvalidCastException at runtime on elements of the types specified.
The generic type check (C# 'is' operator/IL 'isinst') used by Enumerable.OfType&lt;T&gt; will never succeed with elements of types specified, resulting in an empty sequence.
<source>Enumerable.Cast&lt;T&gt; and Enumerable.OfType&lt;T&gt; require compatible types to function expectedly.
The generic cast (IL 'unbox.any') used by the sequence returned by Enumerable.Cast&lt;T&gt; will throw InvalidCastException at runtime on elements of the types specified.
The generic type check (C# 'is' operator/IL 'isinst') used by Enumerable.OfType&lt;T&gt; will never succeed with elements of types specified, resulting in an empty sequence.
Widening and user defined conversions are not supported with generic types.</source>
<target state="translated">Enumerable.Cast&lt;T&gt; und Enumerable.OfType&lt;T&gt; erfordern kompatible Typen, um ordnungsgemäß zu funktionieren.
Die generische Umwandlung (IL „unbox.any“), die der von der von Enumerable.Cast&lt;T&gt; zurückgegebenen Sequenz verwendet wird, löst zur Laufzeit bei Elementen der angegebenen Typen eine InvalidCastException-Ausnahme aus.
Die von Enumerable.OfType&lt;T&gt; verwendete generische Typüberprüfung (C# „is“-Operator/IL „isinst“) wird nie erfolgreich ausgeführt, wenn Elemente von Typen angegeben werden, die in einer leeren Sequenz resultieren.
<target state="translated">Enumerable.Cast&lt;T&gt; und Enumerable.OfType&lt;T&gt; erfordern kompatible Typen, um ordnungsgemäß zu funktionieren.
Die generische Umwandlung (IL „unbox.any“), die der von der von Enumerable.Cast&lt;T&gt; zurückgegebenen Sequenz verwendet wird, löst zur Laufzeit bei Elementen der angegebenen Typen eine InvalidCastException-Ausnahme aus.
Die von Enumerable.OfType&lt;T&gt; verwendete generische Typüberprüfung (C# „is“-Operator/IL „isinst“) wird nie erfolgreich ausgeführt, wenn Elemente von Typen angegeben werden, die in einer leeren Sequenz resultieren.
Erweiterungen und benutzerdefinierte Konvertierungen werden bei generischen Typen nicht unterstützt.</target>
<note />
</trans-unit>
Expand Down Expand Up @@ -924,12 +924,12 @@ Erweiterungen und benutzerdefinierte Konvertierungen werden bei generischen Type
<note />
</trans-unit>
<trans-unit id="DoNotUseConfigureAwaitWithSuppressThrowingDescription">
<source>The ConfigureAwaitOptions.SuppressThrowing is only supported with the non-generic Task, not a Task&lt;TResult&gt;. To use it with a Task&lt;TResult&gt;, first cast to the base Task.</source>
<source>The ConfigureAwaitOptions.SuppressThrowing option is only supported with the non-generic Task, not a Task&lt;TResult&gt;. To use it with a Task&lt;TResult&gt;, first cast to the base Task.</source>
<target state="translated">"ConfigureResultitOptions.SuppressInternewing" wird nur mit dem nicht generischen Task und nicht mit einem Task&lt;TResult&gt; unterstützt. Um es mit einem Task&lt;TResult&gt; zu verwenden, wandeln Sie zuerst in den Basistask um.</target>
<note />
</trans-unit>
<trans-unit id="DoNotUseConfigureAwaitWithSuppressThrowingMessage">
<source>The ConfigureAwaitOptions.SuppressThrowing is only supported with the non-generic Task</source>
<source>The ConfigureAwaitOptions.SuppressThrowing option is only supported with the non-generic Task</source>
<target state="translated">"Configure OdbcitOptions.SuppressInternewing" wird nur mit dem nicht generischen Task unterstützt.</target>
<note />
</trans-unit>
Expand Down Expand Up @@ -3270,4 +3270,4 @@ Erweiterungen und benutzerdefinierte Konvertierungen werden bei generischen Type
</trans-unit>
</body>
</file>
</xliff>
</xliff>
Original file line number Diff line number Diff line change
Expand Up @@ -588,13 +588,13 @@
<note />
</trans-unit>
<trans-unit id="DoNotCallEnumerableCastOrOfTypeWithIncompatibleTypesDescription">
<source>Enumerable.Cast&lt;T&gt; and Enumerable.OfType&lt;T&gt; require compatible types to function expectedly.
The generic cast (IL 'unbox.any') used by the sequence returned by Enumerable.Cast&lt;T&gt; will throw InvalidCastException at runtime on elements of the types specified.
The generic type check (C# 'is' operator/IL 'isinst') used by Enumerable.OfType&lt;T&gt; will never succeed with elements of types specified, resulting in an empty sequence.
<source>Enumerable.Cast&lt;T&gt; and Enumerable.OfType&lt;T&gt; require compatible types to function expectedly.
The generic cast (IL 'unbox.any') used by the sequence returned by Enumerable.Cast&lt;T&gt; will throw InvalidCastException at runtime on elements of the types specified.
The generic type check (C# 'is' operator/IL 'isinst') used by Enumerable.OfType&lt;T&gt; will never succeed with elements of types specified, resulting in an empty sequence.
Widening and user defined conversions are not supported with generic types.</source>
<target state="translated">Enumerable.Cast&lt;T&gt; y Enumerable.OfType&lt;T&gt; requieren tipos compatibles para funcionar de manera esperada.
La conversión genérica ("unbox.any" de IL) usada por la secuencia devuelta por Enumerable.Cast&lt;T&gt; iniciará InvalidCastException en tiempo de ejecución en los elementos de los tipos especificados.
La comprobación de tipos genéricos (operador "is" de C# o "isinst" de IL) usada por Enumerable.OfType&lt;T&gt; nunca se completará correctamente con los elementos de tipos especificados, lo que provocará una secuencia vacía.
<target state="translated">Enumerable.Cast&lt;T&gt; y Enumerable.OfType&lt;T&gt; requieren tipos compatibles para funcionar de manera esperada.
La conversión genérica ("unbox.any" de IL) usada por la secuencia devuelta por Enumerable.Cast&lt;T&gt; iniciará InvalidCastException en tiempo de ejecución en los elementos de los tipos especificados.
La comprobación de tipos genéricos (operador "is" de C# o "isinst" de IL) usada por Enumerable.OfType&lt;T&gt; nunca se completará correctamente con los elementos de tipos especificados, lo que provocará una secuencia vacía.
La ampliación y las conversiones definidas por el usuario no se admiten con tipos genéricos.</target>
<note />
</trans-unit>
Expand Down Expand Up @@ -924,12 +924,12 @@ La ampliación y las conversiones definidas por el usuario no se admiten con tip
<note />
</trans-unit>
<trans-unit id="DoNotUseConfigureAwaitWithSuppressThrowingDescription">
<source>The ConfigureAwaitOptions.SuppressThrowing is only supported with the non-generic Task, not a Task&lt;TResult&gt;. To use it with a Task&lt;TResult&gt;, first cast to the base Task.</source>
<source>The ConfigureAwaitOptions.SuppressThrowing option is only supported with the non-generic Task, not a Task&lt;TResult&gt;. To use it with a Task&lt;TResult&gt;, first cast to the base Task.</source>
<target state="translated">ConfigureAwaitOptions.SuppressThrowing solo se admite con Task no genérica, no con Task&lt;TResult&gt;. Para usarlo con Task&lt;TResult&gt;, convierta primero a Task base.</target>
<note />
</trans-unit>
<trans-unit id="DoNotUseConfigureAwaitWithSuppressThrowingMessage">
<source>The ConfigureAwaitOptions.SuppressThrowing is only supported with the non-generic Task</source>
<source>The ConfigureAwaitOptions.SuppressThrowing option is only supported with the non-generic Task</source>
<target state="translated">ConfigureAwaitOptions.SuppressThrowing solo se admite con Task no genérica</target>
<note />
</trans-unit>
Expand Down Expand Up @@ -3270,4 +3270,4 @@ La ampliación y las conversiones definidas por el usuario no se admiten con tip
</trans-unit>
</body>
</file>
</xliff>
</xliff>
Loading

0 comments on commit 88a390d

Please sign in to comment.