From d7d3c433022953ecc8deee85e0b86a0cb7601b9e Mon Sep 17 00:00:00 2001 From: John Colvin Date: Fri, 31 Oct 2025 13:42:59 -0400 Subject: [PATCH] cleanup: Enable nullable ref types in IBlueRowCollection.cs --- .../DataStreamCore/BlueData/IBlueRowCollection.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/DataStreamSuite/DataStreamCore/BlueData/IBlueRowCollection.cs b/src/DataStreamSuite/DataStreamCore/BlueData/IBlueRowCollection.cs index 8b074d42a..3a4162dc4 100644 --- a/src/DataStreamSuite/DataStreamCore/BlueData/IBlueRowCollection.cs +++ b/src/DataStreamSuite/DataStreamCore/BlueData/IBlueRowCollection.cs @@ -1,3 +1,4 @@ +#nullable enable using bts.collections; using System; @@ -17,7 +18,7 @@ namespace BCG new IBlueRow this[int id] { get; } IBlueTableSchema schema { get; } bool containsID(int id); - IList GetColumn(int index) => + IList GetColumn(int index) => this.WrapSelector(r => r[index], null); IBlueRow GetRow(int index); @@ -57,7 +58,7 @@ namespace BCG } public static class BlueRowCollectionExtensions { - public static IList GetColumn(this IBlueRowCollection rows, string colName) { + public static IList GetColumn(this IBlueRowCollection rows, string colName) { var idx = Array.IndexOf(rows.schema.columnNames, colName); if (idx == -1) { throw new KeyNotFoundException();