11===============================================================================
22PROJECT EXPORT
3- Generated: Mon Dec 22 04:56:14 AM CST 2025
3+ Generated: Mon Dec 22 04:59:07 AM CST 2025
44Project Path: /home/kushal/src/dotnet/MyDesktopApplication
55===============================================================================
66
@@ -3488,8 +3488,8 @@ MODIFIED: 2025-12-21 12:48:54
34883488
34893489================================================================================
34903490FILE: src/MyDesktopApplication.Shared/ViewModels/CountryQuizViewModel.cs
3491- SIZE: 7.12 KB
3492- MODIFIED: 2025-12-22 04:54:12
3491+ SIZE: 7.28 KB
3492+ MODIFIED: 2025-12-22 04:58:31
34933493================================================================================
34943494
34953495using System.Collections.ObjectModel;
@@ -3583,7 +3583,8 @@ public partial class CountryQuizViewModel : ViewModelBase
35833583 [RelayCommand]
35843584 private async Task SelectCountry(string countryParam)
35853585 {
3586- if (HasAnswered || _country1 == null || _country2 == null)
3586+ // FIX for MVVMTK0034: Use public properties (Country1, Country2) instead of backing fields
3587+ if (HasAnswered || Country1 == null || Country2 == null)
35873588 return;
35883589
35893590 // Parse the string parameter to int safely
@@ -3592,8 +3593,9 @@ public partial class CountryQuizViewModel : ViewModelBase
35923593 HasAnswered = true;
35933594 TotalQuestions++;
35943595
3595- var value1 = SelectedQuestionType.GetValue(_country1);
3596- var value2 = SelectedQuestionType.GetValue(_country2);
3596+ // FIX for MVVMTK0034: Use public properties here too
3597+ var value1 = SelectedQuestionType.GetValue(Country1);
3598+ var value2 = SelectedQuestionType.GetValue(Country2);
35973599
35983600 Country1Value = SelectedQuestionType.FormatValue(value1);
35993601 Country2Value = SelectedQuestionType.FormatValue(value2);
@@ -4384,7 +4386,7 @@ MODIFIED: 2025-12-21 17:58:28
43844386
43854387
43864388===============================================================================
4387- EXPORT COMPLETED: Mon Dec 22 04:56:14 AM CST 2025
4389+ EXPORT COMPLETED: Mon Dec 22 04:59:08 AM CST 2025
43884390Total Files Found: 65
43894391Files Exported: 65
43904392Files Skipped: 0 (binary or large files)
0 commit comments