From a35e7630cacbad9f82d4eb1f27a06a3d6ee4a86c Mon Sep 17 00:00:00 2001 From: Timerix Date: Fri, 20 Sep 2024 02:23:38 +0500 Subject: [PATCH] changed project name --- DTLib.Ben.Demystifier.csproj => DTLib.Demystifier.csproj | 9 +++++---- EnhancedStackFrame.cs | 2 +- EnhancedStackTrace.Frames.cs | 8 ++++---- EnhancedStackTrace.cs | 2 +- Enumerable/EnumerableIList.cs | 2 +- Enumerable/EnumeratorIList.cs | 2 +- Enumerable/IEnumerableIList.cs | 2 +- ExceptionExtensions.cs | 4 ++-- Internal/ILReader.cs | 2 +- Internal/PortablePdbReader.cs | 2 +- Internal/ReflectionHelper.cs | 2 +- README.md | 8 ++++---- ResolvedMethod.cs | 4 ++-- ResolvedParameter.cs | 2 +- StringBuilderExtentions.cs | 4 ++-- TypeNameHelper.cs | 2 +- ValueTupleResolvedParameter.cs | 4 ++-- 17 files changed, 31 insertions(+), 30 deletions(-) rename DTLib.Ben.Demystifier.csproj => DTLib.Demystifier.csproj (87%) diff --git a/DTLib.Ben.Demystifier.csproj b/DTLib.Demystifier.csproj similarity index 87% rename from DTLib.Ben.Demystifier.csproj rename to DTLib.Demystifier.csproj index 9b1b777..88583db 100644 --- a/DTLib.Ben.Demystifier.csproj +++ b/DTLib.Demystifier.csproj @@ -1,13 +1,13 @@ - DTLib.Ben.Demystifier + DTLib.Demystifier 1.0.7 Timerix - netstandard2.0 fork of Ben.Demystifier + netstandard2.0 fork of Demystifier GIT - https://timerix.ddns.net:3322/Timerix/DTLib.Ben.Demystifier - https://timerix.ddns.net:3322/Timerix/DTLib.Ben.Demystifier + https://timerix.ddns.net:3322/Timerix/DTLib.Demystifier + https://timerix.ddns.net:3322/Timerix/DTLib.Demystifier Release MIT @@ -17,6 +17,7 @@ 12 enable disable + DTLib.Demystifier diff --git a/EnhancedStackFrame.cs b/EnhancedStackFrame.cs index 7f7d9d2..f9d32ea 100644 --- a/EnhancedStackFrame.cs +++ b/EnhancedStackFrame.cs @@ -1,7 +1,7 @@ // Copyright (c) Ben A Adams. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace DTLib.Ben.Demystifier; +namespace DTLib.Demystifier; public class EnhancedStackFrame : StackFrame { diff --git a/EnhancedStackTrace.Frames.cs b/EnhancedStackTrace.Frames.cs index 83ea87b..5f43bf4 100644 --- a/EnhancedStackTrace.Frames.cs +++ b/EnhancedStackTrace.Frames.cs @@ -8,10 +8,10 @@ using System.Runtime.CompilerServices; using System.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; -using DTLib.Ben.Demystifier.Enumerable; -using DTLib.Ben.Demystifier.Internal; +using DTLib.Demystifier.Enumerable; +using DTLib.Demystifier.Internal; -namespace DTLib.Ben.Demystifier +namespace DTLib.Demystifier { public partial class EnhancedStackTrace { @@ -425,7 +425,7 @@ namespace DTLib.Ben.Demystifier } catch { - // https://github.com/benaadams/Ben.Demystifier/issues/32 + // https://github.com/benaadams/Demystifier/issues/32 // Skip methods where il can't be interpreted } } diff --git a/EnhancedStackTrace.cs b/EnhancedStackTrace.cs index 0be8b01..365a9f3 100644 --- a/EnhancedStackTrace.cs +++ b/EnhancedStackTrace.cs @@ -1,7 +1,7 @@ // Copyright (c) Ben A Adams. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace DTLib.Ben.Demystifier; +namespace DTLib.Demystifier; public partial class EnhancedStackTrace : StackTrace, IEnumerable { diff --git a/Enumerable/EnumerableIList.cs b/Enumerable/EnumerableIList.cs index 63cb27d..90f0191 100644 --- a/Enumerable/EnumerableIList.cs +++ b/Enumerable/EnumerableIList.cs @@ -1,7 +1,7 @@ // Copyright (c) Ben A Adams. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace DTLib.Ben.Demystifier.Enumerable; +namespace DTLib.Demystifier.Enumerable; public static class EnumerableIList { diff --git a/Enumerable/EnumeratorIList.cs b/Enumerable/EnumeratorIList.cs index dd31198..c327b63 100644 --- a/Enumerable/EnumeratorIList.cs +++ b/Enumerable/EnumeratorIList.cs @@ -1,7 +1,7 @@ // Copyright (c) Ben A Adams. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace DTLib.Ben.Demystifier.Enumerable; +namespace DTLib.Demystifier.Enumerable; public struct EnumeratorIList : IEnumerator { diff --git a/Enumerable/IEnumerableIList.cs b/Enumerable/IEnumerableIList.cs index d9845be..5e3ac1a 100644 --- a/Enumerable/IEnumerableIList.cs +++ b/Enumerable/IEnumerableIList.cs @@ -1,7 +1,7 @@ // Copyright (c) Ben A Adams. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace DTLib.Ben.Demystifier.Enumerable; +namespace DTLib.Demystifier.Enumerable; internal interface IEnumerableIList : IEnumerable { diff --git a/ExceptionExtensions.cs b/ExceptionExtensions.cs index d0ebd02..7d38b47 100644 --- a/ExceptionExtensions.cs +++ b/ExceptionExtensions.cs @@ -9,9 +9,9 @@ global using System.Diagnostics; global using System.Reflection; global using System.Linq; using System.Diagnostics.Contracts; -using DTLib.Ben.Demystifier.Enumerable; +using DTLib.Demystifier.Enumerable; -namespace DTLib.Ben.Demystifier; +namespace DTLib.Demystifier; public static class ExceptionExtensions { diff --git a/Internal/ILReader.cs b/Internal/ILReader.cs index a5d9326..08b7538 100644 --- a/Internal/ILReader.cs +++ b/Internal/ILReader.cs @@ -1,6 +1,6 @@ using System.Reflection.Emit; -namespace DTLib.Ben.Demystifier.Internal; +namespace DTLib.Demystifier.Internal; internal class ILReader { diff --git a/Internal/PortablePdbReader.cs b/Internal/PortablePdbReader.cs index f502534..74c7f9e 100644 --- a/Internal/PortablePdbReader.cs +++ b/Internal/PortablePdbReader.cs @@ -6,7 +6,7 @@ using System.Reflection.Metadata; using System.Reflection.Metadata.Ecma335; using System.Reflection.PortableExecutable; -namespace DTLib.Ben.Demystifier.Internal; +namespace DTLib.Demystifier.Internal; // Adapted from https://github.com/aspnet/Common/blob/dev/shared/Microsoft.Extensions.StackTrace.Sources/StackFrame/PortablePdbReader.cs internal class PortablePdbReader : IDisposable diff --git a/Internal/ReflectionHelper.cs b/Internal/ReflectionHelper.cs index 84a8843..3ba88b3 100644 --- a/Internal/ReflectionHelper.cs +++ b/Internal/ReflectionHelper.cs @@ -3,7 +3,7 @@ using System.Threading; -namespace DTLib.Ben.Demystifier.Internal; +namespace DTLib.Demystifier.Internal; /// /// A helper class that contains utilities methods for dealing with reflection. diff --git a/README.md b/README.md index 67e0710..174d0c0 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# Ben.Demystifier -[![NuGet version (Ben.Demystifier)](https://img.shields.io/nuget/v/Ben.Demystifier.svg?style=flat-square)](https://www.nuget.org/packages/Ben.Demystifier/) -[![build](https://github.com/benaadams/Ben.Demystifier/workflows/Demystifier%20PR%20Build/badge.svg)](https://github.com/benaadams/Ben.Demystifier/actions) +# Demystifier +[![NuGet version (Demystifier)](https://img.shields.io/nuget/v/Demystifier.svg?style=flat-square)](https://www.nuget.org/packages/Demystifier/) +[![build](https://github.com/benaadams/Demystifier/workflows/Demystifier%20PR%20Build/badge.svg)](https://github.com/benaadams/Demystifier/actions) Output the modern C# 7.0+ features in stack traces that looks like the C# source code that generated them rather than IL formatted. @@ -168,6 +168,6 @@ Which is far less helpful, and close to jibberish in places To run benchmarks from the repository root: ``` -dotnet run -p .\test\Ben.Demystifier.Benchmarks\ -c Release -f netcoreapp2.0 All +dotnet run -p .\test\Demystifier.Benchmarks\ -c Release -f netcoreapp2.0 All ``` Note: we're only kicking off via `netcoreapp2.0`, benchmarks will run for all configured platforms like `net462`. diff --git a/ResolvedMethod.cs b/ResolvedMethod.cs index 5c9386a..537b81e 100644 --- a/ResolvedMethod.cs +++ b/ResolvedMethod.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using DTLib.Ben.Demystifier.Enumerable; +using DTLib.Demystifier.Enumerable; -namespace DTLib.Ben.Demystifier; +namespace DTLib.Demystifier; public class ResolvedMethod { diff --git a/ResolvedParameter.cs b/ResolvedParameter.cs index 100ca4a..98ee10d 100644 --- a/ResolvedParameter.cs +++ b/ResolvedParameter.cs @@ -1,7 +1,7 @@ // Copyright (c) Ben A Adams. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace DTLib.Ben.Demystifier; +namespace DTLib.Demystifier; public class ResolvedParameter { diff --git a/StringBuilderExtentions.cs b/StringBuilderExtentions.cs index a8e91a3..9f4fe80 100644 --- a/StringBuilderExtentions.cs +++ b/StringBuilderExtentions.cs @@ -1,9 +1,9 @@ // Copyright (c) Ben A Adams. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using DTLib.Ben.Demystifier.Enumerable; +using DTLib.Demystifier.Enumerable; -namespace DTLib.Ben.Demystifier; +namespace DTLib.Demystifier; public static class StringBuilderExtentions { diff --git a/TypeNameHelper.cs b/TypeNameHelper.cs index ffebcfa..120f875 100644 --- a/TypeNameHelper.cs +++ b/TypeNameHelper.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace DTLib.Ben.Demystifier; +namespace DTLib.Demystifier; // Adapted from https://github.com/aspnet/Common/blob/dev/shared/Microsoft.Extensions.TypeNameHelper.Sources/TypeNameHelper.cs public static class TypeNameHelper diff --git a/ValueTupleResolvedParameter.cs b/ValueTupleResolvedParameter.cs index 88e709c..623bf4f 100644 --- a/ValueTupleResolvedParameter.cs +++ b/ValueTupleResolvedParameter.cs @@ -1,9 +1,9 @@ // Copyright (c) Ben A Adams. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using DTLib.Ben.Demystifier.Internal; +using DTLib.Demystifier.Internal; -namespace DTLib.Ben.Demystifier; +namespace DTLib.Demystifier; public class ValueTupleResolvedParameter : ResolvedParameter {