namespace OrangeGuidanceTomestone.Util; internal static class IReadOnlyListExt { internal static T? Get(this IReadOnlyList list, int idx) { if (idx < 0 || idx >= list.Count) { return default; } return list[idx]; } }