fix(codegen): print override keyword for method and property definitions
#19753
+12
−0
override keyword for method and property definitions
#19753