Skip to content

Conversation

@alrz
Copy link
Member

@alrz alrz commented Feb 11, 2022

.. and minor cleanup.

@alrz alrz requested a review from a team as a code owner February 11, 2022 12:52
@ghost ghost added Community The pull request was submitted by a contributor who is not a Microsoft employee. Area-IDE and removed Community The pull request was submitted by a contributor who is not a Microsoft employee. labels Feb 11, 2022
subpattern = Subpattern(names[i], RecursivePattern(subpattern));
return subpattern;

if (names.Length > 1 && ((CSharpParseOptions)names[0].SyntaxTree.Options).LanguageVersion >= LanguageVersion.CSharp10)
Copy link
Member

Choose a reason for hiding this comment

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

kinda ugly. i wish thtere was a clean way for you to get this info.

subpattern = Subpattern(names[i], RecursivePattern(subpattern));
return subpattern;

if (names.Length > 1 && ((CSharpParseOptions)names[0].SyntaxTree.Options).LanguageVersion >= LanguageVersion.CSharp10)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
if (names.Length > 1 && ((CSharpParseOptions)names[0].SyntaxTree.Options).LanguageVersion >= LanguageVersion.CSharp10)
if (names.Length > 1 && names[0].SyntaxTree.Options.LanguageVersion() >= LanguageVersion.CSharp10)

auto-merge was automatically disabled February 11, 2022 13:33

Head branch was pushed to by a user without write access

@jinujoseph jinujoseph added the Community The pull request was submitted by a contributor who is not a Microsoft employee. label Feb 11, 2022
@alrz alrz requested a review from CyrusNajmabadi February 14, 2022 19:32
@CyrusNajmabadi
Copy link
Member

thanks!

@CyrusNajmabadi CyrusNajmabadi merged commit 947a8c5 into dotnet:main Feb 14, 2022
@ghost ghost added this to the Next milestone Feb 14, 2022
@RikkiGibson RikkiGibson modified the milestones: Next, 17.2.P2 Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-IDE Community The pull request was submitted by a contributor who is not a Microsoft employee.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants