Switch branches/tags
Find file History
davidkaya and safern Extensions for immutable collection builders (#21055) (#31071)
* Extensions for immutable builders (#21055)

Added extensions for immutable builders, which should be prefered over the extensions on IEnumerable because of performance benefits.

* Extension for immutable sorted dictionary builder (#21055)

* Extensions for immutable builders in the reference api (#21055)

* Tests for immutable builder extensions (#21055)

* Null check in extensions for immutable collection builders (#21055)
Latest commit 9f404b4 Oct 1, 2018
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
AllocFreeConcurrentStack.cs Update wordings for diagnostics tools dependencies comments. Jul 5, 2016
DictionaryEnumerator.cs Use nameof in System.Collections.Immutable Feb 20, 2016
DisposableEnumeratorAdapter_2.cs Remove ` and + from System.Collections.Immutable file names May 18, 2016
IBinaryTree.cs Update licensing headers Jan 27, 2016
IImmutableArray.cs Fix #14961 and tweak perf in ImmutableArray (#15296) Jan 27, 2017
IImmutableDictionary.cs Update licensing headers Jan 27, 2016
IImmutableDictionaryInternal.cs Update licensing headers Jan 27, 2016
IImmutableList.cs Update licensing headers Jan 27, 2016
IImmutableListQueries.cs Update licensing headers Jan 27, 2016
IImmutableQueue.cs Update licensing headers Jan 27, 2016
IImmutableSet.cs Update licensing headers Jan 27, 2016
IImmutableStack.cs Update licensing headers Jan 27, 2016
IOrderedCollection.cs Update licensing headers Jan 27, 2016
IStrongEnumerable_2.cs Remove ` and + from System.Collections.Immutable file names May 18, 2016
IStrongEnumerator_1.cs Remove ` and + from System.Collections.Immutable file names May 18, 2016
ImmutableArray.cs Extensions for immutable collection builders (#21055) (#31071) Oct 1, 2018
ImmutableArray_1.Builder.DebuggerProxy.cs Throw on null to ImmutableArrayBuilderDebuggerProxy constructor. (#22838 Aug 4, 2017
ImmutableArray_1.Builder.cs Improve inling in ImmutableArray<T>.Builder (#28177) Mar 18, 2018
ImmutableArray_1.Enumerator.cs Marking code as unchecked (pt 1) (#15805) Feb 6, 2017
ImmutableArray_1.Minimal.cs Simplify built-in types across corefx (#30656) Jun 25, 2018
ImmutableArray_1.cs Factor ImmutableArray<T> into many files (#15526) Feb 7, 2017
ImmutableDictionary.cs Extensions for immutable collection builders (#21055) (#31071) Oct 1, 2018
ImmutableDictionary_2.Builder.cs Simplify built-in types across corefx (#30656) Jun 25, 2018
ImmutableDictionary_2.Comparers.cs Remove ` and + from System.Collections.Immutable file names May 18, 2016
ImmutableDictionary_2.Enumerator.cs Remove ` and + from System.Collections.Immutable file names May 18, 2016
ImmutableDictionary_2.HashBucket.cs Simplify built-in types across corefx (#30656) Jun 25, 2018
ImmutableDictionary_2.MutationInput.cs Clean up dead code for System.Collections* (#28840) Apr 17, 2018
ImmutableDictionary_2.MutationResult.cs Mark applicable structs as readonly Nov 3, 2017
ImmutableDictionary_2.cs Avoid generic interface GetEnumerator empty allocations in immutable … Oct 12, 2017
ImmutableEnumerableDebuggerProxy.cs Consolidate DebuggerProxies for immutable collections (#16008) Feb 15, 2017
ImmutableExtensions.Minimal.cs Factor ImmutableArray<T> into many files (#15526) Feb 7, 2017
ImmutableExtensions.cs Revert "Simplify IsValueType type check" Jul 1, 2017
ImmutableHashSet.cs Extensions for immutable collection builders (#21055) (#31071) Oct 1, 2018
ImmutableHashSet_1.Builder.cs Avoid boxing and inaccurate HashBucket comparisons Jun 29, 2017
ImmutableHashSet_1.Enumerator.cs Remove ` and + from System.Collections.Immutable file names May 18, 2016
ImmutableHashSet_1.HashBucket.cs Implementing ItemRef API Proposal (C# 7.2 constructs to S.C.I) (#25738) Jan 5, 2018
ImmutableHashSet_1.HashBucketByRefEqualityComparer.cs Move code around to fit standards Jun 30, 2017
ImmutableHashSet_1.HashBucketByValueEqualityComparer.cs Move code around to fit standards Jun 30, 2017
ImmutableHashSet_1.MutationInput.cs Mark applicable structs as readonly Nov 3, 2017
ImmutableHashSet_1.MutationResult.cs Mark applicable structs as readonly Nov 3, 2017
ImmutableHashSet_1.NodeEnumerable.cs Mark applicable structs as readonly Nov 3, 2017
ImmutableHashSet_1.cs Avoid generic interface GetEnumerator empty allocations in immutable … Oct 12, 2017
ImmutableInterlocked.cs Simplify built-in types across corefx (#30656) Jun 25, 2018
ImmutableList.cs Extensions for immutable collection builders (#21055) (#31071) Oct 1, 2018
ImmutableList_1.Builder.cs Simplify built-in types across corefx (#30656) Jun 25, 2018
ImmutableList_1.Enumerator.cs Add missing header to ImmutableList`1+Enumerator (#23236) Aug 15, 2017
ImmutableList_1.Node.cs Implementing ItemRef API Proposal (C# 7.2 constructs to S.C.I) (#25738) Jan 5, 2018
ImmutableList_1.cs Implementing ItemRef API Proposal (C# 7.2 constructs to S.C.I) (#25738) Jan 5, 2018
ImmutableQueue.cs Optimize ImmutableQueue.CreateRange (#15997) Mar 6, 2017
ImmutableQueue_1.Enumerator.cs Move out ImmutableQueue types Jan 24, 2017
ImmutableQueue_1.cs Implementing ItemRef API Proposal (C# 7.2 constructs to S.C.I) (#25738) Jan 5, 2018
ImmutableSortedDictionary.cs Extensions for immutable collection builders (#21055) (#31071) Oct 1, 2018
ImmutableSortedDictionary_2.Builder.cs Simplify built-in types across corefx (#30656) Jun 25, 2018
ImmutableSortedDictionary_2.Enumerator.cs Split up ImmutableSortedDictionary types Jan 24, 2017
ImmutableSortedDictionary_2.Node.cs Simplify built-in types across corefx (#30656) Jun 25, 2018
ImmutableSortedDictionary_2.cs Simplify built-in types across corefx (#30656) Jun 25, 2018
ImmutableSortedSet.cs Extensions for immutable collection builders (#21055) (#31071) Oct 1, 2018
ImmutableSortedSet_1.Builder.DebuggerProxy.cs Remove caching from ImmutableSortedSet.Builder.DebuggerProxy Jun 2, 2017
ImmutableSortedSet_1.Builder.cs Simplify built-in types across corefx (#30656) Jun 25, 2018
ImmutableSortedSet_1.Enumerator.cs Move ImmutableSortedSet types out Jan 24, 2017
ImmutableSortedSet_1.Node.cs Implementing ItemRef API Proposal (C# 7.2 constructs to S.C.I) (#25738) Jan 5, 2018
ImmutableSortedSet_1.cs Implementing ItemRef API Proposal (C# 7.2 constructs to S.C.I) (#25738) Jan 5, 2018
ImmutableStack.cs Use nameof in System.Collections.Immutable Feb 20, 2016
ImmutableStack_1.Enumerator.cs Move ImmutableStack types out Jan 24, 2017
ImmutableStack_1.cs Implementing ItemRef API Proposal (C# 7.2 constructs to S.C.I) (#25738) Jan 5, 2018
KeysOrValuesCollectionAccessor.cs Use nameof in System.Collections.Immutable Feb 20, 2016
RefAsValueType.cs Update licensing headers Jan 27, 2016
SecureObjectPool.cs Use nameof in System.Collections.Immutable Feb 20, 2016
SortedInt32KeyNode.Enumerator.cs Move out SortedInt32KeyNode.Enumerator Jan 24, 2017
SortedInt32KeyNode.cs Simplify built-in types across corefx (#30656) Jun 25, 2018