From 56aad0f9d7f94b48daed8cbd36bd91a66f2c00a1 Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Mon, 16 Aug 2004 15:32:01 +0000 Subject: Protect everything in #if NET_2_0. svn path=/trunk/mcs/; revision=32377 --- mcs/class/Mono.C5/AssemblyInfo.cs | 5 ++--- mcs/class/Mono.C5/Builder.cs | 2 ++ mcs/class/Mono.C5/Collections.cs | 4 +++- mcs/class/Mono.C5/Dictionaries.cs | 4 +++- mcs/class/Mono.C5/Interfaces.cs | 4 +++- mcs/class/Mono.C5/Wrappers.cs | 4 +++- mcs/class/Mono.C5/arrays/ArrayList.cs | 4 +++- mcs/class/Mono.C5/arrays/HashedArray.cs | 4 +++- mcs/class/Mono.C5/arrays/SortedArray.cs | 4 +++- mcs/class/Mono.C5/hashing/HashBag.cs | 2 ++ mcs/class/Mono.C5/hashing/HashDictionary.cs | 4 +++- mcs/class/Mono.C5/hashing/HashTable.cs | 4 +++- mcs/class/Mono.C5/heaps/IntervalHeap.cs | 4 +++- mcs/class/Mono.C5/linkedlists/HashedLinkedLIst.cs | 4 +++- mcs/class/Mono.C5/linkedlists/LinkedList.cs | 4 +++- mcs/class/Mono.C5/trees/RedBlackTree.cs | 2 ++ mcs/class/Mono.C5/trees/TreeDictionary.cs | 4 +++- 17 files changed, 47 insertions(+), 16 deletions(-) (limited to 'mcs/class/Mono.C5') diff --git a/mcs/class/Mono.C5/AssemblyInfo.cs b/mcs/class/Mono.C5/AssemblyInfo.cs index 941d35c3caa..3251a3108d3 100644 --- a/mcs/class/Mono.C5/AssemblyInfo.cs +++ b/mcs/class/Mono.C5/AssemblyInfo.cs @@ -74,6 +74,5 @@ using System.Runtime.CompilerServices; // (*) Delay Signing is an advanced option - see the Microsoft .NET Framework // documentation for more information on this. // -//[assembly: AssemblyDelaySign(false)] -//[assembly: AssemblyKeyFile("..\\..\\..\\c5.snk")] -//[assembly: AssemblyKeyName("")] +[assembly: AssemblyDelaySign (true)] +[assembly: AssemblyKeyFile ("c5.pub")] diff --git a/mcs/class/Mono.C5/Builder.cs b/mcs/class/Mono.C5/Builder.cs index 92b85f18129..50510acd20f 100644 --- a/mcs/class/Mono.C5/Builder.cs +++ b/mcs/class/Mono.C5/Builder.cs @@ -1,3 +1,4 @@ +#if NET_2_0 /* Copyright (c) 2003-2004 Niels Kokholm and Peter Sestoft Permission is hereby granted, free of charge, to any person obtaining a copy @@ -342,3 +343,4 @@ namespace C5.HasherBuilder } #endif } +#endif diff --git a/mcs/class/Mono.C5/Collections.cs b/mcs/class/Mono.C5/Collections.cs index 5344bb1324b..55954eba18d 100644 --- a/mcs/class/Mono.C5/Collections.cs +++ b/mcs/class/Mono.C5/Collections.cs @@ -1,3 +1,4 @@ +#if NET_2_0 /* Copyright (c) 2003-2004 Niels Kokholm and Peter Sestoft Permission is hereby granted, free of charge, to any person obtaining a copy @@ -1341,4 +1342,5 @@ namespace C5 } #endregion -} \ No newline at end of file +} +#endif diff --git a/mcs/class/Mono.C5/Dictionaries.cs b/mcs/class/Mono.C5/Dictionaries.cs index f30b0db0bd7..6d6d4983daa 100644 --- a/mcs/class/Mono.C5/Dictionaries.cs +++ b/mcs/class/Mono.C5/Dictionaries.cs @@ -1,3 +1,4 @@ +#if NET_2_0 /* Copyright (c) 2003-2004 Niels Kokholm and Peter Sestoft Permission is hereby granted, free of charge, to any person obtaining a copy @@ -466,4 +467,5 @@ namespace C5 #endregion } -} \ No newline at end of file +} +#endif diff --git a/mcs/class/Mono.C5/Interfaces.cs b/mcs/class/Mono.C5/Interfaces.cs index 68d6db86b09..c999dc21d7d 100644 --- a/mcs/class/Mono.C5/Interfaces.cs +++ b/mcs/class/Mono.C5/Interfaces.cs @@ -1,3 +1,4 @@ +#if NET_2_0 /* Copyright (c) 2003-2004 Niels Kokholm and Peter Sestoft Permission is hereby granted, free of charge, to any person obtaining a copy @@ -1373,4 +1374,5 @@ namespace C5 /// True if equal bool Equals(T i1, T i2); } -} \ No newline at end of file +} +#endif diff --git a/mcs/class/Mono.C5/Wrappers.cs b/mcs/class/Mono.C5/Wrappers.cs index be8c91c9bbb..de1a11f51d1 100644 --- a/mcs/class/Mono.C5/Wrappers.cs +++ b/mcs/class/Mono.C5/Wrappers.cs @@ -1,3 +1,4 @@ +#if NET_2_0 /* Copyright (c) 2003-2004 Niels Kokholm and Peter Sestoft Permission is hereby granted, free of charge, to any person obtaining a copy @@ -1576,4 +1577,5 @@ namespace C5 #endregion } -} \ No newline at end of file +} +#endif diff --git a/mcs/class/Mono.C5/arrays/ArrayList.cs b/mcs/class/Mono.C5/arrays/ArrayList.cs index c2bcb7bf03d..cc7a050ce6e 100644 --- a/mcs/class/Mono.C5/arrays/ArrayList.cs +++ b/mcs/class/Mono.C5/arrays/ArrayList.cs @@ -1,3 +1,4 @@ +#if NET_2_0 /* Copyright (c) 2003-2004 Niels Kokholm and Peter Sestoft Permission is hereby granted, free of charge, to any person obtaining a copy @@ -1293,4 +1294,5 @@ namespace C5 #endregion } -} \ No newline at end of file +} +#endif diff --git a/mcs/class/Mono.C5/arrays/HashedArray.cs b/mcs/class/Mono.C5/arrays/HashedArray.cs index 585504810c6..c5538d99462 100644 --- a/mcs/class/Mono.C5/arrays/HashedArray.cs +++ b/mcs/class/Mono.C5/arrays/HashedArray.cs @@ -1,3 +1,4 @@ +#if NET_2_0 /* Copyright (c) 2003-2004 Niels Kokholm and Peter Sestoft Permission is hereby granted, free of charge, to any person obtaining a copy @@ -633,4 +634,5 @@ namespace C5 #endregion } -} \ No newline at end of file +} +#endif diff --git a/mcs/class/Mono.C5/arrays/SortedArray.cs b/mcs/class/Mono.C5/arrays/SortedArray.cs index a0b54c66d43..77478fbf78b 100644 --- a/mcs/class/Mono.C5/arrays/SortedArray.cs +++ b/mcs/class/Mono.C5/arrays/SortedArray.cs @@ -1,3 +1,4 @@ +#if NET_2_0 /* Copyright (c) 2003-2004 Niels Kokholm and Peter Sestoft Permission is hereby granted, free of charge, to any person obtaining a copy @@ -1227,4 +1228,5 @@ namespace C5 #endregion } -} \ No newline at end of file +} +#endif diff --git a/mcs/class/Mono.C5/hashing/HashBag.cs b/mcs/class/Mono.C5/hashing/HashBag.cs index 35ac9c6cae0..080da67c325 100644 --- a/mcs/class/Mono.C5/hashing/HashBag.cs +++ b/mcs/class/Mono.C5/hashing/HashBag.cs @@ -1,3 +1,4 @@ +#if NET_2_0 /* Copyright (c) 2003-2004 Niels Kokholm and Peter Sestoft Permission is hereby granted, free of charge, to any person obtaining a copy @@ -490,3 +491,4 @@ namespace C5 #endregion } } +#endif diff --git a/mcs/class/Mono.C5/hashing/HashDictionary.cs b/mcs/class/Mono.C5/hashing/HashDictionary.cs index c2ea61ebf16..325aee15cfb 100644 --- a/mcs/class/Mono.C5/hashing/HashDictionary.cs +++ b/mcs/class/Mono.C5/hashing/HashDictionary.cs @@ -1,3 +1,4 @@ +#if NET_2_0 /* Copyright (c) 2003-2004 Niels Kokholm and Peter Sestoft Permission is hereby granted, free of charge, to any person obtaining a copy @@ -67,4 +68,5 @@ namespace C5 pairs = new HashSet>(capacity, fill, kvph); } } -} \ No newline at end of file +} +#endif diff --git a/mcs/class/Mono.C5/hashing/HashTable.cs b/mcs/class/Mono.C5/hashing/HashTable.cs index c18450a6493..bc734d9de13 100644 --- a/mcs/class/Mono.C5/hashing/HashTable.cs +++ b/mcs/class/Mono.C5/hashing/HashTable.cs @@ -1,3 +1,4 @@ +#if NET_2_0 /* Copyright (c) 2003-2004 Niels Kokholm and Peter Sestoft Permission is hereby granted, free of charge, to any person obtaining a copy @@ -1437,4 +1438,5 @@ namespace C5 #endregion } -} \ No newline at end of file +} +#endif diff --git a/mcs/class/Mono.C5/heaps/IntervalHeap.cs b/mcs/class/Mono.C5/heaps/IntervalHeap.cs index 2a1cabe05c0..2ad55893721 100644 --- a/mcs/class/Mono.C5/heaps/IntervalHeap.cs +++ b/mcs/class/Mono.C5/heaps/IntervalHeap.cs @@ -1,3 +1,4 @@ +#if NET_2_0 /* Copyright (c) 2003-2004 Niels Kokholm and Peter Sestoft Permission is hereby granted, free of charge, to any person obtaining a copy @@ -565,4 +566,5 @@ namespace C5 #endregion } -} \ No newline at end of file +} +#endif diff --git a/mcs/class/Mono.C5/linkedlists/HashedLinkedLIst.cs b/mcs/class/Mono.C5/linkedlists/HashedLinkedLIst.cs index 6114ebe8d95..dab32392680 100644 --- a/mcs/class/Mono.C5/linkedlists/HashedLinkedLIst.cs +++ b/mcs/class/Mono.C5/linkedlists/HashedLinkedLIst.cs @@ -1,3 +1,4 @@ +#if NET_2_0 /* Copyright (c) 2003-2004 Niels Kokholm and Peter Sestoft Permission is hereby granted, free of charge, to any person obtaining a copy @@ -1086,4 +1087,5 @@ namespace C5 } #endregion } -} \ No newline at end of file +} +#endif diff --git a/mcs/class/Mono.C5/linkedlists/LinkedList.cs b/mcs/class/Mono.C5/linkedlists/LinkedList.cs index f18857819aa..62fe5ad801e 100644 --- a/mcs/class/Mono.C5/linkedlists/LinkedList.cs +++ b/mcs/class/Mono.C5/linkedlists/LinkedList.cs @@ -1,3 +1,4 @@ +#if NET_2_0 /* Copyright (c) 2003-2004 Niels Kokholm and Peter Sestoft Permission is hereby granted, free of charge, to any person obtaining a copy @@ -2657,4 +2658,5 @@ namespace C5 #endregion } -} \ No newline at end of file +} +#endif diff --git a/mcs/class/Mono.C5/trees/RedBlackTree.cs b/mcs/class/Mono.C5/trees/RedBlackTree.cs index 806a4f325c3..f7fac07c9e8 100644 --- a/mcs/class/Mono.C5/trees/RedBlackTree.cs +++ b/mcs/class/Mono.C5/trees/RedBlackTree.cs @@ -1,3 +1,4 @@ +#if NET_2_0 /* Copyright (c) 2003-2004 Niels Kokholm and Peter Sestoft Permission is hereby granted, free of charge, to any person obtaining a copy @@ -4293,3 +4294,4 @@ namespace C5 } } +#endif diff --git a/mcs/class/Mono.C5/trees/TreeDictionary.cs b/mcs/class/Mono.C5/trees/TreeDictionary.cs index aecd51af736..6194c20a44d 100644 --- a/mcs/class/Mono.C5/trees/TreeDictionary.cs +++ b/mcs/class/Mono.C5/trees/TreeDictionary.cs @@ -1,3 +1,4 @@ +#if NET_2_0 /* Copyright (c) 2003-2004 Niels Kokholm and Peter Sestoft Permission is hereby granted, free of charge, to any person obtaining a copy @@ -131,4 +132,5 @@ namespace C5 return res; } } -} \ No newline at end of file +} +#endif -- cgit v1.2.3