57 references to IsGenericType
Microsoft.CodeAnalysis.VisualBasic (57)
Analysis\FlowAnalysis\DataFlowPass.vb (1)
844
If field.ContainingType.
IsGenericType
Then
Binding\Binder_Attributes.vb (1)
193
If namedType.
IsGenericType
Then
Binding\Binder_Conversions.vb (1)
705
If Not targetNamedType.
IsGenericType
Then
Binding\Binder_Expressions.vb (1)
1076
If classType.
IsGenericType
Then
Binding\Binder_Imports.vb (1)
194
If namedType.
IsGenericType
Then
Binding\Binder_Symbols.vb (3)
899
Not genericType.
IsGenericType
OrElse
998
If isLeftUnboundGenericType AndAlso namedType.
IsGenericType
Then
1089
ElseIf isLeftUnboundGenericType AndAlso genericType.
IsGenericType
Then
CodeGen\EmitExpression.vb (3)
2261
If Not node.Field.ContainingType.
IsGenericType
Then
2294
Debug.Assert(Not method.ContainingType.
IsGenericType
AndAlso Not method.ContainingType.IsAnonymousType)
2297
Debug.Assert(method.ContainingType.
IsGenericType
OrElse method.ContainingType.IsAnonymousType)
Compilation\VisualBasicCompilation.vb (1)
1551
If mainType.
IsGenericType
Then
Emit\NoPia\EmbeddedType.vb (1)
29
Debug.Assert(Not underlyingNamedType.AdaptedNamedTypeSymbol.
IsGenericType
)
Emit\NoPia\EmbeddedTypesManager.vb (1)
281
ElseIf type.
IsGenericType
Then
Emit\SymbolTranslator.vb (1)
461
container.ContainingType.
IsGenericType
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Spilling.vb (1)
506
If namedType IsNot Nothing AndAlso namedType.
IsGenericType
Then
Lowering\SyntheticBoundNodeFactory.vb (3)
238
Debug.Assert(nullableType.
IsGenericType
AndAlso nullableType.Arity = 1)
895
Dim isInGenericType As Boolean = DirectCast(method.ContainingType.GetTupleUnderlyingTypeOrSelf(), NamedTypeSymbol).
IsGenericType
OrElse method.ContainingType.IsAnonymousType
951
WellKnownMember(Of MethodSymbol)(If(field.ContainingType.
IsGenericType
,
Semantics\Operators.vb (1)
2791
If Not method.ContainingType.
IsGenericType
Then
Semantics\TypeInference\TypeArgumentInference.vb (5)
1158
If invoke IsNot Nothing AndAlso invoke.GetUseSiteInfo().DiagnosticInfo Is Nothing AndAlso delegateType.
IsGenericType
Then
1192
If invoke IsNot Nothing AndAlso invoke.GetUseSiteInfo().DiagnosticInfo Is Nothing AndAlso delegateType.
IsGenericType
Then
1429
If parameterTypeAsNamedType.
IsGenericType
Then
1433
If argumentTypeAsNamedType IsNot Nothing AndAlso argumentTypeAsNamedType.
IsGenericType
Then
1773
If fixedTypeAsNamedType Is Nothing OrElse Not fixedTypeAsNamedType.
IsGenericType
Then
Symbols\Metadata\PE\MetadataDecoder.vb (1)
325
Debug.Assert(If(Not candidate?.
IsGenericType
, True))
Symbols\Metadata\PE\SymbolFactory.vb (1)
145
Return If(namedType IsNot Nothing AndAlso namedType.
IsGenericType
, UnboundGenericType.Create(namedType), type)
Symbols\Metadata\PE\TupleTypeDecoder.vb (2)
181
If containingType IsNot Nothing AndAlso containingType.
IsGenericType
Then
183
Debug.Assert(decodedContainingType.
IsGenericType
)
Symbols\NamedTypeSymbolExtensions.vb (1)
20
Return If(toCheck?.
IsGenericType
, False)
Symbols\ReducedExtensionMethodSymbol.vb (1)
57
Debug.Assert(Not possiblyExtensionMethod.ContainingType.
IsGenericType
)
Symbols\Retargeting\RetargetingSymbolTranslator.vb (2)
395
If newDefinition.Kind = SymbolKind.ErrorType AndAlso Not newDefinition.
IsGenericType
Then
937
If Not method.IsGenericMethod AndAlso Not retargetedType.
IsGenericType
Then
Symbols\Source\ImplementsHelper.vb (1)
675
If unsubstitutedInterfaceType.
IsGenericType
Then
Symbols\Source\SourceMemberContainerTypeSymbol.vb (1)
825
If Not namedType.
IsGenericType
Then
Symbols\Source\SourceMethodSymbol.vb (2)
247
If container IsNot Nothing AndAlso container.
IsGenericType
Then
1827
If Me.IsGenericMethod OrElse (Me.ContainingType IsNot Nothing AndAlso Me.ContainingType.
IsGenericType
) Then
Symbols\Source\SourceModuleSymbol.vb (1)
1121
Debug.Assert(classType.IsDefinition AndAlso Not classType.
IsGenericType
)
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (1)
521
Debug.Assert(Not comClass.
IsGenericType
)
Symbols\Source\SourceNamedTypeSymbol_GroupClass.vb (2)
17
If Me.TypeKind = TypeKind.Class AndAlso Not Me.
IsGenericType
Then
251
Not named.
IsGenericType
AndAlso
Symbols\Source\SourceNamedTypeSymbol.vb (4)
1640
If
IsGenericType
Then
2273
If Me.
IsGenericType
Then
2353
If Me.
IsGenericType
Then
2735
If Me.TypeKind = TypeKind.Class AndAlso Not Me.
IsGenericType
Then
Symbols\UnboundGenericType.vb (5)
41
If type.
IsGenericType
Then
371
Debug.Assert(originalDefinition.
IsGenericType
)
400
If originalDefinitionContainingType.
IsGenericType
Then
422
If originalDefinitionContainingType Is Nothing OrElse Not originalDefinitionContainingType.
IsGenericType
Then
487
DirectCast(container, NamedTypeSymbol).
IsGenericType
))
Symbols\WellKnownMembers.vb (1)
222
If(stateMachineType.
IsGenericType
, stateMachineType.ConstructUnboundGenericType(), stateMachineType))
Utilities\TypeUnification.vb (4)
18
If Not containingGenericType.
IsGenericType
Then
121
If Not nt1.
IsGenericType
Then
122
Return Not nt2.
IsGenericType
AndAlso TypeSymbol.Equals(nt1, nt2, TypeCompareKind.ConsiderEverything)
123
ElseIf Not nt2.
IsGenericType
Then
Utilities\VarianceAmbiguity.vb (2)
54
Debug.Assert(i1.
IsGenericType
AndAlso i2.
IsGenericType
)