1 write to AdaptedTypeParameterSymbol
Microsoft.CodeAnalysis.VisualBasic (1)
Emit\TypeParameterSymbolAdapter.vb (1)
319
AdaptedTypeParameterSymbol
= underlyingTypeParameterSymbol
29 references to AdaptedTypeParameterSymbol
Microsoft.CodeAnalysis.VisualBasic (29)
Emit\TypeParameterSymbolAdapter.vb (29)
63
If
AdaptedTypeParameterSymbol
.ContainingSymbol.Kind = SymbolKind.Method Then
72
Debug.Assert(
AdaptedTypeParameterSymbol
.IsDefinition)
74
If
AdaptedTypeParameterSymbol
.ContainingSymbol.Kind = SymbolKind.Method Then
92
If
AdaptedTypeParameterSymbol
.ContainingSymbol.Kind = SymbolKind.NamedType Then
102
Debug.Assert(
AdaptedTypeParameterSymbol
.IsDefinition)
104
If
AdaptedTypeParameterSymbol
.ContainingSymbol.Kind = SymbolKind.NamedType Then
143
Debug.Assert(
AdaptedTypeParameterSymbol
.IsDefinition)
144
Dim kind As SymbolKind =
AdaptedTypeParameterSymbol
.ContainingSymbol.Kind
146
If (DirectCast(visitor.Context.Module, PEModuleBuilder)).SourceModule =
AdaptedTypeParameterSymbol
.ContainingModule Then
170
Debug.Assert(
AdaptedTypeParameterSymbol
.IsDefinition)
176
Return
AdaptedTypeParameterSymbol
.MetadataName
182
Return CType(
AdaptedTypeParameterSymbol
.Ordinal, UShort)
188
Debug.Assert(
AdaptedTypeParameterSymbol
.IsDefinition)
189
Return DirectCast(
AdaptedTypeParameterSymbol
.ContainingSymbol, MethodSymbol).GetCciAdapter()
195
Debug.Assert(
AdaptedTypeParameterSymbol
.IsDefinition)
196
Return DirectCast(
AdaptedTypeParameterSymbol
.ContainingSymbol, NamedTypeSymbol).GetCciAdapter()
204
For Each t In
AdaptedTypeParameterSymbol
.ConstraintTypesNoUseSiteDiagnostics
213
Yield t.GetTypeRefWithAttributes(
AdaptedTypeParameterSymbol
.DeclaringCompilation, typeRef)
215
If
AdaptedTypeParameterSymbol
.HasValueTypeConstraint AndAlso Not seenValueType Then
226
Return
AdaptedTypeParameterSymbol
.HasReferenceTypeConstraint
232
Return
AdaptedTypeParameterSymbol
.HasValueTypeConstraint
238
Return
AdaptedTypeParameterSymbol
.AllowsRefLikeType
246
Return
AdaptedTypeParameterSymbol
.HasConstructorConstraint OrElse
AdaptedTypeParameterSymbol
.HasValueTypeConstraint
252
Select Case
AdaptedTypeParameterSymbol
.Variance
260
Throw ExceptionUtilities.UnexpectedValue(
AdaptedTypeParameterSymbol
.Variance)
269
Return DirectCast(
AdaptedTypeParameterSymbol
.ContainingSymbol, MethodSymbol).GetCciAdapter()
277
Return DirectCast(
AdaptedTypeParameterSymbol
.ContainingSymbol, NamedTypeSymbol).GetCciAdapter()
324
Return
AdaptedTypeParameterSymbol