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