Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Improve Dictionary TryGetValue size/perfomance #27195

Merged
merged 8 commits into from
Oct 16, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
nit
  • Loading branch information
benaadams committed Oct 16, 2019
commit 7686383def45ef5a872bf4eb345d53bb9c4eddce
Original file line number Diff line number Diff line change
Expand Up @@ -389,8 +389,7 @@ public static IntPtr ByteOffset<T>(ref T origin, ref T target)
}

/// <summary>
/// Returns a by-ref that is a null reference to a type <typeparamref name="T"/>.
/// Note this is the address of the by-ref not what the ref points to.
/// Returns a by-ref to type <typeparamref name="T"/> that is a null reference.
/// </summary>
[Intrinsic]
[NonVersionable]
Expand All @@ -406,7 +405,6 @@ public static ref T NullRef<T>()

/// <summary>
/// Returns if a given by-ref to type <typeparamref name="T"/> is a null reference.
/// Note this is the address of the by-ref not what the ref points to.
/// </summary>
/// <remarks>
/// This check is conceptually similar to "(void*)(&amp;source) == nullptr".
Expand Down