get_ & set_ Possible Issue

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ACG

    #1

    get_ & set_ Possible Issue

    Sorry if this is a report but, I hope I can convey this well. When setting/getting a property of a class inside its own project, I get

    foo.Amoun

    When I use intellisense in another project that has a reference to the other projects' class library, I get

    foo.get_Amoun

    foo.set_Amoun

    I would love to have just foo.Amount. Is this a studio 2003 problem with intellisense or a "feature"

    Regards
    Ada


  • Daniel O'Connell

    #2
    Re: get_ & set_ Possible Issue

    Are both projects in the same language?

    "ACG" <anonymous@disc ussions.microso ft.com> wrote in message
    news:DC148DDC-0F0A-4840-A432-F331F6F88174@mi crosoft.com...[color=blue]
    > Sorry if this is a report but, I hope I can convey this well. When[/color]
    setting/getting a property of a class inside its own project, I get:[color=blue]
    >
    > foo.Amount
    >
    > When I use intellisense in another project that has a reference to the[/color]
    other projects' class library, I get:[color=blue]
    >
    > foo.get_Amount
    > &
    > foo.set_Amount
    >
    > I would love to have just foo.Amount. Is this a studio 2003 problem with[/color]
    intellisense or a "feature"?[color=blue]
    >
    > Regards,
    > Adam
    >
    >[/color]


    Comment

    • ACG

      #3
      Re: get_ &amp; set_ Possible Issue

      Yes, they are both in C#, the only difference is that one is a Windows form project and one is a class library

      Reg
      Ada


      ----- Daniel O'Connell wrote: ----

      Are both projects in the same language

      "ACG" <anonymous@disc ussions.microso ft.com> wrote in messag
      news:DC148DDC-0F0A-4840-A432-F331F6F88174@mi crosoft.com..[color=blue]
      > Sorry if this is a report but, I hope I can convey this well. Whe[/color]
      setting/getting a property of a class inside its own project, I get[color=blue][color=green]
      >> foo.Amoun
      >> When I use intellisense in another project that has a reference to th[/color][/color]
      other projects' class library, I get[color=blue][color=green]
      >> foo.get_Amoun[/color]
      >&> foo.set_Amoun[color=green]
      >> I would love to have just foo.Amount. Is this a studio 2003 problem wit[/color][/color]
      intellisense or a "feature"[color=blue][color=green]
      >> Regards[/color]
      > Ada[color=green]
      >>[/color][/color]

      Comment

      • Daniel O'Connell

        #4
        Re: get_ &amp; set_ Possible Issue

        Hrmm, thats a strange situation. Have you been able to reproduce it in any
        other situations or is it in just this one case?

        "ACG" <anonymous@disc ussions.microso ft.com> wrote in message
        news:A4A21CB5-DD04-49CA-B9D5-42232965641C@mi crosoft.com...[color=blue]
        > Yes, they are both in C#, the only difference is that one is a Windows[/color]
        form project and one is a class library.[color=blue]
        >
        > Reg,
        > Adam
        >
        >
        > ----- Daniel O'Connell wrote: -----
        >
        > Are both projects in the same language?
        >
        > "ACG" <anonymous@disc ussions.microso ft.com> wrote in message
        > news:DC148DDC-0F0A-4840-A432-F331F6F88174@mi crosoft.com...[color=green]
        > > Sorry if this is a report but, I hope I can convey this well. When[/color]
        > setting/getting a property of a class inside its own project, I get:[color=green][color=darkred]
        > >> foo.Amount
        > >> When I use intellisense in another project that has a reference to[/color][/color][/color]
        the[color=blue]
        > other projects' class library, I get:[color=green][color=darkred]
        > >> foo.get_Amount[/color]
        > >&> foo.set_Amount[color=darkred]
        > >> I would love to have just foo.Amount. Is this a studio 2003[/color][/color][/color]
        problem with[color=blue]
        > intellisense or a "feature"?[color=green][color=darkred]
        > >> Regards,[/color]
        > > Adam[color=darkred]
        > >>[/color][/color][/color]


        Comment

        Working...