69 references to VersionUtil
System.Web (69)
Compilation\BuildResult.cs (1)
1128
else if(MultiTargetingUtil.TargetFrameworkVersion >=
VersionUtil
.Framework45) {
Compilation\PageCodeDomTreeGenerator.cs (1)
428
else if (MultiTargetingUtil.TargetFrameworkVersion >=
VersionUtil
.Framework45) {
Configuration\HttpRuntimeSection.cs (3)
45
internal static readonly Version DefaultRequestValidationMode =
VersionUtil
.FrameworkDefault;
46
internal const string DefaultRequestValidationModeString =
VersionUtil
.FrameworkDefaultString;
879
ConfigUtil.SetFX45DefaultValue(this, _propRequestValidationMode,
VersionUtil
.Framework45);
Configuration\PagesSection.cs (4)
92
private static readonly Version _controlRenderingDefaultVersion =
VersionUtil
.FrameworkDefault;
93
private static readonly Version _controlRenderingMinimumVersion =
VersionUtil
.Framework35;
663
[ConfigurationProperty("controlRenderingCompatibilityVersion", DefaultValue =
VersionUtil
.FrameworkDefaultString)]
792
ConfigUtil.SetFX45DefaultValue(this, _propControlRenderingCompatibilityVersion,
VersionUtil
.Framework45);
HttpRequest.cs (3)
2643
if (requestValidationMode ==
VersionUtil
.Framework00) {
2650
else if (requestValidationMode >=
VersionUtil
.Framework40) {
2654
if (requestValidationMode >=
VersionUtil
.Framework45) {
UI\Control.cs (1)
2804
if (runtimeSection.RequestValidationMode >=
VersionUtil
.Framework45) {
UI\ControlRenderingHelper.cs (1)
16
if (renderingCompatibility >=
VersionUtil
.Framework45) {
UI\HtmlControls\HtmlImage.cs (1)
70
if (RenderingCompatibility >=
VersionUtil
.Framework45) {
UI\HtmlForm.cs (2)
311
if (String.IsNullOrEmpty(action) && RenderingCompatibility >=
VersionUtil
.Framework45) {
381
RenderingCompatibility <
VersionUtil
.Framework40 &&
UI\Page.cs (3)
2295
if (RenderingCompatibility >=
VersionUtil
.Framework40) {
2440
if (RenderingCompatibility >=
VersionUtil
.Framework40) {
5437
return writer.RenderDivAroundHiddenInputs && (!EnableLegacyRendering || (RenderingCompatibility >=
VersionUtil
.Framework40));
UI\WebControls\BaseDataBoundControl.cs (1)
142
return RenderingCompatibility <
VersionUtil
.Framework40;
UI\WebControls\BaseDataList.cs (1)
325
return RenderingCompatibility <
VersionUtil
.Framework40;
UI\WebControls\BaseValidator.cs (2)
557
if (!wasForeColorSet && (RenderingCompatibility <
VersionUtil
.Framework40 )) {
770
Color defaultForeColor = (RenderingCompatibility <
VersionUtil
.Framework40) ? Color.Red : Color.Empty;
UI\WebControls\Calendar.cs (1)
391
return RenderingCompatibility <
VersionUtil
.Framework40;
UI\WebControls\CheckBox.cs (1)
409
if (RenderingCompatibility <
VersionUtil
.Framework40) {
UI\WebControls\CheckBoxList.cs (1)
545
if (RenderingCompatibility >=
VersionUtil
.Framework40) {
UI\WebControls\CompositeControl.cs (1)
39
return RenderingCompatibility <
VersionUtil
.Framework40;
UI\WebControls\DataListItem.cs (1)
73
return RenderingCompatibility <
VersionUtil
.Framework40;
UI\WebControls\DetailsView.cs (1)
2808
return DataBoundControlHelper.IsBindableType(type, enableEnums: RenderingCompatibility >=
VersionUtil
.Framework45);
UI\WebControls\DetailsViewRowsGenerator.cs (1)
104
if (detailsView.RenderingCompatibility <
VersionUtil
.Framework45 && AutoGenerateEnumFields == null) {
UI\WebControls\FormView.cs (1)
2437
return DataBoundControlHelper.IsBindableType(type, enableEnums: this.RenderingCompatibility >=
VersionUtil
.Framework45);
UI\WebControls\GridView.cs (1)
942
return DataBoundControlHelper.IsBindableType(type, enableEnums: RenderingCompatibility >=
VersionUtil
.Framework45);
UI\WebControls\GridViewColumnsGenerator.cs (1)
149
if (gridView.RenderingCompatibility <
VersionUtil
.Framework45 && AutoGenerateEnumFields == null) {
UI\WebControls\HyperLink.cs (1)
135
return RenderingCompatibility <
VersionUtil
.Framework40;
UI\WebControls\Image.cs (3)
169
return RenderingCompatibility <
VersionUtil
.Framework40;
198
if (RenderingCompatibility >=
VersionUtil
.Framework45) {
259
if (BorderWidth.IsEmpty && (RenderingCompatibility <
VersionUtil
.Framework40)) {
UI\WebControls\ImageMap.cs (2)
215
if ((RenderingCompatibility <
VersionUtil
.Framework40) || IsEnabled) {
222
if ((RenderingCompatibility <
VersionUtil
.Framework40) || IsEnabled) {
UI\WebControls\Label.cs (1)
98
return RenderingCompatibility <
VersionUtil
.Framework40;
UI\WebControls\LinkButton.cs (1)
152
return RenderingCompatibility <
VersionUtil
.Framework40;
UI\WebControls\LoginName.cs (1)
51
return RenderingCompatibility <
VersionUtil
.Framework40;
UI\WebControls\Menu.cs (1)
732
if (RenderingCompatibility <
VersionUtil
.Framework40) {
UI\WebControls\MenuRendererStandards.cs (1)
523
if (Menu.RenderingCompatibility >=
VersionUtil
.Framework45) {
UI\WebControls\Panel.cs (1)
179
return RenderingCompatibility <
VersionUtil
.Framework40;
UI\WebControls\Table.cs (2)
201
return RenderingCompatibility <
VersionUtil
.Framework40;
257
if ((RenderingCompatibility <
VersionUtil
.Framework40) || renderBorder) {
UI\WebControls\TableCell.cs (1)
139
return RenderingCompatibility <
VersionUtil
.Framework40;
UI\WebControls\TableRow.cs (1)
82
return RenderingCompatibility <
VersionUtil
.Framework40;
UI\WebControls\TextBox.cs (2)
450
(RenderingCompatibility >=
VersionUtil
.Framework45 || mode >= TextBoxMode.Color || (SupportsVCard && mode == TextBoxMode.SingleLine))) {
710
if (RenderingCompatibility >=
VersionUtil
.Framework45) {
UI\WebControls\TreeNode.cs (1)
1431
if (!_owner.Enabled && (_owner.RenderingCompatibility >=
VersionUtil
.Framework40)
UI\WebControls\ValidationSummary.cs (3)
164
return RenderingCompatibility <
VersionUtil
.Framework40;
308
if (!wasForeColorSet && (RenderingCompatibility <
VersionUtil
.Framework40)) {
474
Color defaultForeColor = (RenderingCompatibility <
VersionUtil
.Framework40) ? Color.Red : Color.Empty;
UI\WebControls\WebControl.cs (1)
604
if ((RenderingCompatibility >=
VersionUtil
.Framework40) && !String.IsNullOrEmpty(DisabledCssClass)) {
UI\WebParts\WebPartMenu.cs (1)
333
if (associatedWebPart.Zone.RenderingCompatibility <
VersionUtil
.Framework40) {
Util\BinaryCompatibility.cs (9)
30
Version version =
VersionUtil
.FrameworkDefault;
36
TargetsAtLeastFramework45 = (version >=
VersionUtil
.Framework45);
37
TargetsAtLeastFramework451 = (version >=
VersionUtil
.Framework451);
38
TargetsAtLeastFramework452 = (version >=
VersionUtil
.Framework452);
39
TargetsAtLeastFramework46 = (version >=
VersionUtil
.Framework46);
40
TargetsAtLeastFramework461 = (version >=
VersionUtil
.Framework461);
41
TargetsAtLeastFramework463 = (version >=
VersionUtil
.Framework463);
42
TargetsAtLeastFramework472 = (version >=
VersionUtil
.Framework472);
43
TargetsAtLeastFramework48 = (version >=
VersionUtil
.Framework48);
Util\SynchronizationContextUtil.cs (2)
25
if (HttpRuntime.TargetFramework <
VersionUtil
.Framework45 && requiredMode == SynchronizationContextMode.Normal) {
29
else if (HttpRuntime.TargetFramework >=
VersionUtil
.Framework45 && requiredMode == SynchronizationContextMode.Legacy) {