From 36fc60f909a94fbf689731df4bf4094be6a93f37 Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Mon, 26 Feb 2024 11:31:19 +1100 Subject: [PATCH] Update StringPolyfill.cs --- src/Polyfill/StringPolyfill.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Polyfill/StringPolyfill.cs b/src/Polyfill/StringPolyfill.cs index 7c5769d9..b7f41e99 100644 --- a/src/Polyfill/StringPolyfill.cs +++ b/src/Polyfill/StringPolyfill.cs @@ -7,6 +7,7 @@ using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; +using Link = System.ComponentModel.DescriptionAttribute; [ExcludeFromCodeCoverage] [DebuggerNonUserCode] @@ -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 @@ -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 @@ -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(char separator, IEnumerable values) { #if NETSTANDARD2_0 || NETFRAMEWORK