Browse Source

Remove unused BamlDecompiler/Extensions.cs

pull/1984/head
Siegfried Pammer 5 years ago
parent
commit
a9e8d1e7ec
  1. 22
      ILSpy.BamlDecompiler/Extensions.cs
  2. 1
      ILSpy.BamlDecompiler/ILSpy.BamlDecompiler.csproj

22
ILSpy.BamlDecompiler/Extensions.cs

@ -1,22 +0,0 @@ @@ -1,22 +0,0 @@
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team
// This code is distributed under the MS-PL (for details please see \doc\MS-PL.txt)
using System;
using System.Linq;
namespace ILSpy.BamlDecompiler
{
public static class Extensions
{
public static string TrimEnd(this string target, Func<char, bool> predicate)
{
if (target == null)
throw new ArgumentNullException("target");
while (predicate(target.LastOrDefault()))
target = target.Remove(target.Length - 1);
return target;
}
}
}

1
ILSpy.BamlDecompiler/ILSpy.BamlDecompiler.csproj

@ -67,7 +67,6 @@ @@ -67,7 +67,6 @@
<Compile Include="Baml\KnownThings.g.cs" />
<Compile Include="Baml\KnownTypes.cs" />
<Compile Include="BamlConnectionId.cs" />
<Compile Include="Extensions.cs" />
<Compile Include="Handlers\Blocks\ConstructorParametersHandler.cs" />
<Compile Include="Handlers\Blocks\DocumentHandler.cs" />
<Compile Include="Handlers\Blocks\ElementHandler.cs" />

Loading…
Cancel
Save