Commit Graph

44 Commits

Author SHA1 Message Date
dependabot[bot]
652255a886
Bump Microsoft.NET.Test.Sdk from 16.8.3 to 16.9.1 (#145)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.8.3 to 16.9.1.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.8.3...v16.9.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-24 14:18:00 +00:00
Bruno Garcia
fd2d239eb0
Add namespace to frame conditionally (#144)
* take fullTime parametr

* append fullname true/false

* review
2021-01-17 18:47:43 +00:00
Bruno Garcia
243029cc29
Allow use as git submodule
* build in sentry csproj

* typo

* public GetFrames
2021-01-11 03:44:04 +00:00
Ben Adams
42b64441a1 Completed Task 2021-01-03 22:58:10 +00:00
Ben Adams
cf4ce5d5a2 Tidy up test 2021-01-03 22:58:10 +00:00
samtrion
5fdf1f41ad Maybe type? 2021-01-03 22:31:52 +00:00
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
abdc33477c conditionally add test tfm 2021-01-03 20:03:56 +00:00
Ben Adams
b49f5e257a Build tidyups 2021-01-03 17:08:46 +00:00
Ben Adams
59fa63f20b OS test 2021-01-03 16:37:51 +00:00
Ben Adams
6d7a54cd84 Update for new frameworks 2021-01-03 15:53:02 +00:00
Kirill Osenkov
a5ae4e6391 Add a unit-test for https://github.com/benaadams/Ben.Demystifier/issues/109 2021-01-03 14:42:49 +00:00
Ben Adams
d2e58a8b54 Update framework versions 2021-01-03 14:38:48 +00:00
dependabot[bot]
b751963840 Bump xunit from 2.3.1 to 2.4.1
Bumps [xunit](https://github.com/xunit/xunit) from 2.3.1 to 2.4.1.
- [Release notes](https://github.com/xunit/xunit/releases)
- [Commits](https://github.com/xunit/xunit/compare/2.3.1...2.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-15 07:55:46 +00:00
dependabot[bot]
8bca4d975e Bump xunit.runner.visualstudio from 2.3.1 to 2.4.3
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.3.1 to 2.4.3.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](https://github.com/xunit/visualstudio.xunit/commits/v2.4.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-15 07:53:09 +00:00
dependabot[bot]
66461b7ede Bump BenchmarkDotNet from 0.10.12 to 0.12.1
Bumps [BenchmarkDotNet](https://github.com/dotnet/BenchmarkDotNet) from 0.10.12 to 0.12.1.
- [Release notes](https://github.com/dotnet/BenchmarkDotNet/releases)
- [Commits](https://github.com/dotnet/BenchmarkDotNet/compare/v0.10.12...v0.12.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-15 02:21:21 +00:00
dependabot[bot]
881fec2429 Bump System.ValueTuple from 4.4.0 to 4.5.0
Bumps [System.ValueTuple](https://github.com/dotnet/corefx) from 4.4.0 to 4.5.0.
- [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:29 +00: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
彭伟
eaf0393860 Add ValueTask support (#89)
* Add ValueTask support

* remove netstandard2.1
2019-11-30 02:12:04 +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
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
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
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
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
Alexander Kozlenko
286d0e4c44 Update unit test project settings (#45) 2018-02-02 00:36:46 +00:00
Alexander Kozlenko
e5ef6c5fac Improve lambda signature formatting 2017-12-22 00:21:50 +00:00
Ben Adams
bd0c9067a0 Add InheritenceTests 2017-11-14 02:54:28 +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
f250bdef96 Full framework 2017-11-13 12:14:24 +00:00
Ben Adams
5eb9c25574 AggregateException 2017-11-13 12:14:12 +00:00
Ben Adams
d4bf1639c7 ci changes 2017-11-12 12:06:26 +00:00
Ben Adams
e7a2f46ff6
ReturnParameter fix for lambda_method (#11)
* ReturnParameter fix for lambda_method

* Bump version
2017-11-12 00:22:42 +01:00
Ben Adams
bab0cf679d NonThrownExceptions 2017-11-11 21:59:14 +00:00
Ben Adams
34930738f6 Add 0.0.1 code 2017-11-11 15:55:09 +00:00