28 references to GetParameterType
Microsoft.CodeAnalysis.CSharp (28)
Binder\Semantics\Conversions\UserDefinedExplicitConversions.cs (1)
272TypeSymbol convertsFrom = op.GetParameterType(0);
Binder\Semantics\Conversions\UserDefinedImplicitConversions.cs (2)
300TypeSymbol convertsFrom = op.GetParameterType(0); 415if (!TypeSymbol.Equals(conv.FromType, conv.Operator.GetParameterType(0), TypeCompareKind.ConsiderEverything2))
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (4)
972TypeSymbol leftOperandType = op.GetParameterType(0); 973TypeSymbol rightOperandType = op.GetParameterType(1); 987TypeSymbol leftOperandType = op.GetParameterType(0); 988TypeSymbol rightOperandType = op.GetParameterType(1);
Binder\Semantics\Operators\UnaryOperatorOverloadResolution.cs (2)
528TypeSymbol operandType = op.GetParameterType(0); 557TypeSymbol 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()))