question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SA1600 triggers for internal interfaces when documentInterfaces = true and documentInternalElements = false

See original GitHub issue

SA1600 is mis-firing on internal interfaces when the stylecop.json documentationRules has documentInterfaces = true and documentInternalElements = false

example

namespace Foo
{
    internal interface Bar // SA1600 fires for this when it shouldn't
    {
        void Baz();
    }
}

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
RobSikloscommented, Jan 6, 2020

feel free to open a new issue proposing a specific change to the current behavior, and make sure to account for existing users who may be happy with the current behavior

@sharwell Done: https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3100

0reactions
sharwellcommented, Dec 29, 2019

@zplan @RobSiklos since the current behavior matches what was originally intended when the feature was implemented, I’m going to resolve this issue as answered. It sounds like the design does not work well for your scenarios, so please feel free to open a new issue proposing a specific change to the current behavior, and make sure to account for existing users who may be happy with the current behavior (i.e. the new behavior should only be activated by a new setting so current settings do not change).

Read more comments on GitHub >

github_iconTop Results From Across the Web

StyleCop SA1600 rule and interfaces realisation
1. Copy documentation from interface. · 2. Suppress message with SuppressMessageAttribute. · 3. Divide class into regions, · 4. Modify rule SA1600.
Read more >
stylecop.json 1.0.5
"xmlHeader" : false, "documentInterfaces" : true, "documentExposedElements" : true, "documentInternalElements" : false, "documentPrivateElements" : false,
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found