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)
292ReadOnlySpan<byte> resources = _resources.Span; 405SpanReader<byte> reader = new(_resources.Span) 425SpanReader<byte> reader = new(_resources.Span) 485_resources.Span.Slice(location.ContentOffset, location.ByteLength).CopyTo(destination); 509ReadOnlyMemory<byte> content = _resources.Slice(location.ContentOffset, location.ByteLength); 528_resources.Span.Slice(location.ContentOffset, location.ByteLength)); 548SpanReader<byte> reader = new(_resources.Span) { Position = _nameSectionOffset + GetNamePosition(index) }; 606SpanReader<byte> reader = new(_resources.Span) { Position = _typeNamesOffset }; 633SpanReader<byte> reader = new(_resources.Span) { Position = _nameSectionOffset + GetNamePosition(index) }; 653SpanReader<byte> reader = new(_resources.Span) { Position = GetDataOffset(dataPosition) }; 718if (contentLength < 0 || contentOffset > _resources.Length - contentLength) 728if (dataPosition < 0 || dataPosition >= _resources.Length - _dataSectionOffset) 738SpanReader<byte> reader = new(_resources.Span) { Position = _namePositionsOffset + (index * 4) };