Skip to content

Commit

Permalink
Update rule description, message and title
Browse files Browse the repository at this point in the history
  • Loading branch information
Jozkee committed Aug 14, 2023
1 parent 28d5f32 commit 4c24fa0
Show file tree
Hide file tree
Showing 14 changed files with 81 additions and 81 deletions.
Expand Up @@ -2130,12 +2130,12 @@ Widening and user defined conversions are not supported with generic types.</val
<value>Use char overload</value>
</data>
<data name="AvoidSingleUseOfLocalJsonSerializerOptionsMessage" xml:space="preserve">
<value>Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton</value>
<value>Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead.</value>
</data>
<data name="AvoidSingleUseOfLocalJsonSerializerOptionsDescription" xml:space="preserve">
<value>Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton. Single-use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</value>
<value>Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead. Single use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</value>
</data>
<data name="AvoidSingleUseOfLocalJsonSerializerOptionsTitle" xml:space="preserve">
<value>Reuse 'JsonSerializerOptions' instances</value>
<value>Cache and reuse 'JsonSerializerOptions' instances</value>
</data>
</root>
Expand Up @@ -68,18 +68,18 @@
<note />
</trans-unit>
<trans-unit id="AvoidSingleUseOfLocalJsonSerializerOptionsDescription">
<source>Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton. Single-use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</source>
<target state="new">Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton. Single-use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</target>
<source>Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead. Single use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</source>
<target state="new">Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead. Single use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</target>
<note />
</trans-unit>
<trans-unit id="AvoidSingleUseOfLocalJsonSerializerOptionsMessage">
<source>Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton</source>
<target state="new">Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton</target>
<source>Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead.</source>
<target state="new">Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead.</target>
<note />
</trans-unit>
<trans-unit id="AvoidSingleUseOfLocalJsonSerializerOptionsTitle">
<source>Reuse 'JsonSerializerOptions' instances</source>
<target state="new">Reuse 'JsonSerializerOptions' instances</target>
<source>Cache and reuse 'JsonSerializerOptions' instances</source>
<target state="new">Cache and reuse 'JsonSerializerOptions' instances</target>
<note />
</trans-unit>
<trans-unit id="AvoidStringBuilderPInvokeParametersDescription">
Expand Down
Expand Up @@ -68,18 +68,18 @@
<note />
</trans-unit>
<trans-unit id="AvoidSingleUseOfLocalJsonSerializerOptionsDescription">
<source>Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton. Single-use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</source>
<target state="new">Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton. Single-use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</target>
<source>Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead. Single use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</source>
<target state="new">Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead. Single use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</target>
<note />
</trans-unit>
<trans-unit id="AvoidSingleUseOfLocalJsonSerializerOptionsMessage">
<source>Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton</source>
<target state="new">Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton</target>
<source>Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead.</source>
<target state="new">Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead.</target>
<note />
</trans-unit>
<trans-unit id="AvoidSingleUseOfLocalJsonSerializerOptionsTitle">
<source>Reuse 'JsonSerializerOptions' instances</source>
<target state="new">Reuse 'JsonSerializerOptions' instances</target>
<source>Cache and reuse 'JsonSerializerOptions' instances</source>
<target state="new">Cache and reuse 'JsonSerializerOptions' instances</target>
<note />
</trans-unit>
<trans-unit id="AvoidStringBuilderPInvokeParametersDescription">
Expand Down
Expand Up @@ -68,18 +68,18 @@
<note />
</trans-unit>
<trans-unit id="AvoidSingleUseOfLocalJsonSerializerOptionsDescription">
<source>Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton. Single-use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</source>
<target state="new">Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton. Single-use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</target>
<source>Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead. Single use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</source>
<target state="new">Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead. Single use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</target>
<note />
</trans-unit>
<trans-unit id="AvoidSingleUseOfLocalJsonSerializerOptionsMessage">
<source>Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton</source>
<target state="new">Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton</target>
<source>Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead.</source>
<target state="new">Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead.</target>
<note />
</trans-unit>
<trans-unit id="AvoidSingleUseOfLocalJsonSerializerOptionsTitle">
<source>Reuse 'JsonSerializerOptions' instances</source>
<target state="new">Reuse 'JsonSerializerOptions' instances</target>
<source>Cache and reuse 'JsonSerializerOptions' instances</source>
<target state="new">Cache and reuse 'JsonSerializerOptions' instances</target>
<note />
</trans-unit>
<trans-unit id="AvoidStringBuilderPInvokeParametersDescription">
Expand Down
Expand Up @@ -68,18 +68,18 @@
<note />
</trans-unit>
<trans-unit id="AvoidSingleUseOfLocalJsonSerializerOptionsDescription">
<source>Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton. Single-use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</source>
<target state="new">Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton. Single-use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</target>
<source>Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead. Single use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</source>
<target state="new">Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead. Single use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</target>
<note />
</trans-unit>
<trans-unit id="AvoidSingleUseOfLocalJsonSerializerOptionsMessage">
<source>Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton</source>
<target state="new">Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton</target>
<source>Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead.</source>
<target state="new">Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead.</target>
<note />
</trans-unit>
<trans-unit id="AvoidSingleUseOfLocalJsonSerializerOptionsTitle">
<source>Reuse 'JsonSerializerOptions' instances</source>
<target state="new">Reuse 'JsonSerializerOptions' instances</target>
<source>Cache and reuse 'JsonSerializerOptions' instances</source>
<target state="new">Cache and reuse 'JsonSerializerOptions' instances</target>
<note />
</trans-unit>
<trans-unit id="AvoidStringBuilderPInvokeParametersDescription">
Expand Down
Expand Up @@ -68,18 +68,18 @@
<note />
</trans-unit>
<trans-unit id="AvoidSingleUseOfLocalJsonSerializerOptionsDescription">
<source>Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton. Single-use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</source>
<target state="new">Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton. Single-use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</target>
<source>Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead. Single use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</source>
<target state="new">Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead. Single use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</target>
<note />
</trans-unit>
<trans-unit id="AvoidSingleUseOfLocalJsonSerializerOptionsMessage">
<source>Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton</source>
<target state="new">Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton</target>
<source>Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead.</source>
<target state="new">Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead.</target>
<note />
</trans-unit>
<trans-unit id="AvoidSingleUseOfLocalJsonSerializerOptionsTitle">
<source>Reuse 'JsonSerializerOptions' instances</source>
<target state="new">Reuse 'JsonSerializerOptions' instances</target>
<source>Cache and reuse 'JsonSerializerOptions' instances</source>
<target state="new">Cache and reuse 'JsonSerializerOptions' instances</target>
<note />
</trans-unit>
<trans-unit id="AvoidStringBuilderPInvokeParametersDescription">
Expand Down
Expand Up @@ -68,18 +68,18 @@
<note />
</trans-unit>
<trans-unit id="AvoidSingleUseOfLocalJsonSerializerOptionsDescription">
<source>Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton. Single-use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</source>
<target state="new">Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton. Single-use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</target>
<source>Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead. Single use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</source>
<target state="new">Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead. Single use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</target>
<note />
</trans-unit>
<trans-unit id="AvoidSingleUseOfLocalJsonSerializerOptionsMessage">
<source>Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton</source>
<target state="new">Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton</target>
<source>Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead.</source>
<target state="new">Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead.</target>
<note />
</trans-unit>
<trans-unit id="AvoidSingleUseOfLocalJsonSerializerOptionsTitle">
<source>Reuse 'JsonSerializerOptions' instances</source>
<target state="new">Reuse 'JsonSerializerOptions' instances</target>
<source>Cache and reuse 'JsonSerializerOptions' instances</source>
<target state="new">Cache and reuse 'JsonSerializerOptions' instances</target>
<note />
</trans-unit>
<trans-unit id="AvoidStringBuilderPInvokeParametersDescription">
Expand Down
Expand Up @@ -68,18 +68,18 @@
<note />
</trans-unit>
<trans-unit id="AvoidSingleUseOfLocalJsonSerializerOptionsDescription">
<source>Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton. Single-use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</source>
<target state="new">Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton. Single-use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</target>
<source>Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead. Single use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</source>
<target state="new">Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead. Single use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</target>
<note />
</trans-unit>
<trans-unit id="AvoidSingleUseOfLocalJsonSerializerOptionsMessage">
<source>Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton</source>
<target state="new">Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton</target>
<source>Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead.</source>
<target state="new">Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead.</target>
<note />
</trans-unit>
<trans-unit id="AvoidSingleUseOfLocalJsonSerializerOptionsTitle">
<source>Reuse 'JsonSerializerOptions' instances</source>
<target state="new">Reuse 'JsonSerializerOptions' instances</target>
<source>Cache and reuse 'JsonSerializerOptions' instances</source>
<target state="new">Cache and reuse 'JsonSerializerOptions' instances</target>
<note />
</trans-unit>
<trans-unit id="AvoidStringBuilderPInvokeParametersDescription">
Expand Down
Expand Up @@ -68,18 +68,18 @@
<note />
</trans-unit>
<trans-unit id="AvoidSingleUseOfLocalJsonSerializerOptionsDescription">
<source>Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton. Single-use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</source>
<target state="new">Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton. Single-use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</target>
<source>Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead. Single use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</source>
<target state="new">Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead. Single use 'JsonSerializerOptions' instances can substantially degrade the performance of your application.</target>
<note />
</trans-unit>
<trans-unit id="AvoidSingleUseOfLocalJsonSerializerOptionsMessage">
<source>Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton</source>
<target state="new">Reuse the 'JsonSerializerOptions' instance by moving it to a static field, or use a singleton</target>
<source>Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead.</source>
<target state="new">Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead.</target>
<note />
</trans-unit>
<trans-unit id="AvoidSingleUseOfLocalJsonSerializerOptionsTitle">
<source>Reuse 'JsonSerializerOptions' instances</source>
<target state="new">Reuse 'JsonSerializerOptions' instances</target>
<source>Cache and reuse 'JsonSerializerOptions' instances</source>
<target state="new">Cache and reuse 'JsonSerializerOptions' instances</target>
<note />
</trans-unit>
<trans-unit id="AvoidStringBuilderPInvokeParametersDescription">
Expand Down

0 comments on commit 4c24fa0

Please sign in to comment.