diff --git a/release-notes/9.0/preview/preview6/libraries.md b/release-notes/9.0/preview/preview6/libraries.md index 0864cd4e2cd..bfd37ec4c00 100644 --- a/release-notes/9.0/preview/preview6/libraries.md +++ b/release-notes/9.0/preview/preview6/libraries.md @@ -452,7 +452,7 @@ The following example shows a new `String.ToLowerInvariant` overload using this ```csharp public static string ToLowerInvariant(ReadOnlySpan input) => - string.Create(span.Length, input, static (stringBuffer, input) => span.ToLowerInvariant(stringBuffer)); + string.Create(input.Length, input, static (stringBuffer, input) => input.ToLowerInvariant(stringBuffer)); ``` ## Collection lookups with spans