34 references to ApplicableInExpandedForm
Microsoft.CodeAnalysis.CSharp (34)
Binder\Binder_Attributes.cs (1)
222expanded = memberResolutionResult.Resolution == MemberResolutionKind.ApplicableInExpandedForm;
Binder\Binder_Expressions.cs (6)
3383bool expanded = result.Kind == MemberResolutionKind.ApplicableInExpandedForm; 3698if (memberAnalysisResult.Kind == MemberResolutionKind.ApplicableInExpandedForm && correspondingParameter.Ordinal == parameters.Length - 1) 3814(memberAnalysisResult.Kind == MemberResolutionKind.ApplicableInExpandedForm && originalParameterIndex + 1 == parameters.Length)) 4968var expanded = memberResolutionResult.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm; 6764var expanded = memberResolutionResult.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm; 9869expanded: resolutionResult.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm,
Binder\Binder_Invocation.cs (2)
680if (candidate.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm && 1200var expanded = methodResult.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm;
Binder\ForEachLoopBinder.cs (2)
1464var expanded = overloadResolutionResult.ValidResult.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm; 1547expanded: overloadResolutionResult.ValidResult.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm,
Binder\Semantics\OverloadResolution\MemberAnalysisResult.cs (5)
128Debug.Assert(kind != MemberResolutionKind.ApplicableInExpandedForm || definitionParamsElementTypeOpt.HasType); 129Debug.Assert(kind != MemberResolutionKind.ApplicableInExpandedForm || paramsElementTypeOpt.HasType); 183case MemberResolutionKind.ApplicableInExpandedForm: 200case MemberResolutionKind.ApplicableInExpandedForm: 384MemberResolutionKind.ApplicableInExpandedForm, BitVector.Null, argsToParamsOpt, conversions,
Binder\Semantics\OverloadResolution\OverloadResolution.cs (17)
270var hasExpandedForm = results.Any(static r => r.Resolution == MemberResolutionKind.ApplicableInExpandedForm); 1041Debug.Assert(!result.IsValid || result.Kind == MemberResolutionKind.ApplicableInExpandedForm); 2340if (m1.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm) 2342if (m2.Result.Kind != MemberResolutionKind.ApplicableInExpandedForm) 2347else if (m2.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm) 2349Debug.Assert(m1.Result.Kind != MemberResolutionKind.ApplicableInExpandedForm); 2386if (m1.Result.Kind == MemberResolutionKind.ApplicableInNormalForm && m2.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm) 2391if (m1.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm && m2.Result.Kind == MemberResolutionKind.ApplicableInNormalForm) 2407if (m1.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm && m2.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm) 2424bool hasAll1 = m1.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm || m1ParameterCount == arguments.Count; 2425bool hasAll2 = m2.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm || m2ParameterCount == arguments.Count; 2514if (m1.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm && m2.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm) 2556if (result.Kind == MemberResolutionKind.ApplicableInExpandedForm && 2662if (m.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm) 4138Debug.Assert(!result.Result.IsValid || result.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm);
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
232AssertNone(MemberResolutionKind.ApplicableInExpandedForm);