11 implementations of TupleUnderlyingType
GenerateDocumentationAndConfigFiles (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
121public INamedTypeSymbol TupleUnderlyingType => null;
Microsoft.CodeAnalysis.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
121public INamedTypeSymbol TupleUnderlyingType => null;
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
121public INamedTypeSymbol TupleUnderlyingType => null;
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
121public INamedTypeSymbol TupleUnderlyingType => null;
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\NamedTypeSymbol.cs (1)
171INamedTypeSymbol INamedTypeSymbol.TupleUnderlyingType
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\AbstractMetadataAsSourceService.WrappedNamedTypeSymbol.cs (1)
75public INamedTypeSymbol TupleUnderlyingType => _symbol.TupleUnderlyingType;
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
121public INamedTypeSymbol TupleUnderlyingType => null;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\NamedTypeSymbol.vb (1)
1483Private ReadOnly Property INamedTypeSymbol_TupleUnderlyingType As INamedTypeSymbol Implements INamedTypeSymbol.TupleUnderlyingType
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
121public INamedTypeSymbol TupleUnderlyingType => null;
Roslyn.Diagnostics.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
121public INamedTypeSymbol TupleUnderlyingType => null;
Text.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
121public INamedTypeSymbol TupleUnderlyingType => null;
142 references to TupleUnderlyingType
GenerateDocumentationAndConfigFiles (6)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (1)
268=> (typeSymbol as INamedTypeSymbol)?.TupleUnderlyingType ?? typeSymbol;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyWriter.cs (1)
412else if (namedTypeSymbol.IsTupleType && namedTypeSymbol.TupleUnderlyingType is INamedTypeSymbol underlyingType && underlyingType != namedTypeSymbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.TupleTypeSymbolKey.cs (3)
22var isError = symbol.TupleUnderlyingType!.TypeKind == TypeKind.Error; 48visitor.WriteSymbolKey(symbol.TupleUnderlyingType); 69contextualSymbol?.TupleUnderlyingType,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (1)
445if (IsConstructedFromSelf(x.TupleUnderlyingType ?? x))
Metrics (6)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (1)
268=> (typeSymbol as INamedTypeSymbol)?.TupleUnderlyingType ?? typeSymbol;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyWriter.cs (1)
412else if (namedTypeSymbol.IsTupleType && namedTypeSymbol.TupleUnderlyingType is INamedTypeSymbol underlyingType && underlyingType != namedTypeSymbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.TupleTypeSymbolKey.cs (3)
22var isError = symbol.TupleUnderlyingType!.TypeKind == TypeKind.Error; 48visitor.WriteSymbolKey(symbol.TupleUnderlyingType); 69contextualSymbol?.TupleUnderlyingType,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (1)
445if (IsConstructedFromSelf(x.TupleUnderlyingType ?? x))
Metrics.Legacy (6)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (1)
268=> (typeSymbol as INamedTypeSymbol)?.TupleUnderlyingType ?? typeSymbol;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyWriter.cs (1)
412else if (namedTypeSymbol.IsTupleType && namedTypeSymbol.TupleUnderlyingType is INamedTypeSymbol underlyingType && underlyingType != namedTypeSymbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.TupleTypeSymbolKey.cs (3)
22var isError = symbol.TupleUnderlyingType!.TypeKind == TypeKind.Error; 48visitor.WriteSymbolKey(symbol.TupleUnderlyingType); 69contextualSymbol?.TupleUnderlyingType,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (1)
445if (IsConstructedFromSelf(x.TupleUnderlyingType ?? x))
Microsoft.CodeAnalysis.Analyzers (6)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (1)
268=> (typeSymbol as INamedTypeSymbol)?.TupleUnderlyingType ?? typeSymbol;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyWriter.cs (1)
412else if (namedTypeSymbol.IsTupleType && namedTypeSymbol.TupleUnderlyingType is INamedTypeSymbol underlyingType && underlyingType != namedTypeSymbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.TupleTypeSymbolKey.cs (3)
22var isError = symbol.TupleUnderlyingType!.TypeKind == TypeKind.Error; 48visitor.WriteSymbolKey(symbol.TupleUnderlyingType); 69contextualSymbol?.TupleUnderlyingType,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (1)
445if (IsConstructedFromSelf(x.TupleUnderlyingType ?? x))
Microsoft.CodeAnalysis.AnalyzerUtilities (6)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (1)
268=> (typeSymbol as INamedTypeSymbol)?.TupleUnderlyingType ?? typeSymbol;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyWriter.cs (1)
412else if (namedTypeSymbol.IsTupleType && namedTypeSymbol.TupleUnderlyingType is INamedTypeSymbol underlyingType && underlyingType != namedTypeSymbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.TupleTypeSymbolKey.cs (3)
22var isError = symbol.TupleUnderlyingType!.TypeKind == TypeKind.Error; 48visitor.WriteSymbolKey(symbol.TupleUnderlyingType); 69contextualSymbol?.TupleUnderlyingType,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (1)
445if (IsConstructedFromSelf(x.TupleUnderlyingType ?? x))
Microsoft.CodeAnalysis.BannedApiAnalyzers (6)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (1)
268=> (typeSymbol as INamedTypeSymbol)?.TupleUnderlyingType ?? typeSymbol;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyWriter.cs (1)
412else if (namedTypeSymbol.IsTupleType && namedTypeSymbol.TupleUnderlyingType is INamedTypeSymbol underlyingType && underlyingType != namedTypeSymbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.TupleTypeSymbolKey.cs (3)
22var isError = symbol.TupleUnderlyingType!.TypeKind == TypeKind.Error; 48visitor.WriteSymbolKey(symbol.TupleUnderlyingType); 69contextualSymbol?.TupleUnderlyingType,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (1)
445if (IsConstructedFromSelf(x.TupleUnderlyingType ?? x))
Microsoft.CodeAnalysis.CodeStyle (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyWriter.cs (1)
412else if (namedTypeSymbol.IsTupleType && namedTypeSymbol.TupleUnderlyingType is INamedTypeSymbol underlyingType && underlyingType != namedTypeSymbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.TupleTypeSymbolKey.cs (3)
22var isError = symbol.TupleUnderlyingType!.TypeKind == TypeKind.Error; 48visitor.WriteSymbolKey(symbol.TupleUnderlyingType); 69contextualSymbol?.TupleUnderlyingType,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (1)
445if (IsConstructedFromSelf(x.TupleUnderlyingType ?? x))
Microsoft.CodeAnalysis.CSharp (1)
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
574return type.TupleUnderlyingType ?? type;
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeStyle\TypeStyle\TypeStyleHelper.cs (1)
190return namedTypeSymbol.TupleUnderlyingType ?? symbol;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (3)
183if (symbol.IsTupleType && symbol.TupleUnderlyingType != null && !symbol.Equals(symbol.TupleUnderlyingType)) 185return CreateSimpleTypeSyntax(symbol.TupleUnderlyingType);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (18)
CodeGen\CodeGenDeconstructTests.cs (1)
1567var underlying = ((INamedTypeSymbol)tupleType).TupleUnderlyingType;
CodeGen\CodeGenTupleTest.cs (17)
5820Assert.Null(tupleWithoutNames.TupleUnderlyingType); 5878Assert.Null(tupleWithoutNames.TupleUnderlyingType); 5916Assert.Equal(SymbolKind.NamedType, tuple.TupleUnderlyingType.Kind); 5955Assert.Null(tupleWithoutNames.TupleUnderlyingType); 6636Assert.Null(tuple1.TupleUnderlyingType); 6678Assert.Null(tuple1.TupleUnderlyingType); 6796Assert.Null(tuple1.TupleUnderlyingType); 6836var underlyingType = tuple1.TupleUnderlyingType; 16573Assert.Null(xSymbol.TupleUnderlyingType); 16610Assert.True(xSymbol.TupleUnderlyingType.IsErrorType()); 18979Assert.Null(int_string1.TupleUnderlyingType); 19004Assert.Null(int_string1.TupleUnderlyingType); 19005Assert.Null(int_string2.TupleUnderlyingType); 19030Assert.Null(int_string1.TupleUnderlyingType); 19031Assert.Null(int_string2.TupleUnderlyingType); 19032Assert.Null(int_object.TupleUnderlyingType); 27493var underlyingType = type.TupleUnderlyingType;
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Semantics\ExtensionTests.cs (1)
81Assert.Null(symbol.TupleUnderlyingType);
Microsoft.CodeAnalysis.CSharp.Features (1)
IntroduceVariable\CSharpIntroduceLocalForExpressionCodeRefactoringProvider.cs (1)
98var tupleUnderlyingType = tupleType.TupleUnderlyingType ?? tupleType;
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeStyle\TypeStyle\TypeStyleHelper.cs (1)
190return namedTypeSymbol.TupleUnderlyingType ?? symbol;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (3)
183if (symbol.IsTupleType && symbol.TupleUnderlyingType != null && !symbol.Equals(symbol.TupleUnderlyingType)) 185return CreateSimpleTypeSyntax(symbol.TupleUnderlyingType);
Microsoft.CodeAnalysis.Extensions.Package (1)
Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (1)
445if (IsConstructedFromSelf(x.TupleUnderlyingType ?? x))
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\AbstractMetadataAsSourceService.WrappedNamedTypeSymbol.cs (1)
75public INamedTypeSymbol TupleUnderlyingType => _symbol.TupleUnderlyingType;
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (6)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (1)
268=> (typeSymbol as INamedTypeSymbol)?.TupleUnderlyingType ?? typeSymbol;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyWriter.cs (1)
412else if (namedTypeSymbol.IsTupleType && namedTypeSymbol.TupleUnderlyingType is INamedTypeSymbol underlyingType && underlyingType != namedTypeSymbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.TupleTypeSymbolKey.cs (3)
22var isError = symbol.TupleUnderlyingType!.TypeKind == TypeKind.Error; 48visitor.WriteSymbolKey(symbol.TupleUnderlyingType); 69contextualSymbol?.TupleUnderlyingType,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (1)
445if (IsConstructedFromSelf(x.TupleUnderlyingType ?? x))
Microsoft.CodeAnalysis.PublicApiAnalyzers (6)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (1)
268=> (typeSymbol as INamedTypeSymbol)?.TupleUnderlyingType ?? typeSymbol;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyWriter.cs (1)
412else if (namedTypeSymbol.IsTupleType && namedTypeSymbol.TupleUnderlyingType is INamedTypeSymbol underlyingType && underlyingType != namedTypeSymbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.TupleTypeSymbolKey.cs (3)
22var isError = symbol.TupleUnderlyingType!.TypeKind == TypeKind.Error; 48visitor.WriteSymbolKey(symbol.TupleUnderlyingType); 69contextualSymbol?.TupleUnderlyingType,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (1)
445if (IsConstructedFromSelf(x.TupleUnderlyingType ?? x))
Microsoft.CodeAnalysis.ResxSourceGenerator (6)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (1)
268=> (typeSymbol as INamedTypeSymbol)?.TupleUnderlyingType ?? typeSymbol;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyWriter.cs (1)
412else if (namedTypeSymbol.IsTupleType && namedTypeSymbol.TupleUnderlyingType is INamedTypeSymbol underlyingType && underlyingType != namedTypeSymbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.TupleTypeSymbolKey.cs (3)
22var isError = symbol.TupleUnderlyingType!.TypeKind == TypeKind.Error; 48visitor.WriteSymbolKey(symbol.TupleUnderlyingType); 69contextualSymbol?.TupleUnderlyingType,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (1)
445if (IsConstructedFromSelf(x.TupleUnderlyingType ?? x))
Microsoft.CodeAnalysis.VisualBasic (3)
SymbolDisplay\SymbolDisplayVisitor.Types.vb (2)
221symbol = symbol.TupleUnderlyingType 369Return If(tupleSymbol.TupleUnderlyingType, tupleSymbol)
Symbols\NamedTypeSymbol.vb (1)
1483Private ReadOnly Property INamedTypeSymbol_TupleUnderlyingType As INamedTypeSymbol Implements INamedTypeSymbol.TupleUnderlyingType
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (3)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeSyntaxGeneratorVisitor.vb (3)
72symbol.TupleUnderlyingType IsNot Nothing AndAlso 73Not symbol.Equals(symbol.TupleUnderlyingType) Then 74Return CreateSimpleTypeSyntax(symbol.TupleUnderlyingType)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (13)
CodeGen\CodeGenTuples.vb (13)
6893Assert.Equal(SymbolKind.NamedType, tupleWithoutNames.TupleUnderlyingType.Kind) 6927Assert.Equal(SymbolKind.NamedType, tuple.TupleUnderlyingType.Kind) 6946Assert.Equal(SymbolKind.ErrorType, tupleWithoutNames.TupleUnderlyingType.Kind) 6966Assert.Equal(SymbolKind.ErrorType, tupleWithoutNames.TupleUnderlyingType.Kind) 6987Assert.Equal(SymbolKind.ErrorType, tupleWithSomeNames.TupleUnderlyingType.Kind) 7249Assert.Equal(SymbolKind.NamedType, tupleWithoutNames.TupleUnderlyingType.Kind) 7278Assert.Equal(SymbolKind.NamedType, tuple.TupleUnderlyingType.Kind) 7296Assert.Equal(SymbolKind.ErrorType, tupleWithoutNames.TupleUnderlyingType.Kind) 7314Assert.Equal(SymbolKind.ErrorType, tupleWithoutNames.TupleUnderlyingType.Kind) 7545Dim underlyingType = tuple1.TupleUnderlyingType 7609Dim underlyingType = tuple1.TupleUnderlyingType 7644Dim underlyingType = tuple1.TupleUnderlyingType 23205Dim underlyingType = type.TupleUnderlyingType
Microsoft.CodeAnalysis.VisualBasic.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeSyntaxGeneratorVisitor.vb (3)
72symbol.TupleUnderlyingType IsNot Nothing AndAlso 73Not symbol.Equals(symbol.TupleUnderlyingType) Then 74Return CreateSimpleTypeSyntax(symbol.TupleUnderlyingType)
Microsoft.CodeAnalysis.Workspaces (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyWriter.cs (1)
412else if (namedTypeSymbol.IsTupleType && namedTypeSymbol.TupleUnderlyingType is INamedTypeSymbol underlyingType && underlyingType != namedTypeSymbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.TupleTypeSymbolKey.cs (3)
22var isError = symbol.TupleUnderlyingType!.TypeKind == TypeKind.Error; 48visitor.WriteSymbolKey(symbol.TupleUnderlyingType); 69contextualSymbol?.TupleUnderlyingType,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (1)
445if (IsConstructedFromSelf(x.TupleUnderlyingType ?? x))
Roslyn.Diagnostics.Analyzers (6)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (1)
268=> (typeSymbol as INamedTypeSymbol)?.TupleUnderlyingType ?? typeSymbol;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyWriter.cs (1)
412else if (namedTypeSymbol.IsTupleType && namedTypeSymbol.TupleUnderlyingType is INamedTypeSymbol underlyingType && underlyingType != namedTypeSymbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.TupleTypeSymbolKey.cs (3)
22var isError = symbol.TupleUnderlyingType!.TypeKind == TypeKind.Error; 48visitor.WriteSymbolKey(symbol.TupleUnderlyingType); 69contextualSymbol?.TupleUnderlyingType,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (1)
445if (IsConstructedFromSelf(x.TupleUnderlyingType ?? x))
Roslyn.Diagnostics.CSharp.Analyzers (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeStyle\TypeStyle\TypeStyleHelper.cs (1)
190return namedTypeSymbol.TupleUnderlyingType ?? symbol;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (3)
183if (symbol.IsTupleType && symbol.TupleUnderlyingType != null && !symbol.Equals(symbol.TupleUnderlyingType)) 185return CreateSimpleTypeSyntax(symbol.TupleUnderlyingType);
Roslyn.Diagnostics.VisualBasic.Analyzers (3)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeSyntaxGeneratorVisitor.vb (3)
72symbol.TupleUnderlyingType IsNot Nothing AndAlso 73Not symbol.Equals(symbol.TupleUnderlyingType) Then 74Return CreateSimpleTypeSyntax(symbol.TupleUnderlyingType)
Test.Utilities (6)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (1)
268=> (typeSymbol as INamedTypeSymbol)?.TupleUnderlyingType ?? typeSymbol;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyWriter.cs (1)
412else if (namedTypeSymbol.IsTupleType && namedTypeSymbol.TupleUnderlyingType is INamedTypeSymbol underlyingType && underlyingType != namedTypeSymbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.TupleTypeSymbolKey.cs (3)
22var isError = symbol.TupleUnderlyingType!.TypeKind == TypeKind.Error; 48visitor.WriteSymbolKey(symbol.TupleUnderlyingType); 69contextualSymbol?.TupleUnderlyingType,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (1)
445if (IsConstructedFromSelf(x.TupleUnderlyingType ?? x))
Text.Analyzers (6)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (1)
268=> (typeSymbol as INamedTypeSymbol)?.TupleUnderlyingType ?? typeSymbol;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyWriter.cs (1)
412else if (namedTypeSymbol.IsTupleType && namedTypeSymbol.TupleUnderlyingType is INamedTypeSymbol underlyingType && underlyingType != namedTypeSymbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.TupleTypeSymbolKey.cs (3)
22var isError = symbol.TupleUnderlyingType!.TypeKind == TypeKind.Error; 48visitor.WriteSymbolKey(symbol.TupleUnderlyingType); 69contextualSymbol?.TupleUnderlyingType,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (1)
445if (IsConstructedFromSelf(x.TupleUnderlyingType ?? x))