Skip to content

Commit f8048e2

Browse files
Update SerExtensions.cs
1 parent 19b2fc1 commit f8048e2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Code/Extensions/SerExtensions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ public bool CapableOf<T>([NotNullWhen(true)] out Func<TryGet<T>>? get) where T :
9595
// if any of known types is assignable to T, or T to type, then it may return T
9696
return knownReturnTypes.Any(type => typeof(T).IsAssignableFrom(type) || type.IsAssignableFrom(typeof(T)));
9797
}
98+
9899
public TryGet<T> TryGet<T>() where T : Value
99100
{
100101
return valToken.Value().SuccessTryCast<Value, T>();

0 commit comments

Comments
 (0)