170 references to OverloadResolutionFailure
Microsoft.CodeAnalysis.CodeStyle (1)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (13)
CodeGen\CodeGenFunctionPointersTests.cs (13)
3120expectedCandidateReason: CandidateReason.OverloadResolutionFailure,
3347expectedCandidateReason: CandidateReason.OverloadResolutionFailure,
3368expectedCandidateReason: CandidateReason.OverloadResolutionFailure,
3417expectedCandidateReason: CandidateReason.OverloadResolutionFailure,
3464expectedCandidateReason: CandidateReason.OverloadResolutionFailure,
3574expectedCandidateReason: CandidateReason.OverloadResolutionFailure,
3581expectedCandidateReason: CandidateReason.OverloadResolutionFailure,
3626expectedCandidateReason: CandidateReason.OverloadResolutionFailure,
3633expectedCandidateReason: CandidateReason.OverloadResolutionFailure,
3677expectedCandidateReason: CandidateReason.OverloadResolutionFailure,
3684expectedCandidateReason: CandidateReason.OverloadResolutionFailure,
3716expectedCandidateReason: CandidateReason.OverloadResolutionFailure,
4122expectedCandidateReason: CandidateReason.OverloadResolutionFailure,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (24)
Semantics\PrimaryConstructorTests.cs (12)
2124Assert.Equal(CandidateReason.OverloadResolutionFailure, symbolInfo.CandidateReason);
2129Assert.Equal(CandidateReason.OverloadResolutionFailure, symbolInfo.CandidateReason);
2133Assert.Equal(CandidateReason.OverloadResolutionFailure, symbolInfo.CandidateReason);
2142Assert.Equal(CandidateReason.OverloadResolutionFailure, symbolInfo.CandidateReason);
2147Assert.Equal(CandidateReason.OverloadResolutionFailure, symbolInfo.CandidateReason);
2152Assert.Equal(CandidateReason.OverloadResolutionFailure, symbolInfo.CandidateReason);
2225Assert.Equal(CandidateReason.OverloadResolutionFailure, symbolInfo.CandidateReason);
2230Assert.Equal(CandidateReason.OverloadResolutionFailure, symbolInfo.CandidateReason);
2234Assert.Equal(CandidateReason.OverloadResolutionFailure, symbolInfo.CandidateReason);
2364Assert.Equal(CandidateReason.OverloadResolutionFailure, symbolInfo.CandidateReason);
2369Assert.Equal(CandidateReason.OverloadResolutionFailure, symbolInfo.CandidateReason);
2373Assert.Equal(CandidateReason.OverloadResolutionFailure, symbolInfo.CandidateReason);
Semantics\RecordTests.cs (12)
22281Assert.Equal(CandidateReason.OverloadResolutionFailure, symbolInfo.CandidateReason);
22286Assert.Equal(CandidateReason.OverloadResolutionFailure, symbolInfo.CandidateReason);
22290Assert.Equal(CandidateReason.OverloadResolutionFailure, symbolInfo.CandidateReason);
22299Assert.Equal(CandidateReason.OverloadResolutionFailure, symbolInfo.CandidateReason);
22304Assert.Equal(CandidateReason.OverloadResolutionFailure, symbolInfo.CandidateReason);
22309Assert.Equal(CandidateReason.OverloadResolutionFailure, symbolInfo.CandidateReason);
22382Assert.Equal(CandidateReason.OverloadResolutionFailure, symbolInfo.CandidateReason);
22387Assert.Equal(CandidateReason.OverloadResolutionFailure, symbolInfo.CandidateReason);
22391Assert.Equal(CandidateReason.OverloadResolutionFailure, symbolInfo.CandidateReason);
22521Assert.Equal(CandidateReason.OverloadResolutionFailure, symbolInfo.CandidateReason);
22526Assert.Equal(CandidateReason.OverloadResolutionFailure, symbolInfo.CandidateReason);
22530Assert.Equal(CandidateReason.OverloadResolutionFailure, symbolInfo.CandidateReason);
Microsoft.CodeAnalysis.CSharp.Features (1)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (33)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (51)
Compilation\GetSemanticInfoTests.cs (13)
1461Assert.Equal(CandidateReason.OverloadResolutionFailure, bindInfo.CandidateReason);
1466Assert.Equal(CandidateReason.OverloadResolutionFailure, bindInfo.CandidateReason);
1815Assert.Equal(CandidateReason.OverloadResolutionFailure, bindInfo.CandidateReason);
2844Assert.Equal(CandidateReason.OverloadResolutionFailure, symbolInfo.CandidateReason);
3791Assert.Equal(CandidateReason.OverloadResolutionFailure, info.CandidateReason);
3824Assert.Equal(CandidateReason.OverloadResolutionFailure, info.CandidateReason);
3851Assert.Equal(CandidateReason.OverloadResolutionFailure, info.CandidateReason);
3958Assert.Equal(CandidateReason.OverloadResolutionFailure, info.CandidateReason);
4599Assert.Equal(CandidateReason.OverloadResolutionFailure, classInfo.CandidateReason);
4601Assert.Equal(CandidateReason.OverloadResolutionFailure, structInfo.CandidateReason);
4646Assert.Equal(CandidateReason.OverloadResolutionFailure, info.CandidateReason);
4916Assert.Equal(CandidateReason.OverloadResolutionFailure, symbolInfo.CandidateReason);
5480Assert.Equal(CandidateReason.OverloadResolutionFailure, invocationInfo.CandidateReason);
Compilation\SemanticModelGetSemanticInfoTests.cs (25)
52Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason);
801Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason);
2696Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason);
2737Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason);
2787Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason);
2833Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason);
3022Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason);
4075Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason);
4286Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason);
6402Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason);
6681Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason);
7591Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason);
8041Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason);
8094Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason);
8690Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason);
9068Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason);
9461Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason);
11150Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason);
11228Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason);
11541Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason);
13135Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason);
13169Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason);
13234Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason);
14596Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason);
15119Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason);
Microsoft.CodeAnalysis.Features (2)
Microsoft.CodeAnalysis.VisualBasic (1)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.VisualBasic.Features (1)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (37)
Semantics\GetExtendedSemanticInfoTests.vb (22)
1625Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticSummary.CandidateReason)
1669Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticSummary.CandidateReason)
1801Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticSummary.CandidateReason)
1893Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason)
1930Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason)
2638Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason)
2785Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason)
3799Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticSummary.CandidateReason)
3837Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticSummary.CandidateReason)
4020Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason)
4581Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason)
4622Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason)
4657Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason)
4715Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason)
4796Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason)
4839Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason)
5861Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason)
7208Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticInfo.CandidateReason)
8079Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticSummary.CandidateReason)
8123Assert.Equal(CandidateReason.OverloadResolutionFailure, semanticSummary.CandidateReason)
9073Assert.Equal(CandidateReason.OverloadResolutionFailure, symbolInfo.CandidateReason)
9324Assert.Equal(CandidateReason.OverloadResolutionFailure, symbolInfo.CandidateReason)
Microsoft.CodeAnalysis.Workspaces (3)