1 write to _resources
Microsoft.DotNet.Cli.CoreUtils (1)
Resources\RawResourceReader.cs (1)
114
_resources
= resources;
13 references to _resources
Microsoft.DotNet.Cli.CoreUtils (13)
Resources\RawResourceReader.cs (13)
292
ReadOnlySpan<byte> resources =
_resources
.Span;
405
SpanReader<byte> reader = new(
_resources
.Span)
425
SpanReader<byte> reader = new(
_resources
.Span)
485
_resources
.Span.Slice(location.ContentOffset, location.ByteLength).CopyTo(destination);
509
ReadOnlyMemory<byte> content =
_resources
.Slice(location.ContentOffset, location.ByteLength);
528
_resources
.Span.Slice(location.ContentOffset, location.ByteLength));
548
SpanReader<byte> reader = new(
_resources
.Span) { Position = _nameSectionOffset + GetNamePosition(index) };
606
SpanReader<byte> reader = new(
_resources
.Span) { Position = _typeNamesOffset };
633
SpanReader<byte> reader = new(
_resources
.Span) { Position = _nameSectionOffset + GetNamePosition(index) };
653
SpanReader<byte> reader = new(
_resources
.Span) { Position = GetDataOffset(dataPosition) };
718
if (contentLength < 0 || contentOffset >
_resources
.Length - contentLength)
728
if (dataPosition < 0 || dataPosition >=
_resources
.Length - _dataSectionOffset)
738
SpanReader<byte> reader = new(
_resources
.Span) { Position = _namePositionsOffset + (index * 4) };