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

  • Home
  • SEARCH
  • 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 1112199
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T02:40:18+00:00 2026-05-17T02:40:18+00:00

When I was looking at the Action delegates in Reflector, I saw it has

  • 0

When I was looking at the Action delegates in Reflector, I saw it has a constructor like

public Action(object @object, IntPtr method);

But I could not find any body for the same along with other member functions like Invoke, BeginInvoke etc. I can only see the definitions for it. Where does these functions are defined? Are they defined outside of the .net BCLs?

  • 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-17T02:40:19+00:00Added an answer on May 17, 2026 at 2:40 am

    Delegates are handled specially by the CLR, basically. The compiler provides the signatures, but the CLR knows what to do with them.

    Section 8.9.3 of ECMA-335 partition I talks about this:

    Delegates are the object-oriented equivalent of function pointers. Unlike function pointers, delegates are
    object-oriented, type-safe, and secure. Delegates are created by defining a class that derives from the base type
    System.Delegate (see Partition IV). Each delegate type shall provide a method named Invoke with appropriate
    parameters, and each instance of a delegate forwards calls to its Invoke method to one or more compatible
    static or instance methods on particular objects. The objects and methods to which it delegates are chosen when
    the delegate instance is created.

    In addition to an instance constructor and an Invoke method, delegates can optionally have two additional
    methods: BeginInvoke and EndInvoke. These are used for asynchronous calls.

    While, for the most part, delegates appear to be simply another kind of user-defined class, they are tightly
    controlled. The implementations of the methods are provided by the VES, not user code. The only additional
    members that can be defined on delegate types are static or instance methods.

    (VES is the Virtual Execution System; the CLR is Microsoft’s implementation of the VES.)

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

Sidebar

Related Questions

I'm not looking for an action to call when hovering, but instead a way
Looking to trigger an action but not sure what the best way to go
I am looking for something like Action but I want it to be delegate
I'm looking for a solution to call a controller method/action inside an external js-file,
I'm looking for an code example/algorithm to do an action if the user has
I'm looking for a good approach to sometimes pause an action (function/method call) until
Looking for a method to target selected text and perform an action on it
I'm looking to use render like so: render :action => 'page#form' I also tried
I know that this question has been asked before, but I'm looking for a
I am looking to get the method/action name from a task in C#. Specifically

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.