Encapsulate field bug
Simple Example
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication9
{
class Program
{
DateTime? data = null;
static void Main(string[] args)
{
}
}
}
After try to make Read Write Property for "data" variable via Alt+Ins
I have
-
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication9
{
class Program
{
public Nullable? Data <----- Type of
"Nullable?", but must be "DateTime?"
{
get { return data; }
set { data = value; }
}
DateTime? data = null;
static void Main(string[] args)
{
}
}
}
-
--
ïÔÐÒÁ×ÌÅÎÏ M2, ÒÅ×ÏÌÀÃÉÏÎÎÏÊ ÐÏÞÔÏ×ÏÊ ÐÒÏÇÒÁÍÍÏÊ Opera:
http://www.opera.com/mail/
Please sign in to leave a comment.
This issue is not reproducable for me on the latest build. Is it fixed for
you?
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Yes, i can reproduce it in every project type, even in build 217
May be you do something wrong? or dot not understand bug
ïÔÐÒÁ×ÌÅÎÏ M2, ÒÅ×ÏÌÀÃÉÏÎÎÏÊ ÐÏÞÔÏ×ÏÊ ÐÒÏÇÒÁÍÍÏÊ Opera:
http://www.opera.com/mail/
Just checked in the latest build again. I took your example, invoked Alt-Insert,
Read-Write Property and selected 'data'. Everything was generated fine. Is
it still an issue for you?
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
On Mon, 27 Feb 2006 14:01:51 +0200, Valentin Kipiatkov
<valentin@jetbrains.com> wrote:
>
>
>> Yes, i can reproduce it in every project type, even in build 217
>> May be you do something wrong? or dot not understand bug
>> Отправлено M2, революционной почтовой программой Opera:
>> http://www.opera.com/mail/
>>
>
>
Build 219 -- it is all OK
thx
--
Отправлено M2, революционной почтовой программой Opera:
http://www.opera.com/mail/