diff --git a/Editor/Meta/GenericArgumentContext.cs b/Editor/Meta/GenericArgumentContext.cs
index ddff3d7..6aaab1c 100644
--- a/Editor/Meta/GenericArgumentContext.cs
+++ b/Editor/Meta/GenericArgumentContext.cs
@@ -7,13 +7,11 @@ using System.Threading.Tasks;
namespace HybridCLR.Editor.Meta
{
- ///
- /// Replaces generic type/method var with its generic argument
- ///
- public sealed class GenericArgumentContext
+
+ public class GenericArgumentContext
{
- List typeArgsStack = new List();
- List methodArgsStack = new List();
+ private readonly List typeArgsStack;
+ private readonly List methodArgsStack;
public GenericArgumentContext(List typeArgsStack, List methodArgsStack)
{
@@ -21,16 +19,6 @@ namespace HybridCLR.Editor.Meta
this.methodArgsStack = methodArgsStack;
}
-
-
- ///
- /// Replaces a generic type/method var with its generic argument (if any). If
- /// isn't a generic type/method var or if it can't
- /// be resolved, it itself is returned. Else the resolved type is returned.
- ///
- /// Type signature
- /// New which is never null unless
- /// is null
public TypeSig Resolve(TypeSig typeSig)
{
if (!typeSig.ContainsGenericParameter)