Reporter | Sven Heitmann (sheitmann) |
---|---|
Created | Jan 4, 2012 4:20:45 PM |
Updated | Jan 4, 2012 8:13:18 PM |
Priority | Normal |
Type | Bug |
Fix versions | No Fix versions |
State | Submitted |
Assignee | Alexander Nesterenko (alexn) |
Subsystem | Code Analysis |
Affected versions | 6.1.1 |
Fixed in build | No Fixed in build |
Hi
I added a new constructor to the class LocalizationRequiredAttribute in my copied annotation classes in this way.
It is just a default implementation to not write "true" always.
My issue now is, that Resharper does not track it as marker for localizable string correctly.
See picture 1 when I use my new constructor and picture 2 when I use the default constructor with 1 parameter.
Version Details
I added a new constructor to the class LocalizationRequiredAttribute in my copied annotation classes in this way.
/// <summary> /// Initializes a new instance of the /// <see cref="LocalizationRequiredAttribute"/> class with /// <see cref="Required"/> set to <see langword="true"/>. /// </summary> public LocalizationRequiredAttribute() : this(true) { }
It is just a default implementation to not write "true" always.
My issue now is, that Resharper does not track it as marker for localizable string correctly.
See picture 1 when I use my new constructor and picture 2 when I use the default constructor with 1 parameter.
Version Details
JetBrains ReSharper 6.1 C# Edition
Build 6.1.38.146 on 2011-12-30T12:18:32
Licensed to: Sven Heitmann
Plugins: 2
Copyright © 2003–2012 JetBrains s.r.o. All rights reserved.
Build 6.1.38.146 on 2011-12-30T12:18:32
Licensed to: Sven Heitmann
Plugins: 2
- 1. “Agent Johnson” v2.0.0.0 by “Jakob Christensen”
- 2. AgentSmith v1.5.0.0 by http://code.google.com/p/agentsmithplugin/
Copyright © 2003–2012 JetBrains s.r.o. All rights reserved.