public IEnumerable <ILToNativeMap> GetILToNativeMapping() { const uint bufferSize = 100; var buffer = new ILToNativeMap[bufferSize]; uint actualLength; _comCode.GetILToNativeMapping(bufferSize, out actualLength, buffer); return(buffer.Take((int)actualLength)); }
public IEnumerable<ILToNativeMap> GetILToNativeMapping() { const uint bufferSize = 100; var buffer = new ILToNativeMap[bufferSize]; uint actualLength; _comCode.GetILToNativeMapping(bufferSize, out actualLength, buffer); return buffer.Take((int) actualLength); }