handzlikchris / handzlikchris/FastScriptReload
Builder internal class constructor rewrite issue [Workaround]
- Dominant language
- C#
- Stars
- 2.2k
- Forks
- 167
- PR merge metrics
- No merged PRs in 30d
Description
Current Workaround
========
Thanks to new c# syntax rewrites nicely as type can be omited.
```c#
public class Ghost{
public Ghost MyBuilderFunc()
{
return new /*Remove Class name*/(/*params*/);
}
}
```
Issue
====
```c#
public class Ghost{
public Ghost MyBuilderFunc()
{
return new Ghost(/*params*/);
}
}
```
rewrites to and fail as class mismatch
```c#
public class Ghost__Patched{
public Ghost__Patched MyBuilderFunc()
{
return new Ghost(/*params*/);
}
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.