Browse Source

remove unused code

newNRILSpyDebugger
Siegfried Pammer 12 years ago
parent
commit
028be7ef0a
  1. 1
      src/AddIns/Debugger/Debugger.AddIn/Pads/ClassBrowserSupport.cs
  2. 2
      src/Libraries/NRefactory/ICSharpCode.NRefactory.CSharp/Ast/AstNode.cs
  3. 10
      src/Libraries/NRefactory/ICSharpCode.NRefactory.CSharp/OutputVisitor/InsertRequiredSpacesDecorator.cs

1
src/AddIns/Debugger/Debugger.AddIn/Pads/ClassBrowserSupport.cs

@ -185,7 +185,6 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads @@ -185,7 +185,6 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads
static IAssemblyModel CreateAssemblyModel(Module module)
{
// references??
IEntityModelContext context = new DebuggerProcessEntityModelContext(module.Process, module);
IUpdateableAssemblyModel model = SD.GetRequiredService<IModelFactory>().CreateAssemblyModel(context);
var types = module.Assembly.TopLevelTypeDefinitions.SelectMany(td => td.Parts).ToList();

2
src/Libraries/NRefactory/ICSharpCode.NRefactory.CSharp/Ast/AstNode.cs

@ -415,7 +415,7 @@ namespace ICSharpCode.NRefactory.CSharp @@ -415,7 +415,7 @@ namespace ICSharpCode.NRefactory.CSharp
AddChildUnsafe (child, role);
}
public void AddChildWithExistingRole<T> (T child) where T : AstNode
public void AddChildWithExistingRole (AstNode child)
{
if (child == null || child.IsNull)
return;

10
src/Libraries/NRefactory/ICSharpCode.NRefactory.CSharp/OutputVisitor/InsertRequiredSpacesDecorator.cs

@ -115,16 +115,6 @@ namespace ICSharpCode.NRefactory.CSharp @@ -115,16 +115,6 @@ namespace ICSharpCode.NRefactory.CSharp
lastWritten = LastWritten.Whitespace;
}
public void Indent()
{
throw new NotImplementedException();
}
public void Unindent()
{
throw new NotImplementedException();
}
public override void NewLine()
{
base.NewLine();

Loading…
Cancel
Save