-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Add value tracking service #51898
Conversation
Merge main into feature/value_tracking
68faad4
to
2906847
Compare
d4fec99
to
ef3c027
Compare
|
||
namespace Microsoft.CodeAnalysis.ValueTracking | ||
{ | ||
internal class ValueTrackedItem |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, why not :)
There was a problem hiding this comment.
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)
src/EditorFeatures/Core/ValueTracking/ValueTrackingProgressCollector.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Auto-approval
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