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)
3598
Debug.Assert(methodResult.Result.
ParamsElementTypeOpt
.HasType);
3599
Debug.Assert(methodResult.Result.
ParamsElementTypeOpt
.Type != (object)ErrorTypeSymbol.EmptyParamsCollectionElementTypeSentinel);
3606
TypeWithAnnotations paramsElementTypeOpt = result.
ParamsElementTypeOpt
;
Binder\Semantics\OverloadResolution\OverloadResolution.cs (6)
1252
expandedResult.Result.
ParamsElementTypeOpt
.HasType &&
1253
expandedResult.Result.
ParamsElementTypeOpt
.Type != (object)ErrorTypeSymbol.EmptyParamsCollectionElementTypeSentinel)
2159
var type1 = getParameterTypeAndRefKind(i, m1.Result, m1LeastOverriddenParameters, m1.Result.
ParamsElementTypeOpt
, out RefKind parameter1RefKind);
2161
var type2 = getParameterTypeAndRefKind(i, m2.Result, m2LeastOverriddenParameters, m2.Result.
ParamsElementTypeOpt
, out RefKind parameter2RefKind);
2301
var type1 = getParameterTypeAndRefKind(i, m1.Result, m1LeastOverriddenParameters, m1.Result.
ParamsElementTypeOpt
, out _);
2303
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;