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 6144189
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:36:56+00:00 2026-05-23T18:36:56+00:00

On my job I work with a v2.0 project. I need know which is

  • 0

On my job I work with a v2.0 project.
I need know which is the private field that is related to each property

class Foo {

private string _bar;
public string BigBar
{
    get { return _bar; }
}}

Someone know how can I check this relation with reflection

  • 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-23T18:36:57+00:00Added an answer on May 23, 2026 at 6:36 pm

    If you’re looking for backing fields of auto-like-properties, then the only way is to look at the generated IL, with a tool like Mono.Cecil, for example.

    You’ll have to look for a specific IL pattern, and also have to check if the backing field is only used in the property, and nowhere else.

    The pattern would be the generated IL for this chunk of code:

    private string _foo;
    public string Foo { get { return _foo; } set { _foo = value; } }
    

    (get and set are optional, but at least one must be present)

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

Sidebar

Related Questions

Your job is to design a Project Plan class library which supports the tracking
I know there is lxml and BeautifulSoup, but that won't work for my project,
We have a web-based product that is used for project management and planning. Each
I'm new to Django... I need to start a project that will have subdomains,
I started a new job where I have to work with several project built
I should use JSF 1.1 Mojarra implemetnation in job project. But I need a
I work with Visual Studio in my day to day job and I love
work on SQL Server 2000. want to Automated Email Notifications using SQL Server Job
I've got eclipse workspaces for my full time job and my home test work
I'm currently a developer at my first job right out of college. I work

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.