1 override of TupleUnderlyingType
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Tuples\TupleTypeSymbol.vb (1)
78Public Overrides ReadOnly Property TupleUnderlyingType As NamedTypeSymbol
73 references to TupleUnderlyingType
Microsoft.CodeAnalysis.VisualBasic (22)
Compilation\ClsComplianceChecker.vb (2)
604type = type.TupleUnderlyingType 645Return IsCompliantType(type.TupleUnderlyingType)
Emit\EditAndContinue\VisualBasicSymbolMatcher.vb (2)
424Dim otherDef = DirectCast(Me.Visit(type.TupleUnderlyingType), NamedTypeSymbol) 728type = type.TupleUnderlyingType
Emit\NoPia\EmbeddedTypesManager.vb (1)
228type = type.TupleUnderlyingType
Emit\SymbolTranslator.vb (2)
126namedTypeSymbol = namedTypeSymbol.TupleUnderlyingType 382container = container.TupleUnderlyingType
Lowering\LocalRewriter\LocalRewriter_FieldAccess.vb (2)
40Dim currentLinkType As NamedTypeSymbol = tupleType.TupleUnderlyingType 62currentLinkType = currentLinkType.TypeArgumentsNoUseSiteDiagnostics(TupleTypeSymbol.RestPosition - 1).TupleUnderlyingType
Lowering\LocalRewriter\LocalRewriter_TupleLiteralExpression.vb (1)
35Dim underlyingTupleType As NamedTypeSymbol = If(type.TupleUnderlyingType, type)
Semantics\AccessCheck.vb (1)
610exposedNamedType = exposedNamedType.TupleUnderlyingType
Symbols\Metadata\PE\MetadataDecoder.vb (1)
217Return IsOrClosedOverATypeFromAssemblies(symbol.TupleUnderlyingType, assemblies)
Symbols\Metadata\PE\TupleTypeDecoder.vb (1)
159DecodeNamedType(type.TupleUnderlyingType),
Symbols\NamedTypeSymbol.vb (2)
1254Return TupleUnderlyingType 1315Dim underlying = typeToCheck.TupleUnderlyingType
Symbols\Retargeting\RetargetingSymbolTranslator.vb (2)
155Dim newUnderlyingType = Retarget(type.TupleUnderlyingType, options) 557namedType = namedType.TupleUnderlyingType
Symbols\Tuples\TupleTypeSymbol.vb (3)
508namedTypeSymbol = namedTypeSymbol.TypeArgumentsNoUseSiteDiagnostics(TupleTypeSymbol.RestPosition - 1).TupleUnderlyingType 533namedTypeSymbol = namedTypeSymbol.TypeArgumentsNoUseSiteDiagnostics(TupleTypeSymbol.RestPosition - 1).TupleUnderlyingType 808currentUnderlying = oldUnderlying.TypeArgumentsNoUseSiteDiagnostics(RestPosition - 1).TupleUnderlyingType
Symbols\TypeSymbolExtensions.vb (2)
56Return TryCast(type, NamedTypeSymbol)?.TupleUnderlyingType 871current = current.TupleUnderlyingType
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (29)
CodeGen\CodeGenTuples.vb (29)
5750Assert.Equal(TypeKind.Error, mTuple.TupleUnderlyingType.TypeKind) 5751Assert.Equal(SymbolKind.ErrorType, mTuple.TupleUnderlyingType.Kind) 5752Assert.IsAssignableFrom(Of ErrorTypeSymbol)(mTuple.TupleUnderlyingType) 7514Dim tuple4 = DirectCast(comp.CreateTupleTypeSymbol(CType(tuple1.TupleUnderlyingType, INamedTypeSymbol), 9103Assert.True(methodM.ReturnType.TupleUnderlyingType.IsErrorType()) 15038Assert.Equal("System.ValueTuple(Of System.Int32, System.Int32)", m1Tuple.TupleUnderlyingType.ToTestDisplayString()) 15042Assert.Same(m1Tuple.TupleUnderlyingType.ContainingSymbol, m1Tuple.ContainingSymbol) 15126Assert.Same(m1Tuple.TupleUnderlyingType, m1Item1.TupleUnderlyingField.ContainingSymbol) 15142Assert.Same(m2Tuple.TupleUnderlyingType, m2Item1.TupleUnderlyingField.ContainingSymbol) 15161Assert.Same(m2Tuple.TupleUnderlyingType, m2a2.TupleUnderlyingField.ContainingSymbol) 15187Dim underlyingMembers = tuple.TupleUnderlyingType.GetMembers() 15376Assert.NotEqual(m3Tuple.TupleUnderlyingType, m3Item8.TupleUnderlyingField.ContainingSymbol) 15539Assert.NotEqual(m4Tuple.TupleUnderlyingType, m4Item8.TupleUnderlyingField.ContainingSymbol) 15559Assert.NotEqual(m4Tuple.TupleUnderlyingType, m4h4.TupleUnderlyingField.ContainingSymbol) 15793Assert.NotEqual(m5Tuple.TupleUnderlyingType, m5Item8.TupleUnderlyingField.ContainingSymbol) 16149Assert.NotEqual(m8Tuple.TupleUnderlyingType, m8Item8.TupleUnderlyingField.ContainingSymbol) 16169Assert.NotEqual(m8Tuple.TupleUnderlyingType, m8Item1.TupleUnderlyingField.ContainingSymbol) 16296Assert.Equal("System.ValueTuple(Of System.Int32, System.Int32)", m1Tuple.TupleUnderlyingType.ToTestDisplayString()) 16300Assert.Same(m1Tuple.TupleUnderlyingType.ContainingSymbol, m1Tuple.ContainingSymbol) 16324Assert.Equal("Public Structure ValueTuple(Of T1, T2)", m1Tuple.TupleUnderlyingType.DeclaringSyntaxReferences.Single().GetSyntax().ToString().Substring(0, 38)) 16345Assert.Same(m1Tuple.TupleUnderlyingType, m1Item1.TupleUnderlyingField.ContainingSymbol) 16365Assert.Same(m2Tuple.TupleUnderlyingType, m2Item1.TupleUnderlyingField.ContainingSymbol) 16388Assert.Same(m2Tuple.TupleUnderlyingType, m2a2.TupleUnderlyingField.ContainingSymbol) 16408Assert.Same(m1Tuple.TupleUnderlyingType, m1ToString.TupleUnderlyingMethod.ContainingType) 18593Dim underlying1 As NamedTypeSymbol = tuple1.TupleUnderlyingType 18614Dim underlying2 As NamedTypeSymbol = tuple2.TupleUnderlyingType 22541Assert.True(tuple.TupleUnderlyingType.IsErrorType()) 22627Assert.False(tuple.TupleUnderlyingType.IsErrorType()) 23179Dim underlyingType = type.TupleUnderlyingType
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (22)
SymbolsTests\CustomModifiersTests.vb (22)
2259interfaceMethod1.ReturnType.TupleUnderlyingType.ToTestDisplayString()) 2261interfaceMethod1.Parameters(0).Type.TupleUnderlyingType.ToTestDisplayString()) 2269classMethod1.ReturnType.TupleUnderlyingType.ToTestDisplayString()) 2271classMethod1.Parameters(0).Type.TupleUnderlyingType.ToTestDisplayString()) 2299classMethod2.ReturnType.TupleUnderlyingType.ToTestDisplayString()) 2301classMethod2.Parameters(0).Type.TupleUnderlyingType.ToTestDisplayString()) 2329classMethod3.ReturnType.TupleUnderlyingType.ToTestDisplayString()) 2331classMethod3.Parameters(0).Type.TupleUnderlyingType.ToTestDisplayString()) 2390interfaceProperty1.Type.TupleUnderlyingType.ToTestDisplayString()) 2398classProperty1.Type.TupleUnderlyingType.ToTestDisplayString()) 2419classProperty2.Type.TupleUnderlyingType.ToTestDisplayString()) 2537baseMethod1.ReturnType.TupleUnderlyingType.ToTestDisplayString()) 2539baseMethod1.Parameters(0).Type.TupleUnderlyingType.ToTestDisplayString()) 2545baseProperty1.Type.TupleUnderlyingType.ToTestDisplayString()) 2552classMethod1.ReturnType.TupleUnderlyingType.ToTestDisplayString()) 2554classMethod1.Parameters(0).Type.TupleUnderlyingType.ToTestDisplayString()) 2560classProperty1.Type.TupleUnderlyingType.ToTestDisplayString()) 2589classProperty2.Type.TupleUnderlyingType.ToTestDisplayString()) 2596classMethod2.ReturnType.TupleUnderlyingType.ToTestDisplayString()) 2598classMethod2.Parameters(0).Type.TupleUnderlyingType.ToTestDisplayString()) 2628classMethod3.ReturnType.TupleUnderlyingType.ToTestDisplayString()) 2630classMethod3.Parameters(0).Type.TupleUnderlyingType.ToTestDisplayString())