Skip to content

Commit cd8997e

Browse files
committed
Annotate test code.
1 parent 92fbfd7 commit cd8997e

8 files changed

Lines changed: 303 additions & 305 deletions

File tree

PropertyChangedAnalyzers.Test/INPC003NotifyForDependentProperty/CodeFix.MvvmCrossCore.cs

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ namespace N
1818
{
1919
public class C : MvvmCross.ViewModels.MvxNotifyPropertyChanged
2020
{
21-
private string p2;
21+
private string? p2;
2222
2323
public string P1 => $""Hello {this.P2}"";
2424
25-
public string P2
25+
public string? P2
2626
{
2727
get { return this.p2; }
2828
set { this.SetProperty(↓ref this.p2, value); }
@@ -35,11 +35,11 @@ namespace N
3535
{
3636
public class C : MvvmCross.ViewModels.MvxNotifyPropertyChanged
3737
{
38-
private string p2;
38+
private string? p2;
3939
4040
public string P1 => $""Hello {this.P2}"";
4141
42-
public string P2
42+
public string? P2
4343
{
4444
get { return this.p2; }
4545
set
@@ -64,11 +64,11 @@ namespace N
6464
{
6565
internal class C : MvvmCross.ViewModels.MvxNotifyPropertyChanged
6666
{
67-
private string p2;
67+
private string? p2;
6868
6969
internal string P1 => $""Hello {this.P2}"";
7070
71-
internal string P2
71+
internal string? P2
7272
{
7373
get { return this.p2; }
7474
set { this.SetProperty(↓ref this.p2, value); }
@@ -81,11 +81,11 @@ namespace N
8181
{
8282
internal class C : MvvmCross.ViewModels.MvxNotifyPropertyChanged
8383
{
84-
private string p2;
84+
private string? p2;
8585
8686
internal string P1 => $""Hello {this.P2}"";
8787
88-
internal string P2
88+
internal string? P2
8989
{
9090
get { return this.p2; }
9191
set
@@ -110,14 +110,14 @@ namespace N
110110
{
111111
public class C : MvvmCross.ViewModels.MvxNotifyPropertyChanged
112112
{
113-
private string p2;
113+
private string? p2;
114114
115115
public string P1
116116
{
117117
get => $""Hello {this.P2}"";
118118
}
119119
120-
public string P2
120+
public string? P2
121121
{
122122
get { return this.p2; }
123123
set { this.SetProperty(↓ref this.p2, value); }
@@ -130,14 +130,14 @@ namespace N
130130
{
131131
public class C : MvvmCross.ViewModels.MvxNotifyPropertyChanged
132132
{
133-
private string p2;
133+
private string? p2;
134134
135135
public string P1
136136
{
137137
get => $""Hello {this.P2}"";
138138
}
139139
140-
public string P2
140+
public string? P2
141141
{
142142
get { return this.p2; }
143143
set
@@ -162,11 +162,11 @@ namespace N
162162
{
163163
public class C : MvvmCross.ViewModels.MvxNotifyPropertyChanged
164164
{
165-
private string p2;
165+
private string? p2;
166166
167167
public string P1 => $""Hello {this.P2}"";
168168
169-
public string P2
169+
public string? P2
170170
{
171171
get => this.p2;
172172
set => this.SetProperty(↓ref this.p2, value);
@@ -179,11 +179,11 @@ namespace N
179179
{
180180
public class C : MvvmCross.ViewModels.MvxNotifyPropertyChanged
181181
{
182-
private string p2;
182+
private string? p2;
183183
184184
public string P1 => $""Hello {this.P2}"";
185185
186-
public string P2
186+
public string? P2
187187
{
188188
get => this.p2;
189189
set
@@ -208,11 +208,11 @@ namespace N
208208
{
209209
public class C : MvvmCross.ViewModels.MvxNotifyPropertyChanged
210210
{
211-
private string p2;
211+
private string? p2;
212212
213213
public string P1 => $""Hello {this.P2}"";
214214
215-
public string P2
215+
public string? P2
216216
{
217217
get { return this.p2; }
218218
set
@@ -230,11 +230,11 @@ namespace N
230230
{
231231
public class C : MvvmCross.ViewModels.MvxNotifyPropertyChanged
232232
{
233-
private string p2;
233+
private string? p2;
234234
235235
public string P1 => $""Hello {this.P2}"";
236236
237-
public string P2
237+
public string? P2
238238
{
239239
get { return this.p2; }
240240
set
@@ -259,13 +259,13 @@ namespace N
259259
{
260260
public class C : MvvmCross.ViewModels.MvxNotifyPropertyChanged
261261
{
262-
private string p2;
262+
private string? p2;
263263
264264
public string P11 => $""Hello {this.P2}"";
265265
266266
public string P12 => $""Hej {this.P2}"";
267267
268-
public string P2
268+
public string? P2
269269
{
270270
get { return this.p2; }
271271
set
@@ -284,13 +284,13 @@ namespace N
284284
{
285285
public class C : MvvmCross.ViewModels.MvxNotifyPropertyChanged
286286
{
287-
private string p2;
287+
private string? p2;
288288
289289
public string P11 => $""Hello {this.P2}"";
290290
291291
public string P12 => $""Hej {this.P2}"";
292292
293-
public string P2
293+
public string? P2
294294
{
295295
get { return this.p2; }
296296
set
@@ -316,13 +316,13 @@ namespace N
316316
{
317317
public class C : MvvmCross.ViewModels.MvxNotifyPropertyChanged
318318
{
319-
private string p2;
319+
private string? p2;
320320
321321
public string P11 => $""Hello {this.P2}"";
322322
323323
public string P12 => $""Hej {this.P2}"";
324324
325-
public string P2
325+
public string? P2
326326
{
327327
get { return this.p2; }
328328
set
@@ -339,13 +339,13 @@ namespace N
339339
{
340340
public class C : MvvmCross.ViewModels.MvxNotifyPropertyChanged
341341
{
342-
private string p2;
342+
private string? p2;
343343
344344
public string P11 => $""Hello {this.P2}"";
345345
346346
public string P12 => $""Hej {this.P2}"";
347347
348-
public string P2
348+
public string? P2
349349
{
350350
get { return this.p2; }
351351
set
@@ -371,12 +371,12 @@ namespace N
371371
{
372372
public class C : MvvmCross.ViewModels.MvxNotifyPropertyChanged
373373
{
374-
private string firstName;
375-
private string lastName;
374+
private string? firstName;
375+
private string? lastName;
376376
377377
public string FullName => $""{this.FirstName} {this.LastName}"";
378378
379-
public string FirstName
379+
public string? FirstName
380380
{
381381
get
382382
{
@@ -395,7 +395,7 @@ public string FirstName
395395
}
396396
}
397397
398-
public string LastName
398+
public string? LastName
399399
{
400400
get
401401
{
@@ -422,12 +422,12 @@ namespace N
422422
{
423423
public class C : MvvmCross.ViewModels.MvxNotifyPropertyChanged
424424
{
425-
private string firstName;
426-
private string lastName;
425+
private string? firstName;
426+
private string? lastName;
427427
428428
public string FullName => $""{this.FirstName} {this.LastName}"";
429429
430-
public string FirstName
430+
public string? FirstName
431431
{
432432
get
433433
{
@@ -447,7 +447,7 @@ public string FirstName
447447
}
448448
}
449449
450-
public string LastName
450+
public string? LastName
451451
{
452452
get
453453
{
@@ -480,13 +480,13 @@ namespace N
480480
{
481481
public class C : MvvmCross.ViewModels.MvxNotifyPropertyChanged
482482
{
483-
private string p2;
483+
private string? p2;
484484
485485
public string P11 => $""Hello {this.P2}"";
486486
487487
public string P12 => $""Hej {this.P2}"";
488488
489-
public string P2
489+
public string? P2
490490
{
491491
get { return this.p2; }
492492
set
@@ -507,13 +507,13 @@ namespace N
507507
{
508508
public class C : MvvmCross.ViewModels.MvxNotifyPropertyChanged
509509
{
510-
private string p2;
510+
private string? p2;
511511
512512
public string P11 => $""Hello {this.P2}"";
513513
514514
public string P12 => $""Hej {this.P2}"";
515515
516-
public string P2
516+
public string? P2
517517
{
518518
get { return this.p2; }
519519
set
@@ -541,13 +541,13 @@ namespace N
541541
{
542542
public class C : MvvmCross.ViewModels.MvxNotifyPropertyChanged
543543
{
544-
private string p2;
544+
private string? p2;
545545
546546
public string P11 => $""Hello {this.P2}"";
547547
548548
public string P12 => $""Hej {this.P2}"";
549549
550-
public string P2
550+
public string? P2
551551
{
552552
get { return this.p2; }
553553
set
@@ -566,13 +566,13 @@ namespace N
566566
{
567567
public class C : MvvmCross.ViewModels.MvxNotifyPropertyChanged
568568
{
569-
private string p2;
569+
private string? p2;
570570
571571
public string P11 => $""Hello {this.P2}"";
572572
573573
public string P12 => $""Hej {this.P2}"";
574574
575-
public string P2
575+
public string? P2
576576
{
577577
get { return this.p2; }
578578
set

0 commit comments

Comments
 (0)