Bug in syntax - coloring

Resharper is very cool, but I noticed a minor but in syntax coloring.

if you have a string constant that contains exactly the name of a field, the
content of the string is coloured as if it was a real field appearance. This
happens if the whole string constant equals the field name and not for all
occurencies.

public int fieldname

...
o.Method( "fieldname" );



1 comment
Comment actions Permalink

Does it happen in any case different than the code generated by the form
designer?
I cannot reproduce it on your example.

Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Resharper is very cool, but I noticed a minor but in syntax coloring.

if you have a string constant that contains exactly the name of a
field, the content of the string is coloured as if it was a real field
appearance. This happens if the whole string constant equals the field
name and not for all occurencies.

public int fieldname

....
o.Method( "fieldname" );



0

Please sign in to leave a comment.