|
Hello,
Please see my next C# sample: /// <summary> /// Handles the task exception. /// </summary> /// <example> /// <code> /// Task.Factory.StartNew (() => { throw null; }).IgnoreExceptions(); /// </code> /// </example> /// <param name="task">The task.</param> public static void IgnoreExceptions(this Task task) I have next violation: Sections of code should not be "commented out" for the line: "/// Task.Factory.StartNew (() => { throw null; }).IgnoreExceptions();". But this line formed according to MSDN specification for code comments (http://msdn.microsoft.com/en-us/library/5ast78ax) and it is in <code> element and for me it should not be checked by this Sonar rule. We use Sonar v3.0 So please provide some feedback how it could be avoided. Thank you and kind regards Konstantin. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
Hi Konstantin,
you are right, I created a ticket for this: http://jira.sonarsource.com/browse/CSHARP-29 However, for the moment, there's no workaround to avoid this, unfortunately.
Best regards,
On Thu, Jun 21, 2012 at 9:22 AM, Малышко Костя <[hidden email]> wrote: Hello, |
|
On the upside, once the fix is released, you get an effortless boost to your violations scores! :-D
On Thu, Jun 21, 2012 at 3:57 AM, Fabrice Bellingard <[hidden email]> wrote: Hi Konstantin, G. Ann Campbell Sr. Systems Engineer, IS Production Systems - Shop Floor Systems Shaw Industries Inc, 201 S. Hamilton St.
Dalton Ga 30720 ****************************** Privileged and/or confidential information may be contained in this message. If you are not the addressee indicated in this message (or are not responsible for delivery of this message to that person) , you may not copy or deliver this message to anyone. In such case, you should destroy this message and notify the sender by reply e-mail. If you or your employer do not consent to Internet e-mail for messages of this kind, please advise the sender. Shaw Industries does not provide or endorse any opinions, conclusions or other information in this message that do not relate to the official business of the company or its subsidiaries. ****************************** |
|
This post has NOT been accepted by the mailing list yet.
In reply to this post by Fabrice Bellingard-4
Hello,
Thank you for your reply! Looks that I don't have enough rights to see ticket. So my question is: how I can know that problem is fixed? Thank you and kind regards Konstantin. |
| Powered by Nabble | Edit this page |
