Skip to content

Add IOperation test where IObjectCreationOperation.Constructor is null#63092

Merged
333fred merged 2 commits intodotnet:mainfrom
Youssef1313:constructor-ioperation
Oct 21, 2022
Merged

Add IOperation test where IObjectCreationOperation.Constructor is null#63092
333fred merged 2 commits intodotnet:mainfrom
Youssef1313:constructor-ioperation

Conversation

@Youssef1313
Copy link
Member

There was no IOperation tests covering this case for VB.

For C#, it doesn't look like constructor can be null, so I added an assert.

@Youssef1313 Youssef1313 requested a review from a team as a code owner July 30, 2022 11:56
@ghost ghost added Area-Compilers Community The pull request was submitted by a contributor who is not a Microsoft employee. labels Jul 30, 2022
Copy link
Member

@333fred 333fred left a comment

Choose a reason for hiding this comment

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

LGTM (commit 1). @dotnet/roslyn-compiler for a second review.

Copy link
Member

@jcouv jcouv left a comment

Choose a reason for hiding this comment

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

LGTM Thanks (iteration 1)

@jcouv
Copy link
Member

jcouv commented Oct 20, 2022

/azp run

@jcouv jcouv self-assigned this Oct 20, 2022
@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@jcouv jcouv enabled auto-merge (squash) October 20, 2022 18:54
M(New C.S())'BIND:"New C.S()"
End Sub
End Class]]>.Value
Dim expectedDiagnostics = <![CDATA[
Copy link
Contributor

@AlekseyTs AlekseyTs Oct 20, 2022

Choose a reason for hiding this comment

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

Dim expectedDiagnostics = <![CDATA[

Consider adding empty lines between multiline statements, this is going to improve readability. #Closed

auto-merge was automatically disabled October 21, 2022 05:43

Head branch was pushed to by a user without write access

@Youssef1313 Youssef1313 requested a review from AlekseyTs October 21, 2022 05:43
Copy link
Contributor

@AlekseyTs AlekseyTs left a comment

Choose a reason for hiding this comment

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

LGTM (commit 2)

@333fred 333fred merged commit 338932f into dotnet:main Oct 21, 2022
@ghost ghost added this to the Next milestone Oct 21, 2022
@333fred
Copy link
Member

333fred commented Oct 21, 2022

Thanks @Youssef1313!

@Youssef1313 Youssef1313 deleted the constructor-ioperation branch October 22, 2022 03:31
@RikkiGibson RikkiGibson modified the milestones: Next, 17.5 P1 Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Compilers 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.

5 participants