Project
ReSharper
Priority
Normal
Type
Bug
Fix versions
Mirabile Futurum
State
Open
Assignee
Evgeny Pasynkov
Subsystem
Navigation - Search
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Andrey Simanovsky
    5 years ago (05 Aug 2006 02:59)
  • Updated by   Andrey Simanovsky
    5 years ago (20 Oct 2006 17:12)
  • Jira: RSRP-6547
    (history, comments)
 
RSRP-6547 Find usages of finalizer
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
At present no usages of finalizer are found. This is untrue if finalizers are defined in derived classes. Find usages for a finalizer should find finalizers that immediately override Finalize in derived classes.
Comments (3)
 
History
 
Linked Issues (?)
 
TeamCity Changes (0)
 
Ilya Ryzhenkov
  Ilya Ryzhenkov
07 Aug 2006 18:36
5 years ago
Re: #6547- Find usages of finalizer
I don't see any reason for searching usages of finalizer - it is not visible outside of the type. It's better doing "Go to inheritors" and "Go to base" on finalizer.
Dmitry Shaporenkov
  Dmitry Shaporenkov
07 Aug 2006 18:36
5 years ago
Re: #6547- Find usages of finalizer
What's wrong with Goto Inheritors?
Vladimir Reshetnikov
  Vladimir Reshetnikov
20 Oct 2006 17:12
5 years ago
Also, finalizer can be called explitly thru the delegate. Though it is not recommended.

delegate void FinalizeDelegate();
class Stuff
{
    ~Stuff()
    {
        
    }

    void Foo()
    {
        ((FinalizeDelegate)Finalize)();
    }

    static void Main()
    {
        new Stuff().Foo();
    }
}