Skip to content

Conversation

@ToddGrun
Copy link
Contributor

No description provided.

@ToddGrun ToddGrun requested review from a team as code owners April 29, 2025 16:42
@ghost ghost added Area-Infrastructure untriaged Issues and PRs which have not yet been triaged by a lead labels Apr 29, 2025
M:Microsoft.CodeAnalysis.DesktopStrongNameProvider.#ctor(System.Collections.Immutable.ImmutableArray{System.String}); Use overload that takes in temp directory
M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.Object[]); Use WriteEventCore instead
M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.Object[]); Use WriteEventCore instead
E:Microsoft.CodeAnalysis.Workspace.WorkspaceChanged
Copy link
Member

Choose a reason for hiding this comment

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

Consider adding the comment explaining what to use instead; even if we know it's still helpful to be self-documenting why these lines are here.

/// Sets the <see cref="CurrentSolution"/> of this workspace. This method does not raise a <see
/// cref="WorkspaceChanged"/> event. This method should be used <em>sparingly</em>. As much as possible,
/// derived types should use the SetCurrentSolution overloads that take a transformation.
/// cref="WorkspaceEventType.WorkspaceChange"/> event. This method should be used <em>sparingly</em>.
Copy link
Member

Choose a reason for hiding this comment

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

We may need to suppress the pragma here -- I'm not sure if this will trip up any documentation generators since this is now going to an internal type instead.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

bah, the cref isn't that important. The comment is pretty clear without it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Infrastructure untriaged Issues and PRs which have not yet been triaged by a lead VSCode

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants