R#6 - Refactoring: Move to another file does not work!


In one of my ASP.NET demo projects, I have this piece of code, but the move to another file does not seems to work, a known bug ?

using System;
using System.Web;
using System.Web.UI;

using Shilony.Web;

public class DisposableObject : IDisposable
    public DisposableObject()
        HttpContext.Current.Response.Write("<br/>I'm created.<br/>");

    public void Dispose()
        HttpContext.Current.Response.Write("<br/>I'm disposed.<br/>");

public partial class _Default : Page
    protected void Page_Load(object sender, EventArgs e)

1 comment
Comment actions Permalink

Hello Eyal,

I'm afraid I couldn't reproduce this problem. Could you please attach a small
demo solution along with exact repro steps? Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
"Develop with pleasure!"



Please sign in to leave a comment.