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