22 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)
836
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
=> ImmutableArray<TypeWithAnnotations>.Empty;
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
961
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
=> IsGenericMethod ? GetTypeParametersAsTypeArguments() : ImmutableArray<TypeWithAnnotations>.Empty;
Symbols\NativeIntegerTypeSymbol.cs (1)
349
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
=> ImmutableArray<TypeWithAnnotations>.Empty;
Symbols\ReducedExtensionMethodSymbol.cs (1)
291
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
Symbols\Retargeting\RetargetingMethodSymbol.cs (1)
114
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
Symbols\SignatureOnlyMethodSymbol.cs (1)
129
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
{ get { throw ExceptionUtilities.Unreachable(); } }
Symbols\Source\LambdaSymbol.cs (1)
187
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
Symbols\Source\LocalFunctionSymbol.cs (1)
309
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
=> GetTypeParametersAsTypeArguments();
Symbols\Source\SourceMemberMethodSymbol.cs (1)
798
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)
224
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
24 references to TypeArgumentsWithAnnotations
Microsoft.CodeAnalysis.CSharp (24)
Binder\Binder_Conversions.cs (1)
637
TypeArgumentsWithAnnotations
: [{ } typeArgument],
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
4184
typeArguments = method.
TypeArgumentsWithAnnotations
;
Emitter\Model\GenericMethodInstanceReference.cs (1)
34
foreach (var arg in UnderlyingMethod.
TypeArgumentsWithAnnotations
)
Emitter\Model\MethodSymbolAdapter.cs (1)
253
foreach (var arg in AdaptedMethodSymbol.
TypeArgumentsWithAnnotations
)
Emitter\Model\SpecializedGenericMethodInstanceReference.cs (1)
35
foreach (var arg in UnderlyingMethod.
TypeArgumentsWithAnnotations
)
FlowAnalysis\NullableWalker.cs (3)
6677
if (node is BoundCollectionElementInitializer { AddMethod: {
TypeArgumentsWithAnnotations
: { IsEmpty: false } } })
6682
if (node is BoundForEachStatement { EnumeratorInfoOpt: { GetEnumeratorInfo: { Method: {
TypeArgumentsWithAnnotations
: { IsEmpty: false } } } } })
8257
result = resultMethod.Construct(((MethodSymbol)symbol).
TypeArgumentsWithAnnotations
);
Lowering\ClosureConversion\ClosureConversion.cs (1)
936
SubstituteTypeArguments(localFunc.
TypeArgumentsWithAnnotations
),
Lowering\Instrumentation\ModuleCancellationInstrumenter.cs (1)
216
return (result.Arity > 0) ? result.Construct(method.
TypeArgumentsWithAnnotations
) : result;
Lowering\LocalRewriter\DelegateCacheRewriter.cs (1)
214
foreach (var typeArgument in method.
TypeArgumentsWithAnnotations
)
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
159
typeArgumentsBuilder.AddRange(method.
TypeArgumentsWithAnnotations
);
Lowering\MethodToClassRewriter.cs (2)
333
var typeArgs = methodBeingCalled.
TypeArgumentsWithAnnotations
;
649
.ConstructIfGeneric(TypeMap.SubstituteTypes(method.
TypeArgumentsWithAnnotations
));
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
288
var frameType = method.IsGenericMethod ? stateMachineType.Construct(method.
TypeArgumentsWithAnnotations
, unbound: false) : stateMachineType;
Symbols\ConstraintsHelper.cs (1)
866
method.
TypeArgumentsWithAnnotations
,
Symbols\MemberSymbolExtensions.cs (1)
345
return ((MethodSymbol)symbol).
TypeArgumentsWithAnnotations
.SelectAsArray(TypeMap.AsTypeSymbol);
Symbols\MethodSymbol.cs (1)
476
return m.IsGenericMethod ? m.Construct(this.
TypeArgumentsWithAnnotations
) : m;
Symbols\PublicModel\MethodSymbol.cs (1)
112
_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)
454
if (!this.TypeArgumentsWithAnnotations[i].Equals(other.
TypeArgumentsWithAnnotations
[i], compareKind))