Skip to content

Conversation

@333fred
Copy link
Member

@333fred 333fred commented Sep 9, 2019

Fixes #37443. @JoeRobich fyi, this is almost certainly going to cause merge conflicts when it makes its way to master.

@@ -1,0 +1,56 @@
Microsoft.CodeAnalysis.CSharp.Formatting.BinaryOperatorSpacingOptions
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sharwell: what's the plan for a "public API" surface area in this assembly? Shouldn't this all be internal?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(this is not a question about this particular thing but rather asking what it even means to run the analyzer on this assembly)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code style packages do not have a public API. Or more specifically, we always assume that there is no downstream code referencing these assemblies and are free to break them at will. We do not distribute the compiled binaries in any package which makes them available for reference/use by other code.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sharwell: should we just turn off the analyzers for them then?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If they don't have a public API that we intend to support then we should turn off the analyzer and delete the shipped / unshipped files. That is the expected state for non-public API assemblies.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That would be fine with me. However, if we plan to try and ship these later (so consolidate analyzer implementations in NuGet and VSIX) then we would need them added back.

@@ -1,0 +1,56 @@
Microsoft.CodeAnalysis.CSharp.Formatting.BinaryOperatorSpacingOptions
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(this is not a question about this particular thing but rather asking what it even means to run the analyzer on this assembly)

@333fred 333fred merged commit acbd366 into dotnet:release/dev16.3 Sep 9, 2019
@333fred 333fred deleted the ship-apis branch September 9, 2019 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants