12 references to IsGenericType
Microsoft.CodeAnalysis.CSharp (12)
Emitter\Model\MethodSymbolAdapter.cs (3)
58
(!AdaptedMethodSymbol.IsGenericMethod || PEModuleBuilder.
IsGenericType
(AdaptedMethodSymbol.ContainingType)))
61
PEModuleBuilder.
IsGenericType
(AdaptedMethodSymbol.ContainingType));
268
if (!PEModuleBuilder.
IsGenericType
(container))
Emitter\Model\NamedTypeSymbolAdapter.cs (2)
187
(AdaptedNamedTypeSymbol.Arity == 0 || PEModuleBuilder.
IsGenericType
(AdaptedNamedTypeSymbol.ContainingType)))
190
PEModuleBuilder.
IsGenericType
(AdaptedNamedTypeSymbol.ContainingType));
Emitter\Model\PEModuleBuilder.cs (6)
1027
if (
IsGenericType
(container))
1046
else if (
IsGenericType
(container))
1184
else if (!needDeclaration &&
IsGenericType
(fieldSymbol.ContainingType))
1272
bool typeIsGeneric =
IsGenericType
(container);
1326
if (
IsGenericType
(container))
1432
IsGenericType
(container.ContainingType);
Emitter\Model\SpecializedGenericMethodInstanceReference.cs (1)
27
Debug.Assert(PEModuleBuilder.
IsGenericType
(underlyingMethod.ContainingType) && underlyingMethod.ContainingType.IsDefinition);