davidhcoe commented on code in PR #697:
URL: https://github.com/apache/arrow-adbc/pull/697#discussion_r1202904992
##########
csharp/src/Apache.Arrow.Adbc/Extensions/MatchCollectionExtensions.netstandard.cs:
##########
@@ -0,0 +1,23 @@
+#if NETSTANDARD
+using System.Collections.Generic;
+using System.Linq;
+using System.Text.RegularExpressions;
+
+namespace System.Text.RegularExpressions
+{
+ public static class MatchCollectionExtensions
+ {
+ public static IEnumerable<Match> Where(this MatchCollection
matchCollection, Func<Match,bool> predicate)
+ {
+ List<Match> matches = new List<Match>();
+
+ foreach (Match match in matchCollection)
+ {
+ matches.Add(match);
+ }
+
+ return matches.Where(predicate);
Review Comment:
removed
##########
csharp/src/Apache.Arrow.Adbc/Extensions/MatchCollectionExtensions.netstandard.cs:
##########
@@ -0,0 +1,23 @@
+#if NETSTANDARD
+using System.Collections.Generic;
+using System.Linq;
+using System.Text.RegularExpressions;
+
+namespace System.Text.RegularExpressions
+{
+ public static class MatchCollectionExtensions
+ {
+ public static IEnumerable<Match> Where(this MatchCollection
matchCollection, Func<Match,bool> predicate)
Review Comment:
removed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]