Skip to content

Commit

Permalink
Added RequiresUnreferencedCode to EnhancedStackFrame.cs (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescrosswell authored Apr 24, 2024
1 parent e0574c2 commit 909ff77
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Ben.Demystifier/EnhancedStackFrame.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
// 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 System.Diagnostics.CodeAnalysis;
using System.Reflection;
using Ben.Demystifier;

namespace System.Diagnostics
{
#if NET6_0_OR_GREATER
[RequiresUnreferencedCode(Constants.TrimWarning)]
#endif
public class EnhancedStackFrame : StackFrame
{
private readonly string? _fileName;
Expand Down

0 comments on commit 909ff77

Please sign in to comment.