5 implementations of INamedTypeSymbol_IsUnboundGenericType
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
77public abstract bool IsUnboundGenericType { get; }
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\NamedTypeSymbol.cs (1)
187bool INamedTypeSymbol.IsUnboundGenericType => UnderlyingNamedTypeSymbol.IsUnboundGenericType;
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\AbstractMetadataAsSourceService.WrappedNamedTypeSymbol.cs (1)
62public bool IsUnboundGenericType => _symbol.IsUnboundGenericType;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\NamedTypeSymbol.vb (1)
1359Private ReadOnly Property INamedTypeSymbol_IsUnboundGenericType As Boolean Implements INamedTypeSymbol.IsUnboundGenericType
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
77public abstract bool IsUnboundGenericType { get; }
49 references to INamedTypeSymbol_IsUnboundGenericType
Microsoft.AspNetCore.App.Analyzers (1)
src\Shared\Roslyn\MvcFacts.cs (1)
38if (type.IsGenericType || type.IsUnboundGenericType)
Microsoft.AspNetCore.Mvc.Analyzers (1)
src\Shared\Roslyn\MvcFacts.cs (1)
38if (type.IsGenericType || type.IsUnboundGenericType)
Microsoft.AspNetCore.Mvc.Api.Analyzers (1)
src\Shared\Roslyn\MvcFacts.cs (1)
38if (type.IsGenericType || type.IsUnboundGenericType)
Microsoft.CodeAnalysis.CodeStyle (7)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.NamedTypeSymbolKey.cs (2)
25visitor.WriteBoolean(symbol.IsUnboundGenericType); 29if (!symbol.Equals(symbol.ConstructedFrom) && !symbol.IsUnboundGenericType)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.EquivalenceVisitor.cs (3)
361x.IsUnboundGenericType != y.IsUnboundGenericType || 414x.IsUnboundGenericType ||
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (2)
176Hash.Combine(x.IsUnboundGenericType, 185return IsConstructedFromSelf(x) || x.IsUnboundGenericType
Microsoft.CodeAnalysis.CSharp (1)
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
398if (underlyingTypeSymbol is UnsupportedMetadataTypeSymbol || underlyingTypeSymbol is MissingMetadataTypeSymbol || symbol.IsUnboundGenericType)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (1)
203var typeArguments = symbol.IsUnboundGenericType
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenTupleTest.cs (1)
14006Assert.True(((INamedTypeSymbol)typeInfo.Type).IsUnboundGenericType);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Attributes\AttributeTests.cs (2)
9914Assert.True(typeInAttribute.IsUnboundGenericType); 9924Assert.True(typeInAttribute.IsUnboundGenericType);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (10)
Compilation\GetSemanticInfoTests.cs (1)
1892Assert.True(type.IsUnboundGenericType);
Compilation\SemanticModelGetSemanticInfoTests.cs (8)
9160Assert.True((type as INamedTypeSymbol).IsUnboundGenericType); 9184Assert.True((type as INamedTypeSymbol).IsUnboundGenericType); 9212Assert.False((type as INamedTypeSymbol).IsUnboundGenericType); 9237Assert.True((type as INamedTypeSymbol).IsUnboundGenericType); 9267Assert.True(type.IsUnboundGenericType); 9279Assert.False(constructedFrom.IsUnboundGenericType); 9288Assert.True(a.IsUnboundGenericType); 9289Assert.False(a.ConstructedFrom.IsUnboundGenericType);
Symbols\TypeTests.cs (1)
1861Assert.False(symbol.ContainingType.IsUnboundGenericType);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
Extensions.cs (1)
768return type is INamedTypeSymbol namedType && namedType.IsUnboundGenericType;
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Simplification\CSharpSimplificationService.Expander.cs (1)
1031if (type.IsUnboundGenericType)
Simplification\Simplifiers\NameSimplifier.cs (1)
408if (type.IsUnboundGenericType)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (1)
203var typeArguments = symbol.IsUnboundGenericType
Microsoft.CodeAnalysis.Features (2)
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs (1)
486if (!symbol.IsUnboundGenericType &&
MetadataAsSource\AbstractMetadataAsSourceService.WrappedNamedTypeSymbol.cs (1)
62public bool IsUnboundGenericType => _symbol.IsUnboundGenericType;
Microsoft.CodeAnalysis.VisualBasic (2)
SymbolDisplay\SymbolDisplayVisitor.Types.vb (1)
286If isMissingMetadataType OrElse symbol.IsUnboundGenericType Then
Symbols\NamedTypeSymbol.vb (1)
1359Private ReadOnly Property INamedTypeSymbol_IsUnboundGenericType As Boolean Implements INamedTypeSymbol.IsUnboundGenericType
Microsoft.CodeAnalysis.VisualBasic.Workspaces (2)
Simplification\Simplifiers\NameSimplifier.vb (1)
408If type.IsUnboundGenericType Then
Simplification\VisualBasicSimplificationService.Expander.vb (1)
800If type.IsUnboundGenericType Then
Microsoft.CodeAnalysis.Workspaces (7)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.NamedTypeSymbolKey.cs (2)
25visitor.WriteBoolean(symbol.IsUnboundGenericType); 29if (!symbol.Equals(symbol.ConstructedFrom) && !symbol.IsUnboundGenericType)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.EquivalenceVisitor.cs (3)
361x.IsUnboundGenericType != y.IsUnboundGenericType || 414x.IsUnboundGenericType ||
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (2)
176Hash.Combine(x.IsUnboundGenericType, 185return IsConstructedFromSelf(x) || x.IsUnboundGenericType
Microsoft.Interop.LibraryImportGenerator (1)
Analyzers\NativeMarshallingAttributeAnalyzer.cs (1)
123if (entryType.IsUnboundGenericType)
Microsoft.Interop.SourceGeneration (4)
CustomMarshallingInfoHelper.cs (2)
58else if (type is INamedTypeSymbol namedManagedCollectionType && entryPointType.IsUnboundGenericType) 90if (type is INamedTypeSymbol namedManagedType && entryPointType.IsUnboundGenericType)
ManualTypeMarshallingHelper.cs (2)
249if (!entryPointType.IsUnboundGenericType) 291if (!namedMarshallerType.IsUnboundGenericType)
System.Text.Json.SourceGeneration (2)
Helpers\RoslynExtensions.cs (1)
76if (namedType.IsUnboundGenericType)
JsonSourceGenerator.Parser.cs (1)
531if (type is { IsRefLikeType: true } or INamedTypeSymbol { IsUnboundGenericType: true } or IErrorTypeSymbol)