Skip to content

Annotate SourceText and derived types#39237

Merged
sharwell merged 1 commit intodotnet:masterfrom
sharwell:text-annotations-1
Oct 14, 2019
Merged

Annotate SourceText and derived types#39237
sharwell merged 1 commit intodotnet:masterfrom
sharwell:text-annotations-1

Conversation

@sharwell
Copy link
Contributor

No description provided.

@sharwell sharwell requested review from a team as code owners October 11, 2019 19:12
private bool IsChangedFrom(SourceText oldText)
{
for (var info = _info; info != null; info = info.Previous)
for (ChangeInfo? info = _info; info != null; info = info.Previous)
Copy link
Member

Choose a reason for hiding this comment

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

what caused this to change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

var inferred ChangeInfo, but info.Previous needs to be able to assign ChangeInfo? to that variable. It's one of the particularly frustrating characteristics of var with the current NRT implementation.

@sharwell sharwell merged commit 5084fc4 into dotnet:master Oct 14, 2019
@sharwell sharwell deleted the text-annotations-1 branch October 14, 2019 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants