Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add value tracking service #51898

Merged

Conversation

ryzngard
Copy link
Contributor

Add the initial implementation of the value tracking service into the feature branch. The design here is to showcase initial expansion based on entry point from a user. The service returns a set of references that may be further expanded if needed, but is currently not implemented to do so. Does not include UI

@ryzngard ryzngard force-pushed the feature/value_tracking/service branch from 68faad4 to 2906847 Compare March 16, 2021 02:52
@ryzngard ryzngard changed the base branch from feature/value_tracking to features/value_tracking March 16, 2021 06:56

namespace Microsoft.CodeAnalysis.ValueTracking
{
internal class ValueTrackedItem
Copy link
Contributor

Choose a reason for hiding this comment

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

Could this be a record?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, why not :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actually, can we use records in Roslyn yet?

Severity	Code	Description	Project	File	Line	Suppression State
Error	CS0518	Predefined type 'System.Runtime.CompilerServices.IsExternalInit' is not defined or imported	Microsoft.CodeAnalysis.EditorFeatures (netcoreapp3.1)

Copy link
Contributor

@jmarolf jmarolf left a comment

Choose a reason for hiding this comment

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

:shipit:

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Auto-approval

@ghost ghost merged commit 307e7c6 into dotnet:features/value_tracking Mar 19, 2021
This pull request was closed.
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.

2 participants