Making tuples pretty too

This commit is contained in:
Phil Scott
2022-02-03 22:33:45 -05:00
committed by Patrik Svensson
parent e8eb5b85b9
commit 74a2e10ff0
5 changed files with 100 additions and 27 deletions

View File

@ -35,4 +35,10 @@ public static class TestExceptions
firstFewItems = new List<T>();
throw new InvalidOperationException("Throwing!");
}
public static (string Key, List<T> Values) GetTuplesWithInnerException<T>((int First, string Second) myValue)
{
MethodThatThrows(0);
return ("key", new List<T>());
}
}