-
Notifications
You must be signed in to change notification settings - Fork 145
Open
Labels
featureNew feature or requestNew feature or requestuser-code-rewriteRelates to code rewrite that tool performs on user code to make it compilable / redirect-readyRelates to code rewrite that tool performs on user code to make it compilable / redirect-ready
Description
This is the usecase I'd like to make workable. I open this as a reference and will try to make a PR sooner or later.
public class MyClass{
private void MyMethod(){
var myOtherInstanceOfMyClass = RetrieveOtherInstance<MyClass>();
myOtherInstanceOfMyClass.MyOtherMethod();
myOtherInstanceOfMyClass = RetrieveOtherInstance(typeof(MyClass));
myOtherInstanceOfMyClass.MyOtherMethod();
MyClass myOtherAgain= new MyClass();
myOtherAgain.MyOtherMethod();
}
private void MyOtherMethod(){};
}It seems doable as we simply need to rewrite <MyClass> and Typeof(myclass) and class naming, which is not rewritten when in the same class as of now.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or requestuser-code-rewriteRelates to code rewrite that tool performs on user code to make it compilable / redirect-readyRelates to code rewrite that tool performs on user code to make it compilable / redirect-ready