Skip to content

Commit 77d9ee7

Browse files
Fix IDE2000 globally
1 parent d3e12d0 commit 77d9ee7

File tree

128 files changed

+1
-167
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+1
-167
lines changed

ICSharpCode.BamlDecompiler/Baml/KnownThings.g.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1143,7 +1143,6 @@ void InitResources()
11431143
resources[59] = ("SystemColors", "WindowFrameColorKey", "WindowFrameColor");
11441144
resources[60] = ("SystemColors", "WindowTextColorKey", "WindowTextColor");
11451145

1146-
11471146
resources[63] = ("SystemFonts", "CaptionFontSizeKey", "CaptionFontSize");
11481147
resources[64] = ("SystemFonts", "CaptionFontFamilyKey", "CaptionFontFamily");
11491148
resources[65] = ("SystemFonts", "CaptionFontStyleKey", "CaptionFontStyle");
@@ -1175,7 +1174,6 @@ void InitResources()
11751174
resources[91] = ("SystemFonts", "IconFontWeightKey", "IconFontWeight");
11761175
resources[92] = ("SystemFonts", "IconFontTextDecorationsKey", "IconFontTextDecorations");
11771176

1178-
11791177
resources[95] = ("SystemParameters", "ThinHorizontalBorderHeightKey", "ThinHorizontalBorderHeight");
11801178
resources[96] = ("SystemParameters", "ThinVerticalBorderWidthKey", "ThinVerticalBorderWidth");
11811179
resources[97] = ("SystemParameters", "CursorWidthKey", "CursorWidth");
@@ -1314,7 +1312,6 @@ void InitResources()
13141312
resources[230] = ("ToolBar", "TextBoxStyleKey", "ToolBarTextBoxStyle");
13151313
resources[231] = ("ToolBar", "MenuStyleKey", "ToolBarMenuStyle");
13161314

1317-
13181315
resources[234] = ("SystemColors", "InactiveSelectionHighlightBrushKey", "InactiveSelectionHighlightBrush");
13191316
resources[235] = ("SystemColors", "InactiveSelectionHighlightTextBrushKey", "InactiveSelectionHighlightTextBrush");
13201317

ICSharpCode.Decompiler.TestRunner/Program.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,3 @@ static int Main(string[] args)
5454
return null;
5555
}
5656
}
57-
58-
59-
60-
61-

ICSharpCode.Decompiler.Tests/Helpers/Tester.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ internal static async Task Initialize()
137137
await RefAssembliesToolset.Fetch("5.0.0", sourcePath: "ref/net5.0").ConfigureAwait(false);
138138
await RefAssembliesToolset.Fetch("10.0.0-rc.2.25502.107", sourcePath: "ref/net10.0").ConfigureAwait(false);
139139

140-
141140
#if DEBUG
142141
await BuildTestRunner("win-x86", "Debug").ConfigureAwait(false);
143142
await BuildTestRunner("win-x64", "Debug").ConfigureAwait(false);
@@ -185,7 +184,6 @@ public static async Task<string> AssembleIL(string sourceFileName, AssemblerOpti
185184
otherOptions += "/exe ";
186185
}
187186

188-
189187
if (options.HasFlag(AssemblerOptions.UseDebug))
190188
{
191189
otherOptions += "/debug ";

ICSharpCode.Decompiler.Tests/Helpers/TestsAssemblyOutput.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
1717
// DEALINGS IN THE SOFTWARE.
1818

19-
2019
using System;
2120
using System.IO;
2221

ICSharpCode.Decompiler.Tests/Semantics/ConversionTests.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,6 @@ public void ConversionFromNUInt()
420420
Assert.That(ExplicitConversion(typeof(nuint), typeof(UIntPtr)), Is.EqualTo(C.IdentityConversion));
421421
}
422422

423-
424423
[Test]
425424
public void NIntEnumConversion()
426425
{
@@ -440,7 +439,6 @@ public void IntegerLiteralToNIntConversions()
440439
Assert.That(!IntegerLiteralConversion(long.MaxValue, typeof(nint)));
441440
}
442441

443-
444442
[Test]
445443
public void IntegerLiteralToNUIntConversions()
446444
{
@@ -1209,7 +1207,6 @@ static void M() {
12091207
Assert.That(c.IsUserDefined);
12101208
}
12111209
1212-
12131210
[Test]
12141211
public void UserDefined_CanUseLiftedEvenIfReturnTypeAlreadyNullable()
12151212
{

ICSharpCode.Decompiler.Tests/TestCases/Correctness/Async.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ public async Task AwaitMultipleCatchBlocks(Task<int> task)
180180
}
181181
}
182182

183-
184183
public async Task AwaitMultipleCatchBlocks2(Task<int> task)
185184
{
186185
try

ICSharpCode.Decompiler.Tests/TestCases/Correctness/ComInterop.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ public static void Main()
1616
Console.WriteLine(Marshal.GetComSlotForMethodInfo(typeof(IMixedPropsAndMethods).GetEvent("MyEvent1").RemoveMethod));
1717
}
1818

19-
2019
[Guid("761618B8-3994-449A-A96B-F1FF2795EA85")]
2120
[ComImport]
2221
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]

ICSharpCode.Decompiler.Tests/TestCases/Correctness/FloatingPointArithmetic.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ static float CastSignedToFloat(long val)
7272
return (float)val;
7373
}
7474

75-
7675
static double CastSignedToDouble(long val)
7776
{
7877
return (double)val;

ICSharpCode.Decompiler.Tests/TestCases/Correctness/LINQRaytracer.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ static class Surfaces
175175
Roughness = 150
176176
};
177177

178-
179178
public static readonly Surface Shiny =
180179
new Surface() {
181180
Diffuse = pos => Color.Make(1, 1, 1),

ICSharpCode.Decompiler.Tests/TestCases/Correctness/NullableTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ static void Assert(bool b)
9191
throw new InvalidOperationException();
9292
}
9393

94-
9594
static T GetValue<T>()
9695
{
9796
Console.WriteLine("GetValue");

0 commit comments

Comments
 (0)