1 write to Buffer
System.Reflection.Metadata (1)
System\Reflection\Metadata\Blob.cs (1)
14
Buffer
= buffer;
21 references to Buffer
System.Reflection.Metadata (21)
System\Reflection\Metadata\Blob.cs (2)
19
public bool IsDefault =>
Buffer
== null;
21
public ArraySegment<byte> GetBytes() => new ArraySegment<byte>(
Buffer
, Start, Length);
System\Reflection\Metadata\BlobWriter.cs (1)
34
: this(blob.
Buffer
, blob.Start, blob.Length)
System\Reflection\Metadata\Ecma335\Encoding\ControlFlowBuilder.cs (8)
297
srcBlobOffset == 1 && srcBlob.
Buffer
[0] == 0xff ||
298
srcBlobOffset == 4 && srcBlob.
Buffer
[0] == 0xff && srcBlob.
Buffer
[1] == 0xff && srcBlob.
Buffer
[2] == 0xff && srcBlob.
Buffer
[3] == 0xff);
304
dstBuilder.WriteBytes(srcBlob.
Buffer
, srcBlobOffset, chunkSize);
322
srcBlob.
Buffer
[srcBlobOffset] == 0xff :
323
BitConverter.ToUInt32(srcBlob.
Buffer
, srcBlobOffset) == 0xffffffff));
System\Reflection\PortableExecutable\PEBuilder.cs (10)
447
yield return new Blob(blob.
Buffer
, blobStart, length);
459
else if (blob.
Buffer
== strongNameSignatureFixup.
Buffer
)
461
yield return GetPrefixBlob(new Blob(blob.
Buffer
, blobStart, blobLength), strongNameSignatureFixup);
462
yield return GetSuffixBlob(new Blob(blob.
Buffer
, blobStart, blobLength), strongNameSignatureFixup);
467
yield return new Blob(blob.
Buffer
, blobStart, blobLength);
475
internal static Blob GetPrefixBlob(Blob container, Blob blob) => new Blob(container.
Buffer
, container.Start, blob.Start - container.Start);
476
internal static Blob GetSuffixBlob(Blob container, Blob blob) => new Blob(container.
Buffer
, blob.Start + blob.Length, container.Start + container.Length - blob.Start - blob.Length);
483
if (blob.
Buffer
== checksumFixup.
Buffer
)