1 write to AdaptedTypeParameterSymbol
Microsoft.CodeAnalysis.VisualBasic (1)
Emit\TypeParameterSymbolAdapter.vb (1)
307
AdaptedTypeParameterSymbol
= underlyingTypeParameterSymbol
34 references to AdaptedTypeParameterSymbol
Microsoft.CodeAnalysis.VisualBasic (34)
Emit\NoPia\EmbeddedTypeParameter.vb (6)
19
Debug.Assert(underlyingTypeParameter.
AdaptedTypeParameterSymbol
.IsDefinition)
28
Return UnderlyingTypeParameter.
AdaptedTypeParameterSymbol
.HasReferenceTypeConstraint
34
Return UnderlyingTypeParameter.
AdaptedTypeParameterSymbol
.HasValueTypeConstraint
40
Return UnderlyingTypeParameter.
AdaptedTypeParameterSymbol
.HasConstructorConstraint
46
Return UnderlyingTypeParameter.
AdaptedTypeParameterSymbol
.MetadataName
52
Return CUShort(UnderlyingTypeParameter.
AdaptedTypeParameterSymbol
.Ordinal)
Emit\TypeParameterSymbolAdapter.vb (28)
57
If
AdaptedTypeParameterSymbol
.ContainingSymbol.Kind = SymbolKind.Method Then
66
Debug.Assert(
AdaptedTypeParameterSymbol
.IsDefinition)
68
If
AdaptedTypeParameterSymbol
.ContainingSymbol.Kind = SymbolKind.Method Then
86
If
AdaptedTypeParameterSymbol
.ContainingSymbol.Kind = SymbolKind.NamedType Then
96
Debug.Assert(
AdaptedTypeParameterSymbol
.IsDefinition)
98
If
AdaptedTypeParameterSymbol
.ContainingSymbol.Kind = SymbolKind.NamedType Then
137
Debug.Assert(
AdaptedTypeParameterSymbol
.IsDefinition)
138
Dim kind As SymbolKind =
AdaptedTypeParameterSymbol
.ContainingSymbol.Kind
140
If (DirectCast(visitor.Context.Module, PEModuleBuilder)).SourceModule =
AdaptedTypeParameterSymbol
.ContainingModule Then
164
Debug.Assert(
AdaptedTypeParameterSymbol
.IsDefinition)
170
Return
AdaptedTypeParameterSymbol
.MetadataName
176
Return CType(
AdaptedTypeParameterSymbol
.Ordinal, UShort)
182
Debug.Assert(
AdaptedTypeParameterSymbol
.IsDefinition)
183
Return DirectCast(
AdaptedTypeParameterSymbol
.ContainingSymbol, MethodSymbol).GetCciAdapter()
189
Debug.Assert(
AdaptedTypeParameterSymbol
.IsDefinition)
190
Return DirectCast(
AdaptedTypeParameterSymbol
.ContainingSymbol, NamedTypeSymbol).GetCciAdapter()
198
For Each t In
AdaptedTypeParameterSymbol
.ConstraintTypesNoUseSiteDiagnostics
207
Yield t.GetTypeRefWithAttributes(
AdaptedTypeParameterSymbol
.DeclaringCompilation, typeRef)
209
If
AdaptedTypeParameterSymbol
.HasValueTypeConstraint AndAlso Not seenValueType Then
220
Return
AdaptedTypeParameterSymbol
.HasReferenceTypeConstraint
226
Return
AdaptedTypeParameterSymbol
.HasValueTypeConstraint
234
Return
AdaptedTypeParameterSymbol
.HasConstructorConstraint OrElse
AdaptedTypeParameterSymbol
.HasValueTypeConstraint
240
Select Case
AdaptedTypeParameterSymbol
.Variance
248
Throw ExceptionUtilities.UnexpectedValue(
AdaptedTypeParameterSymbol
.Variance)
257
Return DirectCast(
AdaptedTypeParameterSymbol
.ContainingSymbol, MethodSymbol).GetCciAdapter()
265
Return DirectCast(
AdaptedTypeParameterSymbol
.ContainingSymbol, NamedTypeSymbol).GetCciAdapter()
312
Return
AdaptedTypeParameterSymbol