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