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