13 overrides of Type
Microsoft.CodeAnalysis.VisualBasic (13)
Binding\Binder_XmlLiterals.vb (1)
1687Public Overrides ReadOnly Property Type As TypeSymbol
Lowering\StateMachineRewriter\SynthesizedStateMachineProperty.vb (1)
106Public Overrides ReadOnly Property Type As TypeSymbol
Symbols\AnonymousTypes\PublicSymbols\AnonymousType_PropertyPublicSymbol.vb (1)
53Public Overrides ReadOnly Property Type As TypeSymbol
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_PropertySymbol.vb (1)
95Public Overrides ReadOnly Property Type As TypeSymbol
Symbols\Metadata\PE\PEPropertySymbol.vb (1)
271Public Overrides ReadOnly Property Type As TypeSymbol
Symbols\Retargeting\RetargetingPropertySymbol.vb (1)
238Public Overrides ReadOnly Property Type As TypeSymbol
Symbols\SignatureOnlyPropertySymbol.vb (1)
99Public Overrides ReadOnly Property Type As TypeSymbol
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (1)
1807Public Overrides ReadOnly Property Type As TypeSymbol
Symbols\Source\SourcePropertySymbol.vb (1)
330Public Overrides ReadOnly Property Type As TypeSymbol
Symbols\Source\SynthesizedMyGroupCollectionPropertySymbol.vb (1)
55Public Overrides ReadOnly Property Type As TypeSymbol
Symbols\SubstitutedPropertySymbol.vb (1)
214Public Overrides ReadOnly Property Type As TypeSymbol
Symbols\SynthesizedSymbols\SynthesizedOverridingWitheventsProperty.vb (1)
205Public Overrides ReadOnly Property Type As TypeSymbol
Symbols\Tuples\TuplePropertySymbol.vb (1)
34Public Overrides ReadOnly Property Type As TypeSymbol
94 references to Type
Microsoft.CodeAnalysis.VisualBasic (62)
Binding\Binder.vb (1)
522If candidateProperty.Type.SpecialType <> SpecialType.System_String OrElse
Binding\Binder_Expressions.vb (3)
1276Return BadExpression(syntax, expr, LookupResultKind.NotAValue, propertySymbol.Type) 3494memberType = DirectCast(member, PropertySymbol).Type 3986Return DirectCast(s, PropertySymbol).Type
Binding\Binder_Initializers.vb (3)
351Debug.Assert(TypeSymbol.Equals(propertySymbol.Type, propertySymbol.AssociatedField.Type, TypeCompareKind.ConsiderEverything)) 357type:=propertySymbol.Type, 386propertySymbol.Type,
Binding\Binder_XmlLiterals.vb (1)
1689Return _originalDefinition.Type
Binding\DocumentationCommentCrefBinder.vb (2)
391type = DirectCast(symbol, PropertySymbol).Type 775Dim propertyType As TypeSymbol = [property].Type
Binding\DocumentationCommentCrefBinder_Compat.vb (1)
192Dim propertyType As TypeSymbol = [property].Type
Binding\MemberSemanticModel.vb (2)
780If current IsNot Nothing AndAlso Not current.Type.IsErrorType() Then 781currentConversion = New Conversion(Conversions.ClassifyConversion(current.Type, elementType, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded))
Binding\SyntheticBoundTrees\SynthesizedPropertyAccessorBase.vb (2)
25If propertySymbol.Type.IsVoidType Then 294type:=propertySymbol.Type)
Compilation\ClsComplianceChecker.vb (1)
421type = (DirectCast(symbol, PropertySymbol)).Type
Emit\AttributeDataAdapter.vb (1)
126type = DirectCast(sym, PropertySymbol).Type
Emit\EditAndContinue\PEDeltaAssemblyBuilder.vb (1)
189Dim propertyType = [property].Type
Emit\EditAndContinue\VisualBasicSymbolMatcher.vb (2)
605Return Me._comparer.Equals([property].Type, other.Type) AndAlso
Emit\PropertySymbolAdapter.vb (1)
143Return (DirectCast(context.Module, PEModuleBuilder)).Translate(AdaptedPropertySymbol.Type, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics)
Lowering\LocalRewriter\LocalRewriter_Query.vb (1)
148type:=propertyDef.Type)
Semantics\OverloadResolution.vb (1)
396Return _property.Type
Symbols\AnonymousTypes\PublicSymbols\AnonymousType_PropertyPublicAccessors.vb (2)
48MyBase.New([property], [property].Type) 74New SynthesizedParameterSymbol(Me, m_propertyOrEvent.Type, 0, False, StringConstants.ValueParameterName))
Symbols\AnonymousTypes\PublicSymbols\AnonymousType_TypePublicSymbol.vb (1)
100paramsArr(index) = New SynthesizedParameterSimpleSymbol(constructor, [property].Type, index, [property].Name)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_ConstructorSymbol.vb (1)
26paramsArr(index) = New AnonymousTypeOrDelegateParameterSymbol(Me, [property].Type, index, isByRef:=False, [property].Name, correspondingInvokeParameterOrProperty:=index)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_PropertyAccessors.vb (2)
67MyBase.New([property], [property].Type) 93New SynthesizedParameterSymbol(Me, m_propertyOrEvent.Type, 0, False, StringConstants.ValueParameterName))
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_PropertyBackingFieldSymbol.vb (1)
35Return _propertyOrEvent.Type
Symbols\Attributes\AttributeData.vb (3)
426If [property].Type IsNot Nothing AndAlso [property].Type.SpecialType = SpecialType.System_String AndAlso 516If prop?.Type.SpecialType = SpecialType.System_String Then
Symbols\PropertySignatureComparer.vb (5)
138_hash = Hash.Combine(prop.Type, _hash) 181New TypeWithModifiers(prop1.Type, prop1.TypeCustomModifiers), 185New TypeWithModifiers(prop2.Type, prop2.TypeCustomModifiers), 231Dim type1 = prop1.Type 232Dim type2 = prop2.Type
Symbols\PropertySymbol.vb (3)
408If MergeUseSiteInfo(useSiteInfo, DeriveUseSiteInfoFromType(Me.Type)) Then 438errorInfo = If(Me.Type.GetUnificationUseSiteDiagnosticRecursive(Me, unificationCheckedTypes), 600Return Me.Type
Symbols\PropertySymbolExtensions.vb (2)
47Return If(accessor Is Nothing, [property].Type, accessor.ReturnType) 54Return [property].Type
Symbols\Retargeting\RetargetingPropertySymbol.vb (1)
240Return RetargetingTranslator.Retarget(_underlyingProperty.Type, RetargetOptions.RetargetPrimitiveTypesByTypeCode)
Symbols\Retargeting\RetargetingSymbolTranslator.vb (1)
1107Retarget([property].Type, RetargetOptions.RetargetPrimitiveTypesByTypeCode),
Symbols\Source\SourceMemberContainerTypeSymbol.vb (1)
1092GenerateVarianceDiagnosticsForType([property].Type, requiredVariance, context, infosBuffer)
Symbols\Source\SourceMemberMethodSymbol.vb (3)
676withEventsSourceProperty = FindProperty(witheventsProperty.Type, 688eventContainingType = withEventsSourceProperty.Type 690eventContainingType = witheventsProperty.Type
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (3)
426If prop.Type.IsObjectType() AndAlso prop.SetMethod IsNot Nothing Then 590prop.Type.SpecialType = SpecialType.System_Collections_IEnumerator Then 1809Return _clonedFrom.Type
Symbols\Source\SourcePropertyAccessorSymbol.vb (1)
228Dim result = prop.Type
Symbols\Source\SourcePropertySymbol.vb (1)
778Dim returnTypeWithCustomModifiers As TypeSymbol = overridden.Type
Symbols\Source\SynthesizedWithEventsAccessorSymbol.vb (1)
151Return m_propertyOrEvent.Type
Symbols\SubstitutedPropertySymbol.vb (2)
216Return _originalDefinition.Type.InternalSubstituteTypeParameters(TypeSubstitution).Type 222Return TypeSubstitution.SubstituteCustomModifiers(_originalDefinition.Type, _originalDefinition.TypeCustomModifiers)
Symbols\SymbolExtensions.vb (1)
471Return [property].Type.ContainsTupleNames() OrElse ContainsTupleNames([property].Parameters)
Symbols\SynthesizedSymbols\SynthesizedOverridingWitheventsProperty.vb (1)
207Return _baseProperty.Type
Symbols\SynthesizedSymbols\SynthesizedParameterSymbol.vb (1)
306Dim valueParameterType As TypeSymbol = propertySymbol.Type
Symbols\Tuples\TuplePropertySymbol.vb (1)
36Return Me._underlyingProperty.Type
Symbols\WellKnownMembers.vb (1)
576Return prop.Type
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Attributes\AttributeTests_Tuples.vb (1)
278typeSymbols.Add(DirectCast(symbol, PropertySymbol).Type)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (31)
SymbolsTests\AnonymousTypes\AnonymousTypesEmittedSymbolsTests.vb (1)
653Assert.Equal(propType, prop.Type)
SymbolsTests\CustomModifiersTests.vb (6)
2390interfaceProperty1.Type.TupleUnderlyingType.ToTestDisplayString()) 2398classProperty1.Type.TupleUnderlyingType.ToTestDisplayString()) 2419classProperty2.Type.TupleUnderlyingType.ToTestDisplayString()) 2545baseProperty1.Type.TupleUnderlyingType.ToTestDisplayString()) 2560classProperty1.Type.TupleUnderlyingType.ToTestDisplayString()) 2589classProperty2.Type.TupleUnderlyingType.ToTestDisplayString())
SymbolsTests\Metadata\PE\NoPiaInstantiationOfGenericClassAndStruct.vb (2)
173Assert.Equal(SymbolKind.ErrorType, importedProperty.Type.Kind) 174Assert.IsType(Of NoPiaIllegalGenericInstantiationSymbol)(importedProperty.Type)
SymbolsTests\Metadata\PE\NoPiaLocalHideAndTypeSubstitutionTests.vb (4)
196Dim propertyType = propertySymbol.Type 199Assert.IsAssignableFrom(Of VisualBasic.Symbols.Metadata.PE.PENamedTypeSymbol)(propertySymbol.Type) 220Dim missing As NoPiaMissingCanonicalTypeSymbol = DirectCast(propertySymbol.Type, NoPiaMissingCanonicalTypeSymbol) 226Assert.IsType(Of NoPiaMissingCanonicalTypeSymbol)(propertySymbol.Type)
SymbolsTests\Source\EnumTests.vb (1)
1022Dim Color = Clr.Type
SymbolsTests\Source\OverridesTests.vb (2)
6734Assert.Equal(overriddenProperty.Type, thisProperty.Type)
SymbolsTests\Source\PropertyTests.vb (15)
782Assert.Equal(SpecialType.System_Object, [property].Type.SpecialType) 854Assert.Equal(SpecialType.System_String, P2s.ElementAt(1).Type.SpecialType) 4342Assert.Equal(SpecialType.System_Object, propertiesDictionary!Typeless.Type.SpecialType) 4343Assert.Equal(SpecialType.System_String, propertiesDictionary!StringType.Type.SpecialType) 4344Assert.Equal(SpecialType.System_Int32, propertiesDictionary!IntegerType.Type.SpecialType) 4345Assert.Equal(SpecialType.System_Int64, propertiesDictionary!LongType.Type.SpecialType) 4346Assert.Equal(SpecialType.System_Decimal, propertiesDictionary!DecimalType.Type.SpecialType) 4347Assert.Equal(SpecialType.System_Single, propertiesDictionary!SingleType.Type.SpecialType) 4348Assert.Equal(SpecialType.System_Double, propertiesDictionary!DoubleType.Type.SpecialType) 4564Dim dout As NamedTypeSymbol = DirectCast(ein.Type, NamedTypeSymbol) 4630Assert.Equal(type.TypeArguments(0), prop.Type) 4643Assert.Equal(type.TypeArguments(0), prop.Type) 8117Dim type = [property].Type 8151Assert.Equal(field.Type, [property].Type) 8252Assert.Equal([property].SetMethod.Parameters.Last().Type, [property].Type)