diff options
author | Marek Safar <marek.safar@gmail.com> | 2015-05-11 10:40:06 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2015-05-11 16:37:01 +0300 |
commit | 6454d7b844dec5cf73a04b4d2f076aa295de9c29 (patch) | |
tree | b44f848ed517adba9c4939d11043883f7bf929a8 /mcs/class/System.Runtime.Caching | |
parent | 2aab942e38386c1d7976b59a00b0a25e28c9e086 (diff) |
[System.Runtime.Caching] Fix warnings
Diffstat (limited to 'mcs/class/System.Runtime.Caching')
3 files changed, 5 insertions, 5 deletions
diff --git a/mcs/class/System.Runtime.Caching/Makefile b/mcs/class/System.Runtime.Caching/Makefile index f93ecfbb496..8a42eff58b0 100644 --- a/mcs/class/System.Runtime.Caching/Makefile +++ b/mcs/class/System.Runtime.Caching/Makefile @@ -4,7 +4,7 @@ include ../../build/rules.make LIBRARY = System.Runtime.Caching.dll LIB_REFS = System System.Data System.Configuration System.Core -LIB_MCS_FLAGS = +LIB_MCS_FLAGS = -nowarn:414 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) diff --git a/mcs/class/System.Runtime.Caching/ReferenceSources/CacheExpires.cs b/mcs/class/System.Runtime.Caching/ReferenceSources/CacheExpires.cs index 07b39eeab02..0a040329bd6 100644 --- a/mcs/class/System.Runtime.Caching/ReferenceSources/CacheExpires.cs +++ b/mcs/class/System.Runtime.Caching/ReferenceSources/CacheExpires.cs @@ -40,13 +40,13 @@ namespace System.Runtime.Caching { } - public void Add (MemoryCacheEntry entry) + public new void Add (MemoryCacheEntry entry) { entry.ExpiresEntryRef = new ExpiresEntryRef (); base.Add (entry); } - public void Remove (MemoryCacheEntry entry) + public new void Remove (MemoryCacheEntry entry) { base.Remove (entry); entry.ExpiresEntryRef = ExpiresEntryRef.INVALID; diff --git a/mcs/class/System.Runtime.Caching/ReferenceSources/CacheUsage.cs b/mcs/class/System.Runtime.Caching/ReferenceSources/CacheUsage.cs index cd5ecf6c044..82b6014a978 100644 --- a/mcs/class/System.Runtime.Caching/ReferenceSources/CacheUsage.cs +++ b/mcs/class/System.Runtime.Caching/ReferenceSources/CacheUsage.cs @@ -45,7 +45,7 @@ namespace System.Runtime.Caching { { } - public void Add (MemoryCacheEntry entry) + public new void Add (MemoryCacheEntry entry) { var now = DateTime.UtcNow; if (now == prevDateTime) @@ -61,7 +61,7 @@ namespace System.Runtime.Caching { base.Add (entry); } - public void Remove (MemoryCacheEntry entry) + public new void Remove (MemoryCacheEntry entry) { base.Remove (entry); entry.UsageEntryRef = UsageEntryRef.INVALID; |