26 overrides of TypeArgumentsWithAnnotations
Microsoft.CodeAnalysis.CSharp (22)
Lowering\IteratorRewriter\IteratorFinallyMethodSymbol.cs (1)
154
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.SynthesizedMethodBase.cs (1)
108
public sealed override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
Symbols\ErrorMethodSymbol.cs (1)
153
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (1)
820
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
=> ImmutableArray<TypeWithAnnotations>.Empty;
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
918
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
=> IsGenericMethod ? GetTypeParametersAsTypeArguments() : ImmutableArray<TypeWithAnnotations>.Empty;
Symbols\NativeIntegerTypeSymbol.cs (1)
329
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
=> ImmutableArray<TypeWithAnnotations>.Empty;
Symbols\ReducedExtensionMethodSymbol.cs (1)
283
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
Symbols\Retargeting\RetargetingMethodSymbol.cs (1)
114
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
Symbols\SignatureOnlyMethodSymbol.cs (1)
123
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
{ get { throw ExceptionUtilities.Unreachable(); } }
Symbols\Source\LambdaSymbol.cs (1)
184
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
Symbols\Source\LocalFunctionSymbol.cs (1)
277
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
=> GetTypeParametersAsTypeArguments();
Symbols\Source\SourceMemberMethodSymbol.cs (1)
693
public sealed override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
Symbols\SubstitutedMethodSymbol.cs (1)
133
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
Symbols\Synthesized\SynthesizedDelegateSymbol.cs (1)
171
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (1)
125
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
Symbols\Synthesized\SynthesizedGlobalMethodSymbol.cs (1)
218
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
Symbols\Synthesized\SynthesizedImplementationMethod.cs (1)
91
public sealed override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
Symbols\Synthesized\SynthesizedInstanceConstructor.cs (1)
168
public sealed override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
Symbols\Synthesized\SynthesizedInteractiveInitializerMethod.cs (1)
158
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
Symbols\Synthesized\SynthesizedIntrinsicOperatorSymbol.cs (1)
238
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
Symbols\Synthesized\SynthesizedSealedPropertyAccessor.cs (1)
201
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
Symbols\Synthesized\SynthesizedStaticConstructor.cs (1)
157
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (4)
Symbols\EECompilationContextMethod.cs (1)
51
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
Symbols\EEMethodSymbol.cs (1)
342
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
Symbols\PlaceholderMethodSymbol.cs (1)
175
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
Symbols\SynthesizedContextMethodSymbol.cs (1)
144
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
32 references to TypeArgumentsWithAnnotations
Microsoft.CodeAnalysis.CSharp (21)
Emitter\Model\GenericMethodInstanceReference.cs (1)
34
foreach (var arg in UnderlyingMethod.
TypeArgumentsWithAnnotations
)
Emitter\Model\MethodSymbolAdapter.cs (1)
258
foreach (var arg in AdaptedMethodSymbol.
TypeArgumentsWithAnnotations
)
Emitter\Model\SpecializedGenericMethodInstanceReference.cs (1)
35
foreach (var arg in UnderlyingMethod.
TypeArgumentsWithAnnotations
)
FlowAnalysis\NullableWalker.cs (3)
6072
if (node is BoundCollectionElementInitializer { AddMethod: {
TypeArgumentsWithAnnotations
: { IsEmpty: false } } })
6077
if (node is BoundForEachStatement { EnumeratorInfoOpt: { GetEnumeratorInfo: { Method: {
TypeArgumentsWithAnnotations
: { IsEmpty: false } } } } })
7414
result = resultMethod.Construct(((MethodSymbol)symbol).
TypeArgumentsWithAnnotations
);
Lowering\ClosureConversion\ClosureConversion.cs (1)
921
SubstituteTypeArguments(localFunc.
TypeArgumentsWithAnnotations
),
Lowering\LocalRewriter\DelegateCacheRewriter.cs (1)
214
foreach (var typeArgument in method.
TypeArgumentsWithAnnotations
)
Lowering\MethodToClassRewriter.cs (2)
328
var typeArgs = methodBeingCalled.
TypeArgumentsWithAnnotations
;
645
.ConstructIfGeneric(TypeMap.SubstituteTypes(method.
TypeArgumentsWithAnnotations
));
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
287
var frameType = method.IsGenericMethod ? stateMachineType.Construct(method.
TypeArgumentsWithAnnotations
, unbound: false) : stateMachineType;
Symbols\ConstraintsHelper.cs (1)
812
method.
TypeArgumentsWithAnnotations
,
Symbols\MemberSymbolExtensions.cs (1)
345
return ((MethodSymbol)symbol).
TypeArgumentsWithAnnotations
.SelectAsArray(TypeMap.AsTypeSymbol);
Symbols\MethodSymbol.cs (1)
472
return m.IsGenericMethod ? m.Construct(this.
TypeArgumentsWithAnnotations
) : m;
Symbols\PublicModel\MethodSymbol.cs (2)
106
ImmutableInterlocked.InterlockedCompareExchange(ref _lazyTypeArguments, _underlying.
TypeArgumentsWithAnnotations
.GetPublicSymbols(), default);
114
_underlying.
TypeArgumentsWithAnnotations
.ToPublicAnnotations();
Symbols\ReducedExtensionMethodSymbol.cs (3)
87
Debug.Assert(!method.
TypeArgumentsWithAnnotations
.IsEmpty);
88
return reducedMethod.Construct(method.
TypeArgumentsWithAnnotations
);
101
_typeArguments = _typeMap.SubstituteTypes(reducedFrom.
TypeArgumentsWithAnnotations
);
Symbols\Source\CustomModifierUtils.cs (1)
40
MethodSymbol constructedSourceMethod = sourceMethod.ConstructIfGeneric(destinationMethod.
TypeArgumentsWithAnnotations
);
Symbols\SubstitutedMethodSymbol.cs (1)
453
if (!this.TypeArgumentsWithAnnotations[i].Equals(other.
TypeArgumentsWithAnnotations
[i], compareKind))
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
CodeGen\CodeGenTupleTest.cs (1)
12866
Assert.True(m1ToString.
TypeArgumentsWithAnnotations
.IsEmpty);
Emit\EmitMetadataTests.cs (1)
637
Assert.Equal(0, cctor.
TypeArgumentsWithAnnotations
.Length);
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (1)
CompilationContext.cs (1)
960
binder = new WithTypeArgumentsBinder(substitutedSourceMethod.
TypeArgumentsWithAnnotations
, binder);
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler.UnitTests (1)
ExpressionCompilerTestBase.cs (1)
395
AssertEx.All(method.
TypeArgumentsWithAnnotations
, typeArgument => method.IsContainingSymbolOfAllTypeParameters(typeArgument.Type));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (6)
Symbols\CompilationCreationTests.cs (3)
2386
Assert.Equal(0, foo2.
TypeArgumentsWithAnnotations
.Length);
2399
Assert.Equal(1, foo3.
TypeArgumentsWithAnnotations
.Length);
2400
Assert.Same(foo3TypeParams[0], foo3.
TypeArgumentsWithAnnotations
[0].Type);
Symbols\Metadata\MetadataMemberTests.cs (2)
224
Assert.Equal(0, member1.
TypeArgumentsWithAnnotations
.Length);
328
Assert.Equal(0, member1.
TypeArgumentsWithAnnotations
.Length);
Symbols\Metadata\PE\LoadingMethods.cs (1)
163
Assert.Equal(0, basicC1_M12.
TypeArgumentsWithAnnotations
.Length);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
FunctionPointerUtilities.cs (1)
98
Assert.Empty(symbol.
TypeArgumentsWithAnnotations
);