10000 [StyleCleanUp] Addressing SA warnings Part 1 by harshit7962 · Pull Request #10119 · dotnet/wpf · GitHub
[go: up one dir, main page]

Skip to content

[StyleCleanUp] Addressing SA warnings Part 1 #10119

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 17, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Context/O…
…bjectWriterContext.cs

Co-authored-by: h3xds1nz <gamingshard@protonmail.com>
  • Loading branch information
harshit7962 and h3xds1nz authored Nov 27, 2024
commit 7a9f960021caea658593ae3cbcd8f5ecf22d84a4
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ internal ServiceProviderContext ServiceProviderContext
{
get
{
if (_serviceProviderContext != null)
if (_serviceProviderContext is null)
{
_serviceProviderContext = new ServiceProviderContext(this);
}
Expand Down
0