32 references to Compiled
PresentationBuildTasks (1)
BuildTasks\Microsoft\Build\Tasks\Windows\UidManager.cs (1)
1342private static Regex EscapedXmlEntities = new Regex("(<|>|\"|'|&)", RegexOptions.CultureInvariant | RegexOptions.Compiled);
PresentationFramework (2)
src\Framework\MS\Internal\Globalization\BamlResourceContent.cs (1)
100private static Regex UnescapePattern = new Regex("(\\\\.?|&lt;|&gt;|&quot;|&apos;|&amp;)", RegexOptions.CultureInvariant | RegexOptions.Compiled);
src\Framework\System\Windows\Documents\WinRTSpellerInterop.cs (1)
645RegexOptions regexOptions = RegexOptions.Singleline | RegexOptions.CultureInvariant | RegexOptions.Compiled;
System (5)
net\System\Net\WebPermission.cs (1)
219_AsRegex = new Regex(_AsString + "[/]?", RegexOptions.IgnoreCase | RegexOptions.Compiled | RegexOptions.Singleline | RegexOptions.CultureInvariant);
regex\system\text\regularexpressions\Regex.cs (2)
250RegexOptions.Compiled | 1380return(roptions & RegexOptions.Compiled) != 0;
regex\system\text\regularexpressions\RegexParser.cs (2)
1340|| option == RegexOptions.Compiled 1481return RegexOptions.Compiled;
System.Activities (1)
Microsoft\VisualBasic\Activities\XamlIntegration\VisualBasicExpressionConverter.cs (1)
26"clr-namespace:(?<namespace>[^;]*);assembly=(?<assembly>.*)", RegexOptions.Compiled | RegexOptions.IgnoreCase);
System.ComponentModel.DataAnnotations (3)
DataAnnotations\EmailAddressAttribute.cs (1)
55const RegexOptions options = RegexOptions.Compiled | RegexOptions.IgnoreCase | RegexOptions.ExplicitCapture;
DataAnnotations\PhoneAttribute.cs (1)
70const RegexOptions options = RegexOptions.Compiled | RegexOptions.IgnoreCase | RegexOptions.ExplicitCapture;
DataAnnotations\UrlAttribute.cs (1)
48const RegexOptions options = RegexOptions.Compiled | RegexOptions.IgnoreCase | RegexOptions.ExplicitCapture;
System.Configuration (1)
System\Configuration\RegexStringValidator.cs (1)
32_regex = new Regex(regex, RegexOptions.Compiled);
System.Data (4)
fx\src\data\System\Data\Common\DbConnectionOptions.cs (4)
88private static readonly Regex ConnectionStringValidKeyRegex = new Regex(ConnectionStringValidKeyPattern, RegexOptions.Compiled); 89private static readonly Regex ConnectionStringValidValueRegex = new Regex(ConnectionStringValidValuePattern, RegexOptions.Compiled); 91private static readonly Regex ConnectionStringQuoteValueRegex = new Regex(ConnectionStringQuoteValuePattern, RegexOptions.Compiled); 92private static readonly Regex ConnectionStringQuoteOdbcValueRegex = new Regex(ConnectionStringQuoteOdbcValuePattern, RegexOptions.ExplicitCapture | RegexOptions.Compiled);
System.Data.Entity (5)
System\Data\EntityModel\SchemaObjectModel\Function.cs (1)
48private static System.Text.RegularExpressions.Regex s_typeParser = new System.Text.RegularExpressions.Regex(@"^(?<modifier>((Collection)|(Ref)))\s*\(\s*(?<typeName>\S*)\s*\)$", System.Text.RegularExpressions.RegexOptions.Compiled);
System\Data\EntityModel\SchemaObjectModel\ScalarType.cs (2)
31private readonly static System.Text.RegularExpressions.Regex _BinaryValueValidator = new System.Text.RegularExpressions.Regex("^0[xX][0-9a-fA-F]+$", System.Text.RegularExpressions.RegexOptions.Compiled); 32private readonly static System.Text.RegularExpressions.Regex _GuidValueValidator = new System.Text.RegularExpressions.Regex("[0-9a-fA-F]{8,8}(-[0-9a-fA-F]{4,4}){3,3}-[0-9a-fA-F]{12,12}", System.Text.RegularExpressions.RegexOptions.Compiled);
System\Data\EntityModel\SchemaObjectModel\Utils.cs (1)
41private static Regex UndottedNameValidator = new Regex(@"^"+NameExp+@"$",RegexOptions.Singleline | RegexOptions.Compiled );
System\Data\Mapping\ViewGeneration\CqlGeneration\CqlWriter.cs (1)
24private static readonly Regex s_wordIdentifierRegex = new Regex(@"^[_A-Za-z]\w*$", RegexOptions.ECMAScript | RegexOptions.Compiled);
System.Data.Entity.Design (1)
System\Data\EntityModel\Emitters\CommentEmitter.cs (1)
34private static readonly Regex LeadingBlanks = new Regex(@"^(?<LeadingBlanks>\s{1,})\S", RegexOptions.Singleline | RegexOptions.Compiled);
System.Data.Services (1)
System\Data\Services\Serializers\JsonReader.cs (1)
32private static readonly Regex DateTimeFormat = new Regex(@"^/Date\((?<ticks>-?[0-9]+)\)/", RegexOptions.Compiled);
System.Data.Services.Design (1)
System\Data\EntityModel\Emitters\CommentEmitter.cs (1)
27private static readonly Regex LeadingBlanks = new Regex(@"^(?<LeadingBlanks>\s{1,})\S", RegexOptions.Singleline | RegexOptions.Compiled);
System.Web.DataVisualization (1)
Common\General\ImageMap.cs (1)
499_mapAttributesRegex = new Regex(@"\s?(?<name>(\w+))\s?=\s?""(?<value>[^""]+)""\s?", RegexOptions.IgnoreCase | RegexOptions.Singleline | RegexOptions.IgnorePatternWhitespace | RegexOptions.Compiled);
System.Web.Extensions (1)
UI\ScriptRegistrationManager.cs (1)
34RegexOptions.Singleline | RegexOptions.Multiline | RegexOptions.IgnoreCase | RegexOptions.Compiled);
System.Web.Mobile (3)
Mobile\MobileErrorInfo.cs (3)
306RegexOptions.Compiled); 315RegexOptions.Compiled); 322RegexOptions.Compiled);
System.Windows.Forms.DataVisualization (1)
Common\General\ImageMap.cs (1)
499_mapAttributesRegex = new Regex(@"\s?(?<name>(\w+))\s?=\s?""(?<value>[^""]+)""\s?", RegexOptions.IgnoreCase | RegexOptions.Singleline | RegexOptions.IgnorePatternWhitespace | RegexOptions.Compiled);
System.Workflow.ComponentModel (1)
AuthoringOM\Compiler\Configuration.cs (1)
134this.regex = new Regex(MakeRegex(string.Format(CultureInfo.InvariantCulture, "{0}.{1}, {2}", new object[] { this.namespaceName, this.typeName, this.assemblyName })), RegexOptions.Compiled);