CppSharp icon indicating copy to clipboard operation
CppSharp copied to clipboard

Maybe `Class.HasRefBase` and `Class.HasBase` should behave the same way.

Open josetr opened this issue 5 years ago • 1 comments

  • Class.HasRefBase checks if the base IsGenerated
  • Class.HasBase does not check if the base IsGenerated

Class.HasRefBase also only checks if the first base is ignored, what happens if a class is inherited multiple times and more than 1 is ignored?

josetr avatar Nov 09 '20 01:11 josetr

This is the line that is incomplete for context: var shouldInheritFromIDisposable = [email protected];.

tritao avatar Nov 09 '20 01:11 tritao