1 write to Current
System.Web (1)
Util\BinaryCompatibility.cs (1)
23Current = new BinaryCompatibility(AppDomain.CurrentDomain.GetData(TargetFrameworkKey) as FrameworkName);
30 references to Current
System.Web (30)
Compilation\AssemblyBuilder.cs (2)
653string hashAlgorithm = BinaryCompatibility.Current.TargetsAtLeastFramework472 ? "SHA256" : "SHA1"; 655ChecksumAlgorithmId = (BinaryCompatibility.Current.TargetsAtLeastFramework472 ? s_codeChecksumSha256Id : s_codeChecksumSha1Id)
Compilation\BaseCodeDomTreeGenerator.cs (1)
361if (BinaryCompatibility.Current.TargetsAtLeastFramework472 &&
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (1)
94if (BinaryCompatibility.Current.TargetsAtLeastFramework472 && ccu != null) {
Compilation\TemplateControlCodeDomTreeGenerator.cs (1)
276if (BinaryCompatibility.Current.TargetsAtLeastFramework472 &&
Configuration\CompilationSection.cs (1)
937ConfigUtil.SetFX45DefaultValue(this, _propTargetFramework, BinaryCompatibility.Current.TargetFramework.ToString());
Configuration\ConfigUtil.cs (1)
127if (BinaryCompatibility.Current.TargetsAtLeastFramework45 && !configSection.IsReadOnly()) {
HttpRuntime.cs (1)
3087return BinaryCompatibility.Current.TargetFramework;
RootedObjects.cs (1)
170if (BinaryCompatibility.Current.TargetsAtLeastFramework45) {
UI\HTMLTextWriter.cs (1)
144BinaryCompatibility.Current.TargetsAtLeastFramework46 ? TagType.NonClosing : TagType.Other);
UI\ParseRecorder.cs (2)
49if (!BinaryCompatibility.Current.TargetsAtLeastFramework472) { 57if (BinaryCompatibility.Current.TargetsAtLeastFramework472) {
UI\ValidationSettings.cs (1)
20_unobtrusiveValidationMode = (BinaryCompatibility.Current.TargetsAtLeastFramework45) ? UnobtrusiveValidationMode.WebForms : UnobtrusiveValidationMode.None;
UI\WebControls\CheckBox.cs (3)
303_labelAttributesState.LoadViewState(BinaryCompatibility.Current.TargetsAtLeastFramework48 ? stateTriplet.Third : stateTriplet.Second); 497if (BinaryCompatibility.Current.TargetsAtLeastFramework48 && _labelAttributesState != null && _labelAttributesState.Count != 0) { 572if (BinaryCompatibility.Current.TargetsAtLeastFramework48 && _inputAttributesState != null && _inputAttributesState.Count != 0) {
UI\WebControls\ModelDataSourceView.cs (1)
975if (BinaryCompatibility.Current.TargetsAtLeastFramework46) {
UI\WebControls\TextBox.cs (1)
424if (BinaryCompatibility.Current.TargetsAtLeastFramework472 && MaxLength > 0) {
UI\WebControls\TreeNode.cs (4)
1217 if (BinaryCompatibility.Current.TargetsAtLeastFramework461) { 1225 if (BinaryCompatibility.Current.TargetsAtLeastFramework461) { 1375 if (BinaryCompatibility.Current.TargetsAtLeastFramework461) { 1382 if (BinaryCompatibility.Current.TargetsAtLeastFramework461) {
Util\AppSettings.cs (5)
71_useTaskFriendlySynchronizationContext = (BinaryCompatibility.Current.TargetsAtLeastFramework45) ? true : false; 104_dontUsePercentUUrlEncoding = BinaryCompatibility.Current.TargetsAtLeastFramework452; // default value is keyed off of <httpRuntime targetFramework="4.5.2" /> 131_enableAsyncModelBinding = BinaryCompatibility.Current.TargetsAtLeastFramework46; 134_requestQueueLimitPerSession = BinaryCompatibility.Current.TargetsAtLeastFramework463 ? DefaultRequestQueueLimitPerSession : UnlimitedRequestsPerSession; 149_useLegacyMultiValueHeaderHandling = !BinaryCompatibility.Current.TargetsAtLeastFramework48; // Opt in for 4.7.2 and earlier. Opt out for 4.8.
Util\BinaryCompatibility.cs (1)
25TelemetryLogger.LogTargetFramework(Current.TargetFramework);
Util\HttpEncoder.cs (1)
761if (BinaryCompatibility.Current.TargetsAtLeastFramework46) {
Util\RegexUtil.cs (1)
76if (!IsRegexTimeoutSetInAppDomain && BinaryCompatibility.Current.TargetsAtLeastFramework461) {