8 implementations of IsGenericType
GenerateDocumentationAndConfigFiles (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
71public abstract bool IsGenericType { get; }
Microsoft.CodeAnalysis.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
71public abstract bool IsGenericType { get; }
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
71public abstract bool IsGenericType { get; }
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\NamedTypeSymbol.cs (1)
185bool INamedTypeSymbol.IsGenericType => UnderlyingNamedTypeSymbol.IsGenericType;
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\AbstractMetadataAsSourceService.WrappedNamedTypeSymbol.cs (1)
57public bool IsGenericType => _symbol.IsGenericType;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\NamedTypeSymbol.vb (1)
941Public ReadOnly Property IsGenericType As Boolean Implements INamedTypeSymbol.IsGenericType, INamedTypeSymbolInternal.IsGenericType
Microsoft.CodeAnalysis.Workspaces (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
71public abstract bool IsGenericType { get; }
Roslyn.Diagnostics.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
71public abstract bool IsGenericType { get; }
151 references to IsGenericType
Aspire.Hosting.Integration.Analyzers (7)
AspireExportAnalyzer.cs (7)
468if (type is not INamedTypeSymbol namedType || !namedType.IsGenericType) 495if (type is not INamedTypeSymbol namedType || !namedType.IsGenericType) 893if (type is INamedTypeSymbol namedType && namedType.IsGenericType) 1046if (type is not INamedTypeSymbol namedType || !namedType.IsGenericType) 1068if (type is not INamedTypeSymbol namedType || !namedType.IsGenericType) 1210if (namedType.IsGenericType && 1219if (iface.IsGenericType &&
ConfigurationSchemaGenerator (8)
RuntimeSource\Configuration.Binder\ConfigurationBindingGenerator.Parser.cs (5)
221if (type is INamedTypeSymbol { IsGenericType: true } genericType && 805if (@interface.IsGenericType) 808candidate.IsGenericType && 823if (type.IsGenericType) 834if (type is not INamedTypeSymbol { IsGenericType: true } genericType)
RuntimeSource\Configuration.Binder\Parser\Extensions.cs (1)
105if (type is not INamedTypeSymbol { IsGenericType: true } namedType)
RuntimeSource\Configuration.Binder\Parser\OptionsBuilderConfigurationExtensions.cs (1)
22@params[0].Type is not INamedTypeSymbol { IsGenericType: true } genericType ||
RuntimeSource\SourceGenerators\TypeModelHelper.cs (1)
15if (!type.IsGenericType)
GenerateDocumentationAndConfigFiles (3)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\DiagnosticHelpers.cs (1)
69namedType.IsGenericType)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\AnalyzerOptionsExtensions.cs (1)
413!namedType.IsGenericType)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (1)
177return classOrStructType.IsGenericType
ILLink.RoslynAnalyzer (6)
TrimAnalysis\GenericArgumentDataFlow.cs (5)
43while (type is { IsGenericType: true }) 86if (typeArgument is INamedTypeSymbol namedTypeArgument && namedTypeArgument.IsGenericType) 93while (type is { IsGenericType: true }) 100if (typeArgument is INamedTypeSymbol namedTypeSymbol && namedTypeSymbol.IsGenericType 120if (typeArgument is INamedTypeSymbol namedTypeSymbol && namedTypeSymbol.IsGenericType
TrimAnalysis\RequireDynamicallyAccessedMembersAction.cs (1)
53if (foundType is INamedTypeSymbol namedType && namedType.IsGenericType)
Microsoft.AspNetCore.App.Analyzers (2)
RouteHandlers\DisallowReturningActionResultFromMapMethods.cs (1)
91if (returnType is not INamedTypeSymbol { Name: "Task" or "ValueTask", IsGenericType: true, TypeArguments: { Length: 1 } } taskLike)
src\aspnetcore\src\Shared\Roslyn\MvcFacts.cs (1)
38if (type.IsGenericType || type.IsUnboundGenericType)
Microsoft.AspNetCore.Components.Analyzers (1)
VirtualizeItemComparerAnalyzer.cs (1)
68var originalDef = typeArg is INamedTypeSymbol namedType && namedType.IsGenericType
Microsoft.AspNetCore.Http.RequestDelegateGenerator (1)
StaticRouteHandlerModel\Model\EndpointParameterExtensions.cs (1)
44if (handlerParameterType is INamedTypeSymbol { IsGenericType: true, OriginalDefinition: { SpecialType: not SpecialType.System_Nullable_T } })
Microsoft.AspNetCore.Mvc.Analyzers (1)
src\aspnetcore\src\Shared\Roslyn\MvcFacts.cs (1)
38if (type.IsGenericType || type.IsUnboundGenericType)
Microsoft.AspNetCore.OpenApi.SourceGenerators (1)
Helpers\AssemblyTypeSymbolsVisitor.cs (1)
46if (type.IsGenericType)
Microsoft.CodeAnalysis (1)
DocumentationCommentId.cs (1)
618if (symbol.IsGenericType)
Microsoft.CodeAnalysis.Analyzers (5)
MetaAnalyzers\DiagnosticAnalyzerAPIUsageAnalyzer.cs (1)
273if (usedType.IsGenericType)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\MetricsHelper.cs (1)
360if (usedType.IsGenericType)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\DiagnosticHelpers.cs (1)
69namedType.IsGenericType)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\AnalyzerOptionsExtensions.cs (1)
413!namedType.IsGenericType)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (1)
177return classOrStructType.IsGenericType
Microsoft.CodeAnalysis.AnalyzerUtilities (3)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\MetricsHelper.cs (1)
360if (usedType.IsGenericType)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\DiagnosticHelpers.cs (1)
69namedType.IsGenericType)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\AnalyzerOptionsExtensions.cs (1)
413!namedType.IsGenericType)
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (1)
177return classOrStructType.IsGenericType
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\roslyn\src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryNullableDirective\NullableImpactingSpanWalker.cs (1)
152else if (symbolInfo.Symbol is INamedTypeSymbol { IsValueType: true, IsGenericType: false })
src\roslyn\src\Analyzers\CSharp\Analyzers\UseLocalFunction\CSharpUseLocalFunctionDiagnosticAnalyzer.cs (1)
409if (delegateContainingType is null || !delegateContainingType.IsGenericType)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\roslyn\src\Analyzers\CSharp\CodeFixes\GenerateParameterizedMember\CSharpGenerateConversionService.cs (1)
199if (typeToGenerateIn.IsGenericType)
src\roslyn\src\Analyzers\CSharp\CodeFixes\UseUtf8StringLiteral\UseUtf8StringLiteralCodeFixProvider.cs (1)
64conversion.Type is INamedTypeSymbol { IsGenericType: true } namedType &&
Microsoft.CodeAnalysis.CSharp.Features (5)
QuickInfo\CSharpSemanticQuickInfoProvider.cs (1)
176if (type.IsGenericType)
src\roslyn\src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryNullableDirective\NullableImpactingSpanWalker.cs (1)
152else if (symbolInfo.Symbol is INamedTypeSymbol { IsValueType: true, IsGenericType: false })
src\roslyn\src\Analyzers\CSharp\Analyzers\UseLocalFunction\CSharpUseLocalFunctionDiagnosticAnalyzer.cs (1)
409if (delegateContainingType is null || !delegateContainingType.IsGenericType)
src\roslyn\src\Analyzers\CSharp\CodeFixes\GenerateParameterizedMember\CSharpGenerateConversionService.cs (1)
199if (typeToGenerateIn.IsGenericType)
src\roslyn\src\Analyzers\CSharp\CodeFixes\UseUtf8StringLiteral\UseUtf8StringLiteralCodeFixProvider.cs (1)
64conversion.Type is INamedTypeSymbol { IsGenericType: true } namedType &&
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (1)
Microsoft.CodeQuality.Analyzers\Maintainability\CSharpAvoidUninstantiatedInternalClasses.cs (1)
27namedTypeSymbol.IsGenericType)
Microsoft.CodeAnalysis.Features (5)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (1)
3468INamedTypeSymbol { IsGenericType: false } or // changes in type parameter attributes and constraints need type update
FullyQualify\AbstractFullyQualifyService.cs (1)
265=> symbol.ContainingSymbol is INamespaceSymbol or INamedTypeSymbol { IsGenericType: false };
FullyQualify\AbstractFullyQualifyService.SymbolResult.cs (2)
48Debug.Assert(Symbol is INamespaceSymbol || !((INamedTypeSymbol)Symbol).IsGenericType); 49Debug.Assert(other.Symbol is INamespaceSymbol || !((INamedTypeSymbol)other.Symbol).IsGenericType);
MetadataAsSource\AbstractMetadataAsSourceService.WrappedNamedTypeSymbol.cs (1)
57public bool IsGenericType => _symbol.IsGenericType;
Microsoft.CodeAnalysis.NetAnalyzers (22)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\AvoidExcessiveParametersOnGenericTypes.cs (1)
51if (namedType.IsGenericType &&
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\CollectionsShouldImplementGenericInterface.cs (2)
126if (!@interface.IsGenericType && 128genericInterface?.IsGenericType == true)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\DoNotDeclareStaticMembersOnGenericTypes.cs (1)
46!symbol.ContainingType.IsGenericType ||
Microsoft.CodeQuality.Analyzers\Maintainability\AvoidUninstantiatedInternalClasses.cs (2)
137if (constructedClass == null || !constructedClass.IsGenericType || constructedClass.IsUnboundGenericType) 393if (namedTypeArg.IsGenericType)
Microsoft.CodeQuality.Analyzers\QualityGuidelines\MarkMembersAsStatic.cs (1)
250if (methodSymbol.ContainingType.IsGenericType)
Microsoft.NetCore.Analyzers\InteropServices\PlatformCompatibilityAnalyzer.cs (2)
1378if (symbol.ContainingSymbol is INamedTypeSymbol namedType && namedType.IsGenericType) 1399if (typeArgument is INamedTypeSymbol nType && nType.IsGenericType)
Microsoft.NetCore.Analyzers\Runtime\ModuleInitializerAttributeShouldNotBeUsedInLibraries.cs (1)
66method.ContainingType.IsGenericType ||
Microsoft.NetCore.Analyzers\Security\DataSetDataTableInSerializableTypeAnalyzer.cs (1)
156&& namedTypeSymbol.BaseType.IsGenericType
Microsoft.NetCore.Analyzers\Security\DoNotSerializeTypeWithPointerFields.cs (1)
115if (namedTypeSymbol.IsGenericType)
Microsoft.NetCore.Analyzers\Security\Helpers\InsecureDeserializationTypeDecider.cs (1)
428if (namedTypeSymbol.IsGenericType)
Microsoft.NetCore.Analyzers\Security\PotentialReferenceCycleInDeserializedObjectGraph.cs (1)
150if (namedTypeSymbol.IsGenericType)
Microsoft.NetCore.Analyzers\Security\UseSharedAccessProtocolHttpsOnly.cs (1)
124namedTypeSymbol.IsGenericType &&
Microsoft.NetCore.Analyzers\Usage\ImplementGenericMathInterfacesCorrectly.cs (4)
67(!symbol.IsGenericType || NotConstrainedToTheInterfaceOrSelf(anInterface, symbol))) 76while (baseType != null && baseType.IsGenericType) 82(!symbol.IsGenericType || NotConstrainedToTheInterfaceOrSelf(anInterface, symbol))) 95if (anInterface.IsGenericType)
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\CodeMetrics\MetricsHelper.cs (1)
361if (usedType.IsGenericType)
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\DiagnosticHelpers.cs (1)
68namedType.IsGenericType)
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\Options\AnalyzerOptionsExtensions.cs (1)
412!namedType.IsGenericType)
Microsoft.CodeAnalysis.Razor.Compiler (12)
Language\Extensions\INamedTypeSymbolExtensions.cs (1)
14!symbol.IsGenericType &&
Language\SymbolCache.NamedTypeSymbolData.IsViewComponentResult.cs (1)
27symbol.IsGenericType ||
Language\TagHelpers\Producers\ComponentTagHelperProducer.cs (4)
151if (type.IsGenericType) 340if (type is INamedTypeSymbol namedType && namedType.IsGenericType) 792(property.Type is INamedTypeSymbol { IsGenericType: true } namedType && 799(property.Type is INamedTypeSymbol { IsGenericType: true } namedType &&
Mvc.Version1_X\ViewComponentTagHelperDescriptorFactory.cs (2)
121else if (returnType.IsGenericType && SymbolEqualityComparer.Default.Equals(returnType.ConstructedFrom, _genericTaskSymbol)) 147else if (returnType.IsGenericType && SymbolEqualityComparer.Default.Equals(returnType.ConstructedFrom, _genericTaskSymbol))
Mvc.Version2_X\ViewComponentTagHelperDescriptorFactory.cs (2)
115else if (returnType.IsGenericType && SymbolEqualityComparer.Default.Equals(returnType.ConstructedFrom, _genericTaskSymbol)) 141else if (returnType.IsGenericType && SymbolEqualityComparer.Default.Equals(returnType.ConstructedFrom, _genericTaskSymbol))
Mvc\ViewComponentTagHelperDescriptorFactory.cs (2)
115else if (returnType.IsGenericType && SymbolEqualityComparer.Default.Equals(returnType.ConstructedFrom, _genericTaskSymbol)) 141else if (returnType.IsGenericType && SymbolEqualityComparer.Default.Equals(returnType.ConstructedFrom, _genericTaskSymbol))
Microsoft.CodeAnalysis.ResxSourceGenerator (3)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\MetricsHelper.cs (1)
360if (usedType.IsGenericType)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\DiagnosticHelpers.cs (1)
69namedType.IsGenericType)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\AnalyzerOptionsExtensions.cs (1)
413!namedType.IsGenericType)
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\NamedTypeSymbol.vb (1)
941Public ReadOnly Property IsGenericType As Boolean Implements INamedTypeSymbol.IsGenericType, INamedTypeSymbolInternal.IsGenericType
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
src\roslyn\src\Analyzers\VisualBasic\CodeFixes\GenerateParameterizedMember\VisualBasicGenerateConversionService.vb (1)
146If typeToGenerateIn.IsGenericType Then
Microsoft.CodeAnalysis.VisualBasic.Features (1)
src\roslyn\src\Analyzers\VisualBasic\CodeFixes\GenerateParameterizedMember\VisualBasicGenerateConversionService.vb (1)
146If typeToGenerateIn.IsGenericType Then
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
CodeCleanup\AsyncOrIteratorFunctionReturnTypeFixer.vb (1)
179Debug.Assert(genericType.IsGenericType)
Microsoft.CodeAnalysis.Workspaces (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (1)
177return classOrStructType.IsGenericType
Microsoft.Diagnostics.DataContractReader.DataGenerator (2)
Parser.cs (2)
313&& named.IsGenericType 402if (type is INamedTypeSymbol named && named.IsGenericType
Microsoft.Extensions.Configuration.Binder.SourceGeneration (9)
ConfigurationBindingGenerator.Parser.cs (6)
222if (type is INamedTypeSymbol { IsGenericType: true } genericType && 884if (@interface.IsGenericType) 887candidate.IsGenericType && 902if (type.IsGenericType) 928if (type is INamedTypeSymbol { IsGenericType: true } genericType) 951if (type is not INamedTypeSymbol { IsGenericType: true } genericType)
Parser\Extensions.cs (1)
133if (type is not INamedTypeSymbol { IsGenericType: true } namedType)
Parser\OptionsBuilderConfigurationExtensions.cs (1)
22@params[0].Type is not INamedTypeSymbol { IsGenericType: true } genericType ||
src\runtime\src\libraries\Common\src\SourceGenerators\TypeModelHelper.cs (1)
15if (!type.IsGenericType)
Microsoft.Extensions.Options.SourceGeneration (1)
Parser.cs (1)
324if (mt.IsGenericType)
Microsoft.Gen.BuildMetadata (1)
GeneratorUtilities.cs (1)
123=> attributeType.IsGenericType ?
Microsoft.Gen.ComplianceReports (1)
GeneratorUtilities.cs (1)
123=> attributeType.IsGenericType ?
Microsoft.Gen.ContextualOptions (1)
GeneratorUtilities.cs (1)
123=> attributeType.IsGenericType ?
Microsoft.Gen.Logging (2)
GeneratorUtilities.cs (1)
123=> attributeType.IsGenericType ?
TypeSymbolExtensions.cs (1)
95if (sym is INamedTypeSymbol namedTypeSymbol && namedTypeSymbol.IsGenericType && namedTypeSymbol.OriginalDefinition.SpecialType == SpecialType.System_Nullable_T)
Microsoft.Gen.MetadataExtractor (1)
GeneratorUtilities.cs (1)
123=> attributeType.IsGenericType ?
Microsoft.Gen.Metrics (1)
GeneratorUtilities.cs (1)
123=> attributeType.IsGenericType ?
Microsoft.Gen.MetricsReports (1)
GeneratorUtilities.cs (1)
123=> attributeType.IsGenericType ?
Microsoft.Interop.JavaScript.JSImportGenerator (2)
JSMarshalAsAttributeInfoParser.cs (2)
21public bool CanParseAttributeType(INamedTypeSymbol attributeType) => attributeType.IsGenericType && SymbolEqualityComparer.Default.Equals(_jsMarshalAsAttribute, attributeType.ConstructUnboundGenericType()); 27if (jsTypeArgs.IsGenericType)
Microsoft.Interop.SourceGeneration (3)
ManagedTypeInfo.cs (1)
66return new DelegateTypeInfo(typeName, diagnosticFormattedName, type is INamedTypeSymbol { IsGenericType: true });
ManualTypeMarshallingHelper.cs (2)
87return entryPointType.IsGenericType 360if (!entryType.IsGenericType)
Microsoft.Maui.Controls.BindingSourceGen (1)
ITypeSymbolExtensions.cs (1)
29 && namedTypeSymbol.IsGenericType
Roslyn.Diagnostics.Analyzers (4)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\MetricsHelper.cs (1)
360if (usedType.IsGenericType)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\DiagnosticHelpers.cs (1)
69namedType.IsGenericType)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\AnalyzerOptionsExtensions.cs (1)
413!namedType.IsGenericType)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (1)
177return classOrStructType.IsGenericType
System.Text.Json.SourceGeneration (24)
Helpers\KnownTypeSymbols.cs (2)
318if (type is not INamedTypeSymbol { IsGenericType: true, ConstructedFrom: INamedTypeSymbol genericTypeDef }) 371if (type is not INamedTypeSymbol { IsGenericType: true, ConstructedFrom: INamedTypeSymbol genericTypeDef })
Helpers\RoslynExtensions.cs (9)
77else if (namedType.IsGenericType) 87if (containingType?.IsGenericType == true) 212return candidate.IsGenericType && SymbolEqualityComparer.Default.Equals(candidate.ConstructedFrom, baseType); 290if (pattern is INamedTypeSymbol { IsGenericType: true } patternNamed) 292if (target is not INamedTypeSymbol { IsGenericType: true } targetNamed) 353if (type is INamedTypeSymbol { IsGenericType: true } named) 364if (containingType is { IsGenericType: true }) 598=> type is INamedTypeSymbol { IsGenericType: true } namedType && SymbolEqualityComparer.Default.Equals(namedType, namedType.ConstructedFrom); 881ITypeSymbol derivedType = candidate.IsGenericType
JsonSourceGenerator.Parser.cs (12)
942&& (type is not INamedTypeSymbol { IsGenericType: true } 1359if (baseType is not INamedTypeSymbol { IsGenericType: true } constructedBase) 1519case INamedTypeSymbol { IsGenericType: true } named: 1526if (named.ContainingType is { IsGenericType: true } containing) 2570&& (memberInfo.ContainingType is not INamedTypeSymbol { IsGenericType: true } 2572OpenDeclaringTypeFQN = memberInfo.ContainingType is INamedTypeSymbol { IsGenericType: true } && _knownSymbols.SupportsGenericUnsafeAccessors 2574OpenPropertyTypeFQN = memberInfo.ContainingType is INamedTypeSymbol { IsGenericType: true } && _knownSymbols.SupportsGenericUnsafeAccessors 2576DeclaringTypeParameterNames = memberInfo.ContainingType is INamedTypeSymbol { IsGenericType: true } namedType && _knownSymbols.SupportsGenericUnsafeAccessors 2578DeclaringTypeParameterConstraintClauses = memberInfo.ContainingType is INamedTypeSymbol { IsGenericType: true } namedType2 && _knownSymbols.SupportsGenericUnsafeAccessors 2990typeToConvert is INamedTypeSymbol { IsGenericType: true } genericTypeToConvert) 3248if (type is not INamedTypeSymbol namedType || !namedType.IsGenericType) 3413Debug.Assert(type.IsGenericType);
src\runtime\src\libraries\Common\src\SourceGenerators\TypeModelHelper.cs (1)
15if (!type.IsGenericType)