10 implementations of Construct
GenerateDocumentationAndConfigFiles (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
64
public INamedTypeSymbol
Construct
(ImmutableArray<ITypeSymbol> typeArguments, ImmutableArray<NullableAnnotation> typeArgumentNullableAnnotations)
Microsoft.CodeAnalysis.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
64
public INamedTypeSymbol
Construct
(ImmutableArray<ITypeSymbol> typeArguments, ImmutableArray<NullableAnnotation> typeArgumentNullableAnnotations)
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
64
public INamedTypeSymbol
Construct
(ImmutableArray<ITypeSymbol> typeArguments, ImmutableArray<NullableAnnotation> typeArgumentNullableAnnotations)
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
64
public INamedTypeSymbol
Construct
(ImmutableArray<ITypeSymbol> typeArguments, ImmutableArray<NullableAnnotation> typeArgumentNullableAnnotations)
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\NamedTypeSymbol.cs (1)
136
INamedTypeSymbol INamedTypeSymbol.
Construct
(ImmutableArray<ITypeSymbol> typeArguments, ImmutableArray<CodeAnalysis.NullableAnnotation> typeArgumentNullableAnnotations)
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\AbstractMetadataAsSourceService.WrappedNamedTypeSymbol.cs (1)
93
public INamedTypeSymbol
Construct
(ImmutableArray<ITypeSymbol> typeArguments, ImmutableArray<NullableAnnotation> typeArgumentNullableAnnotations)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
64
public INamedTypeSymbol
Construct
(ImmutableArray<ITypeSymbol> typeArguments, ImmutableArray<NullableAnnotation> typeArgumentNullableAnnotations)
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
64
public INamedTypeSymbol
Construct
(ImmutableArray<ITypeSymbol> typeArguments, ImmutableArray<NullableAnnotation> typeArgumentNullableAnnotations)
Roslyn.Diagnostics.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
64
public INamedTypeSymbol
Construct
(ImmutableArray<ITypeSymbol> typeArguments, ImmutableArray<NullableAnnotation> typeArgumentNullableAnnotations)
Text.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
64
public INamedTypeSymbol
Construct
(ImmutableArray<ITypeSymbol> typeArguments, ImmutableArray<NullableAnnotation> typeArgumentNullableAnnotations)
13 references to Construct
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (7)
Compilation\CompilationAPITests.cs (7)
3033
Assert.Throws<ArgumentException>(() => genericType.
Construct
(default(ImmutableArray<ITypeSymbol>), default(ImmutableArray<CodeAnalysis.NullableAnnotation>)));
3034
Assert.Throws<ArgumentException>(() => genericType.
Construct
(typeArguments: default, typeArgumentNullableAnnotations: default));
3036
var type = genericType.
Construct
(typeArguments, default);
3041
Assert.Throws<ArgumentException>(() => genericType.
Construct
(typeArguments, ImmutableArray<CodeAnalysis.NullableAnnotation>.Empty));
3042
Assert.Throws<ArgumentException>(() => genericType.
Construct
(ImmutableArray.Create<ITypeSymbol>(null, null), default));
3044
type = genericType.
Construct
(typeArguments, ImmutableArray.Create(CodeAnalysis.NullableAnnotation.Annotated, CodeAnalysis.NullableAnnotation.NotAnnotated));
3052
Assert.Throws<ArgumentException>(() => genericType.
Construct
(typeArguments, default));
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\AbstractMetadataAsSourceService.WrappedNamedTypeSymbol.cs (1)
94
=> _symbol.
Construct
(typeArguments, typeArgumentNullableAnnotations);
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (4)
Compilation\CompilationAPITests.vb (4)
1946
Assert.Throws(Of ArgumentException)(Function() genericType.
Construct
(typeArguments:=Nothing, typeArgumentNullableAnnotations:=Nothing))
1948
Dim type = genericType.
Construct
(typeArguments, Nothing)
1953
Assert.Throws(Of ArgumentException)(Function() genericType.
Construct
(ImmutableArray.Create(Of ITypeSymbol)(Nothing, Nothing), Nothing))
1962
Assert.Throws(Of ArgumentException)(Function() genericType.
Construct
(typeArguments, Nothing))
Microsoft.Interop.SourceGeneration (1)
TypeSymbolExtensions.cs (1)
294
currentType = currentType.
Construct
(