public Event(Context context) : this() { if (context == Context.Null) { throw new ArgumentNullException("context"); } try { unsafe { int error; Handle = Cl.CreateUserEvent(context.Handle, &error); ClHelper.GetError(error); } } catch (EntryPointNotFoundException) { throw ClHelper.VersionException(1, 1); } }