The Convert Static Member to Instace quick fix is available once Telerik® JustCode™ has detected that there is no available reference.
Note |
---|
Language Support Supported: C# Not supported: VB.NET Not relevant: JavaScript, ASP.NET, XAML, HTML |
To convert a static member to an instance
- Position the caret over a reference that is not available.
Press Alt+Enter. From the pop-up menu, select Convert static 'the not available reference identifier' to instance
The result is:
Caution |
---|
If usages of the static member are found a warning window will be shown |