The GetFileName method and the GetFileLineNumber methods are implemented in the .NET Framework Class Library (311524)



The information in this article applies to:

  • Microsoft Visual Studio .NET (2002), Professional Edition
  • Microsoft .NET Framework 1.0

This article was previously published under Q311524

SUMMARY

The MSDN Library documentation for the .NET Framework Class Library indicates that the following methods of System.Diagnostics.StackFrame are not implemented in the Framework Class Library:
  • GetFileName
  • GetFileLineNumber
In fact, these methods are implemented, and you can use them in .NET applications.

STATUS

This bug was corrected in Visual Studio .NET (2003) and the .NET Framework 1.1.

Modification Type:MinorLast Reviewed:1/26/2006
Keywords:kbtshoot kbvs2005doesnotapply kbvs2005swept kbvs2002sp1sweep kbfix kbbug kbdocerr kbpending kbreadme KB311524 kbAudDeveloper