From 032f313d5f3b99954cabb3e152b3c8d4424d5a2b Mon Sep 17 00:00:00 2001 From: Zoltan Varga Date: Tue, 13 Jan 2015 16:06:31 -0500 Subject: [bcl] Remove NET_4_0 defines from class libs. --- mcs/class/System.Data.Services/System.Data.Services/DataService.cs | 4 ---- mcs/class/System.Data.Services/System.Data.Services/ExpandSegment.cs | 4 ---- .../System.Data.Services/System.Data.Services/ProcessRequestArgs.cs | 2 -- 3 files changed, 10 deletions(-) (limited to 'mcs/class/System.Data.Services') diff --git a/mcs/class/System.Data.Services/System.Data.Services/DataService.cs b/mcs/class/System.Data.Services/System.Data.Services/DataService.cs index 73c3ddbaa3d..2ba11a69dd2 100644 --- a/mcs/class/System.Data.Services/System.Data.Services/DataService.cs +++ b/mcs/class/System.Data.Services/System.Data.Services/DataService.cs @@ -36,9 +36,7 @@ namespace System.Data.Services { [AspNetCompatibilityRequirements (RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)] public class DataService : IRequestHandler { -#if NET_4_0 DataServiceProcessingPipeline processingPipeline; -#endif public void AttachHost (IDataServiceHost host) { if (host == null) @@ -63,7 +61,6 @@ namespace System.Data.Services { protected T CurrentDataSource { get; private set; } -#if NET_4_0 public DataServiceProcessingPipeline ProcessingPipeline { get { if (processingPipeline == null) @@ -71,7 +68,6 @@ namespace System.Data.Services { return processingPipeline; } } -#endif protected virtual T CreateDataSource() { throw new NotImplementedException(); diff --git a/mcs/class/System.Data.Services/System.Data.Services/ExpandSegment.cs b/mcs/class/System.Data.Services/System.Data.Services/ExpandSegment.cs index a5914259a54..bdceab73df7 100644 --- a/mcs/class/System.Data.Services/System.Data.Services/ExpandSegment.cs +++ b/mcs/class/System.Data.Services/System.Data.Services/ExpandSegment.cs @@ -30,9 +30,7 @@ using System.Diagnostics; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; -#if NET_4_0 using System.Data.Services.Providers; -#endif namespace System.Data.Services { @@ -47,13 +45,11 @@ namespace System.Data.Services this.Name = name; this.Filter = filter; } -#if NET_4_0 public ResourceProperty ExpandedProperty { get { throw new NotImplementedException (); } } -#endif public string Name { get; private set; diff --git a/mcs/class/System.Data.Services/System.Data.Services/ProcessRequestArgs.cs b/mcs/class/System.Data.Services/System.Data.Services/ProcessRequestArgs.cs index cdd042c34a6..606aca5553b 100644 --- a/mcs/class/System.Data.Services/System.Data.Services/ProcessRequestArgs.cs +++ b/mcs/class/System.Data.Services/System.Data.Services/ProcessRequestArgs.cs @@ -30,11 +30,9 @@ namespace System.Data.Services { public sealed class ProcessRequestArgs { -#if NET_4_0 public DataServiceOperationContext OperationContext { get; private set; } -#endif public bool IsBatchOperation { get; private set; } -- cgit v1.2.3