22 overrides of TypeArgumentsWithAnnotations
Microsoft.CodeAnalysis.CSharp (22)
Lowering\IteratorRewriter\IteratorFinallyMethodSymbol.cs (1)
154public override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.SynthesizedMethodBase.cs (1)
108public sealed override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations
Symbols\ErrorMethodSymbol.cs (1)
153public override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (1)
836public override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations => ImmutableArray<TypeWithAnnotations>.Empty;
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
961public override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations => IsGenericMethod ? GetTypeParametersAsTypeArguments() : ImmutableArray<TypeWithAnnotations>.Empty;
Symbols\NativeIntegerTypeSymbol.cs (1)
349public override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations => ImmutableArray<TypeWithAnnotations>.Empty;
Symbols\ReducedExtensionMethodSymbol.cs (1)
291public override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations
Symbols\Retargeting\RetargetingMethodSymbol.cs (1)
114public override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations
Symbols\SignatureOnlyMethodSymbol.cs (1)
129public override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations { get { throw ExceptionUtilities.Unreachable(); } }
Symbols\Source\LambdaSymbol.cs (1)
187public override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations
Symbols\Source\LocalFunctionSymbol.cs (1)
309public override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations => GetTypeParametersAsTypeArguments();
Symbols\Source\SourceMemberMethodSymbol.cs (1)
798public sealed override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations
Symbols\SubstitutedMethodSymbol.cs (1)
133public override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations
Symbols\Synthesized\SynthesizedDelegateSymbol.cs (1)
171public override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (1)
125public override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations
Symbols\Synthesized\SynthesizedGlobalMethodSymbol.cs (1)
224public override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations
Symbols\Synthesized\SynthesizedImplementationMethod.cs (1)
91public sealed override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations
Symbols\Synthesized\SynthesizedInstanceConstructor.cs (1)
168public sealed override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations
Symbols\Synthesized\SynthesizedInteractiveInitializerMethod.cs (1)
158public override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations
Symbols\Synthesized\SynthesizedIntrinsicOperatorSymbol.cs (1)
238public override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations
Symbols\Synthesized\SynthesizedSealedPropertyAccessor.cs (1)
201public override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations
Symbols\Synthesized\SynthesizedStaticConstructor.cs (1)
157public override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations
24 references to TypeArgumentsWithAnnotations
Microsoft.CodeAnalysis.CSharp (24)
Binder\Binder_Conversions.cs (1)
637TypeArgumentsWithAnnotations: [{ } typeArgument],
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
4184typeArguments = method.TypeArgumentsWithAnnotations;
Emitter\Model\GenericMethodInstanceReference.cs (1)
34foreach (var arg in UnderlyingMethod.TypeArgumentsWithAnnotations)
Emitter\Model\MethodSymbolAdapter.cs (1)
253foreach (var arg in AdaptedMethodSymbol.TypeArgumentsWithAnnotations)
Emitter\Model\SpecializedGenericMethodInstanceReference.cs (1)
35foreach (var arg in UnderlyingMethod.TypeArgumentsWithAnnotations)
FlowAnalysis\NullableWalker.cs (3)
6677if (node is BoundCollectionElementInitializer { AddMethod: { TypeArgumentsWithAnnotations: { IsEmpty: false } } }) 6682if (node is BoundForEachStatement { EnumeratorInfoOpt: { GetEnumeratorInfo: { Method: { TypeArgumentsWithAnnotations: { IsEmpty: false } } } } }) 8257result = resultMethod.Construct(((MethodSymbol)symbol).TypeArgumentsWithAnnotations);
Lowering\ClosureConversion\ClosureConversion.cs (1)
936SubstituteTypeArguments(localFunc.TypeArgumentsWithAnnotations),
Lowering\Instrumentation\ModuleCancellationInstrumenter.cs (1)
216return (result.Arity > 0) ? result.Construct(method.TypeArgumentsWithAnnotations) : result;
Lowering\LocalRewriter\DelegateCacheRewriter.cs (1)
214foreach (var typeArgument in method.TypeArgumentsWithAnnotations)
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
159typeArgumentsBuilder.AddRange(method.TypeArgumentsWithAnnotations);
Lowering\MethodToClassRewriter.cs (2)
333var typeArgs = methodBeingCalled.TypeArgumentsWithAnnotations; 649.ConstructIfGeneric(TypeMap.SubstituteTypes(method.TypeArgumentsWithAnnotations));
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
288var frameType = method.IsGenericMethod ? stateMachineType.Construct(method.TypeArgumentsWithAnnotations, unbound: false) : stateMachineType;
Symbols\ConstraintsHelper.cs (1)
866method.TypeArgumentsWithAnnotations,
Symbols\MemberSymbolExtensions.cs (1)
345return ((MethodSymbol)symbol).TypeArgumentsWithAnnotations.SelectAsArray(TypeMap.AsTypeSymbol);
Symbols\MethodSymbol.cs (1)
476return m.IsGenericMethod ? m.Construct(this.TypeArgumentsWithAnnotations) : m;
Symbols\PublicModel\MethodSymbol.cs (1)
112_underlying.TypeArgumentsWithAnnotations.ToPublicAnnotations();
Symbols\ReducedExtensionMethodSymbol.cs (3)
87Debug.Assert(!method.TypeArgumentsWithAnnotations.IsEmpty); 88return reducedMethod.Construct(method.TypeArgumentsWithAnnotations); 101_typeArguments = _typeMap.SubstituteTypes(reducedFrom.TypeArgumentsWithAnnotations);
Symbols\Source\CustomModifierUtils.cs (1)
40MethodSymbol constructedSourceMethod = sourceMethod.ConstructIfGeneric(destinationMethod.TypeArgumentsWithAnnotations);
Symbols\SubstitutedMethodSymbol.cs (1)
454if (!this.TypeArgumentsWithAnnotations[i].Equals(other.TypeArgumentsWithAnnotations[i], compareKind))