mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
build(directory): 🔨 globally suppress CA1812
This commit is contained in:
parent
f195c7d3b5
commit
6f9cd5d6e3
5 changed files with 8 additions and 10 deletions
|
|
@ -20,11 +20,11 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<NoWarn>1701;1702;CA2007</NoWarn>
|
||||
<NoWarn>1701;1702;CA2007;CA1812</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||
<NoWarn>CA2007</NoWarn>
|
||||
<NoWarn>CA2007;CA1812</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
|||
|
|
@ -7,9 +7,7 @@
|
|||
|
||||
namespace FilterLists.Directory.Api
|
||||
{
|
||||
#pragma warning disable CA1812
|
||||
internal class Startup
|
||||
#pragma warning restore CA1812
|
||||
{
|
||||
public Startup(IConfiguration configuration)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -17,11 +17,11 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<NoWarn>1701;1702;CA2007;CA1034</NoWarn>
|
||||
<NoWarn>1701;1702;CA2007;CA1034;CA1812</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||
<NoWarn>CA2007;CA1034</NoWarn>
|
||||
<NoWarn>CA2007;CA1034;CA1812</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
|||
|
|
@ -17,11 +17,11 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<NoWarn>1701;1702;CA2007</NoWarn>
|
||||
<NoWarn>1701;1702;CA2007;CA1812</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||
<NoWarn>CA2007</NoWarn>
|
||||
<NoWarn>CA2007;CA1812</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
|||
|
|
@ -17,11 +17,11 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<NoWarn>1701;1702;CA2007</NoWarn>
|
||||
<NoWarn>1701;1702;CA2007;CA1812</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||
<NoWarn>CA2007</NoWarn>
|
||||
<NoWarn>CA2007;CA1812</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
|||
Loading…
Reference in a new issue