60 references to ParameterTypesWithAnnotations
Microsoft.CodeAnalysis.CSharp (29)
Binder\Binder_Expressions.cs (1)
9192var parameterTypes = methodSymbol.ParameterTypesWithAnnotations;
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (2)
1727ExactInference(sourceSignature.ParameterTypesWithAnnotations[i], targetSignature.ParameterTypesWithAnnotations[i], ref useSiteInfo);
BoundTree\NullabilityRewriter.cs (1)
124updatedLambda = boundLambda.CreateLambdaSymbol(updatedContaining, lambda.ReturnTypeWithAnnotations, lambda.ParameterTypesWithAnnotations, lambda.ParameterRefKinds, lambda.RefKind);
Compiler\ClsComplianceChecker.cs (4)
276foreach (var paramType in constructor.ParameterTypesWithAnnotations) // Public caller would select type out of parameters. 630foreach (var type in attribute.AttributeConstructor.ParameterTypesWithAnnotations) 1326xParameterTypes = mX.ParameterTypesWithAnnotations; 1330yParameterTypes = mY.ParameterTypesWithAnnotations;
FlowAnalysis\NullableWalker.cs (1)
3601var parameterType = constructor.ParameterTypesWithAnnotations[0];
Lowering\LocalRewriter\LocalRewriter.cs (1)
354predicate(localFunction.ReturnTypeWithAnnotations) || localFunction.ParameterTypesWithAnnotations.Any(predicate);
Symbols\AbstractTypeMap.cs (1)
244var parameterTypesWithAnnotations = f.Signature.ParameterTypesWithAnnotations;
Symbols\ConversionSignatureComparer.cs (2)
52&& member1.ParameterTypesWithAnnotations[0].Equals(member2.ParameterTypesWithAnnotations[0], TypeCompareKind.IgnoreDynamicAndTupleNames | TypeCompareKind.IgnoreNullableModifiersForReferenceTypes)
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (3)
384mergedParameterTypes = ParameterTypesWithAnnotations; 424transformedParameterTypes = ParameterTypesWithAnnotations; 622newParamTypes = ParameterTypesWithAnnotations;
Symbols\MemberSymbolExtensions.cs (1)
56return ((MethodSymbol)member).ParameterTypesWithAnnotations;
Symbols\Metadata\PE\DynamicTypeDecoder.cs (1)
379transformedParameters = paramsTransformed ? paramsBuilder.ToImmutable() : sig.ParameterTypesWithAnnotations;
Symbols\Metadata\PE\NativeIntegerTypeDecoder.cs (1)
204transformedParameterTypes = type.Signature.ParameterTypesWithAnnotations;
Symbols\Metadata\PE\TupleTypeDecoder.cs (1)
233parameterTypes = type.Signature.ParameterTypesWithAnnotations;
Symbols\MethodSymbol.cs (1)
896internal TypeSymbol GetParameterType(int index) => ParameterTypesWithAnnotations[index].Type;
Symbols\Retargeting\RetargetingSymbolTranslator.cs (1)
795newParameterTypes = signature.ParameterTypesWithAnnotations;
Symbols\Source\LambdaSymbol.cs (2)
379&& ParameterTypesWithAnnotations.SequenceEqual(lambda.ParameterTypesWithAnnotations, compareKind,
Symbols\Source\SourceMemberContainerSymbol.cs (2)
2448if (!op1.ParameterTypesWithAnnotations[p].Equals(op2.ParameterTypesWithAnnotations[p], TypeCompareKind.AllIgnoreOptions))
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
790? ((MethodSymbol)overridingMember).ParameterTypesWithAnnotations
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
1145ParameterTypesWithAnnotations.Any(static (p, cancellationTokenType) => p.Type.Equals(cancellationTokenType), cancellationTokenType))
Symbols\TypeSymbolExtensions.cs (1)
1976paramTypes = funcPtrType.Signature.ParameterTypesWithAnnotations;
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (4)
CodeGen\CodeGenFunctionPointersTests.cs (4)
143var funcPtr = m.ParameterTypesWithAnnotations[0].Type; 167var funcPtr = m.ParameterTypesWithAnnotations[0].Type; 699var paramModifiers = param.Signature.ParameterTypesWithAnnotations[0].CustomModifiers; 2544Assert.Equal(i2, returnType.Signature.ParameterTypesWithAnnotations[0].Type);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Attributes\AttributeTests_Tuples.cs (1)
280foreach (var parameterType in methodSymbol.ParameterTypesWithAnnotations)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\OperatorTests.cs (2)
6933OfType<MethodSymbol>().Single(m => m.ParameterTypesWithAnnotations[0].Equals(m.ParameterTypesWithAnnotations[1], TypeCompareKind.ConsiderEverything));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (20)
DocumentationComments\CrefTests.cs (4)
2412Single(method => method.ParameterTypesWithAnnotations.Single().SpecialType == SpecialType.System_Int32); 2597Single(method => method.ParameterTypesWithAnnotations.First().SpecialType == SpecialType.System_Int32); 2805Single(method => method.ParameterTypesWithAnnotations.Single().SpecialType == SpecialType.System_Int32); 2841Single(method => method.ParameterTypesWithAnnotations.Single().SpecialType == SpecialType.System_Int32 && method.ReturnType.SpecialType == SpecialType.System_Int32);
Symbols\Source\CustomModifierCopyTests.cs (4)
778Assert.Equal(SpecialType.System_Object, interfaceMethod.ParameterTypesWithAnnotations.Single().SpecialType); 779Assert.Equal(TypeKind.Dynamic, classMethod.ParameterTypesWithAnnotations.Single().Type.TypeKind); 822Assert.Equal(TypeKind.Dynamic, interfaceMethod.ParameterTypesWithAnnotations.Single().Type.TypeKind); 823Assert.Equal(SpecialType.System_Object, classMethod.ParameterTypesWithAnnotations.Single().SpecialType);
Symbols\Source\EventTests.cs (12)
354Assert.Equal(1, e1.AddMethod.ParameterTypesWithAnnotations.Length); 355Assert.Equal("System.Action<dynamic>", e1.AddMethod.ParameterTypesWithAnnotations[0].ToTestDisplayString()); 357Assert.Equal(1, e1.RemoveMethod.ParameterTypesWithAnnotations.Length); 358Assert.Equal("System.Action<dynamic>", e1.RemoveMethod.ParameterTypesWithAnnotations[0].ToTestDisplayString()); 360Assert.Equal(1, e2.AddMethod.ParameterTypesWithAnnotations.Length); 361Assert.Equal("System.Action<dynamic>", e2.AddMethod.ParameterTypesWithAnnotations[0].ToTestDisplayString()); 363Assert.Equal(1, e2.RemoveMethod.ParameterTypesWithAnnotations.Length); 364Assert.Equal("System.Action<dynamic>", e2.RemoveMethod.ParameterTypesWithAnnotations[0].ToTestDisplayString()); 2269Assert.Equal(baseEventType, event1.AddMethod.ParameterTypesWithAnnotations.Single().Type); 2270Assert.Equal(baseEventType, event1.RemoveMethod.ParameterTypesWithAnnotations.Single().Type); 2276Assert.Equal(baseEventType, event2.AddMethod.ParameterTypesWithAnnotations.Single().Type); 2277Assert.Equal(baseEventType, event2.RemoveMethod.ParameterTypesWithAnnotations.Single().Type);
Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests (4)
Metadata\WinMdEventTests.cs (4)
3583Assert.Equal(eventType.Type, addMethod.ParameterTypesWithAnnotations.Single().Type); 3589Assert.Equal(tokenType, removeMethod.ParameterTypesWithAnnotations.Single().Type); 3614Assert.Equal(eventType, addMethod.ParameterTypesWithAnnotations.Single().Type); 3620Assert.Equal(eventType, removeMethod.ParameterTypesWithAnnotations.Single().Type);