handzlikchris / handzlikchris/FastScriptReload
Builder internal class constructor rewrite issue [Workaround]
- Lingua principale
- C#
- Stelle
- 2.2k
- Fork
- 167
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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*/);
}
}
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.