Improve handling of property initializers

From https://github.com/FakeItEasy/FakeItEasy/pull/678#issuecomment-214536900 Given this: public object SomeReallyLongPropertyNameWhichResultsInAnExccessiveLineLength { get; } = SomeReallyLon...

Id #7723 | Release: None | Updated: Wed at 2:17 AM by csdahlberg | Created: Tue at 11:36 AM by adamralph

SA1003 doesn't allow line breaks before '?.' operator

When composing statements with long method chains, e.g. foo.SomeMethod().AnotherMethod().YetAnotherMethod().OneLastMethod().OneForTheRoad().LetsJustMakeSureThisLineReallyDoesSpillOverTheSideOfTheSc...

Id #7722 | Release: None | Updated: Wed at 9:14 AM by adamralph | Created: Tue at 11:27 AM by adamralph

4.7.52 - SA0102 Syntax error issue

A string like the one below: $"Document \"{document.DisplayName}\" ({document.Title}) with id \"{document.Id}\" was created." causes this stylecop error: SA0102 : CSharp.CsParser : A syntax error ...

Id #7721 | Release: None | Updated: Thu at 7:25 AM by carlberg | Created: Apr 21 at 3:19 PM by carlberg

"www.stylecop.com" is down

www.stylecop.com is not reachable, so www.stylecop.com/doc too!

Id #7720 | Release: None | Updated: Apr 13 at 9:07 AM by mubed | Created: Apr 13 at 9:07 AM by mubed

SA0102 on Expression Body on Indexer

Gents, On StyleCop 4.7.51.0 (Beta), the following C# 6.0 code results in a SA0102 (Syntax Error) : public TObject this[TKey key] => this.Get(key); when formatting it as a statement body, everyth...

Id #7719 | Release: 4.7.52 | Updated: Apr 21 at 4:02 AM by csdahlberg | Created: Apr 12 at 11:15 AM by hvledder

NullReference exception in 4.7.51.0 Beta

Hello StyleCop Team, i try to integrate the new 4.7.51.0 Beta StyleCop version in our project, but StyleCop stopped with a NullReference exception. I can reproduce this error with small peac...

Id #7718 | Release: 4.7.52 | Updated: Apr 22 at 9:53 AM by AKlaus | Created: Apr 11 at 4:11 PM by AKlaus

BlockStatementMustNotBeEmpty : CustomRuleBase

I have downloaded code from codeplex which contains file "BlockStatementMustNotBeEmpty.cs" of custom rule. in following Constructors it added StatementType "BLOCK" in "public List<StatementType>...

Id #7717 | Release: None | Updated: Apr 21 at 4:05 AM by csdahlberg | Created: Apr 8 at 1:07 PM by Pareshkumar

Stylecop Settings shows error instead of Dialog in VS2015

In Visual Studio 2015 in a UWP project, right-clicking and selecting "StyleCop Settings" in the project context menu, an error dialog pops up instead of showing the settings dialog: "Unable to cas...

Id #7716 | Release: 4.7.51 (Beta) | Updated: Apr 18 at 10:00 PM by csdahlberg | Created: Feb 29 at 4:07 PM by mscherotter

inheritdoc inside param does not satisfy SA1614

Sandcastle Help File Builder 2015.10.10.0 supports an inheritdoc element inside a param element as shown below. It copies the documentation of the parameter from the corresponding parameter of the ...

Id #7715 | Release: None | Updated: Jan 18 at 12:02 PM by Takajalka | Created: Jan 18 at 12:02 PM by Takajalka

SA1210 ignores culture setting

When I run StyleCop on my system with sv-SE locale I must sort a namespace called "Web" before "Visual" but if I run on a system with en-US locale you get the expected "Visual" before "Web" sorting...

Id #7714 | Release: None | Updated: Dec 7, 2015 at 4:29 PM by jlevin | Created: Dec 7, 2015 at 4:29 PM by jlevin