3 implementations of Capacity
Microsoft.NET.HostModel (3)
MachO\FileUtils\MemoryMappedMachOViewAccessor.cs (1)
12
public long
Capacity
=> _accessor.Capacity;
MachO\FileUtils\MemoryStreamWriter.cs (1)
19
public long
Capacity
=> inner.Capacity;
MachO\FileUtils\StreamBasedMachOFile.cs (1)
22
public long
Capacity
=> _stream.Length;
2 references to Capacity
Microsoft.NET.HostModel (2)
MachO\MachObjectFile.cs (2)
313
if (file.
Capacity
< GetFileSize())
314
throw new ArgumentException($"File is too small. File capacity is '{file.
Capacity
}' bytes, but the Mach-O requires '{GetFileSize()}' bytes. ", nameof(file));