Commit Graph

67 Commits

Author SHA1 Message Date
Aristarkh Zagorodnikov
adef3aa266 Fix for IndexOutOfRangeException in ILReader.ReadOpCode() (#81)
* Allow testing internals

* Add ILReaderTests

* Skip inline operands in IL
2019-01-29 16:09:08 +01:00
Ben Adams
cdf53b2655
Keeps message (#79)
* Test for exception message

* Revert "Allow demystifier to add strings to existing StringBuilder (#73)"

This reverts commit 7aa753d5c7.

* Bump version
2018-11-21 15:02:45 +00:00
Ben Adams
9c2917fa47 Bump version 2018-11-20 14:22:59 +00:00
Alexander Sher
7aa753d5c7 Allow demystifier to add strings to existing StringBuilder (#73) 2018-11-15 10:01:26 +00:00
Tyler Young
aa10921687 Don't enumerate fields on generic type Def (#77)
* Don't enumerate fields on generic type Def

Prevent exception being thrown when generic type definition is not a constructed generic type when trying to retrieve field values.

Added TODO with suggestion as to how to diagnose type arguments for generic type definition to create a constructed generic type.

* add test demonstrating error
2018-11-12 00:10:22 +00:00
Kristian Hellang
c3519f14c5 💄 (#67) 2018-03-08 15:55:27 -08:00
Kyle Wascher
7cea80ef89 Update ReadMe to know about EnhancedStackTrace (#64)
EnhancedStackTrace.Current
2018-03-02 19:21:51 +00:00
Ben Adams
5c533f031f Bump version 2018-02-23 11:29:39 +00:00
Sergey Teplyakov
125e373b45 Remove the dependency on System.ValueTuple (#63)
* Add an option to get tuple data via reflection.

* Removed non-relfection-based way of getting information about the tuples.

* Make methods static back.

* Remove the nuget dependency to System.ValueTuple
2018-02-23 11:24:41 +00:00
Ben Adams
7381924470
Merge pull request #42 from georgeduckett/master
Make TypeNameHelper public, rather than internal
2018-02-22 17:18:00 +00:00
George Duckett
5fbf64f31b Merge branch 'master' of https://github.com/benaadams/Ben.Demystifier 2018-02-22 09:43:00 +00:00
George Duckett
611b04e4f7 Move TypeNameHelper out of Internal directory 2018-02-22 08:08:06 +00:00
George Duckett
b2c110a8b3 Made TypeNameHelper public (along with _builtInTypeNames 2018-02-22 08:08:06 +00:00
Ben Adams
4867d50668
Merge pull request #62 from SergeyTeplyakov/uriFormatException
More robust absolute path computation for the enhanced stack traces.
2018-02-22 05:48:35 +00:00
Ben Adams
21d47323cc
Merge pull request #60 from SergeyTeplyakov/toStringDemystified
Add pure ToStringDemystified extension method that does not change exception's state
2018-02-22 05:47:24 +00:00
Sergey Tepliakov
c73f507b6c More robust absolute path computation for the enhanced stack traces.
Fix for #61
2018-02-21 20:27:32 -08:00
Sergey Tepliakov
449f0dabfe Add pure ToStringDemystified extension method that does not change exception's state. 2018-02-21 19:50:30 -08:00
Ben Adams
c7c76a67d8
Merge pull request #58 from SergeyTeplyakov/master
Fix stack trace for tuples type as part of a generic type.
2018-02-21 03:11:20 +00:00
Sergey Tepliakov
54f4b0c24b Fix stack trace for tuples type as part of a generic type.
Fix for #57
2018-02-20 14:59:05 -08:00
Ben Adams
57e2d49ad1 bump version 2018-02-08 15:44:58 +00:00
Ben Adams
60ef85b8d4
Merge pull request #50 from NickCraver/master
Add initial benchmark setup
2018-02-02 02:27:49 +00:00
Nick Craver
38d7faeda9 Add initial benchmark setup
This adds all the bootstrapping to quickly add benchmarks for pieces afterwards. Instructions for running added to the README.
2018-02-01 21:24:08 -05:00
Ben Adams
a4825de77e
Merge pull request #49 from onovotny/strong-name-versions
Strong name versions & Other goodies
2018-02-02 01:30:17 +00:00
Oren Novotny
c062b1e19f
Fix build 2018-02-01 20:27:22 -05:00
Oren Novotny
bf29db9e76
Add strong name key 2018-02-01 20:21:47 -05:00
Oren Novotny
47a7a4bcf1
Auto versioning with NB.GV 2018-02-01 20:15:31 -05:00
Alexander Kozlenko
286d0e4c44 Update unit test project settings (#45) 2018-02-02 00:36:46 +00:00
Alexander Kozlenko
1d0a516361 Set language version for the whole solution (#46) 2018-02-02 00:35:53 +00:00
Ben Adams
83f5f718d2 Limit resolve depth 2017-12-22 16:27:02 +00:00
George Duckett
ed71da19ec Fixes issue #40 - Follow the DeclaringType up the chain when resolving method names (#41)
* Added a strongly-typed property for the type to ResolvedParameter and ResolvedMethod

* Changed TryResolveGeneratedName to follow the declaring type up the chain rather than only once.
2017-12-22 16:20:44 +00:00
Ben Adams
867b87c4b4 bump version 2017-12-22 15:56:22 +00:00
Alexander Kozlenko
e5ef6c5fac Improve lambda signature formatting 2017-12-22 00:21:50 +00:00
George Duckett
b5b3a19b66 Added a strongly-typed property for the type to ResolvedParameter and ResolvedMethod 2017-12-22 00:20:23 +00:00
Ben Adams
9945e82cb7 Skip il that can't be interpreted 2017-11-30 16:25:51 +01:00
Ben Adams
4f2a8602e9
Merge pull request #29 from JoeStead/patch-2
Readme typo fixes
2017-11-20 12:19:23 +01:00
Joe Stead
021418539f
Couple of typo fixes :) 2017-11-20 10:51:22 +00:00
Ben Adams
c99b48112a Bump version 2017-11-14 02:57:04 +00:00
Ben Adams
20f1cad8b0
Merge pull request #25 from benaadams/InheritenceTests
Add InheritenceTests
2017-11-14 03:56:05 +01:00
Ben Adams
bd0c9067a0 Add InheritenceTests 2017-11-14 02:54:28 +00:00
Ben Adams
2f546030d8
Merge pull request #24 from benaadams/no-attribs
Skip resolving ValueTuple names when no CustomAttributes
2017-11-14 03:37:37 +01:00
Ben Adams
bc7a59b99b Skip resolving ValueTuple names when no CustomAttributes 2017-11-14 02:34:57 +00:00
Robert Mills
90487aa452 Ensure there are custom attributes before attempting to resolve 2017-11-14 02:34:57 +00:00
Tim Seaward
77ba50dff9 Adds coding standards (#22)
* Adds code requirements

* Update to coding standard
2017-11-14 01:45:54 +01:00
Ben Adams
fa0ad4ca52
Merge pull request #18 from satano/TypoNethodBody
Fixed typo: nethodBody -> methodBody.
2017-11-13 20:45:17 +01:00
Stano Peťko
84c520a71c Fixed typo: nethodBody -> methodBody. 2017-11-13 18:20:55 +01:00
Ben Adams
f0c84572b7 Bump version 2017-11-13 12:25:25 +00:00
Ben Adams
207d8ddc6e
Merge pull request #16 from Suchiman/master
Cleanup dependencies + support .NET 4.5, fixes #15
2017-11-13 13:21:38 +01:00
Ben Adams
afb07c740e
Merge pull request #17 from benaadams/aggregate
AggregateException + Full framework testing
2017-11-13 13:16:48 +01:00
Ben Adams
f250bdef96 Full framework 2017-11-13 12:14:24 +00:00
Ben Adams
5eb9c25574 AggregateException 2017-11-13 12:14:12 +00:00