diff options
author | Martin Baulig <martin@novell.com> | 2004-11-19 18:03:08 +0300 |
---|---|---|
committer | Martin Baulig <martin@novell.com> | 2004-11-19 18:03:08 +0300 |
commit | f146632285282ae127ae3e0c9a0e48ea5fa7cae7 (patch) | |
tree | 714d390fe942fa5885c48231f92f955627d10549 /mcs/class/Mono.C5 | |
parent | 42e05980790ff3a275620fb31bc08126e5bc2d02 (diff) |
2004-11-19 Martin Baulig <martin@ximian.com>
* Wrappers.cs: Removed all the FIXME's. GMCS can now compile the
original, unmodified code :-)
svn path=/trunk/mcs/; revision=36319
Diffstat (limited to 'mcs/class/Mono.C5')
-rw-r--r-- | mcs/class/Mono.C5/ChangeLog | 5 | ||||
-rw-r--r-- | mcs/class/Mono.C5/Wrappers.cs | 12 |
2 files changed, 5 insertions, 12 deletions
diff --git a/mcs/class/Mono.C5/ChangeLog b/mcs/class/Mono.C5/ChangeLog index 08587b4e45e..1be84c3d9d7 100644 --- a/mcs/class/Mono.C5/ChangeLog +++ b/mcs/class/Mono.C5/ChangeLog @@ -1,3 +1,8 @@ +2004-11-19 Martin Baulig <martin@ximian.com> + + * Wrappers.cs: Removed all the FIXME's. GMCS can now compile the + original, unmodified code :-) + 2004-11-12 Martin Baulig <martin@ximian.com> * Wrappers.cs: Added workaround for #69082. diff --git a/mcs/class/Mono.C5/Wrappers.cs b/mcs/class/Mono.C5/Wrappers.cs index e9310b83ad7..e156e84fd42 100644 --- a/mcs/class/Mono.C5/Wrappers.cs +++ b/mcs/class/Mono.C5/Wrappers.cs @@ -897,11 +897,7 @@ namespace C5 /// <param name="c">The comparer to use in the result</param> /// <returns></returns> public IIndexedSorted<V> Map<V>(Mapper<T,V> m, IComparer<V> c) -#if FIXME - { return indexedsorted.Map(m, c); } -#else { return indexedsorted.Map<V>(m, c); } -#endif #endregion @@ -1116,11 +1112,7 @@ namespace C5 /// <typeparam name="V">The type of items of the new list</typeparam> /// <param name="mapper">The mapper to use.</param> /// <returns>The mapped list</returns> -#if FIXME - public IList<V> Map<V>(Mapper<T, V> mapper) { return list.Map(mapper); } -#else public IList<V> Map<V>(Mapper<T, V> mapper) { return list.Map<V>(mapper); } -#endif /// <summary> /// Perform Map on the wrapped list. The result is <b>not</b> necessarily read-only. @@ -1129,11 +1121,7 @@ namespace C5 /// <param name="mapper">The delegate defining the map.</param> /// <param name="hasher">The hasher to use for the new list</param> /// <returns>The new list.</returns> -#if FIXME - public IList<V> Map<V>(Mapper<T, V> mapper, IHasher<V> hasher) { return list.Map(mapper, hasher); } -#else public IList<V> Map<V>(Mapper<T, V> mapper, IHasher<V> hasher) { return list.Map<V>(mapper, hasher); } -#endif /// <summary> /// <exception cref="InvalidOperationException"/> since this is a read-only wrappper |