Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
SystemCore_EnumerableDebugView.cs
Go to the documentation of this file.
4
5namespace System.Linq;
6
7internal sealed class SystemCore_EnumerableDebugView<T>
8{
10 private readonly IEnumerable<T> _enumerable;
11
13 public T[] Items
14 {
15 get
16 {
17 T[] array = _enumerable.ToArray();
18 if (array.Length == 0)
19 {
21 }
22 return array;
23 }
24 }
25
34}
35internal sealed class SystemCore_EnumerableDebugView
36{
38 private readonly IEnumerable _enumerable;
39
41 public object[] Items
42 {
43 get
44 {
46 foreach (object item in _enumerable)
47 {
48 list.Add(item);
49 }
50 if (list.Count == 0)
51 {
53 }
54 return list.ToArray();
55 }
56 }
57
66}
static void ThrowArgumentNullException(ExceptionArgument argument)
Definition ThrowHelper.cs:8