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