I'm trying to Dispose of an IDisposable object(FileStream^ fs) in managed C++ (.NET 2.0) and am getting the error

Dispose' : is not a member of 'System::IO::FileStream

It says that I should invoke the destructor instead. Will calling

fs->~FileStream();

call the dispose method on the FileStream object? Why can't I call Dispose?

Edit
Report