135 references to Success
PresentationFramework (1)
src\Framework\MS\Internal\AppModel\DeploymentExceptionMapper.cs (1)
87if(match.Success)
System (14)
compmod\microsoft\csharp\csharpcodeprovider.cs (2)
534if (m.Success) { 542if (m.Success) {
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
518if (m.Success) {
net\System\Net\_WebProxyDataBuilder.cs (1)
170if (results.Success) {
regex\system\text\regularexpressions\RegexMatchCollection.cs (1)
82if (!match.Success) {
regex\system\text\regularexpressions\RegexReplacement.cs (9)
197if (!match.Success) { 217} while (match.Success); 236} while (match.Success); 277if (!match.Success) { 299} while (match.Success); 320} while (match.Success); 360if (!match.Success) { 387if (!match.Success) 412if (!match.Success)
System.Activities (5)
Microsoft\VisualBasic\Activities\XamlIntegration\VisualBasicExpressionConverter.cs (1)
135if (match.Success)
System\Activities\WorkflowIdentity.cs (4)
306if (parser.match.Success) 349Fx.Assert(nameMatch.Success, "RegEx requires name, even if it's empty"); 357if (versionMatch.Success) 375if (packageMatch.Success)
System.ComponentModel.DataAnnotations (1)
DataAnnotations\RegularExpressionAttribute.cs (1)
74return (m.Success && m.Index == 0 && m.Length == stringValue.Length);
System.Configuration (1)
System\Configuration\RegexStringValidator.cs (1)
48if (!match.Success) {
System.Core (3)
System\Management\Automation\UMPAttributes.cs (3)
125|| !Regex.Match(namespacePart, @"^[a-z,A-Z]").Success // All parts must start with letter 126|| Regex.Match(namespacePart, @"_$").Success // Must not end with an underscore 127|| Regex.Match(namespacePart, @"[^a-z,A-Z,0-9,_,\u0080-\uFFFF]").Success) // Only letters, digits, or underscores
System.Data.Entity (1)
System\Data\EntityModel\SchemaObjectModel\Function.cs (1)
61if (match.Success)
System.Data.Entity.Design (1)
System\Data\EntityModel\Emitters\CommentEmitter.cs (1)
230if (!match.Success)
System.Data.Linq (1)
SqlClient\Query\SqlIdentifier.cs (1)
134if (!m.Success)
System.Data.Services (1)
System\Data\Services\Serializers\JsonReader.cs (1)
85if (match.Success)
System.Data.Services.Design (1)
System\Data\EntityModel\Emitters\CommentEmitter.cs (1)
227if (!match.Success)
System.Data.SqlXml (2)
System\Xml\Xsl\QIL\QilXmlReader.cs (2)
408Debug.Assert(m.Success && m.Groups.Count == 5, "Malformed lineInfo attribute"); 422Debug.Assert(m.Success && m.Groups.Count == 4, "Malformed Type info");
System.Management (4)
Instrumentation\Attributes.cs (3)
66|| !Regex.Match(namespacePart, @"^[a-z,A-Z]").Success // All parts must start with letter 67|| Regex.Match(namespacePart, @"_$").Success // Must not end with an underscore 68|| Regex.Match(namespacePart, @"[^a-z,A-Z,0-9,_,\u0080-\uFFFF]").Success) // Only letters, digits, or underscores
Instrumentation\EventSource.cs (1)
532if(match.Success==false)
System.ServiceModel (4)
System\ServiceModel\Administration\WbemProvider.cs (4)
787if (match.Success) 795if (!match.Success) 799while (match.Success) 825if (!match.Success)
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\ServiceParser.cs (1)
404if (!match.Success)
System.Web (55)
Configuration\BrowserCapabilitiesCodeGenerator.cs (1)
1410if (RegexWorker.RefPat.Match(capsString).Success) {
Configuration\CapabilitiesPattern.cs (3)
59if ((match = textPat.Match(text, textpos)).Success && match.Length > 0) { 70if ((match = refPat.Match(text, textpos)).Success) { 77else if ((match = varPat.Match(text, textpos)).Success) {
Configuration\CapabilitiesSection.cs (1)
47if (!match.Success)
Configuration\CapabilitiesState.cs (1)
83if (group.Success) {
Configuration\HttpCapabilitiesSectionHandler.cs (2)
405if ((match = wsRegex.Match(text, textpos)).Success) { 413if ((match = lineRegex.Match(text, textpos)).Success) {
Configuration\RegexWorker.cs (1)
94if(match.Success == false) {
ErrorFormatter.cs (1)
1263if (m.Success)
State\OutOfProcStateClientManager.cs (1)
203if (ipv6RegexMatch != null && ipv6RegexMatch.Success) {
UI\BatchParser.cs (4)
134if ((match = textRegex.Match(text, textPos)).Success) { 147if ((match = directiveRegex.Match(text, textPos)).Success) { 154else if ((match = includeRegex.Match(text, textPos)).Success) { 159else if ((match = commentRegex.Match(text, textPos)).Success) {
UI\ControlBuilder.cs (11)
1352if ((match = bindExpressionRegex.Match(codeBlockBuilder.Content, 0)).Success || (match = bindItemExpressionRegex.Match(codeBlockBuilder.Content, 0)).Success) { 2659if ((match = databindRegex.Match(attribvalue, 0)).Success) { 2672bool encode = match.Groups["encode"].Success; 2678if ((match = bindExpressionRegex.Match(code, 0)).Success) { 2682else if ((match = bindItemExpressionRegex.Match(code, 0)).Success) { 2690(match = evalExpressionRegex.Match(code, 0)).Success) { 2700if (!(match = bindParametersRegex.Match(paramString, 0)).Success) { 2704else if (!(match = bindItemParametersRegex.Match(paramString, 0)).Success) { 2717if (!(match = formatStringRegex.Match(formatString, 0)).Success) { 2744else if ((match = expressionBuilderRegex.Match(attribvalue, 0)).Success) {
UI\CssStyleCollection.cs (1)
307if ((match = _styleAttribRegex.Match( s, 0)).Success) {
UI\SimpleWebHandlerParser.cs (1)
225if (!match.Success)
UI\TemplateParser.cs (18)
962if ((match = textRegex.Match(text, textPos)).Success) 990(match = directiveRegex.Match(text, textPos)).Success) 1026else if ((match = includeRegex.Match(text, textPos)).Success) 1042else if ((match = commentRegex.Match(text, textPos)).Success) 1054(match = aspExprRegex.Match(text, textPos)).Success) 1062else if (!flags[inScriptTag] && (match = aspEncodedExprRegex.Match(text, textPos)).Success) { 1071(match = databindExprRegex.Match(text, textPos)).Success) { 1081(match = aspCodeRegex.Match(text, textPos)).Success) 1101lastGTIndex > textPos && (match = tagRegex.Match(text, textPos)).Success) 1118else if ((match = endtagRegex.Match(text, textPos)).Success) 1126if (match == null || !match.Success || fMatchedButNotProcessed) { 1466bool fSelfClosed = match.Groups["empty"].Success; 1715return ControlBuilder.expressionBuilderRegex.Match(val, 0).Success; 2274if (!match.Success) 2284if (!match.Success) 2291if (matchLessThan.Success && matchLessThan.Index < match.Index) 2302if (TagRegex.Match(tag2).Success) { 2498bool encode = match.Groups["encode"].Success;
UI\WebControls\basecomparevalidator.cs (8)
291if (!m.Success) { 316if (!m.Success) { 341if (m.Success && (m.Groups[2].Success || dateElementOrder == "ymd")) { 344if (m.Groups[2].Success) { 359if (!m.Success) { 370if (m.Groups[5].Success) { 475return Regex.Match(date, standardDateExpression).Success;
UI\WebControls\RegularExpressionValidator.cs (1)
95return(m.Success && m.Index == 0 && m.Length == controlValue.Length);
System.Web.DynamicData (1)
DynamicData\ModelProviders\DLinqColumnProvider.cs (1)
85if (m.Success) {
System.Web.Extensions (1)
UI\ScriptRegistrationManager.cs (1)
656for (Match match = ScriptTagRegex.Match(scriptContent, lastIndex); match.Success; match = ScriptTagRegex.Match(scriptContent, lastIndex)) {
System.Web.Mobile (13)
Mobile\MobileErrorInfo.cs (1)
243if (match.Success)
UI\MobileControls\Design\Util\SimpleParser.cs (11)
120if ((match = _textRegex.Match(text, textPos)).Success) 139if ((match = _unclosedTagRegex.Match(text, textPos)).Success) 146else if ((match = _tagRegex.Match(text, textPos)).Success) 152else if ((match = _endtagRegex.Match(text, textPos)).Success) 184else if ((match = _directiveRegex.Match(text, textPos)).Success) 191else if ((match = _includeRegex.Match(text, textPos)).Success) 198else if ((match = _commentRegex.Match(text, textPos)).Success) 204else if ((match = _aspExprRegex.Match(text, textPos)).Success) 212else if ((match = _databindExprRegex.Match(text, textPos)).Success) 218else if ((match = _aspCodeRegex.Match(text, textPos)).Success) 224if (match == null || !match.Success)
UI\MobileControls\PhoneCall.cs (1)
68if (!match.Success || match.Index != 0 ||
System.Web.Services (10)
System\Web\Services\Discovery\LinkGrep.cs (6)
50if ((match = doctypeDirectiveRegex.Match(text, textpos)).Success) { 64if ((match = whitespaceRegex.Match(text, textpos)).Success) { 70else if ((match = textRegex.Match(text, textpos)).Success) { 84if ((match = tagRegex.Match(text, textpos)).Success) 127else if ((match = endtagRegex.Match(text, textpos)).Success) { 133else if ((match = commentRegex.Match(text, textpos)).Success) {
System\Web\Services\Protocols\PatternMatcher.cs (4)
85while (m.Success && matchCount < maxRepeats) { 98if (m.Success) { 119while (m.Success && matchCount < maxRepeats) { 132if (m.Success) {
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ToolStripSettings.cs (1)
255if (match != null && match.Success) {
System.Workflow.ComponentModel (1)
AuthoringOM\Compiler\XomlCompilerParameters.cs (1)
541if (match.Success)
System.Xml (12)
System\Xml\Serialization\SourceInfo.cs (2)
64if (match.Success) { 168if (match.Success) {
System\Xml\Serialization\XmlSerializationReaderILGen.cs (10)
2734if (match.Success) { 2780if (match.Success) { 2818if (match.Success) { 2853if (match.Success) { 3609if (match.Success) { 3619if (match.Success) { 3631if (match.Success) { 3643if (match.Success) { 3656if (match.Success) { 3665if (match.Success) {