Skip to content

Import System namespace when adding null check#52392

Merged
CyrusNajmabadi merged 2 commits intodotnet:mainfrom
Youssef1313:add-imports-null-check-code-fix
Apr 3, 2021
Merged

Import System namespace when adding null check#52392
CyrusNajmabadi merged 2 commits intodotnet:mainfrom
Youssef1313:add-imports-null-check-code-fix

Conversation

@Youssef1313
Copy link
Member

Fixes #52383

@Youssef1313 Youssef1313 requested a review from a team as a code owner April 3, 2021 09:22
@ghost ghost added the Area-IDE label Apr 3, 2021
{
[ImportingConstructor]
[SuppressMessage("RoslynDiagnosticsReliability", "RS0033:Importing constructor should be [Obsolete]", Justification = "Used in test code: https://github.com/dotnet/roslyn/issues/42814")]
[Obsolete(MefConstruction.ImportingConstructorMessage, error: true)]
Copy link
Member Author

Choose a reason for hiding this comment

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

Tiny cleanup unrelated to the issue.

@Youssef1313 Youssef1313 closed this Apr 3, 2021
@Youssef1313 Youssef1313 reopened this Apr 3, 2021
@CyrusNajmabadi CyrusNajmabadi enabled auto-merge April 3, 2021 16:52
@CyrusNajmabadi CyrusNajmabadi merged commit 3a30d52 into dotnet:main Apr 3, 2021
@ghost ghost added this to the Next milestone Apr 3, 2021
@Youssef1313 Youssef1313 deleted the add-imports-null-check-code-fix branch April 3, 2021 18:24
@dibarbet dibarbet modified the milestones: Next, 16.10.P3 Apr 26, 2021
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.

'Add null check' should import the System namespace

3 participants