handzlikchris / handzlikchris/FastScriptReload
Rewrites for same class token
- Dominant language
- C#
- Stars
- 2.2k
- Forks
- 167
- PR merge metrics
- No merged PRs in 30d
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.
````c#
public class MyClass{
private void MyMethod(){
var myOtherInstanceOfMyClass = RetrieveOtherInstance();
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 `` and `Typeof(myclass)` and class naming, which is not rewritten when in the same class as of now.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.