changed project name

This commit is contained in:
Timerix 2024-09-20 02:23:38 +05:00
parent 9eaa322ae8
commit a35e7630ca
17 changed files with 31 additions and 30 deletions

View File

@ -1,13 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<!--package info--> <!--package info-->
<PackageId>DTLib.Ben.Demystifier</PackageId> <PackageId>DTLib.Demystifier</PackageId>
<Version>1.0.7</Version> <Version>1.0.7</Version>
<Authors>Timerix</Authors> <Authors>Timerix</Authors>
<Description>netstandard2.0 fork of Ben.Demystifier</Description> <Description>netstandard2.0 fork of Demystifier</Description>
<RepositoryType>GIT</RepositoryType> <RepositoryType>GIT</RepositoryType>
<RepositoryUrl>https://timerix.ddns.net:3322/Timerix/DTLib.Ben.Demystifier</RepositoryUrl> <RepositoryUrl>https://timerix.ddns.net:3322/Timerix/DTLib.Demystifier</RepositoryUrl>
<PackageProjectUrl>https://timerix.ddns.net:3322/Timerix/DTLib.Ben.Demystifier</PackageProjectUrl> <PackageProjectUrl>https://timerix.ddns.net:3322/Timerix/DTLib.Demystifier</PackageProjectUrl>
<Configuration>Release</Configuration> <Configuration>Release</Configuration>
<PackageLicenseExpression>MIT</PackageLicenseExpression> <PackageLicenseExpression>MIT</PackageLicenseExpression>
<!--compilation properties--> <!--compilation properties-->
@ -17,6 +17,7 @@
<LangVersion>12</LangVersion> <LangVersion>12</LangVersion>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<ImplicitUsings>disable</ImplicitUsings> <ImplicitUsings>disable</ImplicitUsings>
<RootNamespace>DTLib.Demystifier</RootNamespace>
</PropertyGroup> </PropertyGroup>
<!--external dependencies--> <!--external dependencies-->

View File

@ -1,7 +1,7 @@
// Copyright (c) Ben A Adams. All rights reserved. // 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. // 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 public class EnhancedStackFrame : StackFrame
{ {

View File

@ -8,10 +8,10 @@ using System.Runtime.CompilerServices;
using System.Runtime.ExceptionServices; using System.Runtime.ExceptionServices;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using DTLib.Ben.Demystifier.Enumerable; using DTLib.Demystifier.Enumerable;
using DTLib.Ben.Demystifier.Internal; using DTLib.Demystifier.Internal;
namespace DTLib.Ben.Demystifier namespace DTLib.Demystifier
{ {
public partial class EnhancedStackTrace public partial class EnhancedStackTrace
{ {
@ -425,7 +425,7 @@ namespace DTLib.Ben.Demystifier
} }
catch catch
{ {
// https://github.com/benaadams/Ben.Demystifier/issues/32 // https://github.com/benaadams/Demystifier/issues/32
// Skip methods where il can't be interpreted // Skip methods where il can't be interpreted
} }
} }

View File

@ -1,7 +1,7 @@
// Copyright (c) Ben A Adams. All rights reserved. // 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. // 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<EnhancedStackFrame> public partial class EnhancedStackTrace : StackTrace, IEnumerable<EnhancedStackFrame>
{ {

View File

@ -1,7 +1,7 @@
// Copyright (c) Ben A Adams. All rights reserved. // 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. // 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 public static class EnumerableIList
{ {

View File

@ -1,7 +1,7 @@
// Copyright (c) Ben A Adams. All rights reserved. // 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. // 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<T> : IEnumerator<T> public struct EnumeratorIList<T> : IEnumerator<T>
{ {

View File

@ -1,7 +1,7 @@
// Copyright (c) Ben A Adams. All rights reserved. // 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. // 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<T> : IEnumerable<T> internal interface IEnumerableIList<T> : IEnumerable<T>
{ {

View File

@ -9,9 +9,9 @@ global using System.Diagnostics;
global using System.Reflection; global using System.Reflection;
global using System.Linq; global using System.Linq;
using System.Diagnostics.Contracts; using System.Diagnostics.Contracts;
using DTLib.Ben.Demystifier.Enumerable; using DTLib.Demystifier.Enumerable;
namespace DTLib.Ben.Demystifier; namespace DTLib.Demystifier;
public static class ExceptionExtensions public static class ExceptionExtensions
{ {

View File

@ -1,6 +1,6 @@
using System.Reflection.Emit; using System.Reflection.Emit;
namespace DTLib.Ben.Demystifier.Internal; namespace DTLib.Demystifier.Internal;
internal class ILReader internal class ILReader
{ {

View File

@ -6,7 +6,7 @@ using System.Reflection.Metadata;
using System.Reflection.Metadata.Ecma335; using System.Reflection.Metadata.Ecma335;
using System.Reflection.PortableExecutable; 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 // Adapted from https://github.com/aspnet/Common/blob/dev/shared/Microsoft.Extensions.StackTrace.Sources/StackFrame/PortablePdbReader.cs
internal class PortablePdbReader : IDisposable internal class PortablePdbReader : IDisposable

View File

@ -3,7 +3,7 @@
using System.Threading; using System.Threading;
namespace DTLib.Ben.Demystifier.Internal; namespace DTLib.Demystifier.Internal;
/// <summary> /// <summary>
/// A helper class that contains utilities methods for dealing with reflection. /// A helper class that contains utilities methods for dealing with reflection.

View File

@ -1,6 +1,6 @@
# Ben.Demystifier # Demystifier
[![NuGet version (Ben.Demystifier)](https://img.shields.io/nuget/v/Ben.Demystifier.svg?style=flat-square)](https://www.nuget.org/packages/Ben.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/Ben.Demystifier/workflows/Demystifier%20PR%20Build/badge.svg)](https://github.com/benaadams/Ben.Demystifier/actions) [![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. 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: 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
``` ```
<sub>Note: we're only kicking off via `netcoreapp2.0`, benchmarks will run for all configured platforms like `net462`.</sub> <sub>Note: we're only kicking off via `netcoreapp2.0`, benchmarks will run for all configured platforms like `net462`.</sub>

View File

@ -1,9 +1,9 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // 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 public class ResolvedMethod
{ {

View File

@ -1,7 +1,7 @@
// Copyright (c) Ben A Adams. All rights reserved. // 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. // 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 public class ResolvedParameter
{ {

View File

@ -1,9 +1,9 @@
// Copyright (c) Ben A Adams. All rights reserved. // 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. // 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 public static class StringBuilderExtentions
{ {

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // 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 // Adapted from https://github.com/aspnet/Common/blob/dev/shared/Microsoft.Extensions.TypeNameHelper.Sources/TypeNameHelper.cs
public static class TypeNameHelper public static class TypeNameHelper

View File

@ -1,9 +1,9 @@
// Copyright (c) Ben A Adams. All rights reserved. // 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. // 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 public class ValueTupleResolvedParameter : ResolvedParameter
{ {