34 references to ApplicableInExpandedForm
Microsoft.CodeAnalysis.CSharp (34)
Binder\Binder_Attributes.cs (1)
222
expanded = memberResolutionResult.Resolution == MemberResolutionKind.
ApplicableInExpandedForm
;
Binder\Binder_Expressions.cs (6)
3386
bool expanded = result.Kind == MemberResolutionKind.
ApplicableInExpandedForm
;
3701
if (memberAnalysisResult.Kind == MemberResolutionKind.
ApplicableInExpandedForm
&& correspondingParameter.Ordinal == parameters.Length - 1)
3817
(memberAnalysisResult.Kind == MemberResolutionKind.
ApplicableInExpandedForm
&& originalParameterIndex + 1 == parameters.Length))
4971
var expanded = memberResolutionResult.Result.Kind == MemberResolutionKind.
ApplicableInExpandedForm
;
6767
var expanded = memberResolutionResult.Result.Kind == MemberResolutionKind.
ApplicableInExpandedForm
;
9872
expanded: resolutionResult.Result.Kind == MemberResolutionKind.
ApplicableInExpandedForm
,
Binder\Binder_Invocation.cs (2)
680
if (candidate.Result.Kind == MemberResolutionKind.
ApplicableInExpandedForm
&&
1200
var expanded = methodResult.Result.Kind == MemberResolutionKind.
ApplicableInExpandedForm
;
Binder\ForEachLoopBinder.cs (2)
1464
var expanded = overloadResolutionResult.ValidResult.Result.Kind == MemberResolutionKind.
ApplicableInExpandedForm
;
1547
expanded: overloadResolutionResult.ValidResult.Result.Kind == MemberResolutionKind.
ApplicableInExpandedForm
,
Binder\Semantics\OverloadResolution\MemberAnalysisResult.cs (5)
128
Debug.Assert(kind != MemberResolutionKind.
ApplicableInExpandedForm
|| definitionParamsElementTypeOpt.HasType);
129
Debug.Assert(kind != MemberResolutionKind.
ApplicableInExpandedForm
|| paramsElementTypeOpt.HasType);
183
case MemberResolutionKind.
ApplicableInExpandedForm
:
200
case MemberResolutionKind.
ApplicableInExpandedForm
:
384
MemberResolutionKind.
ApplicableInExpandedForm
, BitVector.Null, argsToParamsOpt, conversions,
Binder\Semantics\OverloadResolution\OverloadResolution.cs (17)
270
var hasExpandedForm = results.Any(static r => r.Resolution == MemberResolutionKind.
ApplicableInExpandedForm
);
1041
Debug.Assert(!result.IsValid || result.Kind == MemberResolutionKind.
ApplicableInExpandedForm
);
2348
if (m1.Result.Kind == MemberResolutionKind.
ApplicableInExpandedForm
)
2350
if (m2.Result.Kind != MemberResolutionKind.
ApplicableInExpandedForm
)
2355
else if (m2.Result.Kind == MemberResolutionKind.
ApplicableInExpandedForm
)
2357
Debug.Assert(m1.Result.Kind != MemberResolutionKind.
ApplicableInExpandedForm
);
2394
if (m1.Result.Kind == MemberResolutionKind.ApplicableInNormalForm && m2.Result.Kind == MemberResolutionKind.
ApplicableInExpandedForm
)
2399
if (m1.Result.Kind == MemberResolutionKind.
ApplicableInExpandedForm
&& m2.Result.Kind == MemberResolutionKind.ApplicableInNormalForm)
2415
if (m1.Result.Kind == MemberResolutionKind.
ApplicableInExpandedForm
&& m2.Result.Kind == MemberResolutionKind.
ApplicableInExpandedForm
)
2432
bool hasAll1 = m1.Result.Kind == MemberResolutionKind.
ApplicableInExpandedForm
|| m1ParameterCount == arguments.Count;
2433
bool hasAll2 = m2.Result.Kind == MemberResolutionKind.
ApplicableInExpandedForm
|| m2ParameterCount == arguments.Count;
2522
if (m1.Result.Kind == MemberResolutionKind.
ApplicableInExpandedForm
&& m2.Result.Kind == MemberResolutionKind.
ApplicableInExpandedForm
)
2564
if (result.Kind == MemberResolutionKind.
ApplicableInExpandedForm
&&
2670
if (m.Result.Kind == MemberResolutionKind.
ApplicableInExpandedForm
)
4159
Debug.Assert(!result.Result.IsValid || result.Result.Kind == MemberResolutionKind.
ApplicableInExpandedForm
);
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
232
AssertNone(MemberResolutionKind.
ApplicableInExpandedForm
);