Skip to content

Commit 66470c0

Browse files
committed
Make exception non-serializable
1 parent 141106f commit 66470c0

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

App/Services/Exceptions/MarketChartException.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
namespace Services.Exceptions;
22

3-
[Serializable]
43
public class MarketChartException : Exception
54
{
65
public MarketChartException()

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<EnforeCodeStyleInBuild>true</EnforeCodeStyleInBuild>
1515
<EnableNETAnalyzers>true</EnableNETAnalyzers>
1616
<EnableCodeAnalysis>true</EnableCodeAnalysis>
17-
<NoWarn>S6678;CA2007;CA1848;CA1002;S3925;CA1819;CA1305;CA1062;CA2000;CA5394;CA1724;CA1031;S3267;CA1515;S1118;CA1707;CA2234;CA1051;CA1063;S3881</NoWarn>
17+
<NoWarn>S6678;CA2007;CA1848;CA1002;CA1819;CA1305;CA1062;CA2000;CA5394;CA1724;CA1031;S3267;CA1515;S1118;CA1707;CA2234;CA1051;CA1063;S3881</NoWarn>
1818
</PropertyGroup>
1919
<ItemGroup Condition="'$(MSBuildProjectExtension)' != '.dcproj'">
2020
<PackageReference Include="SonarAnalyzer.CSharp">

0 commit comments

Comments
 (0)