From 3fb0b085daffc3963ad12f2e837e1adb0e3dbcf5 Mon Sep 17 00:00:00 2001 From: Katy Coe Date: Sun, 9 Aug 2020 19:24:54 +0200 Subject: [PATCH] Model: Add Scope.Empty static helper --- Il2CppInspector.Common/Reflection/Scope.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Il2CppInspector.Common/Reflection/Scope.cs b/Il2CppInspector.Common/Reflection/Scope.cs index ba657fe..d3f960b 100644 --- a/Il2CppInspector.Common/Reflection/Scope.cs +++ b/Il2CppInspector.Common/Reflection/Scope.cs @@ -11,6 +11,9 @@ namespace Il2CppInspector.Reflection // A code scope with which to evaluate how to output type references public class Scope { + // A scope at the root level with no available namespaces (guarantees full-name retrieval for any type) + public static Scope Empty = new Scope(); + // The scope we are currently in public TypeInfo Current;