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