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