6 references to GroupNumberFromName
System.Data.Common (2)
src\libraries\Common\src\System\Data\Common\DbConnectionOptions.Common.cs (2)
438Debug.Assert(KeyIndex == parser.GroupNumberFromName("key"), "wrong key index"); 439Debug.Assert(ValueIndex == parser.GroupNumberFromName("value"), "wrong value index");
System.Data.Odbc (2)
src\libraries\Common\src\System\Data\Common\DbConnectionOptions.Common.cs (2)
438Debug.Assert(KeyIndex == parser.GroupNumberFromName("key"), "wrong key index"); 439Debug.Assert(ValueIndex == parser.GroupNumberFromName("value"), "wrong value index");
System.Text.RegularExpressions (2)
System\Text\RegularExpressions\GroupCollection.cs (2)
42GetGroup(_match._regex.GroupNumberFromName(groupname)); 210public bool ContainsKey(string key) => _match._regex!.GroupNumberFromName(key) >= 0;