disable no longer relevant CA2007 warning for .NET Core apps

ref https://github.com/dotnet-architecture/eShopOnContainers/issues/515#issuecomment-469692449
This commit is contained in:
Collin M. Barrett 2019-07-05 16:09:53 -05:00
parent cb7f2a9d08
commit 3a8c9286a3
8 changed files with 15 additions and 8 deletions

View file

@ -133,7 +133,7 @@
<!-- Mark members as static -->
<Rule Id="CA1823" Action="Warning" />
<!-- Avoid unused private fields -->
<Rule Id="CA2007" Action="Warning" />
<Rule Id="CA2007" Action="None" /> <!-- https://stackoverflow.com/a/42058544 -->
<!-- Consider calling ConfigureAwait on the awaited task -->
<Rule Id="CA2119" Action="Warning" />
<!-- Seal methods that satisfy private interfaces -->

View file

@ -133,7 +133,8 @@
<!-- Mark members as static -->
<Rule Id="CA1823" Action="Warning" />
<!-- Avoid unused private fields -->
<Rule Id="CA2007" Action="Warning" />
<Rule Id="CA2007" Action="None" />
<!-- https://stackoverflow.com/a/42058544 -->
<!-- Consider calling ConfigureAwait on the awaited task -->
<Rule Id="CA2119" Action="Warning" />
<!-- Seal methods that satisfy private interfaces -->

View file

@ -133,7 +133,8 @@
<!-- Mark members as static -->
<Rule Id="CA1823" Action="Warning" />
<!-- Avoid unused private fields -->
<Rule Id="CA2007" Action="Warning" />
<Rule Id="CA2007" Action="None" />
<!-- https://stackoverflow.com/a/42058544 -->
<!-- Consider calling ConfigureAwait on the awaited task -->
<Rule Id="CA2119" Action="Warning" />
<!-- Seal methods that satisfy private interfaces -->

View file

@ -133,7 +133,8 @@
<!-- Mark members as static -->
<Rule Id="CA1823" Action="Warning" />
<!-- Avoid unused private fields -->
<Rule Id="CA2007" Action="Warning" />
<Rule Id="CA2007" Action="None" />
<!-- https://stackoverflow.com/a/42058544 -->
<!-- Consider calling ConfigureAwait on the awaited task -->
<Rule Id="CA2119" Action="Warning" />
<!-- Seal methods that satisfy private interfaces -->

View file

@ -133,7 +133,8 @@
<!-- Mark members as static -->
<Rule Id="CA1823" Action="Warning" />
<!-- Avoid unused private fields -->
<Rule Id="CA2007" Action="Warning" />
<Rule Id="CA2007" Action="None" />
<!-- https://stackoverflow.com/a/42058544 -->
<!-- Consider calling ConfigureAwait on the awaited task -->
<Rule Id="CA2119" Action="Warning" />
<!-- Seal methods that satisfy private interfaces -->

View file

@ -133,7 +133,8 @@
<!-- Mark members as static -->
<Rule Id="CA1823" Action="Warning" />
<!-- Avoid unused private fields -->
<Rule Id="CA2007" Action="Warning" />
<Rule Id="CA2007" Action="None" />
<!-- https://stackoverflow.com/a/42058544 -->
<!-- Consider calling ConfigureAwait on the awaited task -->
<Rule Id="CA2119" Action="Warning" />
<!-- Seal methods that satisfy private interfaces -->

View file

@ -133,7 +133,8 @@
<!-- Mark members as static -->
<Rule Id="CA1823" Action="Warning" />
<!-- Avoid unused private fields -->
<Rule Id="CA2007" Action="Warning" />
<Rule Id="CA2007" Action="None" />
<!-- https://stackoverflow.com/a/42058544 -->
<!-- Consider calling ConfigureAwait on the awaited task -->
<Rule Id="CA2119" Action="Warning" />
<!-- Seal methods that satisfy private interfaces -->

View file

@ -133,7 +133,8 @@
<!-- Mark members as static -->
<Rule Id="CA1823" Action="Warning" />
<!-- Avoid unused private fields -->
<Rule Id="CA2007" Action="Warning" />
<Rule Id="CA2007" Action="None" />
<!-- https://stackoverflow.com/a/42058544 -->
<!-- Consider calling ConfigureAwait on the awaited task -->
<Rule Id="CA2119" Action="Warning" />
<!-- Seal methods that satisfy private interfaces -->