34 references to ApplicableInExpandedForm
Microsoft.CodeAnalysis.CSharp (34)
Binder\Binder_Attributes.cs (1)
222expanded = memberResolutionResult.Resolution == MemberResolutionKind.ApplicableInExpandedForm;
Binder\Binder_Expressions.cs (6)
3386bool expanded = result.Kind == MemberResolutionKind.ApplicableInExpandedForm; 3701if (memberAnalysisResult.Kind == MemberResolutionKind.ApplicableInExpandedForm && correspondingParameter.Ordinal == parameters.Length - 1) 3817(memberAnalysisResult.Kind == MemberResolutionKind.ApplicableInExpandedForm && originalParameterIndex + 1 == parameters.Length)) 4971var expanded = memberResolutionResult.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm; 6767var expanded = memberResolutionResult.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm; 9872expanded: 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); 2348if (m1.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm) 2350if (m2.Result.Kind != MemberResolutionKind.ApplicableInExpandedForm) 2355else if (m2.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm) 2357Debug.Assert(m1.Result.Kind != MemberResolutionKind.ApplicableInExpandedForm); 2394if (m1.Result.Kind == MemberResolutionKind.ApplicableInNormalForm && m2.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm) 2399if (m1.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm && m2.Result.Kind == MemberResolutionKind.ApplicableInNormalForm) 2415if (m1.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm && m2.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm) 2432bool hasAll1 = m1.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm || m1ParameterCount == arguments.Count; 2433bool hasAll2 = m2.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm || m2ParameterCount == arguments.Count; 2522if (m1.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm && m2.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm) 2564if (result.Kind == MemberResolutionKind.ApplicableInExpandedForm && 2670if (m.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm) 4159Debug.Assert(!result.Result.IsValid || result.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm);
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
232AssertNone(MemberResolutionKind.ApplicableInExpandedForm);