Reporter | Alex Berezoutsky (fergard) |
---|---|
Created | Mar 24, 2011 5:05:35 PM |
Updated | Feb 20, 2012 2:06:53 AM |
Priority | Critical |
Type | Bug |
Fix versions | No Fix versions |
State | Open |
Assignee | Alexander Shvedov (shvedov) |
Subsystem | Generate Action |
Affected versions | 5.1.3 |
Fixed in build | No Fixed in build |
There's a problem with generation of delegating members. I set up a simple class with only one private field of string. When I wanted to generate members to delegate calls to that string, the menuitem "delegating members" in the "generate code" menu was inactive. When I cange the Type of the field to let's say Control all seems to work fine.
using System; namespace ReSharperExample { public class WontCreateMembers { //private String _decorated (typename insteadof keyword) also doesn't work private string _decorated; } public class WillCreateMembers { private Type _decorated; } }