public UnmanagedType GetMarshalAsParameterValue(int index) { Debug.Assert(IsMarshalAsParameter(index)); return _marshalAsBuffer[index]; }