5 implementations of INamedTypeSymbol_ConstructUnboundGenericType
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
85public abstract INamedTypeSymbol ConstructUnboundGenericType();
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\NamedTypeSymbol.cs (1)
141INamedTypeSymbol INamedTypeSymbol.ConstructUnboundGenericType()
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\AbstractMetadataAsSourceService.WrappedNamedTypeSymbol.cs (1)
97public INamedTypeSymbol ConstructUnboundGenericType()
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\NamedTypeSymbol.vb (1)
1413Private Function INamedTypeSymbol_ConstructUnboundGenericType() As INamedTypeSymbol Implements INamedTypeSymbol.ConstructUnboundGenericType
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
85public abstract INamedTypeSymbol ConstructUnboundGenericType();
28 references to INamedTypeSymbol_ConstructUnboundGenericType
ConfigurationSchemaGenerator (14)
RuntimeSource\Configuration.Binder\ConfigurationBindingGenerator.Parser.cs (3)
222genericType.ConstructUnboundGenericType() is INamedTypeSymbol { } unboundGeneric && 809candidate.ConstructUnboundGenericType() is INamedTypeSymbol unbound 825INamedTypeSymbol unbound = type.ConstructUnboundGenericType();
RuntimeSource\Configuration.Binder\Parser\KnownTypeSymbols.cs (10)
96OptionsBuilderOfT_Unbound = OptionsBuilderOfT?.ConstructUnboundGenericType(); 115GenericICollection_Unbound = GenericICollection.ConstructUnboundGenericType(); 116GenericIDictionary_Unbound = GenericIDictionary?.ConstructUnboundGenericType(); 117GenericIEnumerable_Unbound = compilation.GetSpecialType(SpecialType.System_Collections_Generic_IEnumerable_T).ConstructUnboundGenericType(); 118GenericIList_Unbound = compilation.GetSpecialType(SpecialType.System_Collections_Generic_IList_T).ConstructUnboundGenericType(); 119IReadOnlyDictionary_Unbound = compilation.GetBestTypeByMetadataName(typeof(IReadOnlyDictionary<,>))?.ConstructUnboundGenericType(); 120IReadOnlyCollection_Unbound = compilation.GetBestTypeByMetadataName(typeof(IReadOnlyCollection<>))?.ConstructUnboundGenericType(); 121IReadOnlyList_Unbound = compilation.GetBestTypeByMetadataName(typeof(IReadOnlyList<>))?.ConstructUnboundGenericType(); 122IReadOnlySet_Unbound = compilation.GetBestTypeByMetadataName("System.Collections.Generic.IReadOnlySet`1")?.ConstructUnboundGenericType(); 123ISet_Unbound = ISet?.ConstructUnboundGenericType();
RuntimeSource\Configuration.Binder\Parser\OptionsBuilderConfigurationExtensions.cs (1)
23!SymbolEqualityComparer.Default.Equals(_typeSymbols.OptionsBuilderOfT_Unbound, genericType.ConstructUnboundGenericType()))
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.NamedTypeSymbolKey.cs (1)
200currentType = isUnboundGenericType ? currentType.ConstructUnboundGenericType() : currentType;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\GenerateParameterizedMember\CSharpGenerateConversionService.cs (1)
202typeToGenerateIn = typeToGenerateIn.ConstructUnboundGenericType().ConstructedFrom;
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\CodeFixes\GenerateParameterizedMember\CSharpGenerateConversionService.cs (1)
202typeToGenerateIn = typeToGenerateIn.ConstructUnboundGenericType().ConstructedFrom;
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\RequiredMembersTests.cs (1)
7264var u_c = c!.ConstructUnboundGenericType();
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Simplification\CSharpSimplificationService.Expander.cs (1)
472aliasTarget = ((INamedTypeSymbol)aliasTarget).ConstructUnboundGenericType();
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\AbstractMetadataAsSourceService.WrappedNamedTypeSymbol.cs (1)
98=> _symbol.ConstructUnboundGenericType();
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\NamedTypeSymbol.vb (1)
1413Private Function INamedTypeSymbol_ConstructUnboundGenericType() As INamedTypeSymbol Implements INamedTypeSymbol.ConstructUnboundGenericType
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
src\Analyzers\VisualBasic\CodeFixes\GenerateParameterizedMember\VisualBasicGenerateConversionService.vb (1)
147typeToGenerateIn = typeToGenerateIn.ConstructUnboundGenericType.ConstructedFrom
Microsoft.CodeAnalysis.VisualBasic.Features (1)
src\Analyzers\VisualBasic\CodeFixes\GenerateParameterizedMember\VisualBasicGenerateConversionService.vb (1)
147typeToGenerateIn = typeToGenerateIn.ConstructUnboundGenericType.ConstructedFrom
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
Simplification\VisualBasicSimplificationService.Expander.vb (1)
510aliasTarget = DirectCast(aliasTarget, INamedTypeSymbol).ConstructUnboundGenericType()
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.NamedTypeSymbolKey.cs (1)
200currentType = isUnboundGenericType ? currentType.ConstructUnboundGenericType() : currentType;
Microsoft.Interop.JavaScript.JSImportGenerator (3)
JSMarshalAsAttributeInfoParser.cs (3)
19_jsMarshalAsAttribute = compilation.GetTypeByMetadataName(Constants.JSMarshalAsAttribute)!.ConstructUnboundGenericType(); 21public bool CanParseAttributeType(INamedTypeSymbol attributeType) => attributeType.IsGenericType && SymbolEqualityComparer.Default.Equals(_jsMarshalAsAttribute, attributeType.ConstructUnboundGenericType()); 29string gt = jsTypeArgs.ConstructUnboundGenericType().ToDisplayString();