Commit Graph

465 Commits

Author SHA1 Message Date
Sam Harwell 1650c4fff3 List and Set usage 2013-02-18 18:33:42 -06:00
Sam Harwell be53840add Dictionary usage 2013-02-18 18:30:00 -06:00
Sam Harwell b405ea3f72 Initial BitSet implementation stub 2013-02-18 18:27:55 -06:00
Sam Harwell 7cddac8498 Convert int to enum by cast 2013-02-18 18:27:21 -06:00
Sam Harwell 8aa9ff38bb Merge branch 'sharpen' 2013-02-18 17:18:30 -06:00
Sam Harwell b12aff16b0 BitArray isn't a good replacement for BitSet, will need to provide a proper implementation 2013-02-18 17:17:17 -06:00
Sam Harwell a6bd78893d Map NoSuchElementException to InvalidOperationException 2013-02-18 17:13:51 -06:00
Sam Harwell 1a44b8e759 The override keyword should not be generated for interface implementations when -separateInterfaceConstants is specified 2013-02-18 17:11:58 -06:00
Sam Harwell 15a97b41b6 Updated properties in ATNConfigSet 2013-02-18 17:09:47 -06:00
Sam Harwell af5057c2d7 Fix generic method signature 2013-02-18 17:02:08 -06:00
Sam Harwell e2c5a77be5 Add required explicit interface implementations 2013-02-18 15:31:24 -06:00
Sam Harwell 45dd95e901 Update ParseTreeProperty implementation using a ConcurrentDictionary for the backing store 2013-02-18 15:28:30 -06:00
Sam Harwell d55c2176e1 Add DictionaryExtensions and ListExtensions 2013-02-18 15:27:51 -06:00
Sam Harwell 24b211b405 string.Join 2013-02-18 14:52:05 -06:00
Sam Harwell 7d1f1ebac7 Specify generic type constraint 2013-02-18 14:50:10 -06:00
Sam Harwell 5dadcca1ff Nullable and NotNull Annotations apply to return values, not methods 2013-02-18 14:24:14 -06:00
Sam Harwell 47f1171707 Error listener interface support 2013-02-18 13:28:20 -06:00
Sam Harwell ee0f26b19d Merge branch 'sharpen' 2013-02-18 13:16:09 -06:00
Sam Harwell 2d3fc09ba2 Add and use the -separateInterfaceConstants option 2013-02-18 13:14:07 -06:00
Sam Harwell aaa7adf598 Updated sharpen submodule 2013-02-18 10:51:09 -06:00
Sam Harwell 1ffb975f0d Default visibility for methods in interfaces converted to C# classes is public, not internal 2013-02-18 09:04:56 -06:00
Sam Harwell a821357697 List instead of IList so we can use ToArray 2013-02-18 08:22:34 -06:00
Sam Harwell af94caec5f SortedDictionary instead of LinkedHashMap 2013-02-18 08:22:06 -06:00
Sam Harwell 4b92e747a4 Add Arrays.Fill 2013-02-18 08:21:15 -06:00
Sam Harwell 7becde5c7b Add Collections.EmptyList and EmptyMap 2013-02-17 21:29:26 -06:00
Sam Harwell 644db625da Add IRecognizer interface to help with some issues with generics 2013-02-17 21:22:16 -06:00
Sam Harwell 6b4f1a32fc Fix implementation of RemoveAll 2013-02-17 21:03:08 -06:00
Sam Harwell 458c6871b7 Merge branch 'sharpen' 2013-02-17 21:00:53 -06:00
Sam Harwell a7df354202 Updated mappings for Predicate, Func0, and Func1 2013-02-17 20:59:53 -06:00
Sam Harwell 0a1f1f7e43 Add AtomicReference<T> 2013-02-17 20:56:48 -06:00
Sam Harwell a3114c3149 AddItem to Add 2013-02-17 20:36:36 -06:00
Sam Harwell e2fd234f98 IDeque and ArrayDeque to Stack 2013-02-17 20:35:43 -06:00
Sam Harwell bbff99c6e1 IsEmpty() to Count==0 2013-02-17 20:34:36 -06:00
Sam Harwell 9135606c15 Fix generics usage 2013-02-17 20:26:20 -06:00
Sam Harwell b4f8cf53bb Use Stack instead of IDeque and ArrayDeque 2013-02-17 20:20:03 -06:00
Sam Harwell 63298979f5 Merge branch 'sharpen' 2013-02-17 15:45:03 -06:00
Sam Harwell 9a3d80d115 Remove files from project (to match previous changes) 2013-02-17 15:43:52 -06:00
Sam Harwell 852a06bab7 Merge branch 'sharpen' 2013-02-17 15:42:40 -06:00
Sam Harwell b9518b9b52 @sharpen.ignore Func0, Func1, Predicate 2013-02-17 15:42:22 -06:00
Sam Harwell e5df777393 Replace Collections.EmptyList() with a new zero-length array 2013-02-17 15:37:48 -06:00
Sam Harwell ba0e345fcc Fix signatures of generic methods in Parser 2013-02-17 15:36:24 -06:00
Sam Harwell 11a2a5c277 Merge branch 'sharpen' 2013-02-17 15:31:58 -06:00
Sam Harwell a960ca940e Fix generation of calls to List.remove(int) which should become RemoveAt 2013-02-17 15:31:14 -06:00
Sam Harwell fb5c7655ea Updated mappings for InputStream and InputStreamReader 2013-02-17 15:28:22 -06:00
Sam Harwell 4ff0791120 Use Dictionary instead of FlexibleHashMap 2013-02-17 15:26:43 -06:00
Sam Harwell f0ef7a5a28 Updated sharpen annotations 2013-02-17 15:23:38 -06:00
Sam Harwell 8dbdc2b3c0 No need to wrap IOException in C# 2013-02-17 15:10:32 -06:00
Sam Harwell 81efb247be Fix generic types 2013-02-17 15:10:11 -06:00
Sam Harwell 7dd7ad030f Use ToString on primitives 2013-02-17 15:09:30 -06:00
Sam Harwell 40994e34de Insert instead of Add 2013-02-17 15:08:11 -06:00