696 references to None
Microsoft.CodeAnalysis (1)
Compilation\SymbolInfo.cs (1)
49
: this(symbol, ImmutableArray<ISymbol>.Empty, CandidateReason.
None
)
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKeyResolution.cs (1)
26
CandidateReason = CandidateReason.
None
;
Microsoft.CodeAnalysis.CSharp (5)
Binder\LookupResultKind.cs (2)
78
case LookupResultKind.Empty: return CandidateReason.
None
;
95
return CandidateReason.
None
;
Compilation\SymbolInfoFactory.cs (1)
49
return new SymbolInfo(getPublicSymbols(symbols), (symbols.Count > 0) ? resultKind.ToCandidateReason() : CandidateReason.
None
);
Compilation\SyntaxTreeSemanticModel.cs (1)
223
if ((object)result.Symbol == null && result.CandidateReason == CandidateReason.
None
&& node is ExpressionSyntax && SyntaxFacts.IsInNamespaceOrTypeContext((ExpressionSyntax)node))
Symbols\ErrorTypeSymbol.cs (1)
77
return CandidateReason.
None
;
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (53)
Attributes\AttributeTests.cs (2)
7545
Assert.Equal(CandidateReason.
None
, info.CandidateReason);
7586
Assert.Equal(CandidateReason.
None
, info.CandidateReason);
Attributes\AttributeTests_RefReadOnly.cs (2)
1385
Assert.Equal(CandidateReason.
None
, result.CandidateReason);
1427
Assert.Equal(CandidateReason.
None
, result.CandidateReason);
Semantics\OutVarTests.cs (1)
1013
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
Semantics\PatternMatchingTestBase.cs (1)
451
Assert.Equal(CandidateReason.
None
, info.CandidateReason);
Semantics\PatternMatchingTests.cs (1)
3270
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
Semantics\PatternMatchingTests3.cs (12)
56
Assert.Equal(CandidateReason.
None
, xSymbol.CandidateReason);
64
Assert.Equal(CandidateReason.
None
, ySymbol.CandidateReason);
167
Assert.Equal(CandidateReason.
None
, xSymbol.CandidateReason);
175
Assert.Equal(CandidateReason.
None
, ySymbol.CandidateReason);
212
Assert.Equal(CandidateReason.
None
, xSymbol.CandidateReason);
220
Assert.Equal(CandidateReason.
None
, ySymbol.CandidateReason);
265
Assert.Equal(CandidateReason.
None
, xSymbol.CandidateReason);
273
Assert.Equal(CandidateReason.
None
, ySymbol.CandidateReason);
306
Assert.Equal(CandidateReason.
None
, xSymbol.CandidateReason);
314
Assert.Equal(CandidateReason.
None
, ySymbol.CandidateReason);
353
Assert.Equal(CandidateReason.
None
, xSymbol.CandidateReason);
361
Assert.Equal(CandidateReason.
None
, ySymbol.CandidateReason);
Semantics\PatternMatchingTests4.cs (1)
1024
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
Semantics\PatternMatchingTests5.cs (14)
1113
Assert.Equal(CandidateReason.
None
, xySymbol.CandidateReason);
1118
Assert.Equal(CandidateReason.
None
, xSymbol.CandidateReason);
1123
Assert.Equal(CandidateReason.
None
, yNameSymbol.CandidateReason);
1131
Assert.Equal(CandidateReason.
None
, yxSymbol.CandidateReason);
1136
Assert.Equal(CandidateReason.
None
, ySymbol.CandidateReason);
1141
Assert.Equal(CandidateReason.
None
, xNameSymbol.CandidateReason);
1244
Assert.Equal(CandidateReason.
None
, xSymbol.CandidateReason);
1252
Assert.Equal(CandidateReason.
None
, ySymbol.CandidateReason);
1296
Assert.Equal(CandidateReason.
None
, xySymbol.CandidateReason);
1304
Assert.Equal(CandidateReason.
None
, xSymbol.CandidateReason);
1312
Assert.Equal(CandidateReason.
None
, yNameSymbol.CandidateReason);
1323
Assert.Equal(CandidateReason.
None
, yxSymbol.CandidateReason);
1331
Assert.Equal(CandidateReason.
None
, ySymbol.CandidateReason);
1339
Assert.Equal(CandidateReason.
None
, xNameSymbol.CandidateReason);
Semantics\PrimaryConstructorTests.cs (10)
1371
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
1417
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
1477
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
1546
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
1635
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
1820
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
1860
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
2431
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
6098
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
7802
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
Semantics\RecordTests.cs (9)
21490
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
21536
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
21596
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
21665
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
21754
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
21939
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
21976
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
22051
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
28239
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (127)
Semantics\BindingTests.cs (4)
2732
Assert.Equal(CandidateReason.
None
, m0Symbol.CandidateReason);
2744
Assert.Equal(CandidateReason.
None
, m1Symbol.CandidateReason);
2843
Assert.Equal(CandidateReason.
None
, m0Symbol.CandidateReason);
2855
Assert.Equal(CandidateReason.
None
, m1Symbol.CandidateReason);
Semantics\ColorColorTests.cs (3)
1079
Assert.Equal(CandidateReason.
None
, parentInfo.CandidateReason);
1125
Assert.Equal(CandidateReason.
None
, parentInfo.CandidateReason);
1294
Assert.Equal(CandidateReason.
None
, parentInfo.CandidateReason);
Semantics\DeconstructionTests.cs (59)
4267
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4279
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4297
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4322
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4402
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4410
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4428
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4453
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4526
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4538
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4550
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4559
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4570
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4587
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4676
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4684
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4770
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4778
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4848
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4856
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4867
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
5056
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
5216
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
5224
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
5242
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
5270
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
5280
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
5360
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
5368
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
5386
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
5414
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
5424
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
5497
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
5505
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
5517
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
5526
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
5537
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
5557
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
5567
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
5684
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
5692
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
5717
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
5794
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
5802
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
5827
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
5897
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
5905
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
5916
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
5933
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
5994
Assert.Equal(CandidateReason.
None
, symbols.CandidateReason);
6004
Assert.Equal(CandidateReason.
None
, symbols.CandidateReason);
6037
Assert.Equal(CandidateReason.
None
, symbols.CandidateReason);
6047
Assert.Equal(CandidateReason.
None
, symbols.CandidateReason);
6077
Assert.Equal(CandidateReason.
None
, symbols.CandidateReason);
6087
Assert.Equal(CandidateReason.
None
, symbols.CandidateReason);
6119
Assert.Equal(CandidateReason.
None
, symbols.CandidateReason);
6129
Assert.Equal(CandidateReason.
None
, symbols.CandidateReason);
6159
Assert.Equal(CandidateReason.
None
, symbols.CandidateReason);
6169
Assert.Equal(CandidateReason.
None
, symbols.CandidateReason);
Semantics\ExpressionBodiedMemberTests.cs (4)
86
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
238
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
294
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
327
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
Semantics\FunctionPointerTests.cs (1)
3970
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
Semantics\ImplicitObjectCreationTests.cs (3)
4541
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4548
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4582
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
Semantics\InteractiveSemanticModelTests.cs (1)
189
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
Semantics\LambdaTests.cs (1)
1244
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
Semantics\NameOfTests.cs (3)
832
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
868
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
947
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
Semantics\ObjectAndCollectionInitializerTests.cs (5)
3481
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
3488
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
3622
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
3660
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
3944
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
Semantics\OperatorTests.cs (5)
7540
Assert.Equal(type.IsDynamic() ? CandidateReason.LateBound : CandidateReason.
None
, info1.CandidateReason);
8091
Assert.True(CandidateReason.LateBound == info1.CandidateReason || CandidateReason.
None
== info1.CandidateReason);
8095
Assert.Equal(CandidateReason.
None
, info1.CandidateReason);
8109
Assert.Equal(leftType.IsDynamic() || rightType.IsDynamic() ? CandidateReason.LateBound : CandidateReason.
None
, info1.CandidateReason);
8566
Assert.Equal(CandidateReason.
None
, info1.CandidateReason);
Semantics\QueryTests.cs (1)
2400
Assert.Equal(CandidateReason.
None
, symbolInfoForSelect.CandidateReason);
Semantics\RecordStructTests.cs (1)
3250
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
Semantics\ScriptSemanticsTests.cs (2)
250
Assert.Equal(CandidateReason.
None
, summary.CandidateReason);
567
Assert.Equal(CandidateReason.
None
, summary.CandidateReason);
Semantics\TopLevelStatementsTests.cs (4)
252
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
263
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
403
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
414
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
Semantics\UnsafeTests.cs (30)
7262
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
7329
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
7367
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
7540
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
7862
Assert.Equal(CandidateReason.
None
, receiverSummary.CandidateReason);
7871
Assert.Equal(CandidateReason.
None
, methodGroupSummary.CandidateReason);
7880
Assert.Equal(CandidateReason.
None
, callSummary.CandidateReason);
7929
Assert.Equal(CandidateReason.
None
, receiverSummary.CandidateReason);
8173
Assert.Equal(CandidateReason.
None
, receiverSummary.CandidateReason);
8185
Assert.Equal(CandidateReason.
None
, indexSummary.CandidateReason);
8194
Assert.Equal(CandidateReason.
None
, accessSummary.CandidateReason);
8240
Assert.Equal(CandidateReason.
None
, receiverSummary.CandidateReason);
8253
Assert.Equal(CandidateReason.
None
, accessSummary.CandidateReason);
8298
Assert.Equal(CandidateReason.
None
, receiverSummary.CandidateReason);
8311
Assert.Equal(CandidateReason.
None
, accessSummary.CandidateReason);
8881
Assert.Equal(CandidateReason.
None
, summary.CandidateReason);
8916
Assert.Equal(CandidateReason.
None
, summary.CandidateReason);
9343
Assert.Equal(CandidateReason.
None
, summary.CandidateReason);
10235
Assert.Equal(CandidateReason.
None
, summary.CandidateReason);
10262
Assert.Equal(CandidateReason.
None
, info.CandidateReason);
10304
Assert.Equal(CandidateReason.
None
, summary.CandidateReason);
10635
Assert.Equal(CandidateReason.
None
, typeSummary.CandidateReason);
10648
Assert.Equal(CandidateReason.
None
, sizeOfSummary.CandidateReason);
10697
Assert.Equal(CandidateReason.
None
, typeSummary.CandidateReason);
10710
Assert.Equal(CandidateReason.
None
, sizeOfSummary.CandidateReason);
10757
Assert.Equal(CandidateReason.
None
, typeSummary.CandidateReason);
10770
Assert.Equal(CandidateReason.
None
, sizeOfSummary.CandidateReason);
11316
Assert.Equal(CandidateReason.
None
, stackAllocSummary.CandidateReason);
11328
Assert.Equal(CandidateReason.
None
, typeSummary.CandidateReason);
11342
Assert.Equal(CandidateReason.
None
, countSummary.CandidateReason);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (145)
Compilation\GetSemanticInfoTests.cs (12)
1224
Assert.Equal(CandidateReason.
None
, bindInfo.CandidateReason);
1420
Assert.Equal(CandidateReason.
None
, bindInfo.CandidateReason);
1425
Assert.Equal(CandidateReason.
None
, bindInfo.CandidateReason);
1495
Assert.Equal(CandidateReason.
None
, bindInfo.CandidateReason);
1500
Assert.Equal(CandidateReason.
None
, bindInfo.CandidateReason);
2875
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
2968
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
3060
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
3134
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
3208
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
3761
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4296
Assert.Equal(CandidateReason.
None
, info.CandidateReason);
Compilation\SemanticModelAPITests.cs (6)
1737
Assert.Equal(CandidateReason.
None
, aliasDeclInfo.CandidateReason);
3233
Assert.Equal(CandidateReason.
None
, info.CandidateReason);
3528
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
3551
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4512
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4590
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (13)
4174
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4192
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4200
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4207
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4216
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4225
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4258
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4286
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4308
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4319
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4332
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4355
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
4377
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
Compilation\SemanticModelGetSemanticInfoTests.cs (89)
408
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
3431
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
3463
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
3843
Assert.NotEqual(CandidateReason.
None
, semanticInfo.CandidateReason);
3942
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
3978
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
4165
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
4191
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
4252
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
4378
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
4649
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
5073
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
5486
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
5515
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
5734
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
5767
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
5834
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
5902
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
5970
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
6037
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
6065
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
6097
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
6375
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
6647
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
6812
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
6971
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
7175
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
7207
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
7239
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
7268
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
7349
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
7405
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
7431
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
7459
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
7492
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
7528
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
7629
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
7857
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
7923
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
7955
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
7989
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
8025
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
8078
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
8520
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
8732
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
8774
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
8815
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
8939
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
9675
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
9726
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
10910
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
11194
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
11466
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
11503
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
11613
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
11801
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
11872
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
11943
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
12014
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
12049
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
12085
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
12459
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
12490
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
12713
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
12745
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
12889
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
13074
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
13388
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
13448
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
13567
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
13597
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
13662
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
13691
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
13747
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
13780
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
13811
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
13845
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
13984
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
14011
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
14165
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
14297
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
14669
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
14799
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
14814
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
14895
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
14910
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
15006
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
15022
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
15344
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
Compilation\SemanticModelGetSemanticInfoTests_LateBound.cs (5)
66
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
293
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
377
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
748
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
802
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
DocumentationComments\CrefTests.cs (10)
1816
Assert.Equal(CandidateReason.
None
, info.CandidateReason);
2056
Assert.Equal(CandidateReason.
None
, info.CandidateReason);
2110
Assert.Equal(CandidateReason.
None
, info.CandidateReason);
3159
Assert.Equal(CandidateReason.
None
, info.CandidateReason);
3347
Assert.Equal(CandidateReason.
None
, info.CandidateReason);
5751
Assert.Equal(CandidateReason.
None
, info.CandidateReason);
5953
Assert.Equal(CandidateReason.
None
, info.CandidateReason);
6002
Assert.Equal(CandidateReason.
None
, info.CandidateReason);
6432
Assert.Equal(CandidateReason.
None
, info.CandidateReason);
6470
Assert.Equal(CandidateReason.
None
, info.CandidateReason);
Symbols\Source\FileModifierTests.cs (7)
2604
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
2643
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
3514
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
3563
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
3718
Assert.Equal(CandidateReason.
None
, info.CandidateReason);
3823
Assert.Equal(CandidateReason.
None
, info.CandidateReason);
3983
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
Symbols\Source\UsingAliasTests.cs (2)
712
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
755
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason);
Symbols\SymbolErrorTests.cs (1)
16898
Assert.Equal(CandidateReason.
None
, errorFieldType.CandidateReason);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (4)
FunctionPointerUtilities.cs (4)
142
CandidateReason expectedCandidateReason = CandidateReason.
None
,
220
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
232
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
258
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason);
Microsoft.CodeAnalysis.Features (1)
ChangeSignature\DelegateInvokeMethodReferenceFinder.cs (1)
135
CandidateReason.
None
));
Microsoft.CodeAnalysis.VisualBasic (7)
Binding\LookupResult.vb (1)
46
Return CandidateReason.
None
Compilation\SemanticModel.vb (1)
2827
If(resultKind = LookupResultKind.Good, CandidateReason.
None
, resultKind.ToCandidateReason()))
Compilation\SymbolInfo.vb (4)
18
Dim reason = If(resultKind = LookupResultKind.Good, CandidateReason.
None
, resultKind.ToCandidateReason())
24
If symbols.IsEmpty AndAlso Not (reason = CandidateReason.
None
OrElse reason = CandidateReason.LateBound) Then
25
reason = CandidateReason.
None
28
If symbols.Length = 1 AndAlso (reason = CandidateReason.
None
OrElse reason = CandidateReason.LateBound) Then
Compilation\SyntaxTreeSemanticModel.vb (1)
488
If retValue.CandidateReason = CandidateReason.
None
Then
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (335)
Binding\BindingCollectionInitializerTests.vb (5)
1798
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1808
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1893
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1930
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1968
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
Binding\ImplicitVariableTests.vb (2)
1240
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
1260
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
Compilation\MyTemplateTests.vb (1)
243
Assert.Equal(CandidateReason.
None
, semanticSummary.CandidateReason)
Compilation\SemanticModelAPITests.vb (15)
42
Assert.Equal(CandidateReason.
None
, info.CandidateReason)
418
Assert.Equal(symbolInfo.CandidateReason, CandidateReason.
None
)
434
Assert.Equal(symbolInfo.CandidateReason, CandidateReason.
None
)
441
Assert.Equal(symbolInfo.CandidateReason, CandidateReason.
None
)
448
Assert.Equal(symbolInfo.CandidateReason, CandidateReason.
None
)
456
Assert.Equal(symbolInfo.CandidateReason, CandidateReason.
None
)
464
Assert.Equal(symbolInfo.CandidateReason, CandidateReason.
None
)
1230
Assert.Equal(symbolInfo.CandidateReason, CandidateReason.
None
)
1261
Assert.Equal(symbolInfo.CandidateReason, CandidateReason.
None
)
1284
Assert.Equal(symbolInfo.CandidateReason, CandidateReason.
None
)
1296
Assert.Equal(symbolInfo.CandidateReason, CandidateReason.
None
)
1309
Assert.Equal(symbolInfo.CandidateReason, CandidateReason.
None
)
1333
Assert.Equal(symbolInfo.CandidateReason, CandidateReason.
None
)
1345
Assert.Equal(symbolInfo.CandidateReason, CandidateReason.
None
)
4003
Assert.Equal(CandidateReason.
None
, info.CandidateReason)
Semantics\ArrayLiteralTests.vb (5)
1503
Assert.Equal(CandidateReason.
None
, semanticSummary.CandidateReason)
1637
Assert.Equal(CandidateReason.
None
, semanticSummary.CandidateReason)
1727
Assert.Equal(CandidateReason.
None
, semanticSummary.CandidateReason)
2056
Assert.Equal(CandidateReason.
None
, semanticSummary.CandidateReason)
2089
Assert.Equal(CandidateReason.
None
, semanticSummary.CandidateReason)
Semantics\BinaryOperators.vb (2)
1044
Assert.Equal(CandidateReason.
None
, info1.CandidateReason)
1049
Assert.Equal(CandidateReason.
None
, info1.CandidateReason)
Semantics\GetExtendedSemanticInfoTests.vb (39)
751
Assert.Equal(CandidateReason.
None
, semanticSummary.CandidateReason)
1380
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
1460
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
1965
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
1997
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
2051
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
2084
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
2151
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
2182
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
2714
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
2749
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
3219
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
3669
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
3772
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
5064
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
5346
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
5377
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
5509
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
5539
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
5656
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
5916
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
6780
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
6818
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
6855
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
6893
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
6930
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
6968
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
7005
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
7043
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
7166
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
7780
Assert.Equal(CandidateReason.
None
, semanticSummary.CandidateReason)
8628
Assert.Equal(CandidateReason.
None
, semanticSummary.CandidateReason)
8668
Assert.Equal(CandidateReason.
None
, semanticSummary.CandidateReason)
8855
Assert.Equal(CandidateReason.
None
, semanticSummary.CandidateReason)
8928
Assert.Equal(CandidateReason.
None
, semanticSummary.CandidateReason)
9134
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
9395
Assert.Equal(CandidateReason.
None
, semanticSummary.CandidateReason)
9475
Assert.Equal(CandidateReason.
None
, semanticSummary.CandidateReason)
10229
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
Semantics\GetSemanticInfoTests.vb (27)
133
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
178
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
417
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
467
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
517
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
567
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
1541
Assert.Equal(CandidateReason.
None
, semanticSummary.CandidateReason)
1741
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1748
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1755
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2066
Assert.Equal(CandidateReason.
None
, semanticSummary.CandidateReason)
2148
Assert.Equal(CandidateReason.
None
, semanticSummary.CandidateReason)
2168
Assert.Equal(CandidateReason.
None
, semanticSummary.CandidateReason)
2245
Assert.Equal(CandidateReason.
None
, semanticSummary.CandidateReason)
2299
Assert.Equal(CandidateReason.
None
, semanticSummary.CandidateReason)
2313
Assert.Equal(CandidateReason.
None
, semanticSummary.CandidateReason)
2358
Assert.Equal(CandidateReason.
None
, semanticSummary.CandidateReason)
2372
Assert.Equal(CandidateReason.
None
, semanticSummary.CandidateReason)
2421
Assert.Equal(CandidateReason.
None
, semanticSummary.CandidateReason)
3882
Assert.Equal(CandidateReason.
None
, semanticSummary.CandidateReason)
5127
Assert.Equal(CandidateReason.
None
, info.CandidateReason)
5350
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
5365
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
5439
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
5454
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
5544
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
5560
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
Semantics\LambdaSemanticInfoTests.vb (2)
668
Assert.Equal(CandidateReason.
None
, info.CandidateReason)
812
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
Semantics\NameOfTests.vb (79)
67
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
79
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
91
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
104
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
116
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
132
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
144
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
464
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
476
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
488
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
536
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
562
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
571
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
825
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
875
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
887
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
899
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
952
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
977
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1065
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1090
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1133
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1145
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1198
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1224
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1233
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1280
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1306
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1315
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1362
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1387
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1396
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1443
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1468
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1477
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1523
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1535
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1548
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1557
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1654
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1747
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1759
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1804
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1816
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1861
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1873
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1918
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1930
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2060
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2072
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2085
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2159
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2184
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2260
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2285
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2366
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2391
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2470
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2482
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2495
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2803
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2828
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2878
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2890
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2943
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2955
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
3005
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
3066
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
3127
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
3139
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
3187
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
3199
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
3251
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
3312
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
3324
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
3369
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
3381
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
3427
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
3483
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
Semantics\QueryExpressions_SemanticModel.vb (151)
78
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
96
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
115
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
148
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
170
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
198
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
216
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
235
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
304
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
322
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
341
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
370
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
392
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
420
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
438
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
457
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
524
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
542
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
561
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
590
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
612
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
640
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
658
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
677
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
768
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
786
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
805
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
834
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
856
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
884
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
902
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
921
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
930
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
937
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
944
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
951
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
958
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1001
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
1085
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
1104
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1157
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
1177
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1183
Assert.Equal(CandidateReason.
None
, commonSymbolInfo.CandidateReason)
1198
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1205
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1212
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1219
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1226
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1306
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
1330
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
1388
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
1408
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
1420
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1429
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1434
Assert.Equal(CandidateReason.
None
, commonSymbolInfo.CandidateReason)
1480
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1492
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1554
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
1654
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
1700
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1707
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1712
Assert.Equal(CandidateReason.
None
, commonSymbolInfo.CandidateReason)
1719
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1726
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1786
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1793
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1800
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1807
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1814
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1821
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
1828
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2110
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
2158
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
2191
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
2202
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2209
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2216
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2224
Assert.Equal(CandidateReason.
None
, collectionInfo.ToQueryableCollectionConversion.CandidateReason)
2225
Assert.Equal(CandidateReason.
None
, collectionInfo.AsClauseConversion.CandidateReason)
2226
Assert.Equal(CandidateReason.
None
, collectionInfo.SelectMany.CandidateReason)
2235
Assert.Equal(CandidateReason.
None
, collectionInfo.ToQueryableCollectionConversion.CandidateReason)
2236
Assert.Equal(CandidateReason.
None
, collectionInfo.AsClauseConversion.CandidateReason)
2240
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2255
Assert.Equal(CandidateReason.
None
, collectionInfo.ToQueryableCollectionConversion.CandidateReason)
2256
Assert.Equal(CandidateReason.
None
, collectionInfo.AsClauseConversion.CandidateReason)
2260
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2270
Assert.Equal(CandidateReason.
None
, collectionInfo.ToQueryableCollectionConversion.CandidateReason)
2271
Assert.Equal(CandidateReason.
None
, collectionInfo.AsClauseConversion.CandidateReason)
2272
Assert.Equal(CandidateReason.
None
, collectionInfo.SelectMany.CandidateReason)
2281
Assert.Equal(CandidateReason.
None
, collectionInfo.ToQueryableCollectionConversion.CandidateReason)
2285
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2288
Assert.Equal(CandidateReason.
None
, collectionInfo.SelectMany.CandidateReason)
2297
Assert.Equal(CandidateReason.
None
, collectionInfo.ToQueryableCollectionConversion.CandidateReason)
2301
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2306
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2318
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2321
Assert.Equal(CandidateReason.
None
, collectionInfo.AsClauseConversion.CandidateReason)
2322
Assert.Equal(CandidateReason.
None
, collectionInfo.SelectMany.CandidateReason)
2333
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2336
Assert.Equal(CandidateReason.
None
, collectionInfo.AsClauseConversion.CandidateReason)
2340
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2352
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2355
Assert.Equal(CandidateReason.
None
, collectionInfo.AsClauseConversion.CandidateReason)
2356
Assert.Equal(CandidateReason.
None
, collectionInfo.SelectMany.CandidateReason)
2367
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2372
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2375
Assert.Equal(CandidateReason.
None
, collectionInfo.SelectMany.CandidateReason)
2386
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2389
Assert.Equal(CandidateReason.
None
, collectionInfo.AsClauseConversion.CandidateReason)
2393
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2405
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2410
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2415
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2426
Assert.Equal(CandidateReason.
None
, collectionInfo.ToQueryableCollectionConversion.CandidateReason)
2427
Assert.Equal(CandidateReason.
None
, collectionInfo.AsClauseConversion.CandidateReason)
2431
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2442
Assert.Equal(CandidateReason.
None
, collectionInfo.ToQueryableCollectionConversion.CandidateReason)
2443
Assert.Equal(CandidateReason.
None
, collectionInfo.AsClauseConversion.CandidateReason)
2447
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2459
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2462
Assert.Equal(CandidateReason.
None
, collectionInfo.AsClauseConversion.CandidateReason)
2463
Assert.Equal(CandidateReason.
None
, collectionInfo.SelectMany.CandidateReason)
2542
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
2676
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
2705
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2727
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
2756
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2825
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
2910
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
2960
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
3334
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
3380
Assert.Equal(CandidateReason.
None
, symbolInfo1.CandidateReason)
3413
Assert.Equal(CandidateReason.
None
, symbolInfo1.CandidateReason)
3419
Assert.Equal(CandidateReason.
None
, symbolInfo3.Select1.CandidateReason)
3421
Assert.Equal(CandidateReason.
None
, symbolInfo3.Select2.CandidateReason)
3427
Assert.Equal(CandidateReason.
None
, symbolInfo3.Select1.CandidateReason)
3429
Assert.Equal(CandidateReason.
None
, symbolInfo3.Select2.CandidateReason)
3538
Assert.Equal(CandidateReason.
None
, semanticInfo.CandidateReason)
3569
Assert.Equal(CandidateReason.
None
, symbolInfo1.CandidateReason)
3578
Assert.Equal(CandidateReason.
None
, symbolInfo1.CandidateReason)
3582
Assert.Equal(CandidateReason.
None
, symbolInfo3.Select2.CandidateReason)
3589
Assert.Equal(CandidateReason.
None
, symbolInfo1.CandidateReason)
3593
Assert.Equal(CandidateReason.
None
, symbolInfo3.Select2.CandidateReason)
3600
Assert.Equal(CandidateReason.
None
, symbolInfo1.CandidateReason)
3605
Assert.Equal(CandidateReason.
None
, symbolInfo1.CandidateReason)
3614
Assert.Equal(CandidateReason.
None
, symbolInfo1.CandidateReason)
3620
Assert.Equal(CandidateReason.
None
, symbolInfo1.CandidateReason)
3751
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
3756
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
3764
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
3769
Assert.Equal(CandidateReason.
None
, symbolInfo.CandidateReason)
Semantics\SelectCaseTests.vb (5)
34
Assert.Equal(CandidateReason.
None
, semanticSummary.CandidateReason)
68
Assert.Equal(CandidateReason.
None
, semanticSummary.CandidateReason)
247
Assert.Equal(CandidateReason.
None
, semanticSummary.CandidateReason)
403
Assert.Equal(CandidateReason.
None
, semanticSummary.CandidateReason)
536
Assert.Equal(CandidateReason.
None
, semanticSummary.CandidateReason)
Semantics\UnaryOperators.vb (1)
702
Assert.Equal(CandidateReason.
None
, info1.CandidateReason)
Semantics\XmlLiteralSemanticModelTests.vb (1)
536
Assert.Equal(CandidateReason.
None
, semanticSummary.CandidateReason)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (1)
SymbolsTests\SymbolErrorTests.vb (1)
23431
Assert.Equal(CandidateReason.
None
, errortype.CandidateReason)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (1)
CompilationTestUtils.vb (1)
525
Public CandidateReason As CandidateReason = CandidateReason.
None
Microsoft.CodeAnalysis.Workspaces (15)
FindSymbols\FindReferences\Finders\AbstractReferenceFinder.cs (6)
64
return (matched: true, CandidateReason.
None
);
422
candidateReason: CandidateReason.
None
));
464
candidateReason: CandidateReason.
None
));
503
GetAdditionalFindUsagesProperties(node, state), CandidateReason.
None
));
534
GetAdditionalFindUsagesProperties(node, state), CandidateReason.
None
));
569
GetAdditionalFindUsagesProperties(node, state), CandidateReason.
None
));
FindSymbols\FindReferences\Finders\AbstractTypeParameterSymbolReferenceFinder.cs (1)
64
processResult(CreateFinderLocation(state, token, CandidateReason.
None
, cancellationToken), processResultData);
FindSymbols\FindReferences\Finders\ConstructorSymbolReferenceFinder.cs (2)
258
GetAdditionalFindUsagesProperties(node, state), CandidateReason.
None
));
299
GetAdditionalFindUsagesProperties(node, state), CandidateReason.
None
));
FindSymbols\FindReferences\Finders\OrdinaryMethodReferenceFinder.cs (1)
178
candidateReason: CandidateReason.
None
));
FindSymbols\FindReferences\Finders\PreprocessingSymbolReferenceFinder.cs (1)
58
var location = CreateFinderLocation(state, token, CandidateReason.
None
, cancellationToken);
FindSymbols\ReferenceLocation.cs (2)
101
CandidateReason.
None
, containingStringLocation)
111
public bool IsCandidateLocation => this.CandidateReason != CandidateReason.
None
;
Rename\RenameLocation.cs (1)
54
if (candidateReason != CandidateReason.
None
)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKeyResolution.cs (1)
26
CandidateReason = CandidateReason.
None
;