Enable MA0090 outside of Cores project
"Remove empty else/finally block"
This commit is contained in:
parent
c4498685c2
commit
a329d44e41
|
@ -279,7 +279,7 @@ dotnet_diagnostic.MA0088.severity = error
|
|||
# Optimize string method usage
|
||||
dotnet_diagnostic.MA0089.severity = error
|
||||
# Remove empty else/finally block
|
||||
dotnet_diagnostic.MA0090.severity = silent
|
||||
dotnet_diagnostic.MA0090.severity = warning
|
||||
# Sender should be 'this' for instance events
|
||||
dotnet_diagnostic.MA0091.severity = error
|
||||
# Sender should be 'null' for static events
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<Import Project="../MainSlnCommon.props" />
|
||||
<PropertyGroup>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<NoWarn>$(NoWarn);CA1806;CA1825;CA2214;MA0084;MA0140;SA1100;SA1120;SA1129;SA1137;SA1205;SA1208;SA1400</NoWarn>
|
||||
<NoWarn>$(NoWarn);CA1806;CA1825;CA2214;MA0084;MA0090;MA0140;SA1100;SA1120;SA1129;SA1137;SA1205;SA1208;SA1400</NoWarn>
|
||||
<Nullable>disable</Nullable>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
|
|
Loading…
Reference in New Issue