1 write to ParamsElementTypeOpt
Microsoft.CodeAnalysis.CSharp (1)
Binder\Semantics\OverloadResolution\MemberAnalysisResult.cs (1)
133this.ParamsElementTypeOpt = paramsElementTypeOpt;
12 references to ParamsElementTypeOpt
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder_Expressions.cs (3)
3601Debug.Assert(methodResult.Result.ParamsElementTypeOpt.HasType); 3602Debug.Assert(methodResult.Result.ParamsElementTypeOpt.Type != (object)ErrorTypeSymbol.EmptyParamsCollectionElementTypeSentinel); 3609TypeWithAnnotations paramsElementTypeOpt = result.ParamsElementTypeOpt;
Binder\Semantics\OverloadResolution\OverloadResolution.cs (6)
1252expandedResult.Result.ParamsElementTypeOpt.HasType && 1253expandedResult.Result.ParamsElementTypeOpt.Type != (object)ErrorTypeSymbol.EmptyParamsCollectionElementTypeSentinel) 2167var type1 = getParameterTypeAndRefKind(i, m1.Result, m1LeastOverriddenParameters, m1.Result.ParamsElementTypeOpt, out RefKind parameter1RefKind); 2169var type2 = getParameterTypeAndRefKind(i, m2.Result, m2LeastOverriddenParameters, m2.Result.ParamsElementTypeOpt, out RefKind parameter2RefKind); 2309var type1 = getParameterTypeAndRefKind(i, m1.Result, m1LeastOverriddenParameters, m1.Result.ParamsElementTypeOpt, out _); 2311var type2 = getParameterTypeAndRefKind(i, m2.Result, m2LeastOverriddenParameters, m2.Result.ParamsElementTypeOpt, out _);
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (3)
1380if (isLastParameter && badArg.Result.ParamsElementTypeOpt.HasType) 1382Debug.Assert(badArg.Result.ParamsElementTypeOpt.Type != (object)ErrorTypeSymbol.EmptyParamsCollectionElementTypeSentinel); 1383return badArg.Result.ParamsElementTypeOpt.Type;