12 references to IsGenericType
Microsoft.CodeAnalysis.CSharp (12)
Emitter\Model\MethodSymbolAdapter.cs (3)
55(!AdaptedMethodSymbol.IsGenericMethod || PEModuleBuilder.IsGenericType(AdaptedMethodSymbol.ContainingType))) 58PEModuleBuilder.IsGenericType(AdaptedMethodSymbol.ContainingType)); 273if (!PEModuleBuilder.IsGenericType(container))
Emitter\Model\NamedTypeSymbolAdapter.cs (2)
184(AdaptedNamedTypeSymbol.Arity == 0 || PEModuleBuilder.IsGenericType(AdaptedNamedTypeSymbol.ContainingType))) 187PEModuleBuilder.IsGenericType(AdaptedNamedTypeSymbol.ContainingType));
Emitter\Model\PEModuleBuilder.cs (6)
1008if (IsGenericType(container)) 1027else if (IsGenericType(container)) 1165else if (!needDeclaration && IsGenericType(fieldSymbol.ContainingType)) 1329bool typeIsGeneric = IsGenericType(container); 1383if (IsGenericType(container)) 1489IsGenericType(container.ContainingType);
Emitter\Model\SpecializedGenericMethodInstanceReference.cs (1)
27Debug.Assert(PEModuleBuilder.IsGenericType(underlyingMethod.ContainingType) && underlyingMethod.ContainingType.IsDefinition);