Skip to content

Commit fa46c94

Browse files
Update DebugService.cs
1 parent 82053a5 commit fa46c94

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

services/DebugService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,6 @@ public static void AddHandler(ExceptionHandler Handler)
116116
public static readonly LogDebugger Logger = new();
117117
public static readonly ProfilerDebugger Profiler = new();
118118
public static readonly ExceptionDebugger ExceptionHandler = new();
119-
static readonly Func<MethodBase, bool> Default = _ => true;
120-
static readonly Func<MethodBase, bool> Attribute = method => method.IsDefined(typeof(DebugAttribute), true) || method.DeclaringType?.IsDefined(typeof(DebugAttribute), true) == true;
119+
public static readonly Func<MethodBase, bool> Default = _ => true;
120+
public static readonly Func<MethodBase, bool> Attribute = method => method.IsDefined(typeof(DebugAttribute), true) || method.DeclaringType?.IsDefined(typeof(DebugAttribute), true) == true;
121121
}

0 commit comments

Comments
 (0)