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