Skip to content

Commit

Permalink
Update StringPolyfill.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Feb 26, 2024
1 parent 9173af7 commit 36fc60f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Polyfill/StringPolyfill.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using Link = System.ComponentModel.DescriptionAttribute;

[ExcludeFromCodeCoverage]
[DebuggerNonUserCode]
Expand All @@ -24,6 +25,7 @@ public static string Join(char separator, string[] values)
#endif
}

[Link("https://learn.microsoft.com/en-us/dotnet/api/system.string.join#system-string-join(system-char-system-object())")]
public static string Join(char separator, object[] values)
{
#if NETSTANDARD2_0 || NETFRAMEWORK
Expand All @@ -33,6 +35,7 @@ public static string Join(char separator, object[] values)
#endif
}

[Link("https://learn.microsoft.com/en-us/dotnet/api/system.string.join#system-string-join(system-char-system-string()-system-int32-system-int32)")]
public static string Join(char separator, string?[] value, int startIndex, int count)
{
#if NETSTANDARD2_0 || NETFRAMEWORK
Expand All @@ -42,6 +45,7 @@ public static string Join(char separator, string?[] value, int startIndex, int c
#endif
}

[Link("https://learn.microsoft.com/en-us/dotnet/api/system.string.join#system-string-join-1(system-char-system-collections-generic-ienumerable((-0)))")]
public static string Join<T>(char separator, IEnumerable<T> values)
{
#if NETSTANDARD2_0 || NETFRAMEWORK
Expand Down

0 comments on commit 36fc60f

Please sign in to comment.