1 write to Current
System.Web (1)
Util\BinaryCompatibility.cs (1)
23
Current
= new BinaryCompatibility(AppDomain.CurrentDomain.GetData(TargetFrameworkKey) as FrameworkName);
30 references to Current
System.Web (30)
Compilation\AssemblyBuilder.cs (2)
653
string hashAlgorithm = BinaryCompatibility.
Current
.TargetsAtLeastFramework472 ? "SHA256" : "SHA1";
655
ChecksumAlgorithmId = (BinaryCompatibility.
Current
.TargetsAtLeastFramework472 ? s_codeChecksumSha256Id : s_codeChecksumSha1Id)
Compilation\BaseCodeDomTreeGenerator.cs (1)
361
if (BinaryCompatibility.
Current
.TargetsAtLeastFramework472 &&
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (1)
94
if (BinaryCompatibility.
Current
.TargetsAtLeastFramework472 && ccu != null) {
Compilation\TemplateControlCodeDomTreeGenerator.cs (1)
276
if (BinaryCompatibility.
Current
.TargetsAtLeastFramework472 &&
Configuration\CompilationSection.cs (1)
937
ConfigUtil.SetFX45DefaultValue(this, _propTargetFramework, BinaryCompatibility.
Current
.TargetFramework.ToString());
Configuration\ConfigUtil.cs (1)
127
if (BinaryCompatibility.
Current
.TargetsAtLeastFramework45 && !configSection.IsReadOnly()) {
HttpRuntime.cs (1)
3087
return BinaryCompatibility.
Current
.TargetFramework;
RootedObjects.cs (1)
170
if (BinaryCompatibility.
Current
.TargetsAtLeastFramework45) {
UI\HTMLTextWriter.cs (1)
144
BinaryCompatibility.
Current
.TargetsAtLeastFramework46 ? TagType.NonClosing : TagType.Other);
UI\ParseRecorder.cs (2)
49
if (!BinaryCompatibility.
Current
.TargetsAtLeastFramework472) {
57
if (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);
497
if (BinaryCompatibility.
Current
.TargetsAtLeastFramework48 && _labelAttributesState != null && _labelAttributesState.Count != 0) {
572
if (BinaryCompatibility.
Current
.TargetsAtLeastFramework48 && _inputAttributesState != null && _inputAttributesState.Count != 0) {
UI\WebControls\ModelDataSourceView.cs (1)
975
if (BinaryCompatibility.
Current
.TargetsAtLeastFramework46) {
UI\WebControls\TextBox.cs (1)
424
if (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)
25
TelemetryLogger.LogTargetFramework(
Current
.TargetFramework);
Util\HttpEncoder.cs (1)
761
if (BinaryCompatibility.
Current
.TargetsAtLeastFramework46) {
Util\RegexUtil.cs (1)
76
if (!IsRegexTimeoutSetInAppDomain && BinaryCompatibility.
Current
.TargetsAtLeastFramework461) {