12 references to IsGenericType
Microsoft.CodeAnalysis.CSharp (12)
Emitter\Model\MethodSymbolAdapter.cs (3)
58(!AdaptedMethodSymbol.IsGenericMethod || PEModuleBuilder.IsGenericType(AdaptedMethodSymbol.ContainingType))) 61PEModuleBuilder.IsGenericType(AdaptedMethodSymbol.ContainingType)); 278if (!PEModuleBuilder.IsGenericType(container))
Emitter\Model\NamedTypeSymbolAdapter.cs (2)
190(AdaptedNamedTypeSymbol.Arity == 0 || PEModuleBuilder.IsGenericType(AdaptedNamedTypeSymbol.ContainingType))) 193PEModuleBuilder.IsGenericType(AdaptedNamedTypeSymbol.ContainingType));
Emitter\Model\PEModuleBuilder.cs (6)
1030if (IsGenericType(container)) 1049else if (IsGenericType(container)) 1187else if (!needDeclaration && IsGenericType(fieldSymbol.ContainingType)) 1275bool typeIsGeneric = IsGenericType(container); 1329if (IsGenericType(container)) 1435IsGenericType(container.ContainingType);
Emitter\Model\SpecializedGenericMethodInstanceReference.cs (1)
27Debug.Assert(PEModuleBuilder.IsGenericType(underlyingMethod.ContainingType) && underlyingMethod.ContainingType.IsDefinition);