Reporter | Denis Abramov (sparky2708) |
---|---|
Created | Jan 10, 2012 8:28:42 PM |
Updated | Jan 10, 2012 8:28:42 PM |
Priority | Normal |
Type | Unspecified |
Fix versions | No Fix versions |
State | Submitted |
Assignee | Unassigned |
Subsystem | No subsystem |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
See screenshot.
If my base class doesn't contain a parameterless constructor give me an option to create the appropriate minimal constructor.
For example if my base class is:
Then if my class is:
R# should suggest to create the constructor in my class as:
If my base class doesn't contain a parameterless constructor give me an option to create the appropriate minimal constructor.
For example if my base class is:
Public Class MyBaseClass Public Sub New(ByVal i as Integer) End Sub End Class
Then if my class is:
Public Class MyClass Inherits MyBaseClass End Class
R# should suggest to create the constructor in my class as:
Public Class MyClass Inherits MyBaseClass Public Sub New(ByVal i as Integer) MyBase.New(i) End Sub End Class