Skip to content

Conversation

@CyrusNajmabadi
Copy link
Member

Pulling out cleanup code from #74444

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner July 18, 2024 21:12
@ghost ghost added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Jul 18, 2024

using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.Internal.VisualStudio.PlatformUI;
using Microsoft.VisualStudio.Imaging;
Copy link
Member Author

Choose a reason for hiding this comment

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

view with whitespace off.

using Microsoft.VisualStudio.Imaging.Interop;

namespace Microsoft.VisualStudio.LanguageServices.Implementation.SolutionExplorer
namespace Microsoft.VisualStudio.LanguageServices.Implementation.SolutionExplorer;
Copy link
Member Author

Choose a reason for hiding this comment

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

FSNs and primary constructors.

public virtual event PropertyChangedEventHandler PropertyChanged { add { } remove { } }

private readonly string _name;
protected readonly string Name;
Copy link
Member Author

Choose a reason for hiding this comment

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

part of the equality contract the derived tuypes check.

collection.AddRange(
AnalyzerReference.GetGenerators(language)
.Select(g => new SourceGeneratorItem(projectId, g, AnalyzerReference)));
.Select(g => new SourceGeneratorItem(projectId, SourceGeneratorIdentity.Create(g, AnalyzerReference), AnalyzerReference.FullPath)));
Copy link
Member Author

Choose a reason for hiding this comment

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

moved SGItem to be pure data.


ruleSetDocument.Save(pathToRuleSet);
}
public override int GetHashCode()
Copy link
Member Author

Choose a reason for hiding this comment

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

equals/gethashcode are used in next PR as part of proper items in a observable-collectoin and virtualizing-tree-view.

Formatting

In progress

In progress

In progress

In progress

Host side'
git pus

Host side'
git pus

Host side'
git pus

Host side'
git pus

Host side

Remote side

Accessibility

Tests

Cast

In progress'

UI thread

Tests

Make private

Make private

Docs

Simplify

Clear the items

Docs

fix

Reversinos

Reversinos

revert

revert

revert

revert
@CyrusNajmabadi CyrusNajmabadi requested a review from ToddGrun July 18, 2024 21:26
Copy link
Contributor

@ToddGrun ToddGrun left a comment

Choose a reason for hiding this comment

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

:shipit:

@CyrusNajmabadi
Copy link
Member Author

ok. will ping once this goes in and i meerge this into the other pr.

@CyrusNajmabadi CyrusNajmabadi merged commit 377a990 into dotnet:main Jul 19, 2024
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Jul 19, 2024
@CyrusNajmabadi CyrusNajmabadi deleted the generatorCleanup branch July 19, 2024 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants