A: 

In other languages (and therefore, probably this one too) it denotes the current position in the code, as a number of bytes or instructions offset from the function it is in. So in this case it got 173 bytes/instructions/whatever into Validate and then raised the exception.

I can't explain the 2049947 value however...

Kylotan
+5  A: 
  • If it's in the release mode, it's CIL offset for that function in the DLL.
  • If it's in debug mode, it's the line number in the source.
vartec
Cool, do you have any reference to the MSDN library where this is described?
thijs
http://msdn.microsoft.com/en-us/library/system.diagnostics.stackframe_members.aspx
vartec
That does not describes all the possible data that a stackframe contains, not what ASP.NET is actually displaying
thijs
True. But the only information on MSDN about what it contains is "a readable representation of the stack trace".
vartec
It's Exception.StackTrace.toString()
vartec