Skip to content

Fix MauiProgram container warning - #697

Closed
StuartFerguson wants to merge 2 commits into
mainfrom
codex/fix-mauiprogram-container-warning
Closed

StuartFerguson wants to merge 2 commits into
mainfrom
codex/fix-mauiprogram-container-warning

Conversation

@StuartFerguson

Copy link
Copy Markdown
Member

Summary\n- Change MauiProgram.Container from a mutable static field to a property with a private setter.\n- Keeps the current startup/service-locator pattern intact while satisfying the analyzer rule.\n\n## Verification\n- dotnet build TransactionProcessor.Mobile/TransactionProcessor.Mobile.csproj succeeded earlier in this session.\n- dotnet test TransactionProcessor.Mobile.sln reached the UI test project but failed in this environment because UITEST_ANDROID_APP_PATH is not set. CI should provide the required test environment.

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@github-actions
github-actions Bot deleted the codex/fix-mauiprogram-container-warning branch October 27, 2026 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant