61 references to NullRef
Microsoft.AspNetCore.OutputCaching (2)
FormatterBinaryWriter.cs (2)
28
root = ref Unsafe.
NullRef
<byte>(); // no buffer initially
129
root = ref Unsafe.
NullRef
<byte>();
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\Http\HttpHeaders.Generated.cs (4)
7518
ref StringValues values = ref Unsafe.
NullRef
<StringValues>();
7929
ref StringValues values = ref Unsafe.
NullRef
<StringValues>();
8141
ref StringValues values = ref Unsafe.
NullRef
<StringValues>();
14826
ref readonly StringValues values = ref Unsafe.
NullRef
<StringValues>();
System.Collections (1)
System\Collections\Generic\OrderedDictionary.cs (1)
635
ref Entry entry = ref Unsafe.
NullRef
<Entry>();
System.Collections.Immutable (17)
System\Collections\Frozen\DefaultFrozenDictionary.AlternateLookup.cs (1)
56
return ref Unsafe.
NullRef
<TValue>();
System\Collections\Frozen\DefaultFrozenDictionary.cs (1)
41
return ref Unsafe.
NullRef
<TValue>();
System\Collections\Frozen\EmptyFrozenDictionary.cs (1)
29
private protected override ref readonly TValue GetValueRefOrNullRefCore(TKey key) => ref Unsafe.
NullRef
<TValue>();
System\Collections\Frozen\FrozenDictionary.cs (1)
554
public static readonly AlternateLookupDelegate<TAlternateKey> ReturnsNullRef = (_, _) => ref Unsafe.
NullRef
<TValue>();
System\Collections\Frozen\Int32\Int32FrozenDictionary.AlternateLookup.cs (1)
57
return ref Unsafe.
NullRef
<TValue>();
System\Collections\Frozen\Int32\Int32FrozenDictionary.cs (1)
79
return ref Unsafe.
NullRef
<TValue>();
System\Collections\Frozen\Integer\DenseIntegralFrozenDictionary.cs (2)
143
return ref Unsafe.
NullRef
<TValue>();
180
return ref Unsafe.
NullRef
<TValue>();
System\Collections\Frozen\SmallFrozenDictionary.AlternateLookup.cs (1)
52
return ref Unsafe.
NullRef
<TValue>();
System\Collections\Frozen\SmallFrozenDictionary.cs (1)
49
return ref Unsafe.
NullRef
<TValue>();
System\Collections\Frozen\SmallValueTypeComparableFrozenDictionary.cs (1)
66
return ref Unsafe.
NullRef
<TValue>();
System\Collections\Frozen\SmallValueTypeDefaultComparerFrozenDictionary.cs (1)
47
return ref Unsafe.
NullRef
<TValue>();
System\Collections\Frozen\String\LengthBucketsFrozenDictionary.AlternateLookup.cs (1)
58
return ref Unsafe.
NullRef
<TValue>();
System\Collections\Frozen\String\LengthBucketsFrozenDictionary.cs (1)
110
return ref Unsafe.
NullRef
<TValue>();
System\Collections\Frozen\String\OrdinalStringFrozenDictionary.AlternateLookup.cs (1)
55
return ref Unsafe.
NullRef
<TValue>();
System\Collections\Frozen\String\OrdinalStringFrozenDictionary.cs (1)
107
return ref Unsafe.
NullRef
<TValue>();
System\Collections\Frozen\ValueTypeDefaultComparerFrozenDictionary.cs (1)
41
return ref Unsafe.
NullRef
<TValue>();
System.Numerics.Tensors (13)
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan_1.cs (6)
46
: ref Unsafe.
NullRef
<T>();
81
: ref Unsafe.
NullRef
<T>();
105
: ref Unsafe.
NullRef
<T>();
159
: ref Unsafe.
NullRef
<T>();
186
: ref Unsafe.
NullRef
<T>();
380
ref T ret = ref Unsafe.
NullRef
<T>();
System\Numerics\Tensors\netcore\Tensor_1.cs (1)
195
ref T ret = ref Unsafe.
NullRef
<T>();
System\Numerics\Tensors\netcore\TensorSpan_1.cs (6)
44
: ref Unsafe.
NullRef
<T>();
61
: ref Unsafe.
NullRef
<T>();
73
: ref Unsafe.
NullRef
<T>();
105
: ref Unsafe.
NullRef
<T>();
117
: ref Unsafe.
NullRef
<T>();
276
ref T ret = ref Unsafe.
NullRef
<T>();
System.Private.CoreLib (23)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (4)
404
ref Entry entry = ref Unsafe.
NullRef
<Entry>();
484
value = ref Unsafe.
NullRef
<TValue>();
805
ref Entry entry = ref Unsafe.
NullRef
<Entry>();
850
value = ref Unsafe.
NullRef
<TValue>();
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSet.cs (4)
470
ref int bucket = ref Unsafe.
NullRef
<int>();
631
ref Entry entry = ref Unsafe.
NullRef
<Entry>();
675
value = ref Unsafe.
NullRef
<T>();
1426
ref int bucket = ref Unsafe.
NullRef
<int>();
src\libraries\System.Private.CoreLib\src\System\Memory.cs (1)
275
ref T refToReturn = ref Unsafe.
NullRef
<T>();
src\libraries\System.Private.CoreLib\src\System\ReadOnlyMemory.cs (1)
197
ref T refToReturn = ref Unsafe.
NullRef
<T>();
src\libraries\System.Private.CoreLib\src\System\ReadOnlySpan.cs (1)
292
ref T ret = ref Unsafe.
NullRef
<T>();
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\ArrayMarshaller.cs (1)
199
return ref Unsafe.
NullRef
<T>();
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\PointerArrayMarshaller.cs (1)
200
return ref Unsafe.
NullRef
<byte>();
src\libraries\System.Private.CoreLib\src\System\Span.cs (1)
285
ref T ret = ref Unsafe.
NullRef
<T>();
src\libraries\System.Private.CoreLib\src\System\TypedReference.cs (1)
26
ref byte targetRef = ref Unsafe.
NullRef
<byte>();
src\System\Reflection\TypeNameResolver.CoreCLR.cs (1)
187
assembly = RuntimeAssembly.InternalLoad(assemblyName, ref Unsafe.
NullRef
<StackCrawlMark>(),
src\System\Runtime\InteropServices\Marshal.CoreCLR.cs (5)
263
structMarshalStub(ref structure.GetRawData(), (byte*)ptr, MarshalOperation.Cleanup, ref Unsafe.
NullRef
<CleanupWorkListElement?>());
266
structMarshalStub(ref structure.GetRawData(), (byte*)ptr, MarshalOperation.Marshal, ref Unsafe.
NullRef
<CleanupWorkListElement?>());
291
structMarshalStub(ref structure.GetRawData(), (byte*)ptr, MarshalOperation.Unmarshal, ref Unsafe.
NullRef
<CleanupWorkListElement?>());
325
structMarshalStub(ref Unsafe.
NullRef
<byte>(), (byte*)ptr, MarshalOperation.Cleanup, ref Unsafe.
NullRef
<CleanupWorkListElement?>());
src\System\StubHelpers.cs (2)
1541
structMarshalStub(ref obj.GetRawData(), pNative, MarshalOperation.Unmarshal, ref Unsafe.
NullRef
<CleanupWorkListElement?>());
1560
structMarshalStub(ref obj.GetRawData(), pNative, MarshalOperation.Cleanup, ref Unsafe.
NullRef
<CleanupWorkListElement?>());
System.Text.Encodings.Web (1)
System\Text\Encodings\Web\OptimizedInboxTextEncoder.cs (1)
46
allowedCodePointsBmp = ref Unsafe.
NullRef
<AllowedBmpCodePointsBitmap>();