samtrion
4f9f191f7f
Fixed #72
...
The `type.IsDefined(typeof(CompilerGeneratedAttribute))` check removed, since it led to the exclusion of `async lambdas`.
2021-01-03 22:31:52 +00:00
Ben Adams
b3e8977885
Skip repeats and IValueTaskSource.GetResult ( #132 )
...
* Skip repeats and IValueTaskSource.GetResult
* Add RecursionTests
* Varibale counts
* More flexible
2021-01-03 21:48:34 +00:00
Bruno Garcia
c502ee90f6
test async enumerable
2021-01-03 20:18:40 +00:00
Bruno Garcia
ded4efd646
ns2.1 and TryResolveStateMachineMethod
2021-01-03 20:18:40 +00:00
Ben Adams
5dd50f12da
Merge branch 'master' into fsharp-async-task-support
2021-01-03 16:55:03 +00:00
Ben Adams
6d7a54cd84
Update for new frameworks
2021-01-03 15:53:02 +00:00
Bruno Garcia
84d3257a8f
hide inlined frames
2021-01-03 14:39:22 +00:00
dependabot[bot]
e09b8c4318
Bump Nerdbank.GitVersioning from 3.0.25 to 3.3.37
...
Bumps [Nerdbank.GitVersioning](https://github.com/dotnet/Nerdbank.GitVersioning ) from 3.0.25 to 3.3.37.
- [Release notes](https://github.com/dotnet/Nerdbank.GitVersioning/releases )
- [Commits](https://github.com/dotnet/Nerdbank.GitVersioning/compare/v3.0.25...v3.3.37 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-12-15 02:21:47 +00:00
dependabot[bot]
97312bb0f6
Bump System.Reflection.Metadata from 1.6.0 to 5.0.0
...
Bumps [System.Reflection.Metadata](https://github.com/dotnet/runtime ) from 1.6.0 to 5.0.0.
- [Release notes](https://github.com/dotnet/runtime/releases )
- [Commits](https://github.com/dotnet/runtime/commits/v5.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-12-15 02:21:05 +00:00
dependabot[bot]
fde9e8c463
Bump System.Threading.Tasks.Extensions from 4.5.3 to 4.5.4
...
Bumps [System.Threading.Tasks.Extensions](https://github.com/dotnet/corefx ) from 4.5.3 to 4.5.4.
- [Release notes](https://github.com/dotnet/corefx/releases )
- [Commits](https://github.com/dotnet/corefx/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2020-12-15 02:20:48 +00:00
Mitch Capper (he, him)
0f17b3029b
Prepare for GetMethod to return null and avoid crashing ( #107 )
...
Closes #106
2020-08-16 23:30:11 +01:00
Ben Adams
cda8e4e625
Bump version + sourcelink
2020-02-17 03:21:56 +00:00
Bartosz Sypytkowski
af40cc3bfa
Demystify truncating internals of F# async/task expressions
2020-01-06 07:16:31 +01:00
Martin Stühmer
1ca8f79a36
Improved support for Nullable<T> and dynamic parameters ( #96 )
2019-12-03 14:38:27 +00:00
Martin Stühmer
1b99d61cf3
Added Prefix params Support + Test ( #94 )
...
Thank you!
2019-12-03 14:37:37 +00:00
Martin Stühmer
43c92b54e5
Simplified GetPrefix in detection ( #95 )
2019-12-03 14:36:58 +00:00
Martin Stühmer
70b61a7a90
Removed code that was heuristically unreachable. ( #93 )
...
Both `type.GetMethods(...)` and `methodInfo.GetCustomAttributes<>()` return an empty array if nothing was found.
2019-11-30 05:34:02 +00:00
彭伟
eaf0393860
Add ValueTask support ( #89 )
...
* Add ValueTask support
* remove netstandard2.1
2019-11-30 02:12:04 +00:00
Martin Stühmer
c061f764bd
Rearranged checks ( #92 )
...
* Rearranged checks
Rearranged checks so that the method is completed as quickly as possible
* Typo
2019-11-30 02:11:13 +00:00
Alexander Sher
fbd6ea49ab
Allow demystifier to add strings to existing StringBuilder (second attempt) ( #80 )
...
* Allow demystifier to add strings to existing StringBuilder
* Add exception message
2019-02-10 20:50:33 +00:00
Aristarkh Zagorodnikov
a9830f38e3
Improve StackTraceHiddenAttribute handling ( #83 )
...
* Add .NET Core 2.1 as target for tests to allow testing for StackTraceHiddenAttribute handling
* Customize EnhancedStackTrace "hidden" frames selection strategy depending on the runtime, and optimize attribute access for non-reflection-only assemblies
* Add .NET Core 2.1 as target for benchmarks to allow benchmarking for it
2019-02-10 20:50:03 +00:00
Aristarkh Zagorodnikov
8604340a0e
Improve path/uri handling ( #82 )
...
* Improve file path special characters handling
* More specific tests
* Optimize EnhancedStackTrace.TryGetFullPath to prevent exceptions being thrown and the immediately re-caught
2019-02-10 20:49:22 +00:00
Aristarkh Zagorodnikov
9b85871130
Fix for IndexOutOfRangeException in ILReader.ReadOpCode(), part 2 ( #84 )
...
* Add failing test
* Fix OperandType.ShortInlineI handling
* Remove invalid comment
2019-02-10 20:48:48 +00:00
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
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
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
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
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
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
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
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
c99b48112a
Bump version
2017-11-14 02:57:04 +00: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
Stano Peťko
84c520a71c
Fixed typo: nethodBody -> methodBody.
2017-11-13 18:20:55 +01:00