Merge pull request #2916 from ludovic-henry/fix-40306
[mono.git] / mcs / class / System.Web / System.Web.Configuration_2.0 / ExpressionBuilderCollection.cs
index e5dbe181d72185a43d7bf76bf842bf6a6b250af0..6cf89269cc3b4954f851b6e662315c8da92363fd 100644 (file)
@@ -27,7 +27,6 @@
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
-#if NET_2_0
 using System;
 using System.Collections;
 using System.Configuration;
@@ -57,7 +56,7 @@ namespace System.Web.Configuration
                        get { return (ExpressionBuilder) BaseGet (name); }
                }
 
-               protected override ConfigurationPropertyCollection Properties {
+               protected internal override ConfigurationPropertyCollection Properties {
                        get { return props; }
                }
 
@@ -93,5 +92,4 @@ namespace System.Web.Configuration
                }
        }
 }
-#endif // NET_2_0