23 overrides of TypeArgumentsWithAnnotations
Microsoft.CodeAnalysis.CSharp (23)
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)
155
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
Symbols\Extensions\RewrittenMethodSymbol.cs (1)
37
public sealed 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)
354
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)
131
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
{ get { throw ExceptionUtilities.Unreachable(); } }
Symbols\Source\LambdaSymbol.cs (1)
188
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
Symbols\Source\LocalFunctionSymbol.cs (1)
315
public override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
=> GetTypeParametersAsTypeArguments();
Symbols\Source\SourceMemberMethodSymbol.cs (1)
826
public sealed override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotations
Symbols\SubstitutedMethodSymbol.cs (1)
134
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)
226
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)
239
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
36 references to TypeArgumentsWithAnnotations
Microsoft.CodeAnalysis.CSharp (27)
Binder\Binder.ValueChecks.cs (1)
110
ConstructIfGeneric(method.ContainingType.TypeArgumentsWithAnnotationsNoUseSiteDiagnostics.Concat(method.
TypeArgumentsWithAnnotations
));
Binder\Binder_Conversions.cs (1)
637
TypeArgumentsWithAnnotations
: [{ } typeArgument],
Binder\Semantics\OverloadResolution\OverloadResolution.cs (2)
4378
? method.ContainingType.TypeArgumentsWithAnnotationsNoUseSiteDiagnostics.Concat(method.
TypeArgumentsWithAnnotations
)
4379
: 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 (1)
8752
result = resultMethod.Construct(((MethodSymbol)symbol).
TypeArgumentsWithAnnotations
);
Lowering\BoundTreeToDifferentEnclosingContextRewriter.cs (1)
232
.ConstructIfGeneric(TypeMap.SubstituteTypes(method.
TypeArgumentsWithAnnotations
));
Lowering\ClosureConversion\ClosureConversion.cs (1)
941
SubstituteTypeArguments(localFunc.
TypeArgumentsWithAnnotations
),
Lowering\ExtensionMethodBodyRewriter.cs (1)
161
return ((MethodSymbol)_symbolMap[symbol.OriginalDefinition]).ConstructIfGeneric(TypeMap.SubstituteTypes(symbol.
TypeArgumentsWithAnnotations
));
Lowering\ExtensionMethodReferenceRewriter.cs (1)
159
ConstructIfGeneric(method.ContainingType.TypeArgumentsWithAnnotationsNoUseSiteDiagnostics.Concat(method.
TypeArgumentsWithAnnotations
));
Lowering\Instrumentation\ModuleCancellationInstrumenter.cs (1)
216
return (result.Arity > 0) ? result.Construct(method.
TypeArgumentsWithAnnotations
) : result;
Lowering\LocalRewriter\DelegateCacheRewriter.cs (1)
228
foreach (var typeArgument in method.
TypeArgumentsWithAnnotations
)
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
171
typeArgumentsBuilder.AddRange(method.
TypeArgumentsWithAnnotations
);
Lowering\MethodToClassRewriter.cs (1)
142
var typeArgs = methodBeingCalled.
TypeArgumentsWithAnnotations
;
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
292
var frameType = method.IsGenericMethod ? stateMachineType.Construct(method.
TypeArgumentsWithAnnotations
, unbound: false) : stateMachineType;
Symbols\ConstraintsHelper.cs (1)
874
method.
TypeArgumentsWithAnnotations
,
Symbols\MemberSymbolExtensions.cs (1)
579
return ((MethodSymbol)symbol).
TypeArgumentsWithAnnotations
.SelectAsArray(TypeMap.AsTypeSymbol);
Symbols\MethodSymbol.cs (1)
478
return m.IsGenericMethod ? m.Construct(this.
TypeArgumentsWithAnnotations
) : m;
Symbols\PublicModel\MethodSymbol.cs (2)
106
static underlying => underlying.
TypeArgumentsWithAnnotations
.GetPublicSymbols(),
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)
460
if (!this.TypeArgumentsWithAnnotations[i].Equals(other.
TypeArgumentsWithAnnotations
[i], compareKind))
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
CodeGen\CodeGenTupleTest.cs (1)
12860
Assert.True(m1ToString.
TypeArgumentsWithAnnotations
.IsEmpty);
Emit\EmitMetadataTests.cs (1)
638
Assert.Equal(0, cctor.
TypeArgumentsWithAnnotations
.Length);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (6)
Symbols\CompilationCreationTests.cs (3)
2387
Assert.Equal(0, foo2.
TypeArgumentsWithAnnotations
.Length);
2400
Assert.Equal(1, foo3.
TypeArgumentsWithAnnotations
.Length);
2401
Assert.Same(foo3TypeParams[0], foo3.
TypeArgumentsWithAnnotations
[0].Type);
Symbols\Metadata\MetadataMemberTests.cs (2)
224
Assert.Equal(0, member1.
TypeArgumentsWithAnnotations
.Length);
330
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
);