45 references to CultureInvariant
Aspire.Dashboard (7)
Components\Layout\MobileNavMenu.razor.cs (1)
111
return new Regex($"^({pageRelativeBasePath}|{pageRelativeBasePath}/.+)$", RegexOptions.
CultureInvariant
| RegexOptions.IgnoreCase);
ConsoleLogs\UrlParser.cs (1)
72
RegexOptions.IgnoreCase | RegexOptions.
CultureInvariant
| RegexOptions.ExplicitCapture)]
Model\ResourceOutgoingPeerResolver.cs (1)
18
[GeneratedRegex(@"^(?:127\.0\.0\.1|host\.docker\.internal|host\.containers\.internal):", RegexOptions.IgnoreCase | RegexOptions.
CultureInvariant
)]
RegexGenerator.g.cs (3)
326
base.roptions = RegexOptions.IgnoreCase | RegexOptions.ExplicitCapture | RegexOptions.
CultureInvariant
;
1387
base.roptions = RegexOptions.IgnoreCase | RegexOptions.
CultureInvariant
;
1780
base.roptions = RegexOptions.ExplicitCapture | RegexOptions.IgnorePatternWhitespace | RegexOptions.
CultureInvariant
;
src\Shared\ConsoleLogs\TimestampParser.cs (1)
70
RegexOptions.ExplicitCapture | RegexOptions.
CultureInvariant
| RegexOptions.IgnorePatternWhitespace)]
Aspire.Hosting (5)
Dashboard\DashboardService.cs (1)
33
[GeneratedRegex("""^(?<name>.+?)\.?AppHost$""", RegexOptions.ExplicitCapture | RegexOptions.IgnoreCase | RegexOptions.Singleline | RegexOptions.
CultureInvariant
)]
Dcp\DcpExecutor.cs (1)
56
[GeneratedRegex("""^(?<name>.+?)\.?AppHost$""", RegexOptions.ExplicitCapture | RegexOptions.IgnoreCase | RegexOptions.Singleline | RegexOptions.
CultureInvariant
)]
RegexGenerator.g.cs (2)
253
base.roptions = RegexOptions.IgnoreCase | RegexOptions.ExplicitCapture | RegexOptions.Singleline | RegexOptions.
CultureInvariant
;
1523
base.roptions = RegexOptions.ExplicitCapture | RegexOptions.IgnorePatternWhitespace | RegexOptions.
CultureInvariant
;
src\Shared\ConsoleLogs\TimestampParser.cs (1)
70
RegexOptions.ExplicitCapture | RegexOptions.
CultureInvariant
| RegexOptions.IgnorePatternWhitespace)]
Aspire.Hosting.SqlServer (1)
SqlServerBuilderExtensions.cs (1)
22
[GeneratedRegex(@"^\s*GO(?<repeat>\s+\d{1,6})?(\s*\-{2,}.*)?\s*$", RegexOptions.
CultureInvariant
| RegexOptions.IgnoreCase)]
Microsoft.AspNetCore.Components (3)
src\Http\Routing\src\Constraints\RegexInlineRouteConstraint.cs (1)
25
public RegexInlineRouteConstraint([StringSyntax(StringSyntaxAttribute.Regex, RegexOptions.
CultureInvariant
| RegexOptions.IgnoreCase)] string regexPattern)
src\Http\Routing\src\Constraints\RegexRouteConstraint.cs (2)
46
[StringSyntax(StringSyntaxAttribute.Regex, RegexOptions.
CultureInvariant
| RegexOptions.Compiled | RegexOptions.IgnoreCase)]
55
RegexOptions.
CultureInvariant
| RegexOptions.Compiled | RegexOptions.IgnoreCase,
Microsoft.AspNetCore.Rewrite (9)
ApacheModRewrite\RuleBuilder.cs (4)
68
match = new RegexMatch(new Regex(input.Operand, RegexOptions.
CultureInvariant
| RegexOptions.Compiled | RegexOptions.IgnoreCase, _regexTimeout), input.Invert);
72
match = new RegexMatch(new Regex(input.Operand, RegexOptions.
CultureInvariant
| RegexOptions.Compiled, _regexTimeout), input.Invert);
165
_match = new RegexMatch(new Regex(input.Operand, RegexOptions.
CultureInvariant
| RegexOptions.Compiled | RegexOptions.IgnoreCase, _regexTimeout), input.Invert);
169
_match = new RegexMatch(new Regex(input.Operand, RegexOptions.
CultureInvariant
| RegexOptions.Compiled, _regexTimeout), input.Invert);
IISUrlRewrite\UriMatchCondition.cs (1)
25
var regexOptions = RegexOptions.
CultureInvariant
| RegexOptions.Compiled;
IISUrlRewrite\UrlRewriteRuleBuilder.cs (2)
49
var regex = new Regex(input, RegexOptions.
CultureInvariant
| RegexOptions.Compiled | RegexOptions.IgnoreCase, _regexTimeout);
54
var regex = new Regex(input, RegexOptions.
CultureInvariant
| RegexOptions.Compiled, _regexTimeout);
RedirectRule.cs (1)
22
InitialMatch = new Regex(regex, RegexOptions.Compiled | RegexOptions.
CultureInvariant
, _regexTimeout);
RewriteRule.cs (1)
22
InitialMatch = new Regex(regex, RegexOptions.Compiled | RegexOptions.
CultureInvariant
, _regexTimeout);
Microsoft.AspNetCore.Routing (3)
Constraints\RegexInlineRouteConstraint.cs (1)
25
public RegexInlineRouteConstraint([StringSyntax(StringSyntaxAttribute.Regex, RegexOptions.
CultureInvariant
| RegexOptions.IgnoreCase)] string regexPattern)
Constraints\RegexRouteConstraint.cs (2)
46
[StringSyntax(StringSyntaxAttribute.Regex, RegexOptions.
CultureInvariant
| RegexOptions.Compiled | RegexOptions.IgnoreCase)]
55
RegexOptions.
CultureInvariant
| RegexOptions.Compiled | RegexOptions.IgnoreCase,
Microsoft.CodeAnalysis.Workspaces (1)
Rename\RenameUtilities.cs (1)
292
return new Regex(matchString, RegexOptions.
CultureInvariant
);
Microsoft.Data.Analysis (1)
TextFieldParser.cs (1)
308
_beginQuotesRegex = new Regex(pattern, RegexOptions.
CultureInvariant
);
Microsoft.Data.Analysis.Tests (1)
src\Microsoft.Data.Analysis\TextFieldParser.cs (1)
308
_beginQuotesRegex = new Regex(pattern, RegexOptions.
CultureInvariant
);
PresentationBuildTasks (1)
Microsoft\Build\Tasks\Windows\UidManager.cs (1)
1307
[GeneratedRegex("(<|>|\"|'|&)", RegexOptions.
CultureInvariant
)]
PresentationFramework (1)
System\Windows\Documents\WinRTSpellerInterop.cs (1)
546
[GeneratedRegex(@"\s*\#LID\s+(\d+)\s*", RegexOptions.Singleline | RegexOptions.
CultureInvariant
)]
RoutingSandbox (1)
UseRouterStartup.cs (1)
34
constraints: new { lastName = new RegexRouteConstraint(new Regex("[a-zA-Z]{3}", RegexOptions.
CultureInvariant
, RegexMatchTimeout)) });
RoutingWebSite (1)
UseRouterStartup.cs (1)
34
constraints: new { lastName = new RegexRouteConstraint(new Regex("[a-zA-Z]{3}", RegexOptions.
CultureInvariant
, RegexMatchTimeout)) });
System.Net.WebProxy (5)
System\Net\WebProxy.cs (5)
27
public WebProxy(Uri? Address, bool BypassOnLocal, [StringSyntax(StringSyntaxAttribute.Regex, RegexOptions.IgnoreCase | RegexOptions.
CultureInvariant
)] string[]? BypassList) : this(Address, BypassOnLocal, BypassList, null) { }
29
public WebProxy(Uri? Address, bool BypassOnLocal, [StringSyntax(StringSyntaxAttribute.Regex, RegexOptions.IgnoreCase | RegexOptions.
CultureInvariant
)] string[]? BypassList, ICredentials? Credentials)
56
public WebProxy(string? Address, bool BypassOnLocal, [StringSyntax(StringSyntaxAttribute.Regex, RegexOptions.IgnoreCase | RegexOptions.
CultureInvariant
)] string[]? BypassList)
61
public WebProxy(string? Address, bool BypassOnLocal, [StringSyntax(StringSyntaxAttribute.Regex, RegexOptions.IgnoreCase | RegexOptions.
CultureInvariant
)] string[]? BypassList, ICredentials? Credentials)
140
regexBypassList[i] = new Regex((string)bypassList[i]!, RegexOptions.IgnoreCase | RegexOptions.
CultureInvariant
);
System.Text.RegularExpressions (5)
System\Text\RegularExpressions\Regex.cs (2)
150
((options & RegexOptions.ECMAScript) != 0 && (options & ~(RegexOptions.ECMAScript | RegexOptions.IgnoreCase | RegexOptions.Multiline | RegexOptions.Compiled | RegexOptions.
CultureInvariant
)) != 0) ||
252
RegexTree tree = RegexParser.Parse(pattern, options, (options & RegexOptions.
CultureInvariant
) != 0 ? CultureInfo.InvariantCulture : CultureInfo.CurrentCulture);
System\Text\RegularExpressions\RegexCaseBehavior.cs (1)
27
/// specified <see cref="RegexOptions.
CultureInvariant
"/> or when the CurrentCulture is <see cref="CultureInfo.InvariantCulture"/>.
System\Text\RegularExpressions\RegexParser.cs (2)
87
(options & RegexOptions.
CultureInvariant
) != 0 ? CultureInfo.InvariantCulture : CultureInfo.CurrentCulture;
140
CultureInfo culture = (options & RegexOptions.
CultureInvariant
) != 0 ? CultureInfo.InvariantCulture : CultureInfo.CurrentCulture;