18 references to CreateArrayTypeSymbol
Microsoft.CodeAnalysis (2)
DiagnosticAnalyzer\SuppressMessageAttributeState.TargetSymbolResolver.cs (1)
712return _compilation.CreateArrayTypeSymbol(typeSymbol, rank);
DocumentationCommentId.cs (1)
951typeSymbol = compilation.CreateArrayTypeSymbol(typeSymbol, bounds);
Microsoft.CodeAnalysis.CodeStyle (1)
src\Compilers\Core\Portable\DiagnosticAnalyzer\SuppressMessageAttributeState.TargetSymbolResolver.cs (1)
712return _compilation.CreateArrayTypeSymbol(typeSymbol, rank);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Compilation\CompilationAPITests.cs (4)
2468Assert.Throws<ArgumentException>(() => comp.CreateArrayTypeSymbol(elementType, default)); 2469Assert.Throws<ArgumentException>(() => comp.CreateArrayTypeSymbol(elementType, 0)); 2476Assert.Throws<ArgumentException>(() => comp.CreateArrayTypeSymbol(elementType, rank: default)); 2477Assert.Throws<ArgumentException>(() => comp.CreateArrayTypeSymbol(elementType, rank: 0));
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
CodeGeneration\CodeGenerationTests.cs (1)
675: compilation.CreateArrayTypeSymbol(compilation.GetTypeByMetadataName(typeFullName), arrayRank);
Microsoft.CodeAnalysis.Features (1)
src\Compilers\Core\Portable\DiagnosticAnalyzer\SuppressMessageAttributeState.TargetSymbolResolver.cs (1)
712return _compilation.CreateArrayTypeSymbol(typeSymbol, rank);
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\ExpressionSyntaxExtensions.vb (1)
183Return semanticModel.Compilation.CreateArrayTypeSymbol(type, rank)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (4)
Compilation\CompilationAPITests.vb (4)
1517Assert.Throws(Of ArgumentException)(Function() comp.CreateArrayTypeSymbol(elementType, Nothing)) 1518Assert.Throws(Of ArgumentException)(Function() comp.CreateArrayTypeSymbol(elementType, 0)) 1524Assert.Throws(Of ArgumentException)(Function() comp.CreateArrayTypeSymbol(elementType, rank:=Nothing)) 1525Assert.Throws(Of ArgumentException)(Function() comp.CreateArrayTypeSymbol(elementType, rank:=0))
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\ExpressionSyntaxExtensions.vb (1)
183Return semanticModel.Compilation.CreateArrayTypeSymbol(type, rank)
Microsoft.Interop.SourceGeneration (1)
ManualTypeMarshallingHelper.cs (1)
397resultType = compilation.CreateArrayTypeSymbol(resultType, arrayType.Rank);
System.Text.Json.SourceGeneration (2)
Helpers\KnownTypeSymbols.cs (1)
153: (_ByteArrayType = new(Compilation.CreateArrayTypeSymbol(Compilation.GetSpecialType(SpecialType.System_Byte), rank: 1))).Value;
Helpers\RoslynExtensions.cs (1)
56return compilation.CreateArrayTypeSymbol(elementType, arrayType.Rank);