1 override of Groups
System (1)
regex\system\text\regularexpressions\RegexMatch.cs (1)
437
public override GroupCollection
Groups
{
175 references to Groups
PresentationFramework (1)
src\Framework\MS\Internal\AppModel\DeploymentExceptionMapper.cs (1)
89
version = match.
Groups
[1].Value;
System (19)
compmod\microsoft\csharp\csharpcodeprovider.cs (6)
545
ce.FileName = m.
Groups
[2].Value;
546
ce.Line = int.Parse(m.
Groups
[4].Value, CultureInfo.InvariantCulture);
547
ce.Column = int.Parse(m.
Groups
[5].Value, CultureInfo.InvariantCulture);
549
if (string.Compare(m.
Groups
[full ? 6 : 1].Value, "warning", StringComparison.OrdinalIgnoreCase) == 0) {
552
ce.ErrorNumber = m.
Groups
[full ? 7 : 2].Value;
553
ce.ErrorText = m.
Groups
[full ? 8 : 3].Value;
compmod\microsoft\visualbasic\VBCodeProvider.cs (5)
520
ce.FileName = m.
Groups
[1].Value;
521
string rawLine = m.
Groups
[2].Value;
525
if (string.Compare(m.
Groups
[3].Value, "warning", StringComparison.OrdinalIgnoreCase) == 0) {
528
ce.ErrorNumber = m.
Groups
[4].Value;
529
ce.ErrorText = m.
Groups
[5].Value;
net\System\Net\_WebProxyDataBuilder.cs (3)
171
scheme = results.
Groups
["scheme"].Value;
172
host = results.
Groups
["host"].Value;
173
port = results.
Groups
["port"].Value;
regex\system\text\regularexpressions\RegexMatch.cs (1)
216
Group group = inner.
Groups
[i];
regex\system\text\regularexpressions\RegexReplacement.cs (4)
377
for (int i=1; i<match.
Groups
.Count; i++) {
379
al.Add(match.
Groups
[i].ToString());
402
for (int i=1; i<match.
Groups
.Count; i++) {
404
al.Add(match.
Groups
[i].ToString());
System.Activities (5)
Microsoft\VisualBasic\Activities\XamlIntegration\VisualBasicExpressionConverter.cs (2)
141
Assembly = match.
Groups
["assembly"].Value,
142
Import = match.
Groups
["namespace"].Value,
System\Activities\WorkflowIdentity.cs (3)
348
Group nameMatch = this.match.
Groups
["name"];
356
Group versionMatch = this.match.
Groups
["version"];
374
Group packageMatch = match.
Groups
["package"];
System.Data.Entity (3)
System\Data\EntityModel\SchemaObjectModel\Function.cs (3)
63
type = match.
Groups
["typeName"].Value;
64
switch (match.
Groups
["modifier"].Value)
73
Debug.Assert(false, "Unexpected modifier: " + match.
Groups
["modifier"].Value);
System.Data.Entity.Design (2)
System\Data\EntityModel\Emitters\CommentEmitter.cs (2)
240
leadingBlanks = match.
Groups
["LeadingBlanks"].Value;
245
string leadingBlanks2 = match.
Groups
["LeadingBlanks"].Value;
System.Data.Linq (1)
SqlClient\Query\SqlIdentifier.cs (1)
139
foreach (Capture cap in m.
Groups
["component"].Captures)
System.Data.Services (1)
System\Data\Services\Serializers\JsonReader.cs (1)
87
string ticksStr = match.
Groups
["ticks"].Value;
System.Data.Services.Design (2)
System\Data\EntityModel\Emitters\CommentEmitter.cs (2)
237
leadingBlanks = match.
Groups
["LeadingBlanks"].Value;
242
string leadingBlanks2 = match.
Groups
["LeadingBlanks"].Value;
System.Data.SqlXml (9)
System\Xml\Xsl\QIL\QilXmlReader.cs (9)
408
Debug.Assert(m.Success && m.
Groups
.Count == 5, "Malformed lineInfo attribute");
410
Int32.Parse(m.
Groups
[1].Value, CultureInfo.InvariantCulture),
411
Int32.Parse(m.
Groups
[2].Value, CultureInfo.InvariantCulture),
412
Int32.Parse(m.
Groups
[3].Value, CultureInfo.InvariantCulture),
413
Int32.Parse(m.
Groups
[4].Value, CultureInfo.InvariantCulture)
422
Debug.Assert(m.Success && m.
Groups
.Count == 4, "Malformed Type info");
424
XmlQueryCardinality qc = new XmlQueryCardinality(m.
Groups
[1].Value);
425
bool strict = bool.Parse(m.
Groups
[3].Value);
427
string[] codes = m.
Groups
[2].Value.Split('|');
System.Management (3)
Instrumentation\EventSource.cs (3)
539
string className = match.
Groups
[1].Value;
540
string instanceId = match.
Groups
[2].Value;
541
string processId = match.
Groups
[3].Value;
System.ServiceModel (9)
System\ServiceModel\Administration\WbemProvider.cs (9)
789
objectPath = match.
Groups
["path"].Value;
792
this.className = match.
Groups
["className"].Value;
793
string keyValues = match.
Groups
["keys"].Value;
801
if (!String.IsNullOrEmpty(match.
Groups
["ival"].Value))
803
this.keys.Add(match.
Groups
["key"].Value, Int32.Parse(match.
Groups
["ival"].Value, CultureInfo.CurrentCulture));
807
this.keys.Add(match.
Groups
["key"].Value, match.
Groups
["sval"].Value);
829
this.className = match.
Groups
["className"].Value;
System.ServiceModel.Activation (3)
System\ServiceModel\Activation\ServiceParser.cs (3)
464
CaptureCollection attrnames = match.
Groups
["attrname"].Captures;
465
CaptureCollection attrvalues = match.
Groups
["attrval"].Captures;
466
CaptureCollection equalsign = match.
Groups
["equal"].Captures;
System.Web (64)
Configuration\CapabilitiesPattern.cs (2)
72
strings.Add(match.
Groups
["name"].Value);
79
strings.Add(match.
Groups
["name"].Value);
Configuration\CapabilitiesState.cs (1)
82
Group group = ((Match)_matchlist[i]).
Groups
[groupnum];
Configuration\HttpCapabilitiesBase.cs (1)
419
Version version = new Version(match.
Groups
["clrVersion"].Value);
Configuration\HttpCapabilitiesSectionHandler.cs (2)
414
setlist.Add(new CapabilitiesAssignment(match.
Groups
["var"].Value,
415
new CapabilitiesPattern(match.
Groups
["pat"].Value)));
Configuration\RegexWorker.cs (2)
55
string groupName = match.
Groups
["name"].Value;
106
_groups[groups[i]] = match.
Groups
[i].Value;
Handlers\AssemblyResourceLoader.cs (1)
667
Group group = match.
Groups
["resourceName"];
State\OutOfProcStateClientManager.cs (2)
204
string ipv6AddressString = ipv6RegexMatch.
Groups
["ipv6Address"].Value;
212
port = UInt16.Parse(ipv6RegexMatch.
Groups
["port"].Value, CultureInfo.InvariantCulture);
UI\BatchParser.cs (5)
185
string pathType = match.
Groups
["pathtype"].Value;
186
string filename = match.
Groups
["filename"].Value;
300
CaptureCollection attrnames = match.
Groups
["attrname"].Captures;
301
CaptureCollection attrvalues = match.
Groups
["attrval"].Captures;
302
CaptureCollection equalsign = match.
Groups
["equal"].Captures;
UI\ControlBuilder.cs (6)
2666
Group codeGroup = match.
Groups
["code"];
2672
bool encode = match.
Groups
["encode"].Success;
2697
string paramString = match.
Groups
["params"].Value;
2708
string fieldName = match.
Groups
["fieldName"].Value;
2710
Group formatStringGroup = match.
Groups
["formatString"];
2754
string code = match.
Groups
["code"].Value.Trim();
UI\CssStyleCollection.cs (2)
308
CaptureCollection stylenames = match.
Groups
["stylename"].Captures;
309
CaptureCollection stylevalues = match.
Groups
["styleval"].Captures;
UI\SimpleWebHandlerParser.cs (3)
259
CaptureCollection attrnames = match.
Groups
["attrname"].Captures;
260
CaptureCollection attrvalues = match.
Groups
["attrval"].Captures;
262
equalsign = match.
Groups
["equal"].Captures;
UI\TemplateParser.cs (11)
1084
string code = match.
Groups
["code"].Value.Trim();
1458
string tagName = match.
Groups
["tagname"].Value;
1466
bool fSelfClosed = match.
Groups
["empty"].Success;
1694
string tagName = match.
Groups
["tagname"].Value;
2410
string pathType = match.
Groups
["pathtype"].Value;
2411
string filename = match.
Groups
["filename"].Value;
2495
Group codeGroup = match.
Groups
["code"];
2498
bool encode = match.
Groups
["encode"].Success;
2671
CaptureCollection attrnames = match.
Groups
["attrname"].Captures;
2672
CaptureCollection attrvalues = match.
Groups
["attrval"].Captures;
2675
equalsign = match.
Groups
["equal"].Captures;
UI\WebControls\basecomparevalidator.cs (26)
296
if (m.
Groups
[2].Length == 0 && hasDigits && m.
Groups
[5].Length == 0) {
300
return m.
Groups
[1].Value
301
+ m.
Groups
[2].Value.Replace(groupChar, string.Empty)
302
+ ((hasDigits && m.
Groups
[5].Length > 0) ? "." + m.
Groups
[5].Value : string.Empty);
321
if (m.
Groups
[2].Length == 0 && m.
Groups
[3].Length == 0) {
325
return m.
Groups
[1].Value
326
+ (m.
Groups
[2].Length > 0 ? m.
Groups
[2].Value : "0")
327
+ ((m.
Groups
[3].Length > 0) ? "." + m.
Groups
[3].Value: string.Empty);
341
if (m.Success && (m.
Groups
[2].Success || dateElementOrder == "ymd")) {
342
day = Int32.Parse(m.
Groups
[6].Value, CultureInfo.InvariantCulture);
343
month = Int32.Parse(m.
Groups
[5].Value, CultureInfo.InvariantCulture);
344
if (m.
Groups
[2].Success) {
345
year = Int32.Parse(m.
Groups
[2].Value, CultureInfo.InvariantCulture);
348
year = GetFullYear(Int32.Parse(m.
Groups
[3].Value, CultureInfo.InvariantCulture));
363
day = Int32.Parse(m.
Groups
[3].Value, CultureInfo.InvariantCulture);
364
month = Int32.Parse(m.
Groups
[1].Value, CultureInfo.InvariantCulture);
367
day = Int32.Parse(m.
Groups
[1].Value, CultureInfo.InvariantCulture);
368
month = Int32.Parse(m.
Groups
[3].Value, CultureInfo.InvariantCulture);
370
if (m.
Groups
[5].Success) {
371
year = Int32.Parse(m.
Groups
[5].Value, CultureInfo.InvariantCulture);
373
year = GetFullYear(Int32.Parse(m.
Groups
[6].Value, CultureInfo.InvariantCulture));
System.Web.DataVisualization (2)
Common\General\ImageMap.cs (2)
504
Group names = match.
Groups
["name"];
505
Group values = match.
Groups
["value"];
System.Web.DynamicData (1)
DynamicData\ModelProviders\DLinqColumnProvider.cs (1)
86
return Int32.Parse(m.
Groups
[1].Value, CultureInfo.InvariantCulture);
System.Web.Extensions (6)
Script\Serialization\JavaScriptObjectDeserializer.cs (1)
373
string ticksStr = match.
Groups
["ticks"].Value;
UI\ScriptRegistrationManager.cs (3)
661
if (match.
Groups
["empty"].Captures.Count > 0) {
685
CaptureCollection attrnames = match.
Groups
["attrname"].Captures;
686
CaptureCollection attrvalues = match.
Groups
["attrval"].Captures;
UI\ScriptResourceAttribute.cs (2)
113
Group group = match.
Groups
["resourceName"];
116
match.
Groups
["resourceType"].Value, "ScriptResource", StringComparison.Ordinal);
System.Web.Mobile (2)
UI\MobileControls\Design\Util\SimpleParser.cs (2)
141
String startTag = match.
Groups
["tagname"].Value;
154
String endTag = match.
Groups
["tagname"].Value;
System.Web.Services (15)
System\Web\Services\Discovery\LinkGrep.cs (3)
87
string tag = match.
Groups
["tagname"].Value;
90
CaptureCollection attrnames = match.
Groups
["attrname"].Captures;
91
CaptureCollection attrvalues = match.
Groups
["attrval"].Captures;
System\Web\Services\Protocols\PatternMatcher.cs (12)
86
if (m.
Groups
.Count <= group)
87
throw BadGroupIndexException(group, memberInfo.Name, m.
Groups
.Count - 1);
88
Group g = m.
Groups
[group];
99
if (m.
Groups
.Count <= group)
100
throw BadGroupIndexException(group, memberInfo.Name, m.
Groups
.Count - 1);
101
Group g = m.
Groups
[group];
120
if (m.
Groups
.Count <= group)
121
throw BadGroupIndexException(group, memberInfo.Name, m.
Groups
.Count - 1);
122
Group g = m.
Groups
[group];
133
if (m.
Groups
.Count <= group)
134
throw BadGroupIndexException(group, memberInfo.Name, m.
Groups
.Count - 1);
135
Group g = m.
Groups
[group];
System.Windows.Forms.DataVisualization (2)
Common\General\ImageMap.cs (2)
504
Group names = match.
Groups
["name"];
505
Group values = match.
Groups
["value"];
System.Workflow.ComponentModel (1)
AuthoringOM\Compiler\XomlCompilerParameters.cs (1)
542
rootNamespace = match.
Groups
["RootNamespace"].Value;
System.Xml (24)
System\Xml\Serialization\SourceInfo.cs (4)
65
object varA = ILG.GetVariable(match.
Groups
["a"].Value);
67
object varIA = ILG.GetVariable(match.
Groups
["ia"].Value);
169
Debug.Assert(match.
Groups
["arg"].Value == Arg);
170
Debug.Assert(match.
Groups
["cast"].Value == CodeIdentifier.GetCSharpName(Type));
System\Xml\Serialization\XmlSerializationReaderILGen.cs (20)
2735
Debug.Assert(match.
Groups
["locA1"].Value == match.
Groups
["locA2"].Value);
2736
Debug.Assert(match.
Groups
["locA1"].Value == match.
Groups
["locA3"].Value);
2737
Debug.Assert(match.
Groups
["locI1"].Value == match.
Groups
["locI2"].Value);
2739
LocalBuilder localA = ilg.GetLocal(match.
Groups
["locA1"].Value);
2740
LocalBuilder localI = ilg.GetLocal(match.
Groups
["locI1"].Value);
2781
System.Diagnostics.Debug.Assert(ilg.GetVariableType(ilg.GetVariable(match.
Groups
["a"].Value)).IsArray);
2782
ilg.Load(ilg.GetVariable(match.
Groups
["a"].Value));
2783
ilg.Load(ilg.GetVariable(match.
Groups
["ia"].Value));
2819
object oVar = ilg.GetVariable(match.
Groups
["locA1"].Value);
2854
Type varType = ilg.GetVariableType(ilg.GetVariable(match.
Groups
["a"].Value));
3612
ilg.Ldstr(match.
Groups
["qnames"].Value);
3621
LocalBuilder localO = ilg.GetLocal(match.
Groups
["o"].Value);
3624
ilg.Ldstr(match.
Groups
["qnames"].Value);
3633
LocalBuilder localO = ilg.GetLocal(match.
Groups
["o"].Value);
3645
LocalBuilder localO = ilg.GetLocal(match.
Groups
["o"].Value);
3657
ilg.LoadArrayElement(ilg.GetLocal("paramsRead"), Int32.Parse(match.
Groups
["index"].Value, CultureInfo.InvariantCulture));
3666
ilg.StoreArrayElement(ilg.GetLocal("paramsRead"), Int32.Parse(match.
Groups
["index"].Value, CultureInfo.InvariantCulture), value);