Enable MA0084 and fix noncompliance (except in Cores)
"Local variable should not hide other symbols"
This commit is contained in:
parent
d142555ec3
commit
0f6e6a5a03
|
@ -363,7 +363,7 @@
|
|||
<Rule Id="MA0083" Action="Error" />
|
||||
|
||||
<!-- Local variable should not hide other symbols -->
|
||||
<Rule Id="MA0084" Action="Hidden" />
|
||||
<Rule Id="MA0084" Action="Warning" />
|
||||
|
||||
<!-- Anonymous delegates should not be used to unsubscribe from Events -->
|
||||
<Rule Id="MA0085" Action="Error" />
|
||||
|
|
|
@ -516,8 +516,8 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
AVIWriterImports.AVICOMPRESSOPTIONS comprOptions = new AVIWriterImports.AVICOMPRESSOPTIONS();
|
||||
|
||||
byte[] Format;
|
||||
byte[] Parms;
|
||||
byte[] format;
|
||||
byte[] parms;
|
||||
|
||||
try
|
||||
{
|
||||
|
@ -534,8 +534,8 @@ namespace BizHawk.Client.EmuHawk
|
|||
comprOptions.cbParms = b.ReadInt32();
|
||||
comprOptions.dwInterleaveEvery = b.ReadInt32();
|
||||
|
||||
Format = b.ReadBytes(comprOptions.cbFormat);
|
||||
Parms = b.ReadBytes(comprOptions.cbParms);
|
||||
format = b.ReadBytes(comprOptions.cbFormat);
|
||||
parms = b.ReadBytes(comprOptions.cbParms);
|
||||
}
|
||||
catch (IOException)
|
||||
{
|
||||
|
@ -550,8 +550,8 @@ namespace BizHawk.Client.EmuHawk
|
|||
var ret = new CodecToken
|
||||
{
|
||||
_comprOptions = comprOptions,
|
||||
Format = Format,
|
||||
Parms = Parms,
|
||||
Format = format,
|
||||
Parms = parms,
|
||||
codec = Decode_mmioFOURCC(comprOptions.fccHandler)
|
||||
};
|
||||
return ret;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<Import Project="../MainSlnCommon.props" />
|
||||
<PropertyGroup>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<NoWarn>$(NoWarn);CA1806;CA1825;CA2214;SA1100;SA1120;SA1129;SA1137;SA1205;SA1208;SA1400</NoWarn>
|
||||
<NoWarn>$(NoWarn);CA1806;CA1825;CA2214;MA0084;SA1100;SA1120;SA1129;SA1137;SA1205;SA1208;SA1400</NoWarn>
|
||||
<Nullable>disable</Nullable>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
|
|
Loading…
Reference in New Issue