Generated methods can only be static if the class is marked as static or non-partial.
Closed this issue · 0 comments
SoftStoneDevelop commented
There is no point in having static methods in a non-static partial class. Such a class itself implies that we want to access instance methods. For example, if we register such a class in the DI container, then we need the instance methods.