26 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)
820public override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations => ImmutableArray<TypeWithAnnotations>.Empty;
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
918public override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations => IsGenericMethod ? GetTypeParametersAsTypeArguments() : ImmutableArray<TypeWithAnnotations>.Empty;
Symbols\NativeIntegerTypeSymbol.cs (1)
329public override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations => ImmutableArray<TypeWithAnnotations>.Empty;
Symbols\ReducedExtensionMethodSymbol.cs (1)
283public override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations
Symbols\Retargeting\RetargetingMethodSymbol.cs (1)
114public override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations
Symbols\SignatureOnlyMethodSymbol.cs (1)
123public override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations { get { throw ExceptionUtilities.Unreachable(); } }
Symbols\Source\LambdaSymbol.cs (1)
184public override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations
Symbols\Source\LocalFunctionSymbol.cs (1)
277public override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations => GetTypeParametersAsTypeArguments();
Symbols\Source\SourceMemberMethodSymbol.cs (1)
693public 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)
218public 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
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (4)
Symbols\EECompilationContextMethod.cs (1)
51public override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations
Symbols\EEMethodSymbol.cs (1)
342public override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations
Symbols\PlaceholderMethodSymbol.cs (1)
175public override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations
Symbols\SynthesizedContextMethodSymbol.cs (1)
144public override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations
32 references to TypeArgumentsWithAnnotations
Microsoft.CodeAnalysis.CSharp (21)
Emitter\Model\GenericMethodInstanceReference.cs (1)
34foreach (var arg in UnderlyingMethod.TypeArgumentsWithAnnotations)
Emitter\Model\MethodSymbolAdapter.cs (1)
258foreach (var arg in AdaptedMethodSymbol.TypeArgumentsWithAnnotations)
Emitter\Model\SpecializedGenericMethodInstanceReference.cs (1)
35foreach (var arg in UnderlyingMethod.TypeArgumentsWithAnnotations)
FlowAnalysis\NullableWalker.cs (3)
6072if (node is BoundCollectionElementInitializer { AddMethod: { TypeArgumentsWithAnnotations: { IsEmpty: false } } }) 6077if (node is BoundForEachStatement { EnumeratorInfoOpt: { GetEnumeratorInfo: { Method: { TypeArgumentsWithAnnotations: { IsEmpty: false } } } } }) 7414result = resultMethod.Construct(((MethodSymbol)symbol).TypeArgumentsWithAnnotations);
Lowering\ClosureConversion\ClosureConversion.cs (1)
921SubstituteTypeArguments(localFunc.TypeArgumentsWithAnnotations),
Lowering\LocalRewriter\DelegateCacheRewriter.cs (1)
214foreach (var typeArgument in method.TypeArgumentsWithAnnotations)
Lowering\MethodToClassRewriter.cs (2)
328var typeArgs = methodBeingCalled.TypeArgumentsWithAnnotations; 645.ConstructIfGeneric(TypeMap.SubstituteTypes(method.TypeArgumentsWithAnnotations));
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
287var frameType = method.IsGenericMethod ? stateMachineType.Construct(method.TypeArgumentsWithAnnotations, unbound: false) : stateMachineType;
Symbols\ConstraintsHelper.cs (1)
812method.TypeArgumentsWithAnnotations,
Symbols\MemberSymbolExtensions.cs (1)
345return ((MethodSymbol)symbol).TypeArgumentsWithAnnotations.SelectAsArray(TypeMap.AsTypeSymbol);
Symbols\MethodSymbol.cs (1)
472return m.IsGenericMethod ? m.Construct(this.TypeArgumentsWithAnnotations) : m;
Symbols\PublicModel\MethodSymbol.cs (2)
106ImmutableInterlocked.InterlockedCompareExchange(ref _lazyTypeArguments, _underlying.TypeArgumentsWithAnnotations.GetPublicSymbols(), default); 114_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)
453if (!this.TypeArgumentsWithAnnotations[i].Equals(other.TypeArgumentsWithAnnotations[i], compareKind))
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
CodeGen\CodeGenTupleTest.cs (1)
12866Assert.True(m1ToString.TypeArgumentsWithAnnotations.IsEmpty);
Emit\EmitMetadataTests.cs (1)
637Assert.Equal(0, cctor.TypeArgumentsWithAnnotations.Length);
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (1)
CompilationContext.cs (1)
960binder = new WithTypeArgumentsBinder(substitutedSourceMethod.TypeArgumentsWithAnnotations, binder);
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler.UnitTests (1)
ExpressionCompilerTestBase.cs (1)
395AssertEx.All(method.TypeArgumentsWithAnnotations, typeArgument => method.IsContainingSymbolOfAllTypeParameters(typeArgument.Type));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (6)
Symbols\CompilationCreationTests.cs (3)
2386Assert.Equal(0, foo2.TypeArgumentsWithAnnotations.Length); 2399Assert.Equal(1, foo3.TypeArgumentsWithAnnotations.Length); 2400Assert.Same(foo3TypeParams[0], foo3.TypeArgumentsWithAnnotations[0].Type);
Symbols\Metadata\MetadataMemberTests.cs (2)
224Assert.Equal(0, member1.TypeArgumentsWithAnnotations.Length); 328Assert.Equal(0, member1.TypeArgumentsWithAnnotations.Length);
Symbols\Metadata\PE\LoadingMethods.cs (1)
163Assert.Equal(0, basicC1_M12.TypeArgumentsWithAnnotations.Length);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
FunctionPointerUtilities.cs (1)
98Assert.Empty(symbol.TypeArgumentsWithAnnotations);