1 write to Verifier
Microsoft.CodeAnalysis.NetAnalyzers.UnitTests (1)
Microsoft.NetCore.Analyzers\Performance\DoNotUseCountWhenAnyCanBeUsedTests.Base.cs (1)
14
Verifier
= verifier;
203 references to Verifier
Microsoft.CodeAnalysis.NetAnalyzers.UnitTests (203)
Microsoft.NetCore.Analyzers\Performance\DoNotUseCountWhenAnyCanBeUsedTests.Base.cs (3)
21
=>
Verifier
.VerifyAsync(new string[] { testSource, extensionsSource });
24
=>
Verifier
.VerifyAsync(
32
=>
Verifier
.VerifyAsync(
Microsoft.NetCore.Analyzers\Performance\DoNotUseCountWhenAnyCanBeUsedTests.Tests.cs (200)
255
_ = {{|{this.
Verifier
.DiagnosticId}:GetData().Count().Equals(IntZero)|}};
256
_ = {{|{this.
Verifier
.DiagnosticId}:GetData().Count().Equals(UIntZero)|}};
257
_ = {{|{this.
Verifier
.DiagnosticId}:GetData().Count().Equals(LongZero)|}};
258
_ = {{|{this.
Verifier
.DiagnosticId}:GetData().Count().Equals(ULongZero)|}};
260
_ = {{|{this.
Verifier
.DiagnosticId}:IntZero.Equals(GetData().Count())|}};
261
_ = {{|{this.
Verifier
.DiagnosticId}:UIntZero.Equals(GetData().Count())|}};
262
_ = {{|{this.
Verifier
.DiagnosticId}:LongZero.Equals(GetData().Count())|}};
263
_ = {{|{this.
Verifier
.DiagnosticId}:ULongZero.Equals(GetData().Count())|}};
265
_ = {{|{this.
Verifier
.DiagnosticId}:GetData().Count() == IntZero|}};
266
_ = {{|{this.
Verifier
.DiagnosticId}:GetData().Count() >= IntOne|}};
267
_ = {{|{this.
Verifier
.DiagnosticId}:IntZero == GetData().Count()|}};
268
_ = {{|{this.
Verifier
.DiagnosticId}:IntOne > GetData().Count()|}};
270
_ = {{|{this.
Verifier
.DiagnosticId}:GetData().Count() == UIntZero|}};
271
_ = {{|{this.
Verifier
.DiagnosticId}:GetData().Count() >= UIntOne|}};
272
_ = {{|{this.
Verifier
.DiagnosticId}:UIntZero == GetData().Count()|}};
273
_ = {{|{this.
Verifier
.DiagnosticId}:UIntOne > GetData().Count()|}};
275
_ = {{|{this.
Verifier
.DiagnosticId}:GetData().Count() == LongZero|}};
276
_ = {{|{this.
Verifier
.DiagnosticId}:GetData().Count() >= LongOne|}};
277
_ = {{|{this.
Verifier
.DiagnosticId}:LongZero == GetData().Count()|}};
278
_ = {{|{this.
Verifier
.DiagnosticId}:LongOne > GetData().Count()|}};
485
_ = {{|{this.
Verifier
.DiagnosticId}:GetData().LongCount().Equals(IntZero)|}};
486
_ = {{|{this.
Verifier
.DiagnosticId}:GetData().LongCount().Equals(UIntZero)|}};
487
_ = {{|{this.
Verifier
.DiagnosticId}:GetData().LongCount().Equals(LongZero)|}};
488
_ = {{|{this.
Verifier
.DiagnosticId}:GetData().LongCount().Equals(ULongZero)|}};
490
_ = {{|{this.
Verifier
.DiagnosticId}:IntZero.Equals(GetData().LongCount())|}};
491
_ = {{|{this.
Verifier
.DiagnosticId}:UIntZero.Equals(GetData().LongCount())|}};
492
_ = {{|{this.
Verifier
.DiagnosticId}:LongZero.Equals(GetData().LongCount())|}};
493
_ = {{|{this.
Verifier
.DiagnosticId}:ULongZero.Equals(GetData().LongCount())|}};
495
_ = {{|{this.
Verifier
.DiagnosticId}:GetData().LongCount() == IntZero|}};
496
_ = {{|{this.
Verifier
.DiagnosticId}:GetData().LongCount() >= IntOne|}};
497
_ = {{|{this.
Verifier
.DiagnosticId}:IntZero == GetData().LongCount()|}};
498
_ = {{|{this.
Verifier
.DiagnosticId}:IntOne > GetData().LongCount()|}};
500
_ = {{|{this.
Verifier
.DiagnosticId}:GetData().LongCount() == UIntZero|}};
501
_ = {{|{this.
Verifier
.DiagnosticId}:GetData().LongCount() >= UIntOne|}};
502
_ = {{|{this.
Verifier
.DiagnosticId}:UIntZero == GetData().LongCount()|}};
503
_ = {{|{this.
Verifier
.DiagnosticId}:UIntOne > GetData().LongCount()|}};
505
_ = {{|{this.
Verifier
.DiagnosticId}:GetData().LongCount() == LongZero|}};
506
_ = {{|{this.
Verifier
.DiagnosticId}:GetData().LongCount() >= LongOne|}};
507
_ = {{|{this.
Verifier
.DiagnosticId}:LongZero == GetData().LongCount()|}};
508
_ = {{|{this.
Verifier
.DiagnosticId}:LongOne > GetData().LongCount()|}};
591
b = {{|{this.
Verifier
.DiagnosticId}:GetData().Count.Equals(IntegerZero)|}}
592
b = {{|{this.
Verifier
.DiagnosticId}:GetData().Count().Equals(IntegerZero)|}}
593
b = {{|{this.
Verifier
.DiagnosticId}:GetData().Count.Equals(UIntegerZero)|}}
594
b = {{|{this.
Verifier
.DiagnosticId}:GetData().Count().Equals(UIntegerZero)|}}
595
b = {{|{this.
Verifier
.DiagnosticId}:GetData().Count.Equals(LongZero)|}}
596
b = {{|{this.
Verifier
.DiagnosticId}:GetData().Count().Equals(LongZero)|}}
597
b = {{|{this.
Verifier
.DiagnosticId}:GetData().Count.Equals(ULongZero)|}}
598
b = {{|{this.
Verifier
.DiagnosticId}:GetData().Count().Equals(ULongZero)|}}
600
b = {{|{this.
Verifier
.DiagnosticId}:IntegerZero.Equals(GetData().Count)|}}
601
b = {{|{this.
Verifier
.DiagnosticId}:IntegerZero.Equals(GetData().Count())|}}
602
b = {{|{this.
Verifier
.DiagnosticId}:UIntegerZero.Equals(GetData().Count)|}}
603
b = {{|{this.
Verifier
.DiagnosticId}:UIntegerZero.Equals(GetData().Count())|}}
604
b = {{|{this.
Verifier
.DiagnosticId}:LongZero.Equals(GetData().Count)|}}
605
b = {{|{this.
Verifier
.DiagnosticId}:LongZero.Equals(GetData().Count())|}}
606
b = {{|{this.
Verifier
.DiagnosticId}:ULongZero.Equals(GetData().Count)|}}
607
b = {{|{this.
Verifier
.DiagnosticId}:ULongZero.Equals(GetData().Count())|}}
609
b = {{|{this.
Verifier
.DiagnosticId}:GetData().Count = IntegerZero|}}
610
b = {{|{this.
Verifier
.DiagnosticId}:GetData().Count() = IntegerZero|}}
611
b = {{|{this.
Verifier
.DiagnosticId}:GetData().Count >= IntegerOne|}}
612
b = {{|{this.
Verifier
.DiagnosticId}:GetData().Count() >= IntegerOne|}}
613
b = {{|{this.
Verifier
.DiagnosticId}:IntegerZero = GetData().Count|}}
614
b = {{|{this.
Verifier
.DiagnosticId}:IntegerZero = GetData().Count()|}}
615
b = {{|{this.
Verifier
.DiagnosticId}:IntegerOne > GetData().Count|}}
616
b = {{|{this.
Verifier
.DiagnosticId}:IntegerOne > GetData().Count()|}}
618
b = {{|{this.
Verifier
.DiagnosticId}:GetData().Count = UIntegerZero|}}
619
b = {{|{this.
Verifier
.DiagnosticId}:GetData().Count() = UIntegerZero|}}
620
b = {{|{this.
Verifier
.DiagnosticId}:GetData().Count >= UIntegerOne|}}
621
b = {{|{this.
Verifier
.DiagnosticId}:GetData().Count() >= UIntegerOne|}}
622
b = {{|{this.
Verifier
.DiagnosticId}:UIntegerZero = GetData().Count|}}
623
b = {{|{this.
Verifier
.DiagnosticId}:UIntegerZero = GetData().Count()|}}
624
b = {{|{this.
Verifier
.DiagnosticId}:UIntegerOne > GetData().Count|}}
625
b = {{|{this.
Verifier
.DiagnosticId}:UIntegerOne > GetData().Count()|}}
627
b = {{|{this.
Verifier
.DiagnosticId}:GetData().Count = LongZero|}}
628
b = {{|{this.
Verifier
.DiagnosticId}:GetData().Count() = LongZero|}}
629
b = {{|{this.
Verifier
.DiagnosticId}:GetData().Count >= LongOne|}}
630
b = {{|{this.
Verifier
.DiagnosticId}:GetData().Count() >= LongOne|}}
631
b = {{|{this.
Verifier
.DiagnosticId}:LongZero = GetData().Count|}}
632
b = {{|{this.
Verifier
.DiagnosticId}:LongZero = GetData().Count()|}}
633
b = {{|{this.
Verifier
.DiagnosticId}:LongOne > GetData().Count|}}
634
b = {{|{this.
Verifier
.DiagnosticId}:LongOne > GetData().Count()|}}
739
b = {{|{this.
Verifier
.DiagnosticId}:GetData().LongCount().Equals(IntegerZero)|}}
740
b = {{|{this.
Verifier
.DiagnosticId}:GetData().LongCount().Equals(UIntegerZero)|}}
741
b = {{|{this.
Verifier
.DiagnosticId}:GetData().LongCount().Equals(LongZero)|}}
742
b = {{|{this.
Verifier
.DiagnosticId}:GetData().LongCount().Equals(ULongZero)|}}
744
b = {{|{this.
Verifier
.DiagnosticId}:IntegerZero.Equals(GetData().LongCount())|}}
745
b = {{|{this.
Verifier
.DiagnosticId}:UIntegerZero.Equals(GetData().LongCount())|}}
746
b = {{|{this.
Verifier
.DiagnosticId}:LongZero.Equals(GetData().LongCount())|}}
747
b = {{|{this.
Verifier
.DiagnosticId}:ULongZero.Equals(GetData().LongCount())|}}
749
b = {{|{this.
Verifier
.DiagnosticId}:GetData().LongCount() = IntegerZero|}}
750
b = {{|{this.
Verifier
.DiagnosticId}:GetData().LongCount() >= IntegerOne|}}
751
b = {{|{this.
Verifier
.DiagnosticId}:IntegerZero = GetData().LongCount()|}}
752
b = {{|{this.
Verifier
.DiagnosticId}:IntegerOne > GetData().LongCount()|}}
754
b = {{|{this.
Verifier
.DiagnosticId}:GetData().LongCount() = UIntegerZero|}}
755
b = {{|{this.
Verifier
.DiagnosticId}:GetData().LongCount() >= UIntegerOne|}}
756
b = {{|{this.
Verifier
.DiagnosticId}:UIntegerZero = GetData().LongCount()|}}
757
b = {{|{this.
Verifier
.DiagnosticId}:UIntegerOne > GetData().LongCount()|}}
759
b = {{|{this.
Verifier
.DiagnosticId}:GetData().LongCount() = LongZero|}}
760
b = {{|{this.
Verifier
.DiagnosticId}:GetData().LongCount() >= LongOne|}}
761
b = {{|{this.
Verifier
.DiagnosticId}:LongZero = GetData().LongCount()|}}
762
b = {{|{this.
Verifier
.DiagnosticId}:LongOne > GetData().LongCount()|}}
916
_ = {{|{this.
Verifier
.DiagnosticId}:(await GetData().CountAsync()).Equals(IntZero)|}};
917
_ = {{|{this.
Verifier
.DiagnosticId}:(await GetData().CountAsync()).Equals(UIntZero)|}};
918
_ = {{|{this.
Verifier
.DiagnosticId}:(await GetData().CountAsync()).Equals(LongZero)|}};
919
_ = {{|{this.
Verifier
.DiagnosticId}:(await GetData().CountAsync()).Equals(ULongZero)|}};
921
_ = {{|{this.
Verifier
.DiagnosticId}:IntZero.Equals(await GetData().CountAsync())|}};
922
_ = {{|{this.
Verifier
.DiagnosticId}:UIntZero.Equals(await GetData().CountAsync())|}};
923
_ = {{|{this.
Verifier
.DiagnosticId}:LongZero.Equals(await GetData().CountAsync())|}};
924
_ = {{|{this.
Verifier
.DiagnosticId}:ULongZero.Equals(await GetData().CountAsync())|}};
926
_ = {{|{this.
Verifier
.DiagnosticId}:await GetData().CountAsync() == IntZero|}};
927
_ = {{|{this.
Verifier
.DiagnosticId}:await GetData().CountAsync() >= IntOne|}};
928
_ = {{|{this.
Verifier
.DiagnosticId}:IntZero == await GetData().CountAsync()|}};
929
_ = {{|{this.
Verifier
.DiagnosticId}:IntOne > await GetData().CountAsync()|}};
931
_ = {{|{this.
Verifier
.DiagnosticId}:await GetData().CountAsync() == UIntZero|}};
932
_ = {{|{this.
Verifier
.DiagnosticId}:await GetData().CountAsync() >= UIntOne|}};
933
_ = {{|{this.
Verifier
.DiagnosticId}:UIntZero == await GetData().CountAsync()|}};
934
_ = {{|{this.
Verifier
.DiagnosticId}:UIntOne > await GetData().CountAsync()|}};
936
_ = {{|{this.
Verifier
.DiagnosticId}:await GetData().CountAsync() == LongZero|}};
937
_ = {{|{this.
Verifier
.DiagnosticId}:await GetData().CountAsync() >= LongOne|}};
938
_ = {{|{this.
Verifier
.DiagnosticId}:LongZero == await GetData().CountAsync()|}};
939
_ = {{|{this.
Verifier
.DiagnosticId}:LongOne > await GetData().CountAsync()|}};
1036
_ = {{|{this.
Verifier
.DiagnosticId}:(await GetData().LongCountAsync()).Equals(IntZero)|}};
1037
_ = {{|{this.
Verifier
.DiagnosticId}:(await GetData().LongCountAsync()).Equals(UIntZero)|}};
1038
_ = {{|{this.
Verifier
.DiagnosticId}:(await GetData().LongCountAsync()).Equals(LongZero)|}};
1039
_ = {{|{this.
Verifier
.DiagnosticId}:(await GetData().LongCountAsync()).Equals(ULongZero)|}};
1041
_ = {{|{this.
Verifier
.DiagnosticId}:IntZero.Equals(await GetData().LongCountAsync())|}};
1042
_ = {{|{this.
Verifier
.DiagnosticId}:UIntZero.Equals(await GetData().LongCountAsync())|}};
1043
_ = {{|{this.
Verifier
.DiagnosticId}:LongZero.Equals(await GetData().LongCountAsync())|}};
1044
_ = {{|{this.
Verifier
.DiagnosticId}:ULongZero.Equals(await GetData().LongCountAsync())|}};
1046
_ = {{|{this.
Verifier
.DiagnosticId}:await GetData().LongCountAsync() == IntZero|}};
1047
_ = {{|{this.
Verifier
.DiagnosticId}:await GetData().LongCountAsync() >= IntOne|}};
1048
_ = {{|{this.
Verifier
.DiagnosticId}:IntZero == await GetData().LongCountAsync()|}};
1049
_ = {{|{this.
Verifier
.DiagnosticId}:IntOne > await GetData().LongCountAsync()|}};
1051
_ = {{|{this.
Verifier
.DiagnosticId}:await GetData().LongCountAsync() == UIntZero|}};
1052
_ = {{|{this.
Verifier
.DiagnosticId}:await GetData().LongCountAsync() >= UIntOne|}};
1053
_ = {{|{this.
Verifier
.DiagnosticId}:UIntZero == await GetData().LongCountAsync()|}};
1054
_ = {{|{this.
Verifier
.DiagnosticId}:UIntOne > await GetData().LongCountAsync()|}};
1056
_ = {{|{this.
Verifier
.DiagnosticId}:await GetData().LongCountAsync() == LongZero|}};
1057
_ = {{|{this.
Verifier
.DiagnosticId}:await GetData().LongCountAsync() >= LongOne|}};
1058
_ = {{|{this.
Verifier
.DiagnosticId}:LongZero == await GetData().LongCountAsync()|}};
1059
_ = {{|{this.
Verifier
.DiagnosticId}:LongOne > await GetData().LongCountAsync()|}};
1163
b = {{|{this.
Verifier
.DiagnosticId}:(Await GetData().CountAsync).Equals(IntegerZero)|}}
1164
b = {{|{this.
Verifier
.DiagnosticId}:(Await GetData().CountAsync()).Equals(IntegerZero)|}}
1165
b = {{|{this.
Verifier
.DiagnosticId}:(Await GetData().CountAsync).Equals(UIntegerZero)|}}
1166
b = {{|{this.
Verifier
.DiagnosticId}:(Await GetData().CountAsync()).Equals(UIntegerZero)|}}
1167
b = {{|{this.
Verifier
.DiagnosticId}:(Await GetData().CountAsync).Equals(LongZero)|}}
1168
b = {{|{this.
Verifier
.DiagnosticId}:(Await GetData().CountAsync()).Equals(LongZero)|}}
1169
b = {{|{this.
Verifier
.DiagnosticId}:(Await GetData().CountAsync).Equals(ULongZero)|}}
1170
b = {{|{this.
Verifier
.DiagnosticId}:(Await GetData().CountAsync()).Equals(ULongZero)|}}
1172
b = {{|{this.
Verifier
.DiagnosticId}:IntegerZero.Equals( Await GetData().CountAsync)|}}
1173
b = {{|{this.
Verifier
.DiagnosticId}:IntegerZero.Equals( Await GetData().CountAsync())|}}
1174
b = {{|{this.
Verifier
.DiagnosticId}:UIntegerZero.Equals( Await GetData().CountAsync)|}}
1175
b = {{|{this.
Verifier
.DiagnosticId}:UIntegerZero.Equals( Await GetData().CountAsync())|}}
1176
b = {{|{this.
Verifier
.DiagnosticId}:LongZero.Equals( Await GetData().CountAsync)|}}
1177
b = {{|{this.
Verifier
.DiagnosticId}:LongZero.Equals( Await GetData().CountAsync())|}}
1178
b = {{|{this.
Verifier
.DiagnosticId}:ULongZero.Equals( Await GetData().CountAsync)|}}
1179
b = {{|{this.
Verifier
.DiagnosticId}:ULongZero.Equals( Await GetData().CountAsync())|}}
1181
b = {{|{this.
Verifier
.DiagnosticId}:Await GetData().CountAsync = IntegerZero|}}
1182
b = {{|{this.
Verifier
.DiagnosticId}:Await GetData().CountAsync() = IntegerZero|}}
1183
b = {{|{this.
Verifier
.DiagnosticId}:Await GetData().CountAsync >= IntegerOne|}}
1184
b = {{|{this.
Verifier
.DiagnosticId}:Await GetData().CountAsync() >= IntegerOne|}}
1185
b = {{|{this.
Verifier
.DiagnosticId}:IntegerZero = Await GetData().CountAsync|}}
1186
b = {{|{this.
Verifier
.DiagnosticId}:IntegerZero = Await GetData().CountAsync()|}}
1187
b = {{|{this.
Verifier
.DiagnosticId}:IntegerOne > Await GetData().CountAsync|}}
1188
b = {{|{this.
Verifier
.DiagnosticId}:IntegerOne > Await GetData().CountAsync()|}}
1190
b = {{|{this.
Verifier
.DiagnosticId}:Await GetData().CountAsync = UIntegerZero|}}
1191
b = {{|{this.
Verifier
.DiagnosticId}:Await GetData().CountAsync() = UIntegerZero|}}
1192
b = {{|{this.
Verifier
.DiagnosticId}:Await GetData().CountAsync >= UIntegerOne|}}
1193
b = {{|{this.
Verifier
.DiagnosticId}:Await GetData().CountAsync() >= UIntegerOne|}}
1194
b = {{|{this.
Verifier
.DiagnosticId}:UIntegerZero = Await GetData().CountAsync|}}
1195
b = {{|{this.
Verifier
.DiagnosticId}:UIntegerZero = Await GetData().CountAsync()|}}
1196
b = {{|{this.
Verifier
.DiagnosticId}:UIntegerOne > Await GetData().CountAsync|}}
1197
b = {{|{this.
Verifier
.DiagnosticId}:UIntegerOne > Await GetData().CountAsync()|}}
1199
b = {{|{this.
Verifier
.DiagnosticId}:Await GetData().CountAsync = LongZero|}}
1200
b = {{|{this.
Verifier
.DiagnosticId}:Await GetData().CountAsync() = LongZero|}}
1201
b = {{|{this.
Verifier
.DiagnosticId}:Await GetData().CountAsync >= LongOne|}}
1202
b = {{|{this.
Verifier
.DiagnosticId}:Await GetData().CountAsync() >= LongOne|}}
1203
b = {{|{this.
Verifier
.DiagnosticId}:LongZero = Await GetData().CountAsync|}}
1204
b = {{|{this.
Verifier
.DiagnosticId}:LongZero = Await GetData().CountAsync()|}}
1205
b = {{|{this.
Verifier
.DiagnosticId}:LongOne > Await GetData().CountAsync|}}
1206
b = {{|{this.
Verifier
.DiagnosticId}:LongOne > Await GetData().CountAsync()|}}
1337
b = {{|{this.
Verifier
.DiagnosticId}:(Await GetData().LongCountAsync()).Equals(IntegerZero)|}}
1338
b = {{|{this.
Verifier
.DiagnosticId}:(Await GetData().LongCountAsync()).Equals(UIntegerZero)|}}
1339
b = {{|{this.
Verifier
.DiagnosticId}:(Await GetData().LongCountAsync()).Equals(LongZero)|}}
1340
b = {{|{this.
Verifier
.DiagnosticId}:(Await GetData().LongCountAsync()).Equals(ULongZero)|}}
1342
b = {{|{this.
Verifier
.DiagnosticId}:IntegerZero.Equals( Await GetData().LongCountAsync())|}}
1343
b = {{|{this.
Verifier
.DiagnosticId}:UIntegerZero.Equals( Await GetData().LongCountAsync())|}}
1344
b = {{|{this.
Verifier
.DiagnosticId}:LongZero.Equals( Await GetData().LongCountAsync())|}}
1345
b = {{|{this.
Verifier
.DiagnosticId}:ULongZero.Equals( Await GetData().LongCountAsync())|}}
1347
b = {{|{this.
Verifier
.DiagnosticId}:Await GetData().LongCountAsync() = IntegerZero|}}
1348
b = {{|{this.
Verifier
.DiagnosticId}:Await GetData().LongCountAsync() >= IntegerOne|}}
1349
b = {{|{this.
Verifier
.DiagnosticId}:IntegerZero = Await GetData().LongCountAsync()|}}
1350
b = {{|{this.
Verifier
.DiagnosticId}:IntegerOne > Await GetData().LongCountAsync()|}}
1352
b = {{|{this.
Verifier
.DiagnosticId}:Await GetData().LongCountAsync() = UIntegerZero|}}
1353
b = {{|{this.
Verifier
.DiagnosticId}:Await GetData().LongCountAsync() >= UIntegerOne|}}
1354
b = {{|{this.
Verifier
.DiagnosticId}:UIntegerZero = Await GetData().LongCountAsync()|}}
1355
b = {{|{this.
Verifier
.DiagnosticId}:UIntegerOne > Await GetData().LongCountAsync()|}}
1357
b = {{|{this.
Verifier
.DiagnosticId}:Await GetData().LongCountAsync() = LongZero|}}
1358
b = {{|{this.
Verifier
.DiagnosticId}:Await GetData().LongCountAsync() >= LongOne|}}
1359
b = {{|{this.
Verifier
.DiagnosticId}:LongZero = Await GetData().LongCountAsync()|}}
1360
b = {{|{this.
Verifier
.DiagnosticId}:LongOne > Await GetData().LongCountAsync()|}}