[corlib] StackTrace fixes.
authorMarcos Henrich <marcos.henrich@xamarin.com>
Thu, 7 Jul 2016 16:57:04 +0000 (17:57 +0100)
committerMarcos Henrich <marcos.henrich@xamarin.com>
Fri, 8 Jul 2016 21:45:49 +0000 (22:45 +0100)
commit21c0c0823a143dc6ddf016b05af5dfae276a45da
tree46221fd0b5b91775a6d88cfb097685bc30d75739
parent19a53fe7b0bb6c4087eb4c18765673b4c01049f2
[corlib] StackTrace fixes.

Replaced static constructor with delayed initialization.

Fixed possible undeterministic order of dumped MVIDs.

Used AppendFormat when possible.

Added comment to StackTrace.AddMetadataHandler explaining that it can be
used with reflection by outside code, to avoid removing it or changing
its signature.

Added StringComparer.Ordinal to dictionary.
mcs/class/corlib/System.Diagnostics/StackTrace.cs