Skip to content

Commit

Permalink
removing conditional filters for unsafe code property (#1444)
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Kuhn <benkuhn@ntdev.microsoft.com>
  • Loading branch information
BenJKuhn and Ben Kuhn authored Jan 25, 2023
1 parent cd755e4 commit a7ede50
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
6 changes: 1 addition & 5 deletions sources/MetadataUtils/MetadataUtils.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>

Expand Down
9 changes: 0 additions & 9 deletions sources/Win32MetadataInterop/Win32MetadataInterop.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,7 @@
<TargetFramework>netstandard2.1</TargetFramework>
<RootNamespace>Windows.Win32.Interop</RootNamespace>
<AssemblyName>Windows.Win32.Interop</AssemblyName>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<NoWarn>1701;1702;0649</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<NoWarn>1701;1702;0649</NoWarn>
</PropertyGroup>

</Project>

0 comments on commit a7ede50

Please sign in to comment.