project structure changed
This commit is contained in:
parent
f64d655f49
commit
a356957377
26
DTLib.Ben.Demystifier.csproj
Normal file
26
DTLib.Ben.Demystifier.csproj
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<!--package info-->
|
||||||
|
<PackageId>DTLib.Ben.Demystifier</PackageId>
|
||||||
|
<Version>1.0.0</Version>
|
||||||
|
<Authors>Timerix</Authors>
|
||||||
|
<RepositoryType>GIT</RepositoryType>
|
||||||
|
<RepositoryUrl>https://github.com/Timerix22/DTLib</RepositoryUrl>
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||||
|
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
|
||||||
|
<!--compilation properties-->
|
||||||
|
<TargetFrameworks>net6.0;netstandard2.0;net48</TargetFrameworks>
|
||||||
|
<DebugType>embedded</DebugType>
|
||||||
|
<!--language features-->
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
<LangVersion>10</LangVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="System.Reflection.Metadata" Version="5.0.0" Condition="'$(TargetFramework)' != 'net6.0'"/>
|
||||||
|
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.4" Condition="'$(TargetFramework)' != 'netstandard2.1'"/>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
@ -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 Ben.Demystifier;
|
namespace DTLib.Ben.Demystifier;
|
||||||
|
|
||||||
public class EnhancedStackFrame : StackFrame
|
public class EnhancedStackFrame : StackFrame
|
||||||
{
|
{
|
||||||
@ -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 Ben.Demystifier.Enumerable;
|
using DTLib.Ben.Demystifier.Enumerable;
|
||||||
using Ben.Demystifier.Internal;
|
using DTLib.Ben.Demystifier.Internal;
|
||||||
|
|
||||||
namespace Ben.Demystifier
|
namespace DTLib.Ben.Demystifier
|
||||||
{
|
{
|
||||||
public partial class EnhancedStackTrace
|
public partial class EnhancedStackTrace
|
||||||
{
|
{
|
||||||
@ -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 Ben.Demystifier;
|
namespace DTLib.Ben.Demystifier;
|
||||||
|
|
||||||
public partial class EnhancedStackTrace : StackTrace, IEnumerable<EnhancedStackFrame>
|
public partial class EnhancedStackTrace : StackTrace, IEnumerable<EnhancedStackFrame>
|
||||||
{
|
{
|
||||||
@ -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 Ben.Demystifier.Enumerable;
|
namespace DTLib.Ben.Demystifier.Enumerable;
|
||||||
|
|
||||||
public static class EnumerableIList
|
public static class EnumerableIList
|
||||||
{
|
{
|
||||||
@ -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 Ben.Demystifier.Enumerable;
|
namespace DTLib.Ben.Demystifier.Enumerable;
|
||||||
|
|
||||||
public struct EnumeratorIList<T> : IEnumerator<T>
|
public struct EnumeratorIList<T> : IEnumerator<T>
|
||||||
{
|
{
|
||||||
@ -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 Ben.Demystifier.Enumerable;
|
namespace DTLib.Ben.Demystifier.Enumerable;
|
||||||
|
|
||||||
internal interface IEnumerableIList<T> : IEnumerable<T>
|
internal interface IEnumerableIList<T> : IEnumerable<T>
|
||||||
{
|
{
|
||||||
@ -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 Ben.Demystifier.Enumerable;
|
using DTLib.Ben.Demystifier.Enumerable;
|
||||||
|
|
||||||
namespace Ben.Demystifier;
|
namespace DTLib.Ben.Demystifier;
|
||||||
|
|
||||||
public static class ExceptionExtensions
|
public static class ExceptionExtensions
|
||||||
{
|
{
|
||||||
@ -1,6 +1,6 @@
|
|||||||
using System.Reflection.Emit;
|
using System.Reflection.Emit;
|
||||||
|
|
||||||
namespace Ben.Demystifier.Internal;
|
namespace DTLib.Ben.Demystifier.Internal;
|
||||||
|
|
||||||
internal class ILReader
|
internal class ILReader
|
||||||
{
|
{
|
||||||
@ -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 Ben.Demystifier.Internal;
|
namespace DTLib.Ben.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
|
||||||
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
|
|
||||||
namespace Ben.Demystifier.Internal;
|
namespace DTLib.Ben.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.
|
||||||
@ -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 Ben.Demystifier.Enumerable;
|
using DTLib.Ben.Demystifier.Enumerable;
|
||||||
|
|
||||||
namespace Ben.Demystifier;
|
namespace DTLib.Ben.Demystifier;
|
||||||
|
|
||||||
public class ResolvedMethod
|
public class ResolvedMethod
|
||||||
{
|
{
|
||||||
@ -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 Ben.Demystifier;
|
namespace DTLib.Ben.Demystifier;
|
||||||
|
|
||||||
public class ResolvedParameter
|
public class ResolvedParameter
|
||||||
{
|
{
|
||||||
@ -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 Ben.Demystifier.Enumerable;
|
using DTLib.Ben.Demystifier.Enumerable;
|
||||||
|
|
||||||
namespace Ben.Demystifier;
|
namespace DTLib.Ben.Demystifier;
|
||||||
|
|
||||||
public static class StringBuilderExtentions
|
public static class StringBuilderExtentions
|
||||||
{
|
{
|
||||||
@ -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 Ben.Demystifier;
|
namespace DTLib.Ben.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
|
||||||
@ -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 Ben.Demystifier.Internal;
|
using DTLib.Ben.Demystifier.Internal;
|
||||||
|
|
||||||
namespace Ben.Demystifier;
|
namespace DTLib.Ben.Demystifier;
|
||||||
|
|
||||||
public class ValueTupleResolvedParameter : ResolvedParameter
|
public class ValueTupleResolvedParameter : ResolvedParameter
|
||||||
{
|
{
|
||||||
@ -1,17 +0,0 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
|
||||||
|
|
||||||
<PropertyGroup>
|
|
||||||
<DebugType>embedded</DebugType>
|
|
||||||
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
|
||||||
<Nullable>enable</Nullable>
|
|
||||||
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
|
|
||||||
<TargetFramework>netstandard2.0</TargetFramework>
|
|
||||||
<LangVersion>10</LangVersion>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="System.Reflection.Metadata" Version="5.0.0" Condition="'$(TargetFramework)' != 'net6.0'"/>
|
|
||||||
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.4" Condition="'$(TargetFramework)' != 'netstandard2.1'"/>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
</Project>
|
|
||||||
Loading…
Reference in New Issue
Block a user