<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://code.msdn.microsoft.com/rss.xsl"?><rss version="2.0"><channel><title>Microsoft StyleCop</title><link>http://code.msdn.microsoft.com/sourceanalysis/Project/ProjectRss.aspx</link><description>StyleCop analyzes C&amp;#35; source code to enforce a set of style and consistency rules. It can be run from inside of Visual Studio or integrated into an MSBuild project</description><item><title>NEW POST: thread safety</title><link>http://code.msdn.microsoft.com/sourceanalysis/Thread/View.aspx?ThreadId=986</link><description>&lt;div class="wikidoc"&gt;
Hi,&lt;br /&gt; &lt;br /&gt;I have create an plugin for StyleCop with my own rules. Sometimes we encounter strange unpredictable behavier in the usage pf stylecopy. &lt;br /&gt;For instance &lt;br /&gt; - it hangs and takes all cpu time &lt;br /&gt; - my rules plugin sometimes incorrectly reports errors and when running it for a second time the errors are gone.&lt;br /&gt; &lt;br /&gt;I found out that the stylecop uses multiple threads for analyzing the document. This shouldn't be a problem if it was properly documented (i haven't found anything in the docs). Or if it was implemented in such a way, that there was an instance of your SourceAnalyzer class created for every thread of stylecop. Then your own class derived from SourceAnalyzer doesn't have to be thread safe.&lt;br /&gt;At this moment there will be only one instance created of your class that inherits from SourceAnalyzer and the AnalyzeDocument method is called from multiple StyleCop threads.&lt;br /&gt; &lt;br /&gt;Is it possible to document this, or make sure that classes that inhered from SourceAnalyzer don't have to be thread safe.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>Pieter</author><pubDate>Fri, 21 Nov 2008 13:04:52 GMT</pubDate><guid isPermaLink="false">NEW POST: thread safety 20081121P</guid></item><item><title>COMMENTED ISSUE: warning: SA0102: A syntax error has been discovered in file ... (unsupported characters)</title><link>http://code.msdn.microsoft.com/sourceanalysis/WorkItem/View.aspx?WorkItemId=125</link><description>The problem was for instance that the name of a textbox was &amp;#34;textBoxSonderpr&amp;#252;fungen&amp;#34;. After replacing to &amp;#34;textBoxSonderpruefungen&amp;#34; it works.&lt;br /&gt; &lt;br /&gt;Sorry, I don&amp;#39;t know how I can send the whole file to you.&lt;br /&gt;&lt;br /&gt;Comments: This issue appears when a source file &amp;#40;.cs file&amp;#41; is stored in a format different from UTF-8 format. For example if we store a file in Windows-1251 encoding and use cyrillic letters in C&amp;#35; indentfiers then we get exactlty the same error. At the same time C&amp;#35; compiler processes this file without errors.</description><author>AlexeyR</author><pubDate>Fri, 21 Nov 2008 10:56:45 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: warning: SA0102: A syntax error has been discovered in file ... (unsupported characters) 20081121A</guid></item><item><title>EDITED ISSUE: SA1642: Error with generics</title><link>http://code.msdn.microsoft.com/sourceanalysis/WorkItem/View.aspx?WorkItemId=63</link><description>When documenting a generic class, only allows &amp;#60;see cref&amp;#61;&amp;#34;MyClass&amp;#34;&amp;#47;&amp;#62; and not  &amp;#60;see cref&amp;#61;&amp;#34;MyClass&amp;#96;1&amp;#34;&amp;#47;&amp;#62;.&lt;br /&gt;&lt;br /&gt;MyClass and MyClass&amp;#60;T&amp;#62; may both exist and aren&amp;#39;t the same.&lt;br /&gt;</description><author>jasonall</author><pubDate>Thu, 20 Nov 2008 19:25:54 GMT</pubDate><guid isPermaLink="false">EDITED ISSUE: SA1642: Error with generics 20081120P</guid></item><item><title>COMMENTED ISSUE: SA1642: Error with generics</title><link>http://code.msdn.microsoft.com/sourceanalysis/WorkItem/View.aspx?WorkItemId=63</link><description>When documenting a generic class, only allows &amp;#60;see cref&amp;#61;&amp;#34;MyClass&amp;#34;&amp;#47;&amp;#62; and not  &amp;#60;see cref&amp;#61;&amp;#34;MyClass&amp;#96;1&amp;#34;&amp;#47;&amp;#62;.&lt;br /&gt;&lt;br /&gt;MyClass and MyClass&amp;#60;T&amp;#62; may both exist and aren&amp;#39;t the same.&lt;br /&gt;Comments: A fix for this issue has been identified and will be included in the next update to StyleCop 4.3</description><author>jasonall</author><pubDate>Thu, 20 Nov 2008 19:25:53 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: SA1642: Error with generics 20081120P</guid></item><item><title>COMMENTED ISSUE: warning: SA0102: A syntax error has been discovered in file ... (unsupported characters)</title><link>http://code.msdn.microsoft.com/sourceanalysis/WorkItem/View.aspx?WorkItemId=125</link><description>The problem was for instance that the name of a textbox was &amp;#34;textBoxSonderpr&amp;#252;fungen&amp;#34;. After replacing to &amp;#34;textBoxSonderpruefungen&amp;#34; it works.&lt;br /&gt; &lt;br /&gt;Sorry, I don&amp;#39;t know how I can send the whole file to you.&lt;br /&gt;&lt;br /&gt;Comments: See the file attached. The this bug only occurs when the file is not in UTF encoding &amp;#40;win-1252, for example&amp;#41;.</description><author>serega</author><pubDate>Thu, 20 Nov 2008 15:34:12 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: warning: SA0102: A syntax error has been discovered in file ... (unsupported characters) 20081120P</guid></item><item><title>COMMENTED ISSUE: warning: SA0102: A syntax error has been discovered in file ... (unsupported characters)</title><link>http://code.msdn.microsoft.com/sourceanalysis/WorkItem/View.aspx?WorkItemId=125</link><description>The problem was for instance that the name of a textbox was &amp;#34;textBoxSonderpr&amp;#252;fungen&amp;#34;. After replacing to &amp;#34;textBoxSonderpruefungen&amp;#34; it works.&lt;br /&gt; &lt;br /&gt;Sorry, I don&amp;#39;t know how I can send the whole file to you.&lt;br /&gt;&lt;br /&gt;Comments: Hello,&amp;#13;&amp;#10;you can reproduce this issue if you use german umlaute e.g. &amp;#228; &amp;#246; &amp;#252;&amp;#13;&amp;#10;&amp;#13;&amp;#10;public void &amp;#196;ndereUmlaute&amp;#40;&amp;#41;&amp;#13;&amp;#10;&amp;#123;&amp;#13;&amp;#10;   &amp;#47;&amp;#47; foo&amp;#13;&amp;#10;&amp;#125;</description><author>uth</author><pubDate>Thu, 20 Nov 2008 14:32:55 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: warning: SA0102: A syntax error has been discovered in file ... (unsupported characters) 20081120P</guid></item><item><title>EDITED FEATURE: New '#region' rules </title><link>http://code.msdn.microsoft.com/sourceanalysis/WorkItem/View.aspx?WorkItemId=131</link><description>I would like to have some rules about spacing around the &amp;#39;&amp;#35;region&amp;#39; and &amp;#39;&amp;#35;endregion&amp;#39; code elements.&lt;br /&gt;- &amp;#39;&amp;#35;region&amp;#39; must be preceeded by a blank line or other &amp;#39;&amp;#35;region&amp;#39;&lt;br /&gt;- &amp;#39;&amp;#35;region&amp;#39; must not be followed by a blank line&lt;br /&gt;- &amp;#39;&amp;#35;endregion&amp;#39; must not be preceeded by a blank line&lt;br /&gt;- &amp;#39;&amp;#35;endregion&amp;#39; must be followed by a blank line or other &amp;#39;&amp;#35;endregion&amp;#39; &amp;#40;except curly braces, etc&amp;#41;&lt;br /&gt;&lt;br /&gt;For example, the following must not be allowed&amp;#58;&lt;br /&gt;    &amp;#35;region MyRegion&lt;br /&gt;&lt;br /&gt;    void Foo&amp;#40;&amp;#41;&lt;br /&gt;    &amp;#123;&lt;br /&gt;    &amp;#125;&lt;br /&gt;&lt;br /&gt;    &amp;#35;endregion&lt;br /&gt;&lt;br /&gt;and replaced by&amp;#58;&lt;br /&gt;    &amp;#35;region MyRegion&lt;br /&gt;    void Foo&amp;#40;&amp;#41;&lt;br /&gt;    &amp;#123;&lt;br /&gt;    &amp;#125;&lt;br /&gt;    &amp;#35;endregion&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description><author>jasonall</author><pubDate>Tue, 18 Nov 2008 13:55:46 GMT</pubDate><guid isPermaLink="false">EDITED FEATURE: New '#region' rules  20081118P</guid></item><item><title>CREATED ISSUE: New '#region' rules </title><link>http://code.msdn.microsoft.com/sourceanalysis/WorkItem/View.aspx?WorkItemId=131</link><description>I would like to have some rules about spacing around the &amp;#39;&amp;#35;region&amp;#39; and &amp;#39;&amp;#35;endregion&amp;#39; code elements.&lt;br /&gt;- &amp;#39;&amp;#35;region&amp;#39; must be preceeded by a blank line or other &amp;#39;&amp;#35;region&amp;#39;&lt;br /&gt;- &amp;#39;&amp;#35;region&amp;#39; must not be followed by a blank line&lt;br /&gt;- &amp;#39;&amp;#35;endregion&amp;#39; must not be preceeded by a blank line&lt;br /&gt;- &amp;#39;&amp;#35;endregion&amp;#39; must be followed by a blank line or other &amp;#39;&amp;#35;endregion&amp;#39; &amp;#40;except curly braces, etc&amp;#41;&lt;br /&gt;&lt;br /&gt;For example, the following must not be allowed&amp;#58;&lt;br /&gt;    &amp;#35;region MyRegion&lt;br /&gt;&lt;br /&gt;    void Foo&amp;#40;&amp;#41;&lt;br /&gt;    &amp;#123;&lt;br /&gt;    &amp;#125;&lt;br /&gt;&lt;br /&gt;    &amp;#35;endregion&lt;br /&gt;&lt;br /&gt;and replaced by&amp;#58;&lt;br /&gt;    &amp;#35;region MyRegion&lt;br /&gt;    void Foo&amp;#40;&amp;#41;&lt;br /&gt;    &amp;#123;&lt;br /&gt;    &amp;#125;&lt;br /&gt;    &amp;#35;endregion&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description><author>Cheetah</author><pubDate>Tue, 18 Nov 2008 12:48:32 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: New '#region' rules  20081118P</guid></item><item><title>CLOSED ISSUE: SA1643: Error with generics</title><link>http://code.msdn.microsoft.com/sourceanalysis/WorkItem/View.aspx?WorkItemId=64</link><description>When documenting a generic class, only allows &amp;#60;see cref&amp;#61;&amp;#34;MyClass&amp;#34;&amp;#47;&amp;#62; and not  &amp;#60;see cref&amp;#61;&amp;#34;MyClass&amp;#96;1&amp;#34;&amp;#47;&amp;#62;.&lt;br /&gt;&lt;br /&gt;MyClass and MyClass&amp;#60;T&amp;#62; may both exist and aren&amp;#39;t the same.&lt;br /&gt;Comments: Closing as duplicate of issue number 63</description><author>jasonall</author><pubDate>Mon, 17 Nov 2008 10:18:15 GMT</pubDate><guid isPermaLink="false">CLOSED ISSUE: SA1643: Error with generics 20081117A</guid></item><item><title>EDITED ISSUE: Equality operator recommendations wrong.</title><link>http://code.msdn.microsoft.com/sourceanalysis/WorkItem/View.aspx?WorkItemId=130</link><description>So I have the following code in a class&amp;#59;&lt;br /&gt;&lt;br /&gt;        public static bool operator &amp;#61;&amp;#61;&amp;#40;Resource left, Resource right&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            return Equals&amp;#40;left, right&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;        public static bool operator &amp;#33;&amp;#61;&amp;#40;Resource left, Resource right&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            return &amp;#33;Equals&amp;#40;left, right&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;        public bool Equals&amp;#40;Resource resource&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            if &amp;#40;ReferenceEquals&amp;#40;null, resource&amp;#41;&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                return false&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;&lt;br /&gt;            if &amp;#40;ReferenceEquals&amp;#40;this, resource&amp;#41;&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                return true&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;            &lt;br /&gt;            return string.Equals&amp;#40;...&amp;#41;&amp;#38;&amp;#38; etc&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;        public override bool Equals&amp;#40;object obj&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            if &amp;#40;ReferenceEquals&amp;#40;null, obj&amp;#41;&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                return false&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;            &lt;br /&gt;            if &amp;#40;ReferenceEquals&amp;#40;this, obj&amp;#41;&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                return true&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;&lt;br /&gt;            return obj.GetType&amp;#40;&amp;#41; &amp;#61;&amp;#61; typeof&amp;#40;Resource&amp;#41; &amp;#38;&amp;#38; this.Equals&amp;#40;&amp;#40;Resource&amp;#41; obj&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;As you can see the &amp;#61;&amp;#61; and &amp;#33;&amp;#61; are static&amp;#59; but the Equals functions aren&amp;#39;t &amp;#40;no surprise there&amp;#41;. However for some reason style cop complains at the &amp;#61;&amp;#61; and &amp;#33;&amp;#61; demanding a this qualifier&amp;#59; &lt;br /&gt;&lt;br /&gt;&amp;#34;The call to Equals must begin with the &amp;#39;this.&amp;#39; prefix to indicate that the item is a member of the class.&amp;#34;&lt;br /&gt;&lt;br /&gt;Except of course that can&amp;#39;t happen as it&amp;#39;s a static method ....&lt;br /&gt;</description><author>jasonall</author><pubDate>Mon, 17 Nov 2008 10:12:47 GMT</pubDate><guid isPermaLink="false">EDITED ISSUE: Equality operator recommendations wrong. 20081117A</guid></item><item><title>COMMENTED ISSUE: Equality operator recommendations wrong.</title><link>http://code.msdn.microsoft.com/sourceanalysis/WorkItem/View.aspx?WorkItemId=130</link><description>So I have the following code in a class&amp;#59;&lt;br /&gt;&lt;br /&gt;        public static bool operator &amp;#61;&amp;#61;&amp;#40;Resource left, Resource right&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            return Equals&amp;#40;left, right&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;        public static bool operator &amp;#33;&amp;#61;&amp;#40;Resource left, Resource right&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            return &amp;#33;Equals&amp;#40;left, right&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;        public bool Equals&amp;#40;Resource resource&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            if &amp;#40;ReferenceEquals&amp;#40;null, resource&amp;#41;&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                return false&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;&lt;br /&gt;            if &amp;#40;ReferenceEquals&amp;#40;this, resource&amp;#41;&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                return true&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;            &lt;br /&gt;            return string.Equals&amp;#40;...&amp;#41;&amp;#38;&amp;#38; etc&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;        public override bool Equals&amp;#40;object obj&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            if &amp;#40;ReferenceEquals&amp;#40;null, obj&amp;#41;&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                return false&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;            &lt;br /&gt;            if &amp;#40;ReferenceEquals&amp;#40;this, obj&amp;#41;&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                return true&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;&lt;br /&gt;            return obj.GetType&amp;#40;&amp;#41; &amp;#61;&amp;#61; typeof&amp;#40;Resource&amp;#41; &amp;#38;&amp;#38; this.Equals&amp;#40;&amp;#40;Resource&amp;#41; obj&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;As you can see the &amp;#61;&amp;#61; and &amp;#33;&amp;#61; are static&amp;#59; but the Equals functions aren&amp;#39;t &amp;#40;no surprise there&amp;#41;. However for some reason style cop complains at the &amp;#61;&amp;#61; and &amp;#33;&amp;#61; demanding a this qualifier&amp;#59; &lt;br /&gt;&lt;br /&gt;&amp;#34;The call to Equals must begin with the &amp;#39;this.&amp;#39; prefix to indicate that the item is a member of the class.&amp;#34;&lt;br /&gt;&lt;br /&gt;Except of course that can&amp;#39;t happen as it&amp;#39;s a static method ....&lt;br /&gt;Comments: This is due to a current limitation in the tool. The StyleCop analysis engine does not have access to the type definition for the object type and thus does not realize that the Equals method being called in these cases is the static Object.Equals. This will be fixed in a later version of the tool.&amp;#13;&amp;#10;&amp;#13;&amp;#10;For now, this issue can be worked around by changing  &amp;#34;return Equals&amp;#40;left, right&amp;#41;&amp;#59;&amp;#34; to &amp;#34;return object.Equals&amp;#40;left, right&amp;#41;&amp;#59;&amp;#34;&amp;#13;&amp;#10;&amp;#13;&amp;#10;This arguably makes the code more readable as well.&amp;#13;&amp;#10;&amp;#13;&amp;#10;Thanks for filing the issue.</description><author>jasonall</author><pubDate>Mon, 17 Nov 2008 10:12:46 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: Equality operator recommendations wrong. 20081117A</guid></item><item><title>EDITED ISSUE: Class without explicit access modifier marked as "public" instead of "internal"</title><link>http://code.msdn.microsoft.com/sourceanalysis/WorkItem/View.aspx?WorkItemId=88</link><description>While analysing a file named&lt;br /&gt;</description><author>jasonall</author><pubDate>Mon, 17 Nov 2008 10:06:59 GMT</pubDate><guid isPermaLink="false">EDITED ISSUE: Class without explicit access modifier marked as "public" instead of "internal" 20081117A</guid></item><item><title>COMMENTED ISSUE: Class without explicit access modifier marked as "public" instead of "internal"</title><link>http://code.msdn.microsoft.com/sourceanalysis/WorkItem/View.aspx?WorkItemId=88</link><description>While analysing a file named&lt;br /&gt;Comments: From the C&amp;#35; 3.0 Language Specification&amp;#58; &amp;#8226;&amp;#9;Types declared in compilation units or namespaces can have public or internal declared accessibility and default to internal declared accessibility.&amp;#13;&amp;#10;&amp;#13;&amp;#10;A fix for this bug is ready and will be included in the next update to StyleCop 4.3</description><author>jasonall</author><pubDate>Mon, 17 Nov 2008 10:06:56 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: Class without explicit access modifier marked as "public" instead of "internal" 20081117A</guid></item><item><title>EDITED ISSUE: Equality operator recommendations wrong.</title><link>http://code.msdn.microsoft.com/sourceanalysis/WorkItem/View.aspx?WorkItemId=130</link><description>So I have the following code in a class&amp;#59;&lt;br /&gt;&lt;br /&gt;        public static bool operator &amp;#61;&amp;#61;&amp;#40;Resource left, Resource right&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            return Equals&amp;#40;left, right&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;        public static bool operator &amp;#33;&amp;#61;&amp;#40;Resource left, Resource right&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            return &amp;#33;Equals&amp;#40;left, right&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;        public bool Equals&amp;#40;Resource resource&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            if &amp;#40;ReferenceEquals&amp;#40;null, resource&amp;#41;&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                return false&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;&lt;br /&gt;            if &amp;#40;ReferenceEquals&amp;#40;this, resource&amp;#41;&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                return true&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;            &lt;br /&gt;            return string.Equals&amp;#40;...&amp;#41;&amp;#38;&amp;#38; etc&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;        public override bool Equals&amp;#40;object obj&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            if &amp;#40;ReferenceEquals&amp;#40;null, obj&amp;#41;&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                return false&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;            &lt;br /&gt;            if &amp;#40;ReferenceEquals&amp;#40;this, obj&amp;#41;&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                return true&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;&lt;br /&gt;            return obj.GetType&amp;#40;&amp;#41; &amp;#61;&amp;#61; typeof&amp;#40;Resource&amp;#41; &amp;#38;&amp;#38; this.Equals&amp;#40;&amp;#40;Resource&amp;#41; obj&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;As you can see the &amp;#61;&amp;#61; and &amp;#33;&amp;#61; are static&amp;#59; but the Equals functions aren&amp;#39;t &amp;#40;no surprise there&amp;#41;. However for some reason style cop complains at the &amp;#61;&amp;#61; and &amp;#33;&amp;#61; demanding a this qualifier&amp;#59; &lt;br /&gt;&lt;br /&gt;&amp;#34;The call to Equals must begin with the &amp;#39;this.&amp;#39; prefix to indicate that the item is a member of the class.&amp;#34;&lt;br /&gt;&lt;br /&gt;Except of course that can&amp;#39;t happen as it&amp;#39;s a static method ....&lt;br /&gt;</description><author>jasonall</author><pubDate>Mon, 17 Nov 2008 09:17:19 GMT</pubDate><guid isPermaLink="false">EDITED ISSUE: Equality operator recommendations wrong. 20081117A</guid></item><item><title>EDITED ISSUE: warning: SA0102: A syntax error has been discovered in file ... (unsupported characters)</title><link>http://code.msdn.microsoft.com/sourceanalysis/WorkItem/View.aspx?WorkItemId=125</link><description>The problem was for instance that the name of a textbox was &amp;#34;textBoxSonderpr&amp;#252;fungen&amp;#34;. After replacing to &amp;#34;textBoxSonderpruefungen&amp;#34; it works.&lt;br /&gt; &lt;br /&gt;Sorry, I don&amp;#39;t know how I can send the whole file to you.&lt;br /&gt;&lt;br /&gt;</description><author>jasonall</author><pubDate>Mon, 17 Nov 2008 09:14:41 GMT</pubDate><guid isPermaLink="false">EDITED ISSUE: warning: SA0102: A syntax error has been discovered in file ... (unsupported characters) 20081117A</guid></item><item><title>COMMENTED ISSUE: warning: SA0102: A syntax error has been discovered in file ... (unsupported characters)</title><link>http://code.msdn.microsoft.com/sourceanalysis/WorkItem/View.aspx?WorkItemId=125</link><description>The problem was for instance that the name of a textbox was &amp;#34;textBoxSonderpr&amp;#252;fungen&amp;#34;. After replacing to &amp;#34;textBoxSonderpruefungen&amp;#34; it works.&lt;br /&gt; &lt;br /&gt;Sorry, I don&amp;#39;t know how I can send the whole file to you.&lt;br /&gt;&lt;br /&gt;Comments: Currently unable to reproduce this issue. Please attach a sample file which reproduces the error.</description><author>jasonall</author><pubDate>Mon, 17 Nov 2008 09:14:41 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: warning: SA0102: A syntax error has been discovered in file ... (unsupported characters) 20081117A</guid></item><item><title>EDITED ISSUE: Certain projects cause error message on "Run StyleCop"</title><link>http://code.msdn.microsoft.com/sourceanalysis/WorkItem/View.aspx?WorkItemId=73</link><description>Certain non-standard VS projects cause StyleCop 4.3 to error out if you choose Run StyleCop on the solution.  For example, having an AQTime profiler project loaded as part of your solution causes this.  &amp;#40;This is a new error as of StyleCop 4.3&amp;#41;.&lt;br /&gt;&lt;br /&gt;The error received on run is&amp;#58;&lt;br /&gt;The method or operation is not implemented.&lt;br /&gt;&lt;br /&gt;You can still run Style Cop on individual projects in the solution successfully.  Unloading the profile project will allow StyleCop to run, but it will fail if the project is loaded.&lt;br /&gt;</description><author>jasonall</author><pubDate>Mon, 17 Nov 2008 09:12:56 GMT</pubDate><guid isPermaLink="false">EDITED ISSUE: Certain projects cause error message on "Run StyleCop" 20081117A</guid></item><item><title>COMMENTED ISSUE: Certain projects cause error message on "Run StyleCop"</title><link>http://code.msdn.microsoft.com/sourceanalysis/WorkItem/View.aspx?WorkItemId=73</link><description>Certain non-standard VS projects cause StyleCop 4.3 to error out if you choose Run StyleCop on the solution.  For example, having an AQTime profiler project loaded as part of your solution causes this.  &amp;#40;This is a new error as of StyleCop 4.3&amp;#41;.&lt;br /&gt;&lt;br /&gt;The error received on run is&amp;#58;&lt;br /&gt;The method or operation is not implemented.&lt;br /&gt;&lt;br /&gt;You can still run Style Cop on individual projects in the solution successfully.  Unloading the profile project will allow StyleCop to run, but it will fail if the project is loaded.&lt;br /&gt;Comments: Will likely be fixed as part of web server project fix.</description><author>jasonall</author><pubDate>Mon, 17 Nov 2008 09:12:53 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: Certain projects cause error message on "Run StyleCop" 20081117A</guid></item><item><title>EDITED ISSUE: VS crashed for webservices.</title><link>http://code.msdn.microsoft.com/sourceanalysis/WorkItem/View.aspx?WorkItemId=98</link><description>Woupiiiii. I finally was able to repro the problem &amp;#40;why am I happy&amp;#63; &amp;#58;&amp;#41; &amp;#41;&lt;br /&gt; &lt;br /&gt;So this is definetly a bug in the tool, here are the exact repro steps I used&amp;#58;&lt;br /&gt;Open VS.&lt;br /&gt;In the menus, choose File-&amp;#62;New-&amp;#62;Website which brings up the dialog  &amp;#34;new web site&amp;#34;&lt;br /&gt;In the dialog choose -&amp;#62;Asp.Net Web Service.&lt;br /&gt;Set location to HTTP and use a URL like this&amp;#58; http&amp;#58;&amp;#47;&amp;#47;localhost&amp;#47;WebSite&lt;br /&gt;Once the project is loaded in the solution explorer, right click the website project node and choose &amp;#34;Run StyleCop&amp;#34;&lt;br /&gt; &lt;br /&gt;Expected result, the tool runs.&lt;br /&gt;Actual result&amp;#58; VS crashes due to an unhandled exception occurring on the background thread.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It seems logical to me that we have a problem here. The tools is trying to merge settings with settings files in the parent folder of the project &amp;#40;that works for folders on the harddisk&amp;#41;. but the parent on the webserver has a different meaning than a parent folder for a regular folder on disk.&lt;br /&gt;&lt;br /&gt;</description><author>jasonall</author><pubDate>Mon, 17 Nov 2008 09:11:43 GMT</pubDate><guid isPermaLink="false">EDITED ISSUE: VS crashed for webservices. 20081117A</guid></item><item><title>COMMENTED ISSUE: VS crashed for webservices.</title><link>http://code.msdn.microsoft.com/sourceanalysis/WorkItem/View.aspx?WorkItemId=98</link><description>Woupiiiii. I finally was able to repro the problem &amp;#40;why am I happy&amp;#63; &amp;#58;&amp;#41; &amp;#41;&lt;br /&gt; &lt;br /&gt;So this is definetly a bug in the tool, here are the exact repro steps I used&amp;#58;&lt;br /&gt;Open VS.&lt;br /&gt;In the menus, choose File-&amp;#62;New-&amp;#62;Website which brings up the dialog  &amp;#34;new web site&amp;#34;&lt;br /&gt;In the dialog choose -&amp;#62;Asp.Net Web Service.&lt;br /&gt;Set location to HTTP and use a URL like this&amp;#58; http&amp;#58;&amp;#47;&amp;#47;localhost&amp;#47;WebSite&lt;br /&gt;Once the project is loaded in the solution explorer, right click the website project node and choose &amp;#34;Run StyleCop&amp;#34;&lt;br /&gt; &lt;br /&gt;Expected result, the tool runs.&lt;br /&gt;Actual result&amp;#58; VS crashes due to an unhandled exception occurring on the background thread.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It seems logical to me that we have a problem here. The tools is trying to merge settings with settings files in the parent folder of the project &amp;#40;that works for folders on the harddisk&amp;#41;. but the parent on the webserver has a different meaning than a parent folder for a regular folder on disk.&lt;br /&gt;&lt;br /&gt;Comments: A fix for this issue has been identified and will be included in the next update to StyleCop 4.3</description><author>jasonall</author><pubDate>Mon, 17 Nov 2008 09:11:41 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: VS crashed for webservices. 20081117A</guid></item></channel></rss>