Method Add
Add(JITDyLib, MemoryBuffer)
Adds an object file to the specified library
public void Add(JITDyLib jitDyLib, MemoryBuffer objBuffer)
Parameters
jitDyLib
JITDyLibLibrary to add the object file to
objBuffer
MemoryBufferBuffer for the object file
Remarks
The objBuffer
is transferred to the native implementation
of the library and is no longer usable after this (Dispose is still a NOP,
but any other operation results in an ObjectDisposedException)
Add(ResourceTracker, MemoryBuffer)
Adds an object file to the specified ResourceTracker
public void Add(ResourceTracker rt, MemoryBuffer objBuffer)
Parameters
rt
ResourceTrackerTracker to add the object file to
objBuffer
MemoryBufferBuffer for the object file
Remarks
The objBuffer
is transferred to the native implementation
of the library and is no longer usable after this (Dispose is still a NOP,
but any other operation results in an ObjectDisposedException)