File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -443,7 +443,7 @@ private string stubStaticOrConst(Member m) {
443
443
}
444
444
445
445
private string stubOverride ( Member m ) {
446
- if m .getDeclaringType ( ) instanceof Interface
446
+ if m .getDeclaringType ( ) instanceof Interface and not m . isStatic ( )
447
447
then result = ""
448
448
else
449
449
if m .( Virtualizable ) .isVirtual ( )
@@ -741,13 +741,13 @@ private string stubOperator(Operator o, Assembly assembly) {
741
741
then
742
742
result =
743
743
" " + stubModifiers ( o ) + stubExplicit ( o ) + "operator " + stubClassName ( o .getReturnType ( ) ) +
744
- "(" + stubParameters ( o ) + ") => throw null ;\n"
744
+ "(" + stubParameters ( o ) + ")" + stubImplementation ( o ) + " ;\n"
745
745
else
746
746
if not o .getDeclaringType ( ) instanceof Enum
747
747
then
748
748
result =
749
749
" " + stubModifiers ( o ) + stubClassName ( o .getReturnType ( ) ) + " operator " + o .getName ( ) +
750
- "(" + stubParameters ( o ) + ") => throw null ;\n"
750
+ "(" + stubParameters ( o ) + ")" + stubImplementation ( o ) + " ;\n"
751
751
else result = " // Stub generator skipped operator: " + o .getName ( ) + "\n"
752
752
}
753
753
You can’t perform that action at this time.
0 commit comments