Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 572359
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T13:36:17+00:00 2026-05-13T13:36:17+00:00

The docs say: F# gives special status to non-virtual instance member properties compatible with

  • 0

The docs say:

F# gives special status to non-virtual instance member properties compatible with type IDelegateEvent, generating approriate .NET metadata to make the member appear to other .NET languages as a .NET event.

But the behavior of IDelegateEvent and IEvent appears to be the same with or without the CLIEvent attribute.

I’m using 1.9.7.8.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T13:36:18+00:00Added an answer on May 13, 2026 at 1:36 pm

    IEvent inherits from IDelegateEvent, but puts an additional constraint on the type of delegate allowed (forcing it to return unit). IEvent also inherits from IObservable. Unless you want to have an event with a weird type, there’s no reason to rely on the base IDelegateEvent interface instead of the more common IEvent.

    What do you mean when you say that [<CLIEvent>] doesn’t make a difference? In FSI there is a bug which prevents events from being generated correctly on the type (e.g. as seen via Type.GetEvents()), but events are generated correctly when the code is compiled. Even is FSI you should see the add_ and remove_ methods being generated when you apply the [<CLIEvent>] attribute, though.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The docs for Uri.LocalPath don't say what happens if you feed it a non
MSDN docs say that only value types need boxing, but this does not apply
The Python docs say: re.MULTILINE: When specified, the pattern character '^' matches at the
The Django docs say this on the subject: Note also that Django stores signal
The docs for Dictionary.TryGetValue say: When this method returns, [the value argument] contains the
The docs about openssl_sign() say that the signature is returned in the passed string
In the Apple Docs, they say that NSDateFormatter uses the Unicode for spec. I've
Let's say I had: protected void performLogic(List<Object> docs) { ... } In the code
I'm using Python 2.6.2. The docs for the filecmp module say: The filecmp module
I'm confused about scrollTop() . jQuery docs say it should be displaying a number

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.