17 overrides of TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
Microsoft.CodeAnalysis.CSharp (17)
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (1)
95
internal sealed override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeOrDelegateTemplateSymbol.cs (1)
250
internal sealed override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
Symbols\ConstructedNamedTypeSymbol.cs (2)
33
internal override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
88
internal override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
Symbols\ErrorTypeSymbol.cs (1)
299
internal override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
1636
internal override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
Symbols\NativeIntegerTypeSymbol.cs (1)
44
internal override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
=> ImmutableArray<TypeWithAnnotations>.Empty;
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
84
internal override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
Symbols\Source\ImplicitNamedTypeSymbol.cs (1)
91
internal override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
Symbols\Source\SourceNamedTypeSymbol.cs (1)
735
internal sealed override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorTypeSymbol.cs (1)
160
internal override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
=> GetTypeParametersAsTypeArguments();
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (1)
837
internal override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
=> GetTypeParametersAsTypeArguments();
Symbols\Synthesized\SynthesizedContainer.cs (1)
98
internal override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
Symbols\Synthesized\SynthesizedEmbeddedAttributeSymbol.cs (1)
98
internal override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
=> ImmutableArray<TypeWithAnnotations>.Empty;
Symbols\Synthesized\SynthesizedHotReloadExceptionSymbol.cs (1)
102
internal override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
=> [];
Symbols\Synthesized\SynthesizedInlineArrayTypeSymbol.cs (1)
85
internal override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
=> GetTypeParametersAsTypeArguments();
Symbols\Synthesized\SynthesizedPrivateImplementationDetailsType.cs (1)
74
internal override ImmutableArray<TypeWithAnnotations>
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
=> ImmutableArray<TypeWithAnnotations>.Empty;
106 references to TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
Microsoft.CodeAnalysis.CSharp (106)
Binder\Binder.ValueChecks.cs (1)
4550
if (LocalRewriter.ShouldUseRuntimeHelpersCreateSpan(expr, ((NamedTypeSymbol)parameter.Type).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0].Type))
Binder\Binder_Conversions.cs (8)
538
.Construct([((NamedTypeSymbol)source.Type).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0]])
613
var sourceElementType = ((NamedTypeSymbol)source).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0].Type;
614
var destinationElementType = ((NamedTypeSymbol)destination).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0].Type;
646
((NamedTypeSymbol)parameter.Type).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0].Type.Equals(typeArgument.Type, TypeCompareKind.ConsiderEverything) &&
648
((NamedTypeSymbol)method.ReturnType).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0].Type.Equals(((NamedTypeSymbol)arg.destination).TypeParameters[0], TypeCompareKind.ConsiderEverything));
656
Debug.Assert(((NamedTypeSymbol)readOnlySpanType).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0].SpecialType is SpecialType.System_Char);
1064
elementType = parameterType.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0].Type;
1894
var spanTypeArg = ((NamedTypeSymbol)methodWithTargetTypeParameters.Parameters[0].Type).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0].Type;
Binder\Binder_Crefs.cs (1)
588
foreach (TypeWithAnnotations typeArgument in namedType.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
)
Binder\Binder_Operators.cs (1)
883
namedType.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
.Single().Type.SpecialType is SpecialType.System_Byte;
Binder\Binder_Statements.cs (1)
2063
conversionError(diagnostics, ErrorCode.ERR_ExpressionTreeMustHaveDelegate, ((NamedTypeSymbol)targetType).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0].Type);
Binder\ForEachLoopBinder.cs (1)
1077
builder.ElementTypeWithAnnotations = collectionType.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
.Single();
Binder\InMethodBinder.cs (2)
164
return ((NamedTypeSymbol)returnType).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0];
170
return ((NamedTypeSymbol)returnType).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0];
Binder\Semantics\Conversions\ConversionsBase.cs (2)
1605
var delegateType = type.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0].Type;
1713
elementType = namedType.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0];
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (3)
1739
return ((NamedTypeSymbol)type).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0];
1779
ExactOrBoundsInference(kind, ((NamedTypeSymbol)source.Type).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0], ((NamedTypeSymbol)target.Type).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0], ref useSiteInfo);
Binder\Semantics\OverloadResolution\OverloadResolution.cs (3)
3250
y = ((NamedTypeSymbol)y).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0].Type;
3469
return BetterConversionTargetCore(((NamedTypeSymbol)type1).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0].Type,
3470
((NamedTypeSymbol)type2).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0].Type,
BoundTree\BoundInlineArrayAccess.cs (1)
62
Debug.Assert(((NamedTypeSymbol)Type).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0].Equals(Expression.Type?.TryGetInlineArrayElementField()?.TypeWithAnnotations ?? default, TypeCompareKind.ConsiderEverything));
CodeGen\EmitStackAllocInitializer.cs (1)
29
: ((NamedTypeSymbol)type).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0]).Type;
Compilation\BuiltInOperators.cs (1)
693
Debug.Assert(((NamedTypeSymbol)readonlySpanOfByte).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
.Single().Type.SpecialType is SpecialType.System_Byte);
Compilation\CSharpCompilation.cs (1)
4422
=> IsReadOnlySpanType(type) && ((NamedTypeSymbol)type).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0].SpecialType == SpecialType.System_Byte;
Compiler\ClsComplianceChecker.cs (1)
1044
foreach (TypeWithAnnotations typeArg in type.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
)
DocumentationComments\DocumentationCommentIDVisitor.PartVisitor.cs (1)
201
foreach (var typeArgument in symbol.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
)
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (4)
626
Debug.Assert(type.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
.All(t => t.CustomModifiers.IsEmpty));
627
Debug.Assert(other.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
.All(t => t.CustomModifiers.IsEmpty));
629
return type.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
.SequenceEqual(other.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
, AreTypesEqual);
Emitter\Model\GenericTypeInstanceReference.cs (2)
30
Debug.Assert(!underlyingNamedType.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
.Any(static a => a.CustomModifiers.Any()));
42
foreach (TypeWithAnnotations type in UnderlyingNamedType.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
)
Emitter\Model\NamedTypeSymbolAdapter.cs (1)
871
var arguments = AdaptedNamedTypeSymbol.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
;
Emitter\Model\SpecializedGenericNestedTypeInstanceReference.cs (2)
29
Debug.Assert(!underlyingNamedType.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
.Any(static a => a.CustomModifiers.Any()));
41
foreach (TypeWithAnnotations type in UnderlyingNamedType.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
)
FlowAnalysis\NullableWalker.cs (2)
3003
type = ((NamedTypeSymbol)returnType.Type).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
.Single();
4666
return namedType.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0];
Lowering\AsyncRewriter\AsyncMethodBuilderMemberCollection.cs (1)
256
var resultType = returnType.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
.Single().Type;
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
733
var intermediate = nullable.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0].Type;
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (6)
201
var iCollectionOfElementType = iCollectionOfTType.Construct(((NamedTypeSymbol)targetEnumerableType).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
);
263
Debug.Assert(elementType.Equals(spanType.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0], TypeCompareKind.AllIgnoreOptions));
398
var elementType = collectionType.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
.Single();
468
var elementType = spanType.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0];
848
asSpanMethod = collectionsMarshalAsSpanMethod.Construct(namedType.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0].Type);
1084
var elementType = ((NamedTypeSymbol)spanTemp.Type).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0].Type;
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (4)
96
var byteType = ((NamedTypeSymbol)node.Type).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
.Single().Type;
611
createSpan = createSpan.Construct(rewrittenOperand.Type, spanType.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
.Single().Type);
668
TypeWithAnnotations sourceElementType = ((NamedTypeSymbol)sourceType).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0];
689
TypeWithAnnotations sourceElementType = ((NamedTypeSymbol)sourceType).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0];
Lowering\LocalRewriter\LocalRewriter_Field.cs (1)
89
currentLinkType = (NamedTypeSymbol)currentLinkType.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[NamedTypeSymbol.ValueTupleRestPosition - 1].Type;
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
439
return underlyingTypeSymbol.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
.SelectAsArray(a => a.CustomModifiers);
Symbols\AbstractTypeMap.cs (1)
60
ImmutableArray<TypeWithAnnotations> oldTypeArguments = previous.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
;
Symbols\AssemblySymbol.cs (1)
871
var length = symbol.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
.Length;
Symbols\Compilation_WellKnownMembers.cs (1)
1110
return named.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[argumentIndex].Type;
Symbols\ConstraintsHelper.cs (1)
847
type.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
,
Symbols\MemberSymbolExtensions.cs (1)
348
return ((NamedTypeSymbol)symbol).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
.SelectAsArray(TypeMap.AsTypeSymbol);
Symbols\Metadata\PE\DynamicTypeDecoder.cs (1)
242
ImmutableArray<TypeWithAnnotations> typeArguments = namedType.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
;
Symbols\Metadata\PE\MetadataDecoder.cs (1)
250
var arguments = namedType.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
;
Symbols\Metadata\PE\PEEventSymbol.cs (1)
170
TypeSymbol.Equals(_eventTypeWithAnnotations.Type, ((NamedTypeSymbol)candidateAssociatedFieldType).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0].Type, TypeCompareKind.ConsiderEverything2))
Symbols\Metadata\PE\TupleTypeDecoder.cs (1)
253
var typeArgs = type.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
;
Symbols\NamedTypeSymbol.cs (12)
74
var result =
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
;
86
var result =
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[index];
877
var typeArguments = this.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
;
878
var otherTypeArguments = other.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
;
919
foreach (TypeWithAnnotations arg in this.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
)
1050
var typeArgumentsA = typeA.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
;
1051
var typeArgumentsB = typeB.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
;
1238
if (current.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
.Length != 0)
1300
builder.AddRange(
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
);
1305
int count =
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
.Length;
1385
foreach (TypeWithAnnotations arg in currentType.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
)
1660
typeToCheck = ((NamedTypeSymbol)typeToCheck).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[ValueTupleRestPosition - 1].Type;
Symbols\PublicModel\NamedTypeSymbol.cs (3)
79
ImmutableInterlocked.InterlockedCompareExchange(ref _lazyTypeArguments, UnderlyingNamedTypeSymbol.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
.GetPublicSymbols(), default);
90
return UnderlyingNamedTypeSymbol.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
.ToPublicAnnotations();
96
return UnderlyingNamedTypeSymbol.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[ordinal].CustomModifiers;
Symbols\Retargeting\RetargetingSymbolTranslator.cs (2)
527
oldArguments.AddRange(genericType.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
);
671
foreach (var argument in namedType.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
)
Symbols\Source\SourceMemberContainerSymbol.cs (1)
586
var tmp = this.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
; // force type arguments
Symbols\Tuples\TupleFieldSymbol.cs (1)
223
newUnderlyingOwner = (NamedTypeSymbol)newUnderlyingOwner.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[NamedTypeSymbol.ValueTupleRestIndex].Type;
Symbols\Tuples\TupleTypeSymbol.cs (7)
145
underlyingType = ((NamedTypeSymbol)underlyingType.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[NamedTypeSymbol.ValueTupleRestIndex].Type);
213
currentType = (NamedTypeSymbol)currentType.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[NamedTypeSymbol.ValueTupleRestPosition - 1].Type;
712
currentValueTuple = (NamedTypeSymbol)oldUnderlying.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[ValueTupleRestIndex].Type;
793
found = (NamedTypeSymbol)found.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[ValueTupleRestPosition - 1].Type;
985
var extensionTupleElementTypes = tuple.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[ValueTupleRestPosition - 1].Type.TupleElementTypesWithAnnotations;
987
typesBuilder.AddRange(tuple.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
, ValueTupleRestPosition - 1);
993
elementTypes = tuple.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
;
Symbols\TypeSymbolExtensions.cs (11)
162
underlyingType = nt.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0].Type;
176
return ((NamedTypeSymbol)type).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0];
388
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
: [var typeArg]
442
type = ((NamedTypeSymbol)type).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0].Type;
889
var typeArguments = ((NamedTypeSymbol)current).
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
;
1397
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
: { Length: 1 } arguments,
1408
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
: { Length: 1 } arguments,
1419
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
: { Length: 1 } arguments,
1595
foreach (var arg in type.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
)
1613
var typeArguments = type.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
;
2011
ImmutableArray.Create(type.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[0]),
Symbols\TypeUnification.cs (3)
165
var nt1Arguments = nt1.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
;
166
var nt2Arguments = nt2.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
;
279
var typeParts = namedType.IsTupleType ? namedType.TupleElementTypesWithAnnotations : namedType.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
;
Symbols\VarianceSafety.cs (1)
386
TypeSymbol typeArg = namedType.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
[i].Type;
Utilities\TypeSymbolExtensions.cs (2)
57
ImmutableArray<TypeWithAnnotations> typeArgs = namedType.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
;
138
ImmutableArray<TypeWithAnnotations> typeArgs = namedType.
TypeArgumentsWithAnnotationsNoUseSiteDiagnostics
;