164 references to IgnorePatternWhitespace
Aspire.Dashboard (1)
src\Shared\ConsoleLogs\TimestampParser.cs (1)
70RegexOptions.ExplicitCapture | RegexOptions.CultureInvariant | RegexOptions.IgnorePatternWhitespace)]
Aspire.Hosting (1)
src\Shared\ConsoleLogs\TimestampParser.cs (1)
70RegexOptions.ExplicitCapture | RegexOptions.CultureInvariant | RegexOptions.IgnorePatternWhitespace)]
BuildActionTelemetryTable (1)
Program.cs (1)
559(?<=[A-Za-z])(?=[^A-Za-z])", RegexOptions.IgnorePatternWhitespace);
Microsoft.AspNetCore.App.Analyzers.Test (1)
RouteEmbeddedLanguage\Infrastructure\MarkupTestFile.cs (1)
50RegexOptions.Multiline | RegexOptions.IgnorePatternWhitespace);
Microsoft.Build (4)
Evaluation\Expander.cs (2)
3102RegexOptions.IgnorePatternWhitespace | RegexOptions.ExplicitCapture | RegexOptions.Compiled)); 3130RegexOptions.IgnorePatternWhitespace | RegexOptions.ExplicitCapture | RegexOptions.Compiled));
ProjectWriter.cs (2)
48RegexOptions.IgnorePatternWhitespace | RegexOptions.ExplicitCapture | RegexOptions.Compiled)); 64RegexOptions.IgnorePatternWhitespace | RegexOptions.ExplicitCapture | RegexOptions.Compiled));
Microsoft.Build.Engine.UnitTests (4)
Evaluation\ExpressionShredder_Tests.cs (4)
1206private static readonly Regex s_itemVectorPattern = new Regex(itemVectorSpecification, RegexOptions.IgnorePatternWhitespace | RegexOptions.ExplicitCapture); 1214RegexOptions.IgnorePatternWhitespace | RegexOptions.ExplicitCapture); 1227private static readonly Regex s_itemMetadataPattern = new Regex(itemMetadataSpecification, RegexOptions.IgnorePatternWhitespace | RegexOptions.ExplicitCapture); 1239RegexOptions.IgnorePatternWhitespace | RegexOptions.ExplicitCapture);
Microsoft.Build.Tasks.CodeAnalysis (6)
CanonicalError.cs (6)
84RegexOptions.IgnoreCase | RegexOptions.IgnorePatternWhitespace); 92RegexOptions.IgnoreCase | RegexOptions.IgnorePatternWhitespace); 102RegexOptions.IgnoreCase | RegexOptions.IgnorePatternWhitespace); 112RegexOptions.IgnoreCase | RegexOptions.IgnorePatternWhitespace); 124RegexOptions.IgnoreCase | RegexOptions.IgnorePatternWhitespace); 138RegexOptions.IgnoreCase | RegexOptions.IgnorePatternWhitespace);
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (125)
EmbeddedLanguages\RegularExpressions\CSharpRegexParserTests_BasicTests.cs (123)
53""", RegexOptions.IgnorePatternWhitespace); 75""", RegexOptions.IgnorePatternWhitespace); 215""", RegexOptions.IgnorePatternWhitespace); 268""", RegexOptions.IgnorePatternWhitespace); 549""", RegexOptions.IgnorePatternWhitespace); 622""", RegexOptions.IgnorePatternWhitespace); 842""", RegexOptions.IgnorePatternWhitespace); 887""", RegexOptions.IgnorePatternWhitespace); 921""", RegexOptions.IgnorePatternWhitespace); 959""", RegexOptions.IgnorePatternWhitespace); 1011""", RegexOptions.IgnorePatternWhitespace); 1039""", RegexOptions.IgnorePatternWhitespace); 1070""", RegexOptions.IgnorePatternWhitespace); 1101""", RegexOptions.IgnorePatternWhitespace); 1136""", RegexOptions.IgnorePatternWhitespace); 1171""", RegexOptions.IgnorePatternWhitespace); 1639""", RegexOptions.IgnorePatternWhitespace); 1664""", RegexOptions.IgnorePatternWhitespace); 1690""", RegexOptions.IgnorePatternWhitespace); 1719""", RegexOptions.IgnorePatternWhitespace); 2276""", RegexOptions.IgnorePatternWhitespace); 2304""", RegexOptions.IgnorePatternWhitespace); 2332""", RegexOptions.IgnorePatternWhitespace); 2360""", RegexOptions.IgnorePatternWhitespace); 2388""", RegexOptions.IgnorePatternWhitespace); 2416""", RegexOptions.IgnorePatternWhitespace); 2547""", RegexOptions.IgnorePatternWhitespace); 6479""", RegexOptions.IgnorePatternWhitespace); 6511""", RegexOptions.IgnorePatternWhitespace); 6855""", RegexOptions.IgnorePatternWhitespace); 6973""", RegexOptions.IgnorePatternWhitespace); 7091""", RegexOptions.IgnorePatternWhitespace); 7209""", RegexOptions.IgnorePatternWhitespace); 7331""", RegexOptions.IgnorePatternWhitespace); 7453""", RegexOptions.IgnorePatternWhitespace); 7485""", RegexOptions.IgnorePatternWhitespace); 7517""", RegexOptions.IgnorePatternWhitespace); 7551""", RegexOptions.IgnorePatternWhitespace); 7584""", RegexOptions.IgnorePatternWhitespace); 7621""", RegexOptions.IgnorePatternWhitespace); 7655""", RegexOptions.IgnorePatternWhitespace); 7732""", RegexOptions.IgnorePatternWhitespace); 7805""", RegexOptions.IgnorePatternWhitespace); 7884""", RegexOptions.IgnorePatternWhitespace); 7918""", RegexOptions.IgnorePatternWhitespace); 7953""", RegexOptions.IgnorePatternWhitespace); 7986""", RegexOptions.IgnorePatternWhitespace); 8019""", RegexOptions.IgnorePatternWhitespace); 8113""", RegexOptions.IgnorePatternWhitespace); 8147""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 8181""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 8214""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 8247""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 8277""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 8317""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 8363""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 8403""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 8433""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 8469""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 8505""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 8540""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 8575""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 8607""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 8649""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 8697""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 8739""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 8771""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 8804""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 8840""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 8876""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 8917""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 8958""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 8998""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 9038""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 9101""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 9179""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 9262""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 9345""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 9433""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 9511""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 9596""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 9679""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 9762""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 9852""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 9940""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 9985""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 10028""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 10060""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 10090""", RegexOptions.IgnorePatternWhitespace); 10120""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 10152""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 10191""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 10230""", RegexOptions.IgnorePatternWhitespace, allowIndexOutOfRange: true); 10263""", RegexOptions.IgnorePatternWhitespace); 10295""", RegexOptions.IgnorePatternWhitespace); 10326""", RegexOptions.IgnorePatternWhitespace); 10354""", RegexOptions.IgnorePatternWhitespace); 10386""", RegexOptions.IgnorePatternWhitespace); 10422""", RegexOptions.IgnorePatternWhitespace); 10462""", RegexOptions.IgnorePatternWhitespace); 10509""", RegexOptions.IgnorePatternWhitespace); 10560""", RegexOptions.IgnorePatternWhitespace); 10594""", RegexOptions.IgnorePatternWhitespace); 10625""", RegexOptions.IgnorePatternWhitespace); 10653""", RegexOptions.IgnorePatternWhitespace); 10713""", RegexOptions.IgnorePatternWhitespace); 10782""", RegexOptions.IgnorePatternWhitespace); 10816""", RegexOptions.IgnorePatternWhitespace); 10855""", RegexOptions.IgnorePatternWhitespace); 10903""", RegexOptions.IgnorePatternWhitespace); 10951""", RegexOptions.IgnorePatternWhitespace); 11092""", RegexOptions.IgnorePatternWhitespace); 11129""", RegexOptions.IgnorePatternWhitespace); 11173""", RegexOptions.IgnorePatternWhitespace); 11217""", RegexOptions.IgnorePatternWhitespace); 11261""", RegexOptions.IgnorePatternWhitespace); 11300""", RegexOptions.IgnorePatternWhitespace); 11339""", RegexOptions.IgnorePatternWhitespace); 11377""", RegexOptions.IgnorePatternWhitespace); 11415""", RegexOptions.IgnorePatternWhitespace); 11452""", RegexOptions.IgnorePatternWhitespace); 11485""", RegexOptions.IgnorePatternWhitespace); 11518""", RegexOptions.IgnorePatternWhitespace);
EmbeddedLanguages\RegularExpressions\CSharpRegexParserTests_DotnetNegativeTests.cs (1)
2505""", RegexOptions.IgnorePatternWhitespace);
EmbeddedLanguages\RegularExpressions\CSharpRegexParserTests_ReferenceTests.cs (1)
4953""", RegexOptions.IgnorePatternWhitespace);
Microsoft.CodeAnalysis.Features (5)
EmbeddedLanguages\Json\JsonParser.StrictSyntaxChecker.cs (1)
214RegexOptions.Compiled | RegexOptions.IgnorePatternWhitespace);
EmbeddedLanguages\RegularExpressions\RegexLexer.cs (2)
137if (HasOption(options, RegexOptions.IgnorePatternWhitespace)) 200if (HasOption(options, RegexOptions.IgnorePatternWhitespace))
EmbeddedLanguages\RegularExpressions\RegexParser.cs (2)
113/// For example, if <see cref="RegexOptions.IgnorePatternWhitespace"/> is currently 1212case 'x': case 'X': return RegexOptions.IgnorePatternWhitespace;
Microsoft.CodeAnalysis.Features.Test.Utilities (3)
EditAndContinue\SourceMarkers.cs (3)
20"[<] (?<IsEnd>/?) (?<Name>(AS|ER|N|S|TS))[:] (?<Id>[.0-9,]+) (?<IsStartAndEnd>/?) [>]", RegexOptions.IgnorePatternWhitespace); 26RegexOptions.IgnorePatternWhitespace | RegexOptions.Singleline); 32RegexOptions.IgnorePatternWhitespace | RegexOptions.Singleline);
Microsoft.CodeAnalysis.Test.Utilities (3)
MarkedSource\MarkupTestFile.cs (1)
50RegexOptions.Multiline | RegexOptions.IgnorePatternWhitespace);
MarkedSource\SourceWithMarkedNodes.cs (2)
87RegexOptions.IgnorePatternWhitespace | RegexOptions.Singleline); 105RegexOptions.IgnorePatternWhitespace | RegexOptions.Singleline);
Microsoft.Maui.Controls.DesignTools (1)
ColorDesignTypeConverter.cs (1)
189 static readonly Lazy<Regex> RxFuncExpr = new(() => new Regex(RxFuncPattern, RegexOptions.Compiled | RegexOptions.IgnoreCase | RegexOptions.IgnorePatternWhitespace | RegexOptions.Singleline));
SemanticSearch.BuildTask (2)
GenerateFilteredReferenceAssembliesTask.cs (2)
55""", RegexOptions.Singleline | RegexOptions.IgnorePatternWhitespace); 194RegexOptions.Singleline | RegexOptions.IgnorePatternWhitespace | RegexOptions.Compiled);
System.Text.RegularExpressions (6)
System\Text\RegularExpressions\RegexNode.cs (1)
2885if ((Options & RegexOptions.IgnorePatternWhitespace) != 0) sb.Append("-X");
System\Text\RegularExpressions\RegexParser.cs (5)
290if ((_options & RegexOptions.IgnorePatternWhitespace) != 0) 1041if ((_options & RegexOptions.IgnorePatternWhitespace) != 0) 1049if ((_options & RegexOptions.IgnorePatternWhitespace) != 0 && _pos < _pattern.Length && _pattern[_pos] == '#') 1553'x' => RegexOptions.IgnorePatternWhitespace, 1688if ((_options & RegexOptions.IgnorePatternWhitespace) != 0)
VisualBasicSyntaxGenerator (1)
Grammar\GrammarGenerator.vb (1)
351RegexOptions.IgnorePatternWhitespace Or RegexOptions.Compiled)