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