31 references to TryCopyTo
Microsoft.AspNetCore.Http.Extensions (1)
src\Shared\ValueStringBuilder\ValueStringBuilder.cs (1)
121if (_chars.Slice(0, _pos).TryCopyTo(destination))
Microsoft.AspNetCore.HttpLogging (1)
src\Shared\ValueStringBuilder\ValueStringBuilder.cs (1)
121if (_chars.Slice(0, _pos).TryCopyTo(destination))
Microsoft.AspNetCore.WebSockets (1)
src\Shared\ValueStringBuilder\ValueStringBuilder.cs (1)
121if (_chars.Slice(0, _pos).TryCopyTo(destination))
Microsoft.Extensions.Logging.Abstractions (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
120if (_chars.Slice(0, _pos).TryCopyTo(destination))
Microsoft.Extensions.Logging.Generators (1)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ValueListBuilder.cs (1)
148if (_span.Slice(0, _pos).TryCopyTo(destination))
System.Console (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
120if (_chars.Slice(0, _pos).TryCopyTo(destination))
System.Diagnostics.DiagnosticSource (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
120if (_chars.Slice(0, _pos).TryCopyTo(destination))
System.Diagnostics.Process (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
120if (_chars.Slice(0, _pos).TryCopyTo(destination))
System.Formats.Tar (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
120if (_chars.Slice(0, _pos).TryCopyTo(destination))
System.IO.FileSystem.Watcher (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
120if (_chars.Slice(0, _pos).TryCopyTo(destination))
System.Net.Http (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
120if (_chars.Slice(0, _pos).TryCopyTo(destination))
System.Net.Mail (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
120if (_chars.Slice(0, _pos).TryCopyTo(destination))
System.Net.Primitives (1)
System\Net\IPAddress.cs (1)
472if (tmpDestination.Slice(0, written).TryCopyTo(destination))
System.Private.CoreLib (3)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
120if (_chars.Slice(0, _pos).TryCopyTo(destination))
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ValueListBuilder.cs (1)
148if (_span.Slice(0, _pos).TryCopyTo(destination))
src\libraries\System.Private.CoreLib\src\System\Memory.cs (1)
373public bool TryCopyTo(Memory<T> destination) => Span.TryCopyTo(destination.Span);
System.Private.CoreLib.Generators (1)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ValueListBuilder.cs (1)
148if (_span.Slice(0, _pos).TryCopyTo(destination))
System.Private.Uri (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
120if (_chars.Slice(0, _pos).TryCopyTo(destination))
System.Private.Xml (2)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
120if (_chars.Slice(0, _pos).TryCopyTo(destination))
System\Xml\Schema\XsdDuration.cs (1)
425bool successCopy = tmpSpan[..nanoSpanLength].TryCopyTo(vsb.AppendSpan(nanoSpanLength));
System.Reflection.Metadata (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
120if (_chars.Slice(0, _pos).TryCopyTo(destination))
System.Runtime.Numerics (2)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
120if (_chars.Slice(0, _pos).TryCopyTo(destination))
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ValueListBuilder.cs (1)
148if (_span.Slice(0, _pos).TryCopyTo(destination))
System.Security.Cryptography (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
120if (_chars.Slice(0, _pos).TryCopyTo(destination))
System.Text.Encodings.Web (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
120if (_chars.Slice(0, _pos).TryCopyTo(destination))
System.Text.Json (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
120if (_chars.Slice(0, _pos).TryCopyTo(destination))
System.Text.Json.SourceGeneration (1)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ValueListBuilder.cs (1)
148if (_span.Slice(0, _pos).TryCopyTo(destination))
System.Text.RegularExpressions (2)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
120if (_chars.Slice(0, _pos).TryCopyTo(destination))
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ValueListBuilder.cs (1)
148if (_span.Slice(0, _pos).TryCopyTo(destination))
System.Text.RegularExpressions.Generator (2)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
120if (_chars.Slice(0, _pos).TryCopyTo(destination))
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ValueListBuilder.cs (1)
148if (_span.Slice(0, _pos).TryCopyTo(destination))