57 references to WriteUnaligned
GenerateDocumentationAndConfigFiles (1)
src\Compilers\Core\Portable\Hashing\XxHashShared.cs (1)
810
Unsafe.
WriteUnaligned
(data, value);
Metrics (1)
src\Compilers\Core\Portable\Hashing\XxHashShared.cs (1)
810
Unsafe.
WriteUnaligned
(data, value);
Metrics.Legacy (1)
src\Compilers\Core\Portable\Hashing\XxHashShared.cs (1)
810
Unsafe.
WriteUnaligned
(data, value);
Microsoft.CodeAnalysis (1)
Hashing\XxHashShared.cs (1)
810
Unsafe.
WriteUnaligned
(data, value);
Microsoft.CodeAnalysis.Analyzers (1)
src\Compilers\Core\Portable\Hashing\XxHashShared.cs (1)
810
Unsafe.
WriteUnaligned
(data, value);
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\Compilers\Core\Portable\Hashing\XxHashShared.cs (1)
810
Unsafe.
WriteUnaligned
(data, value);
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
src\Compilers\Core\Portable\Hashing\XxHashShared.cs (1)
810
Unsafe.
WriteUnaligned
(data, value);
Microsoft.CodeAnalysis.CodeStyle (1)
src\Compilers\Core\Portable\Hashing\XxHashShared.cs (1)
810
Unsafe.
WriteUnaligned
(data, value);
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
src\Compilers\Core\Portable\Hashing\XxHashShared.cs (1)
810
Unsafe.
WriteUnaligned
(data, value);
Microsoft.CodeAnalysis.PublicApiAnalyzers (1)
src\Compilers\Core\Portable\Hashing\XxHashShared.cs (1)
810
Unsafe.
WriteUnaligned
(data, value);
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\Compilers\Core\Portable\Hashing\XxHashShared.cs (1)
810
Unsafe.
WriteUnaligned
(data, value);
Microsoft.CodeAnalysis.Workspaces (1)
src\Compilers\Core\Portable\Hashing\XxHashShared.cs (1)
810
Unsafe.
WriteUnaligned
(data, value);
Roslyn.Diagnostics.Analyzers (1)
src\Compilers\Core\Portable\Hashing\XxHashShared.cs (1)
810
Unsafe.
WriteUnaligned
(data, value);
System.IO.Hashing (1)
System\IO\Hashing\XxHashShared.cs (1)
801
Unsafe.
WriteUnaligned
(data, value);
System.Private.CoreLib (41)
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Base64Helper\Base64EncoderHelper.cs (4)
629
Unsafe.
WriteUnaligned
(bufferBytes + destinationIndex, result);
709
Unsafe.
WriteUnaligned
(dest, result);
725
Unsafe.
WriteUnaligned
(dest, result);
769
Unsafe.
WriteUnaligned
(destination, result);
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Base64Url\Base64UrlEncoder.cs (3)
266
Unsafe.
WriteUnaligned
(dest, result);
360
Unsafe.
WriteUnaligned
(dest, result);
449
Unsafe.
WriteUnaligned
(destination, result);
src\libraries\System.Private.CoreLib\src\System\IO\UnmanagedMemoryAccessor.cs (7)
401
Unsafe.
WriteUnaligned
(pointer + _offset + position, value);
424
Unsafe.
WriteUnaligned
(pointer + _offset + position, value);
447
Unsafe.
WriteUnaligned
(pointer + _offset + position, value);
475
Unsafe.
WriteUnaligned
(pointer, bits[0]);
476
Unsafe.
WriteUnaligned
(pointer + 4, bits[1]);
477
Unsafe.
WriteUnaligned
(pointer + 8, bits[2]);
478
Unsafe.
WriteUnaligned
(pointer + 12, bits[3]);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (3)
426
Unsafe.
WriteUnaligned
(addr, val);
459
Unsafe.
WriteUnaligned
(addr, val);
510
Unsafe.
WriteUnaligned
(addr, val);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\SafeBuffer.cs (2)
282
Unsafe.
WriteUnaligned
(ptr, value);
338
Unsafe.
WriteUnaligned
(ptr + alignedSizeofT * (uint)i, Unsafe.Add(ref structure, (nint)(uint)i));
src\libraries\System.Private.CoreLib\src\System\Text\Ascii.CaseConversion.cs (5)
342
Unsafe.
WriteUnaligned
(&pDest[i], nextBlockAsUInt64);
357
Unsafe.
WriteUnaligned
(&pDest[i], narrowedBlock.ToScalar());
401
Unsafe.
WriteUnaligned
(&pDest[i], nextBlockAsUInt32);
411
Unsafe.
WriteUnaligned
(&pDest[i], widenedBlock.ToScalar());
417
Unsafe.
WriteUnaligned
(&pDest[i], narrowedBlock.ToScalar());
src\libraries\System.Private.CoreLib\src\System\Text\Latin1Utility.cs (3)
623
Unsafe.
WriteUnaligned
(pLatin1Buffer + currentOffset, latin1Vector);
1091
Unsafe.
WriteUnaligned
(pUtf16Buffer + currentOffset, utf16LowVector);
1092
Unsafe.
WriteUnaligned
(pUtf16Buffer + currentOffset + Vector<ushort>.Count, utf16HighVector);
src\libraries\System.Private.CoreLib\src\System\Text\Unicode\Utf8Utility.Transcoding.cs (12)
289
Unsafe.
WriteUnaligned
(pOutputBuffer, ExtractTwoCharsPackedFromTwoAdjacentTwoByteSequences(thisDWord));
629
Unsafe.
WriteUnaligned
(pOutputBuffer, ExtractCharsFromFourByteSequence(thisDWord));
933
Unsafe.
WriteUnaligned
(pOutputBuffer, (ushort)valueToWrite);
1015
Unsafe.
WriteUnaligned
(pOutputBuffer, Sse2.ConvertToUInt32(Sse2.PackUnsignedSaturate(utf16Data, utf16Data).AsUInt32()));
1058
Unsafe.
WriteUnaligned
(pOutputBuffer, Sse2.ConvertToUInt32(Sse2.PackUnsignedSaturate(utf16Data, utf16Data).AsUInt32()));
1079
Unsafe.
WriteUnaligned
(pOutputBuffer, (ushort)(thisDWord | (thisDWord >> 8)));
1107
Unsafe.
WriteUnaligned
(pOutputBuffer, (ushort)(thisDWord | (thisDWord >> 8)));
1108
Unsafe.
WriteUnaligned
(pOutputBuffer + 2, (ushort)(secondDWord | (secondDWord >> 8)));
1128
Unsafe.
WriteUnaligned
(pOutputBuffer, (ushort)(thisDWord | (thisDWord >> 8)));
1196
Unsafe.
WriteUnaligned
(pOutputBuffer, ExtractTwoUtf8TwoByteSequencesFromTwoPackedUtf16Chars(thisDWord));
1230
Unsafe.
WriteUnaligned
(pOutputBuffer, (ushort)ExtractUtf8TwoByteSequenceFromFirstUtf16Char(thisDWord));
1402
Unsafe.
WriteUnaligned
(pOutputBuffer, ExtractFourUtf8BytesFromSurrogatePair(thisDWord));
src\libraries\System.Private.CoreLib\src\System\Text\UnicodeEncoding.cs (2)
746
Unsafe.
WriteUnaligned
(longBytes, *longChars);
1402
Unsafe.
WriteUnaligned
(longChars, *longBytes);
Test.Utilities (1)
src\Compilers\Core\Portable\Hashing\XxHashShared.cs (1)
810
Unsafe.
WriteUnaligned
(data, value);
Text.Analyzers (1)
src\Compilers\Core\Portable\Hashing\XxHashShared.cs (1)
810
Unsafe.
WriteUnaligned
(data, value);