Browse Source

Remove unused code.

pull/1633/head
Siegfried Pammer 6 years ago
parent
commit
cccd02c2da
  1. 10
      ILSpy/Languages/CSharpBracketSearcher.cs

10
ILSpy/Languages/CSharpBracketSearcher.cs

@ -55,16 +55,6 @@ namespace ICSharpCode.ILSpy @@ -55,16 +55,6 @@ namespace ICSharpCode.ILSpy
return null;
}
bool IsBracketOnly(IDocument document, IDocumentLine documentLine)
{
string lineText = document.GetText(documentLine).Trim();
return lineText == "{" || string.IsNullOrEmpty(lineText)
|| lineText.StartsWith("//", StringComparison.Ordinal)
|| lineText.StartsWith("/*", StringComparison.Ordinal)
|| lineText.StartsWith("*", StringComparison.Ordinal)
|| lineText.StartsWith("'", StringComparison.Ordinal);
}
#region SearchBracket helper functions
static int ScanLineStart(IDocument document, int offset)
{

Loading…
Cancel
Save