2 instantiations of BinaryCompatibility
System.Web (2)
Hosting\ApplicationManager.cs (1)
1017
requireHostExecutionContextManager = new System.Web.Util.
BinaryCompatibility
(targetFrameworkName).TargetsAtLeastFramework45 ? true : false;
Util\BinaryCompatibility.cs (1)
23
Current = new
BinaryCompatibility
(AppDomain.CurrentDomain.GetData(TargetFrameworkKey) as FrameworkName);
31 references to BinaryCompatibility
System.Web (31)
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()) {
Hosting\ApplicationManager.cs (1)
998
appDomainAdditionalData[System.Web.Util.
BinaryCompatibility
.TargetFrameworkKey] = targetFrameworkName;
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)
20
public static readonly
BinaryCompatibility
Current;
Util\HttpEncoder.cs (1)
761
if (
BinaryCompatibility
.Current.TargetsAtLeastFramework46) {
Util\RegexUtil.cs (1)
76
if (!IsRegexTimeoutSetInAppDomain &&
BinaryCompatibility
.Current.TargetsAtLeastFramework461) {