11 references to GetSize
ILCompiler.ReadyToRun (11)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\PEObjectWriter.cs (3)
890uint relocLength = (uint)Relocation.GetSize(reloc.Type); 961Span<byte> data = new byte[Relocation.GetSize(reloc.Type)]; 969stream.Write(new Span<byte>(data, Relocation.GetSize(reloc.Type)));
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\WasmInstructions.cs (4)
338return Relocation.GetSize(_relocType); 344int relocSize = Relocation.GetSize(_relocType); 464return base.EncodeSize() + Relocation.GetSize(RelocType.WASM_TYPE_INDEX_LEB) + (int)tableSize; 470int relocSize = Relocation.GetSize(RelocType.WASM_TYPE_INDEX_LEB);
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\WasmObjectWriter.cs (4)
846int size = Relocation.GetSize(reloc.Type); 880int relocLength = Relocation.GetSize(reloc.Type); 997Span<byte> relocContents = buffer.AsSpan(0, Relocation.GetSize(reloc.Type)); 1006sectionStream.Write(new Span<byte>(pData, Relocation.GetSize(reloc.Type)));