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