mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-15 00:40:04 +00:00
DebugLog: slight refactor
This commit is contained in:
parent
385ebd543e
commit
7bb2f1ca72
@ -61,6 +61,6 @@ public static class DebugLog
|
||||
new StackTrace(2) // skip this function and calling function
|
||||
.GetFrames()!
|
||||
.Select(x => x.GetMethod().DeclaringType!)
|
||||
.First(x => x != typeof(DebugLog) && !x.IsDefined(typeof(CompilerGeneratedAttribute)))
|
||||
.First(x => x != typeof(DebugLog) && !x.IsDefined(typeof(CompilerGeneratedAttribute), true))
|
||||
.Name;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user