Skip to content

Conversation

hvitved
Copy link
Contributor

@hvitved hvitved commented Jun 25, 2020

These tests rely on flow out of callables, and are therefore inter-procedural.

@hvitved hvitved added the C# label Jun 25, 2020
@hvitved hvitved requested a review from a team as a code owner June 25, 2020 08:06
Copy link
Contributor

@calumgrant calumgrant left a comment

Choose a reason for hiding this comment

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

Good idea.

public async void M3()
{
// async await, tainted
var sink41 = Task.Run(() => "taint source");
Copy link
Contributor

Choose a reason for hiding this comment

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

Rename to sink0?

// async await, tainted
var sink41 = Task.Run(() => "taint source");
Check(sink41);
var sink42 = await sink41;
Copy link
Contributor

Choose a reason for hiding this comment

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

Rename to sink1?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sink0 and sink1 are already used in another test, so that's why I went for the next available numbers.

Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm, okay!

@calumgrant calumgrant merged commit 8725e09 into github:master Jun 26, 2020
@hvitved hvitved deleted the csharp/dataflow/async-tests branch June 26, 2020 09:17
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