Skip to content

Commit bfc4fb0

Browse files
committed
Exclude specific problematic Metalama warning from warnings as errors; reenable warnings as errors.
1 parent 4085f52 commit bfc4fb0

4 files changed

Lines changed: 8 additions & 4 deletions

File tree

Arkane.Core/Annotations/AuthorAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88
// Copyright Arkane Systems 2012-2026. All rights reserved.
99
//
10-
// Created: 2026-04-04 6:49 PM
10+
// Created: 2026-04-07 10:31 AM
1111

1212
#endregion
1313

Arkane.Core/Arkane.Core.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,11 @@ Please see project web site for more information.
3434
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
3535
<DebugType>embedded</DebugType>
3636
<IsTrimmable>False</IsTrimmable>
37-
<TreatWarningsAsErrors>False</TreatWarningsAsErrors>
37+
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
3838
<IsPublishable>False</IsPublishable>
3939
<VersionSuffix>dev</VersionSuffix>
4040
<DefineConstants>$(DefineConstants);JETBRAINS_ANNOTATIONS</DefineConstants>
41+
<WarningsNotAsErrors>LAMA5003</WarningsNotAsErrors>
4142
</PropertyGroup>
4243

4344
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
@@ -46,10 +47,13 @@ Please see project web site for more information.
4647
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
4748
<IsPublishable>False</IsPublishable>
4849
<DefineConstants>$(DefineConstants);JETBRAINS_ANNOTATIONS</DefineConstants>
50+
<WarningsNotAsErrors>LAMA5003</WarningsNotAsErrors>
4951
</PropertyGroup>
5052

5153
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='LamaDebug|AnyCPU'">
5254
<DefineConstants>$(DefineConstants);JETBRAINS_ANNOTATIONS</DefineConstants>
55+
<WarningsNotAsErrors>LAMA5003</WarningsNotAsErrors>
56+
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
5357
</PropertyGroup>
5458

5559
<ItemGroup>

Arkane.Core/DisposerByReflection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88
// Copyright Arkane Systems 2012-2026. All rights reserved.
99
//
10-
// Created: 2026-04-04 6:49 PM
10+
// Created: 2026-04-07 10:31 AM
1111

1212
#endregion
1313

Arkane.Core/GlobalFabric.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88
// Copyright Arkane Systems 2012-2026. All rights reserved.
99
//
10-
// Created: 2026-04-06 5:00 PM
10+
// Created: 2026-04-07 10:31 AM
1111

1212
#endregion
1313

0 commit comments

Comments
 (0)