29 references to GetParameterType
Microsoft.CodeAnalysis.CSharp (29)
Binder\Binder_Operators.cs (1)
1276var conversion = this.Conversions.ClassifyConversionFromType(argumentType, op.GetParameterType(0), isChecked: CheckOverflowAtRuntime, ref useSiteInfo);
Binder\Semantics\Conversions\UserDefinedExplicitConversions.cs (1)
267TypeSymbol convertsFrom = op.GetParameterType(0);
Binder\Semantics\Conversions\UserDefinedImplicitConversions.cs (2)
297TypeSymbol convertsFrom = op.GetParameterType(0); 410if (!TypeSymbol.Equals(conv.FromType, conv.Operator.GetParameterType(0), TypeCompareKind.ConsiderEverything2))
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (4)
969TypeSymbol leftOperandType = op.GetParameterType(0); 970TypeSymbol rightOperandType = op.GetParameterType(1); 982TypeSymbol leftOperandType = op.GetParameterType(0); 983TypeSymbol rightOperandType = op.GetParameterType(1);
Binder\Semantics\Operators\UnaryOperatorOverloadResolution.cs (2)
525TypeSymbol operandType = op.GetParameterType(0); 552TypeSymbol operandType = op.GetParameterType(0);
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (1)
3207Debug.Assert(!method.GetParameterType(0).IsDynamic());
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
1056TypeSymbol formalParameterType = method.GetParameterType(result.Result.BadParameter);
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (4)
884if (!TypeSymbol.Equals(rewrittenOperand.Type, conversion.Method.GetParameterType(0), TypeCompareKind.ConsiderEverything2)) 899conversion.Method.GetParameterType(0).Equals(rewrittenOperand.Type.GetNullableUnderlyingType(), TypeCompareKind.AllIgnoreOptions) && 1348var parameterType = conversion.Method.GetParameterType(0); 1519rewrittenOperand = MakeConversionNode(rewrittenOperand, method.GetParameterType(0), @checked);
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (2)
640TypeSymbol type = node.MethodOpt.GetParameterType(0); 644Debug.Assert(TypeSymbol.Equals(node.MethodOpt.GetParameterType(0), node.MethodOpt.ReturnType, TypeCompareKind.ConsiderEverything2));
Symbols\ConversionSignatureComparer.cs (1)
69hash = Hash.Combine(member.GetParameterType(0).GetHashCode(), hash);
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (10)
443var source = this.GetParameterType(0); 603if (!MatchesContainingType(this.GetParameterType(0).StrippedType())) 623if (!MatchesContainingType(this.GetParameterType(0).StrippedType())) 670var parameterType = this.GetParameterType(0); 721if (!MatchesContainingType(this.GetParameterType(0).StrippedType())) 727else if (this.GetParameterType(1).StrippedType().SpecialType != SpecialType.System_Int32) 740if (!MatchesContainingType(this.GetParameterType(0).StrippedType()) && 741!MatchesContainingType(this.GetParameterType(1).StrippedType())) 752if (!IsSelfConstrainedTypeParameter(this.GetParameterType(0).StrippedType()) && 753!IsSelfConstrainedTypeParameter(this.GetParameterType(1).StrippedType()))