Skip to content

show conditional element access sig-help after arbitrary expressions#1793

Merged
brettfo merged 1 commit intodotnet:masterfrom
brettfo:conditional-access-sig-help
Apr 7, 2015
Merged

show conditional element access sig-help after arbitrary expressions#1793
brettfo merged 1 commit intodotnet:masterfrom
brettfo:conditional-access-sig-help

Conversation

@brettfo
Copy link
Member

@brettfo brettfo commented Apr 3, 2015

The old model would only appear after an identifier name. No change was required for VB but there weren't tests so I added them. Fixes #32.

Tagging for review: @Pilchie @dpoeschl @jasonmalinowski @rchande @balajikris @basoundr

Copy link
Member

Choose a reason for hiding this comment

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

There's TextSpan.FromBounds if that's nicer.

@Pilchie
Copy link
Member

Pilchie commented Apr 6, 2015

👍

@brettfo
Copy link
Member Author

brettfo commented Apr 7, 2015

@basoundr Good catch, I've corrected the TextSpan creation to account for substantia (trivia is anything but trivial).

@jasonmalinowski Thanks for that, TextSpan.FromBounds is exactly what I wanted.

@Pilchie comment change was intentional and I've made it more explicit.

the old model would only appear after an identifier name
@brettfo brettfo force-pushed the conditional-access-sig-help branch from a4e4a54 to 4a475f6 Compare April 7, 2015 21:57
brettfo added a commit that referenced this pull request Apr 7, 2015
show conditional element access sig-help after arbitrary expressions
@brettfo brettfo merged commit c6e00fe into dotnet:master Apr 7, 2015
@brettfo brettfo deleted the conditional-access-sig-help branch April 7, 2015 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Code completion for Null conditional element access operator only works on simple name expressions

4 participants