4 comments
Comment actions Permalink

I believe it should be "[field:NonSerialized]", where "field" is in all
lower-case. R# seems to recognize that just fine.

Mike

"Peter Sulek" <terrorix@centrum.sk> wrote in message
news:g1opha$oht$1@is.intellij.net...

As described here
http://weblogs.asp.net/rosherove/archive/2004/12/29/343659.aspx

>

resharper does not know nothing about this construction:

>


private event EventHandler renew;

>

see attached pict.

>

Resharper 4.0.811.49

>

--
by Peter Sulek in 30. 5. 2008 13:44:29
XanaNews 1.18.1.6


0
Comment actions Permalink

Mike Strobel wrote:

I believe it should be "[field:NonSerialized]", where "field" is in
all lower-case. R# seems to recognize that just fine.

Mike

"Peter Sulek" <terrorix@centrum.sk> wrote in message
news:g1opha$oht$1@is.intellij.net...

As described here
http://weblogs.asp.net/rosherove/archive/2004/12/29/343659.aspx

resharper does not know nothing about this construction:


private event EventHandler renew;

see attached pict.

Resharper 4.0.811.49

-- by Peter Sulek in 30. 5. 2008 13:44:29
XanaNews 1.18.1.6


Maybe, but is also well compiled, and thus r#
must recognize that too.

--
by Peter Sulek at 23. 6. 2008 9:11:26
XanaNews 1.18.1.6

0
Comment actions Permalink

According to C# specification, the attribute target should be in low-case

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Peter Sulek" <terrorix@centrum.sk> wrote in message
news:g1opha$oht$1@is.intellij.net...

As described here
http://weblogs.asp.net/rosherove/archive/2004/12/29/343659.aspx

>

resharper does not know nothing about this construction:

>


private event EventHandler renew;

>

see attached pict.

>

Resharper 4.0.811.49

>

--
by Peter Sulek in 30. 5. 2008 13:44:29
XanaNews 1.18.1.6



0
Comment actions Permalink

"" may compile, but the "Field:" qualifier is ignored.
Thus, your attribute is almost certainly not being applied in the manner you
intended.

In other words, "[Field:NonSerialized]" and "[field:NonSerialized]" are not
equivalent. Rather, "[Field:NonSerialized]" and "[NonSerialized]" are
equivalent. R# is telling you that your attribute target qualifier is
incorrect because it is.

Cheers,
Mike

Maybe, but is also well compiled, and thus r#
must recognize that too.

>

--
by Peter Sulek at 23. 6. 2008 9:11:26
XanaNews 1.18.1.6


0

Please sign in to leave a comment.