The StackTrace property lists method calls in reverse chronological order, that is, the most recent method call is described first, and one line of stack trace information is listed for each method call on the stack. However, the StackTrace property might not report as many method calls as expected due to code transformations that occur during optimization.
The stack trace information for each method call is formatted as follows:
"at FullClassName. MethodName (MethodParams) in FileName :line LineNumber "
The literal "at" is preceded by three spaces, and the literals "in" and ":line" are omitted if debug symbols are not available. The placeholders, FullClassName, MethodName, MethodParms, FileName, and LineNumber, are replaced by actual values defined as follows:
FullClassName
The full name of the class, including the namespace.
MethodName
The name of the method.
MethodParms
The list of parameter type/name pairs. Each pair is separated by a comma (","). This information is omitted if MethodName takes zero parameters.
FileName
The name of the source file where the MethodName method is declared. This information is omitted if debug symbols are not available.
LineNumber
The number of the line in FileName that contains the source code from MethodName for the instruction that is on the call stack. This information is omitted if debug symbols are not available.