Changeset 4068 for trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.ProtobufCS/0.9.1/ProtobufCS/src/ProtocolBuffers/Collections
- Timestamp:
- 07/22/10 00:44:01 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.ProtobufCS/0.9.1/ProtobufCS/src/ProtocolBuffers/Collections
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.ProtobufCS/0.9.1/ProtobufCS/src/ProtocolBuffers/Collections/Dictionaries.cs
r3857 r4068 30 30 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 31 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 using System;33 32 using System.Collections; 34 33 using System.Collections.Generic; … … 50 49 return false; 51 50 } 52 foreach (KeyValuePair<TKey,TValue> leftEntry in left) 53 { 51 foreach (KeyValuePair<TKey, TValue> leftEntry in left) { 54 52 TValue rightValue; 55 53 if (!right.TryGetValue(leftEntry.Key, out rightValue)) { … … 72 70 } 73 71 74 public static IDictionary<TKey, TValue> AsReadOnly<TKey, TValue> 72 public static IDictionary<TKey, TValue> AsReadOnly<TKey, TValue>(IDictionary<TKey, TValue> dictionary) { 75 73 return dictionary.IsReadOnly ? dictionary : new ReadOnlyDictionary<TKey, TValue>(dictionary); 76 74 } -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.ProtobufCS/0.9.1/ProtobufCS/src/ProtocolBuffers/Collections/PopsicleList.cs
r3857 r4068 31 31 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 32 using System; 33 using System.Collections; 33 34 using System.Collections.Generic; 34 using System.Collections;35 35 36 36 namespace Google.ProtocolBuffers.Collections {
Note: See TracChangeset
for help on using the changeset viewer.