Skip to content

Commit 2522778

Browse files
author
Sébastien Geiser
committed
static types cache in progress
1 parent 59bd4f2 commit 2522778

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CodingSeb.ExpressionEvaluator/ExpressionEvaluator.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,11 @@ private enum TryBlockEvaluatedState
453453

454454
public static IDictionary<string, Type> TypesResolutionCaching { get; set; } = new Dictionary<string, Type>();
455455

456+
public static void ClearAllCaches()
457+
{
458+
TypesResolutionCaching.Clear();
459+
}
460+
456461
#endregion
457462

458463
#region Assemblies, Namespaces and types lists

0 commit comments

Comments
 (0)