Skip to content

C#: Handle tuple expressions#2563

Merged
hvitved merged 5 commits intogithub:masterfrom
calumgrant:cs/tuple-expr
Jan 7, 2020
Merged

C#: Handle tuple expressions#2563
hvitved merged 5 commits intogithub:masterfrom
calumgrant:cs/tuple-expr

Conversation

@calumgrant
Copy link
Copy Markdown
Contributor

Extract tuple expressions, for example the body of default((int,string)). Previously this expression would not be extracted and there would be an error in csharp.log.

Fixes https://github.com/github/codeql-csharp-team/issues/3

@calumgrant calumgrant requested a review from a team as a code owner December 23, 2019 15:32
@calumgrant calumgrant added the C# label Dec 23, 2019
Copy link
Copy Markdown
Contributor

@hvitved hvitved left a comment

Choose a reason for hiding this comment

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

Excellent!

Comment thread .gitignore
# It's useful (though not required) to be able to unpack codeql in the ql checkout itself
/codeql/
.vscode/settings.json
csharp/extractor/Semmle.Extraction.CSharp.Driver/Properties/launchSettings.json
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just checking: Did you intend to add these lines?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes - it didn't merit its own PR.

Comment thread .gitignore
# It's useful (though not required) to be able to unpack codeql in the ql checkout itself
/codeql/
.vscode/settings.json
csharp/extractor/Semmle.Extraction.CSharp.Driver/Properties/launchSettings.json
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just checking: Did you intend to add these lines?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes

@hvitved hvitved merged commit 5552c2e into github:master Jan 7, 2020
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.

2 participants