File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 21
21
<Product >DotnetNative.Base</Product >
22
22
<AssemblyName >DotnetNative.Base</AssemblyName >
23
23
<RootNamespace >DotnetNative.Base</RootNamespace >
24
+ </PropertyGroup >
25
+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|x64'" >
26
+ <NoWarn >1701;1702;CS8500</NoWarn >
27
+ </PropertyGroup >
28
+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|x64'" >
29
+ <NoWarn >1701;1702;CS8500</NoWarn >
24
30
</PropertyGroup >
25
31
<ItemGroup >
26
32
<Using Include =" System.Runtime.CompilerServices" />
Original file line number Diff line number Diff line change 1
- #pragma warning disable CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type
2
- public unsafe struct pointer
1
+ public unsafe struct pointer
3
2
{
4
3
public pointer ( nint address ) => Address = address ;
5
4
@@ -99,4 +98,3 @@ public unsafe struct pointer
99
98
[ MethodImpl ( AggressiveInlining ) ] public static implicit operator delegate* unmanaged < void > ( pointer pointer ) => ( delegate * unmanaged< void > ) pointer ;
100
99
#endregion
101
100
}
102
- #pragma warning restore CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type
You can’t perform that action at this time.
0 commit comments