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