Open yegorisB opened 1 month ago
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
there are many doc context-leaks where .NET-9 has bled-thru into .NET-8 docs. See also Issues #9868 #9919 #10111 so expect to be "de-duped" as dupe of #10012 !
Tagging subscribers to this area: @dotnet/area-system-text-regularexpressions
@yegorisB Regex.Count doc is correctly specifying the API is supported starting .NET 7.0. What is wrong with that?
CC @gewarren
Type of issue
VS2022 Error Message
Description
using System.Text.RegularExpressions; public static int Count (string input, string pattern); Severity Code CS0103 The name 'Count' does not exist in the current context VS2022 [Enter feedback here]
Page URL
https://learn.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.regex.count?view=net-8.0
Content source URL
https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Text.RegularExpressions/Regex.xml
Document Version Independent Id
eaa53010-0ad3-5926-c750-8b29ef19a4e0
Article author
@dotnet-bot