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