11 types derived from PropertySymbol
Microsoft.CodeAnalysis.VisualBasic (11)
Binding\Binder_XmlLiterals.vb (1)
1525Inherits PropertySymbol
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_PropertySymbol.vb (1)
13Inherits PropertySymbol
Symbols\Metadata\PE\PEPropertySymbol.vb (1)
22Inherits PropertySymbol
Symbols\Retargeting\RetargetingPropertySymbol.vb (1)
15Inherits PropertySymbol
Symbols\SignatureOnlyPropertySymbol.vb (1)
19Inherits PropertySymbol
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (1)
1674Inherits PropertySymbol
Symbols\Source\SourcePropertySymbol.vb (1)
23Inherits PropertySymbol
Symbols\SubstitutedPropertySymbol.vb (1)
20Inherits PropertySymbol
Symbols\SynthesizedSymbols\SynthesizedOverridingWitheventsProperty.vb (1)
47Inherits PropertySymbol
Symbols\SynthesizedSymbols\SynthesizedPropertyBase.vb (1)
18Inherits PropertySymbol
Symbols\Wrapped\WrappedPropertySymbol.vb (1)
19Inherits PropertySymbol
380 references to PropertySymbol
Microsoft.CodeAnalysis.VisualBasic (380)
Binding\Binder_AnonymousTypes.vb (3)
97Private ReadOnly _propertySymbols() As PropertySymbol 143Me._propertySymbols = New PropertySymbol(initializersCount - 1) {} 321Friend Function GetAnonymousTypePropertySymbol(index As Integer) As PropertySymbol
Binding\Binder_Attributes.vb (3)
452Dim propertySym As PropertySymbol = Nothing 467propertySym = DirectCast(sym, PropertySymbol) 632Dim propSym = DirectCast(sym, PropertySymbol)
Binding\Binder_Expressions.vb (5)
3162lookupResult.Symbols.ToDowncastedImmutable(Of PropertySymbol), 3525memberType = DirectCast(member, PropertySymbol).Type 4017Return DirectCast(s, PropertySymbol).Type 4798lookupResult.Symbols.ToDowncastedImmutable(Of PropertySymbol), 4827Dim prop As PropertySymbol = DirectCast(isCompleted, BoundPropertyAccess).PropertySymbol
Binding\Binder_Initializers.vb (4)
191initializerBinder.BindPropertyInitializer(initializer.FieldsOrProperties.Cast(Of PropertySymbol).ToImmutableArray(), 334propertySymbols As ImmutableArray(Of PropertySymbol), 339Dim propertySymbol = DirectCast(propertySymbols.First, PropertySymbol) 384Friend Function BindPropertyInitializerExpression(initValueOrAsNewNode As SyntaxNode, propertySymbol As PropertySymbol, diagnostics As BindingDiagnosticBag) As BoundExpression
Binding\Binder_Invocation.vb (2)
950Dim [property] = DirectCast(methodOrProperty, PropertySymbol) 988Dim [property] As PropertySymbol = propertyAccess.PropertySymbol
Binding\Binder_Lookup.vb (1)
1277Dim reduced = New ReducedExtensionPropertySymbol(DirectCast(symbol, PropertySymbol))
Binding\Binder_Statements.vb (4)
1934Dim propertySymbol As PropertySymbol = propertyAccess.PropertySymbol 3959ImmutableArray.Create(DirectCast(member, PropertySymbol)), 4189lookupResult.Symbols.ToDowncastedImmutable(Of PropertySymbol), 4251Dim prop = DirectCast(sym, PropertySymbol)
Binding\Binder_Utils.vb (1)
949Public Function DecodePropertyParameterList(container As PropertySymbol,
Binding\Binder_XmlLiterals.vb (7)
994result.Symbols.ToDowncastedImmutable(Of PropertySymbol), 1527Private ReadOnly _originalDefinition As PropertySymbol 1529Public Sub New(originalDefinition As PropertySymbol) 1537Friend Overrides ReadOnly Property ReducedFrom As PropertySymbol 1543Friend Overrides ReadOnly Property ReducedFromDefinition As PropertySymbol 1591Public Overrides ReadOnly Property ExplicitInterfaceImplementations As ImmutableArray(Of PropertySymbol) 1593Return ImmutableArray(Of PropertySymbol).Empty
Binding\Binder.vb (2)
515Private Function GetInternalXmlHelperValueExtensionProperty() As PropertySymbol 521Dim candidateProperty = DirectCast(candidate, PropertySymbol)
Binding\DocumentationCommentBinder.vb (1)
225Dim prop = DirectCast(sym.OriginalDefinition, PropertySymbol)
Binding\DocumentationCommentCrefBinder_Compat.vb (1)
191Dim [property] = DirectCast(containingSymbol, PropertySymbol)
Binding\DocumentationCommentCrefBinder.vb (3)
152Dim candidateProperty = DirectCast(candidateSymbol, PropertySymbol) 391type = DirectCast(symbol, PropertySymbol).Type 774Dim [property] = DirectCast(containingSymbol, PropertySymbol)
Binding\DocumentationCommentParamBinder.vb (1)
41Return DirectCast(Me.CommentedSymbol, PropertySymbol).Parameters
Binding\InitializerSemanticModel.vb (1)
134Dim propertySymbols = ImmutableArray.CreateRange(GetInitializedFieldsOrProperties(binder).Cast(Of PropertySymbol))
Binding\LookupResult.vb (1)
522If Not DirectCast(sym, PropertySymbol).IsOverloads Then
Binding\MemberSemanticModel.vb (2)
764Dim current As PropertySymbol = Nothing 2081TryCast(boundAwait.IsCompleted.ExpressionSymbol, PropertySymbol),
Binding\SyntheticBoundTrees\SynthesizedPropertyAccessorBase.vb (5)
21Dim propertySymbol = DirectCast(accessor.AssociatedSymbol, PropertySymbol) 99Dim eventsToHookup As ArrayBuilder(Of ValueTuple(Of EventSymbol, PropertySymbol)) = Nothing 166eventsToHookup = ArrayBuilder(Of ValueTuple(Of EventSymbol, PropertySymbol)).GetInstance 171eventsToHookup.Add(New ValueTuple(Of EventSymbol, PropertySymbol)( 173DirectCast(handledEvent.WithEventsSourceProperty, PropertySymbol)))
BoundTree\BoundAnonymousTypePropertyAccess.vb (2)
13Private ReadOnly _lazyPropertySymbol As New Lazy(Of PropertySymbol)(AddressOf LazyGetProperty) 21Private Function LazyGetProperty() As PropertySymbol
BoundTree\BoundExpressionExtensions.vb (1)
161Public Function GetPropertyOrXmlProperty(node As BoundExpression) As PropertySymbol
BoundTree\BoundPropertyAccess.vb (2)
18Public Sub New(syntax As SyntaxNode, propertySymbol As PropertySymbol, propertyGroupOpt As BoundPropertyGroup, accessKind As PropertyAccessKind, isWriteable As Boolean, receiverOpt As BoundExpression, arguments As ImmutableArray(Of BoundExpression), 112Private Shared Function GetTypeFromAccessKind([property] As PropertySymbol, accessKind As PropertyAccessKind) As TypeSymbol
Compilation\ClsComplianceChecker.vb (4)
249Public Overrides Sub VisitProperty(symbol As PropertySymbol) 421type = (DirectCast(symbol, PropertySymbol)).Type 925parameters = DirectCast(symbol, PropertySymbol).Parameters 947parameters = DirectCast(symbol, PropertySymbol).Parameters
Compilation\DocumentationComments\DocumentationCommentCompiler.Includes.vb (1)
136Dim prop = DirectCast(symbol, PropertySymbol)
Compilation\DocumentationComments\DocumentationCommentCompiler.Property.vb (1)
25Public Overrides Sub VisitProperty(symbol As PropertySymbol)
Compilation\SemanticModel.vb (2)
2673Return DirectCast(GetDeclaredSymbol(DirectCast(declarationSyntax, MethodBaseSyntax), cancellationToken), PropertySymbol) 2853params = DirectCast(symbol, PropertySymbol).Parameters
Compilation\SyntaxTreeSemanticModel.vb (4)
727ImplementsHelper.FindExplicitlyImplementedMember(Of PropertySymbol)( 728DirectCast(implementingMember, PropertySymbol), 729DirectCast(implementingMember, PropertySymbol).ContainingType, 1076Return GetParameterSymbol(DirectCast(symbol, PropertySymbol).Parameters, parameter)
DocumentationComments\DocumentationCommentIDVisitor.PartVisitor.vb (1)
94Public Overrides Function VisitProperty(symbol As PropertySymbol, builder As StringBuilder) As Object
DocumentationComments\DocumentationCommentIDVisitor.vb (1)
37Public Overrides Function VisitProperty(symbol As PropertySymbol, builder As StringBuilder) As Object
Emit\AttributeDataAdapter.vb (1)
126type = DirectCast(sym, PropertySymbol).Type
Emit\EditAndContinue\PEDeltaAssemblyBuilder.vb (1)
197Dim [property] = DirectCast(member, PropertySymbol)
Emit\EditAndContinue\VisualBasicSymbolMatcher.vb (3)
332Public Overrides Function VisitProperty(symbol As PropertySymbol) As Symbol 477Private Function ArePropertiesEqual([property] As PropertySymbol, other As PropertySymbol) As Boolean
Emit\NamedTypeSymbolAdapter.vb (3)
710For Each [property] As PropertySymbol In AdaptedNamedTypeSymbol.GetPropertiesToEmit() 1000Friend Overridable Iterator Function GetPropertiesToEmit() As IEnumerable(Of PropertySymbol) 1005Yield DirectCast(member, PropertySymbol)
Emit\NoPia\EmbeddedProperty.vb (2)
11Imports PropertySymbolAdapter = Microsoft.CodeAnalysis.VisualBasic.Symbols.PropertySymbol 19Public Sub New(underlyingProperty As PropertySymbolAdapter, getter As EmbeddedMethod, setter As EmbeddedMethod)
Emit\NoPia\EmbeddedType.vb (3)
14Imports PropertySymbolAdapter = Microsoft.CodeAnalysis.VisualBasic.Symbols.PropertySymbol 97Protected Overrides Function GetPropertiesToEmit() As IEnumerable(Of PropertySymbolAdapter) 240TypeManager.EmbedProperty(Me, DirectCast(s, PropertySymbol).GetCciAdapter(), syntaxNodeOpt, diagnostics)
Emit\NoPia\EmbeddedTypesManager.vb (4)
17Imports PropertySymbolAdapter = Microsoft.CodeAnalysis.VisualBasic.Symbols.PropertySymbol 26SymbolAdapter, AssemblySymbol, NamedTypeSymbolAdapter, FieldSymbolAdapter, MethodSymbolAdapter, EventSymbolAdapter, PropertySymbolAdapter, ParameterSymbolAdapter, TypeParameterSymbolAdapter, 464EmbedProperty(type, DirectCast(propertyOrEvent, PropertySymbol).GetCciAdapter(), syntaxNodeOpt, diagnostics) 477[property] As PropertySymbolAdapter,
Emit\PropertySymbolAdapter.vb (2)
205Friend ReadOnly Property AdaptedPropertySymbol As PropertySymbol 211Friend Shadows Function GetCciAdapter() As PropertySymbol
Generated\BoundNodes.xml.Generated.vb (12)
2731Public Sub New(syntax As SyntaxNode, properties As ImmutableArray(Of PropertySymbol), resultKind As LookupResultKind, receiverOpt As BoundExpression, qualificationKind As QualificationKind, Optional hasErrors As Boolean = False) 2741Private ReadOnly _Properties As ImmutableArray(Of PropertySymbol) 2742Public ReadOnly Property Properties As ImmutableArray(Of PropertySymbol) 2760Public Function Update(properties As ImmutableArray(Of PropertySymbol), resultKind As LookupResultKind, receiverOpt As BoundExpression, qualificationKind As QualificationKind) As BoundPropertyGroup 4202Public Sub New(syntax As SyntaxNode, propertySymbol As PropertySymbol, propertyGroupOpt As BoundPropertyGroup, accessKind As PropertyAccessKind, isWriteable As Boolean, isLValue As Boolean, receiverOpt As BoundExpression, arguments As ImmutableArray(Of BoundExpression), defaultArguments As BitVector, type As TypeSymbol, Optional hasErrors As Boolean = False) 4225Private ReadOnly _PropertySymbol As PropertySymbol 4226Public ReadOnly Property PropertySymbol As PropertySymbol 4286Public Function Update(propertySymbol As PropertySymbol, propertyGroupOpt As BoundPropertyGroup, accessKind As PropertyAccessKind, isWriteable As Boolean, isLValue As Boolean, receiverOpt As BoundExpression, arguments As ImmutableArray(Of BoundExpression), defaultArguments As BitVector, type As TypeSymbol) As BoundPropertyAccess 4703Public Sub New(syntax As SyntaxNode, initializedProperties As ImmutableArray(Of PropertySymbol), memberAccessExpressionOpt As BoundExpression, initialValue As BoundExpression, binderOpt As Binder, Optional hasErrors As Boolean = False) 4713Private ReadOnly _InitializedProperties As ImmutableArray(Of PropertySymbol) 4714Public ReadOnly Property InitializedProperties As ImmutableArray(Of PropertySymbol) 4725Public Function Update(initializedProperties As ImmutableArray(Of PropertySymbol), memberAccessExpressionOpt As BoundExpression, initialValue As BoundExpression, binderOpt As Binder) As BoundPropertyInitializer
Lowering\AsyncRewriter\AsyncRewriter.vb (1)
615result.Symbols.ToDowncastedImmutable(Of PropertySymbol),
Lowering\Diagnostics\DiagnosticsPass_ExpressionLambdas.vb (1)
271Dim [property] As PropertySymbol = node.PropertySymbol
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (3)
431Dim [property] As PropertySymbol = node.PropertySymbol 621Me._factory.MethodInfo((DirectCast(leftSymbol, PropertySymbol)).SetMethod, _factory.WellKnownType(WellKnownType.System_Reflection_MethodInfo))) 721DirectCast(Me._factory.SpecialMember(SpecialMember.System_Array__LongLength), PropertySymbol).GetMethod,
Lowering\Instrumentation\CodeCoverageInstrumenter.vb (1)
156If DirectCast(associatedSymbol, PropertySymbol).IsDirectlyExcludedFromCodeCoverage Then
Lowering\IteratorRewriter\IteratorRewriter.vb (2)
192Dim currentManagedThreadIdProperty As PropertySymbol = F.WellKnownMember(Of PropertySymbol)(WellKnownMember.System_Environment__CurrentManagedThreadId, isOptional:=True)
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (1)
202DirectCast(boundCall.Method.AssociatedSymbol, PropertySymbol).AssociatedField,
Lowering\LocalRewriter\LocalRewriter_FieldOrPropertyInitializer.vb (2)
84initialValueToRewrite = node.BinderOpt.BindPropertyInitializerExpression(syntax, DirectCast(symbol, PropertySymbol), BindingDiagnosticBag.Discarded) 107Dim propertySymbol = DirectCast(symbol, PropertySymbol)
Lowering\LocalRewriter\LocalRewriter_Query.vb (1)
135For Each propertyDef As PropertySymbol In anonymousType.Properties
Lowering\LocalRewriter\LocalRewriter_RaiseEvent.vb (1)
126Dim invocationListProperty As PropertySymbol = Nothing
Lowering\MethodToClassRewriter\MethodToClassRewriter.vb (4)
291Private Function VisitPropertySymbol([property] As PropertySymbol) As PropertySymbol 295Dim newProperty As PropertySymbol = [property].OriginalDefinition 300newProperty = DirectCast(substitutedContainer.GetMemberForDefinition(newProperty), PropertySymbol)
Lowering\StateMachineRewriter\StateMachineRewriter.vb (7)
400Dim symbol = DirectCast(EnsureSpecialMember(member, bag), PropertySymbol) 415Friend Function OpenMethodImplementation(interfaceMethod As WellKnownMember, name As String, accessibility As Accessibility, Optional hasMethodBodyDependency As Boolean = False, Optional associatedProperty As PropertySymbol = Nothing) As SynthesizedMethod 421Friend Function OpenMethodImplementation(interfaceMethod As SpecialMember, name As String, accessibility As Accessibility, Optional hasMethodBodyDependency As Boolean = False, Optional associatedProperty As PropertySymbol = Nothing) As SynthesizedMethod 427Friend Function OpenMethodImplementation(interfaceType As NamedTypeSymbol, interfaceMethod As SpecialMember, name As String, accessibility As Accessibility, Optional hasMethodBodyDependency As Boolean = False, Optional associatedProperty As PropertySymbol = Nothing) As SynthesizedMethod 437Optional associatedProperty As PropertySymbol = Nothing) As SynthesizedMethod 456Dim methodToImplement As MethodSymbol = DirectCast(Me.F.SpecialMember(interfaceProperty), PropertySymbol).GetMethod 462Dim methodToImplement As MethodSymbol = DirectCast(Me.F.SpecialMember(interfaceMethod), PropertySymbol).GetMethod.AsMember(interfaceType)
Lowering\StateMachineRewriter\SynthesizedContainer.vb (2)
327Friend NotOverridable Overrides Function GetSynthesizedWithEventsOverrides() As IEnumerable(Of PropertySymbol) 328Return SpecializedCollections.EmptyEnumerable(Of PropertySymbol)()
Lowering\StateMachineRewriter\SynthesizedStateMachineMethod.vb (3)
27Private ReadOnly _associatedProperty As PropertySymbol 36Optional associatedProperty As PropertySymbol = Nothing) 245Optional associatedProperty As PropertySymbol = Nothing)
Lowering\StateMachineRewriter\SynthesizedStateMachineProperty.vb (3)
52Private ReadOnly Property ImplementedProperty As PropertySymbol 54Return DirectCast(_getter.ExplicitInterfaceImplementations(0).AssociatedSymbol, PropertySymbol) 58Public Overrides ReadOnly Property ExplicitInterfaceImplementations As ImmutableArray(Of PropertySymbol)
Lowering\SyntheticBoundNodeFactory.vb (8)
108Public Sub AddProperty(containingType As NamedTypeSymbol, prop As PropertySymbol) 196Dim propertySym As PropertySymbol = WellKnownMember(Of PropertySymbol)(member) 203Dim propertySym As PropertySymbol = WellKnownMember(Of PropertySymbol)(member) 204Debug.Assert(receiver.Type.GetMembers(propertySym.Name).OfType(Of PropertySymbol)().Single() = propertySym) 214Dim propertySym = receiver.Type.GetMembers(name).OfType(Of PropertySymbol)().[Single]() 221Dim propertySym = receiver.GetMembers(name).OfType(Of PropertySymbol)().[Single]()
Operations\VisualBasicOperationFactory.vb (1)
1232DirectCast(statementInfo.CurrentProperty, PropertySymbol).Parameters,
Semantics\OverloadResolution.vb (8)
392Private ReadOnly _property As PropertySymbol 394Public Sub New([property] As PropertySymbol) 456Dim definition As PropertySymbol = _property.OriginalDefinition 459Dim otherProperty As PropertySymbol = DirectCast(otherSymbol, PropertySymbol).OverriddenProperty 480Dim leastOverriddenDefinition As PropertySymbol = _property.OriginalDefinition 483Dim overridden As PropertySymbol = leastOverriddenDefinition.OverriddenProperty 1088Dim properties As ImmutableArray(Of PropertySymbol) = propertyGroup.Properties
SymbolDisplay\SymbolDisplayVisitor.Members.vb (1)
676Dim vbProperty = TryCast(symbol, PropertySymbol)
Symbols\AnonymousTypes\AnonymousType_SymbolCollection.vb (2)
196Public ReadOnly Property System_Diagnostics_DebuggerDisplayAttribute__Type As PropertySymbol 198Return DirectCast(Compilation.GetWellKnownTypeMember(WellKnownMember.System_Diagnostics_DebuggerDisplayAttribute__Type), PropertySymbol)
Symbols\AnonymousTypes\PublicSymbols\AnonymousType_PropertyPublicAccessors.vb (4)
12Inherits SynthesizedPropertyAccessorBase(Of PropertySymbol) 16Public Sub New([property] As PropertySymbol, returnType As TypeSymbol) 47Public Sub New([property] As PropertySymbol) 70Public Sub New([property] As PropertySymbol, voidTypeSymbol As TypeSymbol)
Symbols\AnonymousTypes\PublicSymbols\AnonymousType_TypePublicSymbol.vb (1)
99Dim [property] As PropertySymbol = Me._properties(index)
Symbols\AnonymousTypes\PublicSymbols\AnonymousTypeOrDelegatePublicSymbol.vb (2)
319Friend NotOverridable Overrides Function GetSynthesizedWithEventsOverrides() As IEnumerable(Of PropertySymbol) 320Return SpecializedCollections.EmptyEnumerable(Of PropertySymbol)()
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_ConstructorSymbol.vb (1)
25Dim [property] As PropertySymbol = container.Properties(index)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_PropertyAccessors.vb (4)
16Inherits SynthesizedPropertyAccessorBase(Of PropertySymbol) 20Public Sub New([property] As PropertySymbol, returnType As TypeSymbol) 66Public Sub New([property] As PropertySymbol) 89Public Sub New([property] As PropertySymbol, voidTypeSymbol As TypeSymbol)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_PropertyBackingFieldSymbol.vb (2)
13Inherits SynthesizedBackingFieldBase(Of PropertySymbol) 15Public Sub New([property] As PropertySymbol)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_PropertySymbol.vb (2)
143Public Overrides ReadOnly Property ExplicitInterfaceImplementations As ImmutableArray(Of PropertySymbol) 145Return ImmutableArray(Of PropertySymbol).Empty
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousTypeOrDelegateTemplateSymbol.vb (2)
387Friend NotOverridable Overrides Function GetSynthesizedWithEventsOverrides() As IEnumerable(Of PropertySymbol) 388Return SpecializedCollections.EmptyEnumerable(Of PropertySymbol)()
Symbols\Attributes\AttributeData.vb (2)
422Dim [property] = DirectCast(members(0), PropertySymbol) 515Dim prop = TryCast(member, PropertySymbol)
Symbols\EmbeddedSymbols\EmbeddedSymbolManager.SymbolsCollection.vb (1)
257Dim [property] = DirectCast(symbol, PropertySymbol)
Symbols\ErrorTypeSymbol.vb (2)
412Friend NotOverridable Overrides Function GetSynthesizedWithEventsOverrides() As IEnumerable(Of PropertySymbol) 413Return SpecializedCollections.EmptyEnumerable(Of PropertySymbol)()
Symbols\FieldOrPropertyInitializer.vb (1)
82Public Sub New([property] As PropertySymbol, syntax As SyntaxReference, precedingInitializersLength As Integer)
Symbols\HandledEvent.vb (4)
19withEventsContainerOpt As PropertySymbol, 20withEventsSourcePropertyOpt As PropertySymbol, 46Private ReadOnly _WithEventsContainerOpt As PropertySymbol 50Private ReadOnly _WithEventsSourcePropertyOpt As PropertySymbol
Symbols\MemberSignatureComparer.vb (3)
58Return _propertyComparer.Equals(DirectCast(sym1, PropertySymbol), DirectCast(sym2, PropertySymbol)) 75Return _propertyComparer.GetHashCode(DirectCast(sym, PropertySymbol))
Symbols\Metadata\PE\PENamedTypeSymbol.vb (4)
603Friend Overrides Function GetPropertiesToEmit() As IEnumerable(Of PropertySymbol) 604Return GetMembers(Of PropertySymbol)(GetMembers(), SymbolKind.Property) 1589Friend NotOverridable Overrides Function GetSynthesizedWithEventsOverrides() As IEnumerable(Of PropertySymbol) 1590Return SpecializedCollections.EmptyEnumerable(Of PropertySymbol)()
Symbols\Metadata\PE\PEPropertyOrEventHelpers.vb (2)
18Friend Shared Function GetPropertiesForExplicitlyImplementedAccessor(accessor As MethodSymbol) As ISet(Of PropertySymbol) 19Return GetSymbolsForExplicitlyImplementedAccessor(Of PropertySymbol)(accessor)
Symbols\Metadata\PE\PEPropertySymbol.vb (4)
362Public Overrides ReadOnly Property ExplicitInterfaceImplementations As ImmutableArray(Of PropertySymbol) 365Return ImmutableArray(Of PropertySymbol).Empty 370Dim builder = ArrayBuilder(Of PropertySymbol).GetInstance() 437Private Shared Function GetDeclaredAccessibility([property] As PropertySymbol) As Accessibility
Symbols\MethodSymbol.vb (1)
323Return DirectCast(Me.AssociatedSymbol, PropertySymbol).GetAccessorOverride(getter:=(MethodKind = MethodKind.PropertyGet))
Symbols\NamedTypeSymbol.vb (3)
1100Friend MustOverride Function GetSynthesizedWithEventsOverrides() As IEnumerable(Of PropertySymbol) 1159Dim [property] = TryCast(member, PropertySymbol) 1172Dim overriddenMember = TryCast(member, PropertySymbol)?.OverriddenProperty
Symbols\PropertySignatureComparer.vb (10)
15Implements IEqualityComparer(Of PropertySymbol) 92Public Overloads Function Equals(prop1 As PropertySymbol, prop2 As PropertySymbol) As Boolean _ 93Implements IEqualityComparer(Of PropertySymbol).Equals 128Public Overloads Function GetHashCode(prop As PropertySymbol) As Integer _ 129Implements IEqualityComparer(Of PropertySymbol).GetHashCode 150prop1 As PropertySymbol, 151prop2 As PropertySymbol, 226Private Shared Function HaveSameTypes(prop1 As PropertySymbol, prop2 As PropertySymbol, comparison As TypeCompareKind) As Boolean
Symbols\PropertySymbol.vb (10)
32Public Overridable Shadows ReadOnly Property OriginalDefinition As PropertySymbol 325Public ReadOnly Property OverriddenProperty As PropertySymbol 332Return OverriddenMembersResult(Of PropertySymbol).GetOverriddenMember(Me, Me.OriginalDefinition.OverriddenProperty) 355Friend Overridable ReadOnly Property OverriddenMembers As OverriddenMembersResult(Of PropertySymbol) 360Return OverrideHidingHelper(Of PropertySymbol).MakeOverriddenMembers(Me) 367Public MustOverride ReadOnly Property ExplicitInterfaceImplementations As ImmutableArray(Of PropertySymbol) 390Friend Overridable ReadOnly Property ReducedFrom As PropertySymbol 396Friend Overridable ReadOnly Property ReducedFromDefinition As PropertySymbol 523Public Overridable ReadOnly Property TupleUnderlyingProperty() As PropertySymbol 557Return ImmutableArrayExtensions.Cast(Of PropertySymbol, IPropertySymbol)(Me.ExplicitInterfaceImplementations)
Symbols\PropertySymbolExtensions.vb (3)
19Friend Function GetCanBeCalledWithNoParameters(prop As PropertySymbol) As Boolean 45Public Function GetTypeFromGetMethod([property] As PropertySymbol) As TypeSymbol 51Public Function GetTypeFromSetMethod([property] As PropertySymbol) As TypeSymbol
Symbols\Retargeting\RetargetingNamedTypeSymbol.vb (3)
331Friend Overrides Iterator Function GetPropertiesToEmit() As IEnumerable(Of PropertySymbol) 550Friend Overrides Iterator Function GetSynthesizedWithEventsOverrides() As IEnumerable(Of PropertySymbol) 551For Each underlying As PropertySymbol In _underlyingType.GetSynthesizedWithEventsOverrides()
Symbols\Retargeting\RetargetingPropertySymbol.vb (7)
25Private ReadOnly _underlyingProperty As PropertySymbol 37Private _lazyExplicitInterfaceImplementations As ImmutableArray(Of PropertySymbol) 41Public Sub New(retargetingModule As RetargetingModuleSymbol, underlyingProperty As PropertySymbol) 59Public ReadOnly Property UnderlyingProperty As PropertySymbol 272Public Overrides ReadOnly Property ExplicitInterfaceImplementations As ImmutableArray(Of PropertySymbol) 285Private Function RetargetExplicitInterfaceImplementations() As ImmutableArray(Of PropertySymbol) 291Dim builder = ArrayBuilder(Of PropertySymbol).GetInstance()
Symbols\Retargeting\RetargetingSymbolTranslator.vb (10)
56Return New RetargetingPropertySymbol(Me, DirectCast(symbol, PropertySymbol)) 1024Public Function Retarget([property] As PropertySymbol) As RetargetingPropertySymbol 1064Public Function Retarget([property] As PropertySymbol, retargetedPropertyComparer As IEqualityComparer(Of PropertySymbol)) As PropertySymbol 1078Private Function FindPropertyInRetargetedType([property] As PropertySymbol, retargetedType As NamedTypeSymbol, retargetedPropertyComparer As IEqualityComparer(Of PropertySymbol)) As PropertySymbol 1103Dim retargetedProperty = DirectCast(retargetedMember, PropertySymbol) 1139Public Overrides Function VisitProperty(symbol As PropertySymbol, arg As RetargetOptions) As Symbol
Symbols\SignatureOnlyPropertySymbol.vb (2)
142Public Overrides ReadOnly Property ExplicitInterfaceImplementations As ImmutableArray(Of PropertySymbol) 236Friend Overrides ReadOnly Property OverriddenMembers As OverriddenMembersResult(Of PropertySymbol)
Symbols\Source\ImplementsHelper.vb (10)
29Return StaticCast(Of Symbol).From(DirectCast(member, PropertySymbol).ExplicitInterfaceImplementations) 52Return sourceProperty.GetImplementingLocation(DirectCast(implementedSym, PropertySymbol)) 366Dim [property] = DirectCast(DirectCast(foundMember, Symbol), PropertySymbol) 435Dim results = PropertySignatureComparer.DetailedCompare(DirectCast(implementedSym, PropertySymbol), DirectCast(implementingSym, PropertySymbol), 471Dim implementedProperty As PropertySymbol = TryCast(implementedSym, PropertySymbol) 483Dim implementingProperty As PropertySymbol = TryCast(implementingSym, PropertySymbol) 564Debug.Assert(TypeOf interfaceMember Is PropertySymbol OrElse
Symbols\Source\ImplicitNamedTypeSymbol.vb (2)
213Friend Overrides Function GetSynthesizedWithEventsOverrides() As IEnumerable(Of PropertySymbol) 218Return SpecializedCollections.EmptyEnumerable(Of PropertySymbol)()
Symbols\Source\LambdaSymbol.vb (1)
134meParameter = DirectCast(ContainingSymbol, PropertySymbol).MeParameter
Symbols\Source\OverrideHidingHelper.vb (16)
132Return PropertySignatureComparer.DetailedCompare(DirectCast(sym1, PropertySymbol), DirectCast(sym2, PropertySymbol), comparisons, stopIfAny) 160Dim propMember = DirectCast(member, PropertySymbol) 162OverrideHidingHelper(Of PropertySymbol).CheckOverrideMember(propMember, propMember.OverriddenMembers, diagnostics) 299Dim hidingProperty = DirectCast(hidingMember, PropertySymbol) 305Return OverrideHidingHelper(Of PropertySymbol).SignaturesMatch(hidingProperty, DirectCast(hiddenMember, PropertySymbol), Nothing, exactMatchIgnoringCustomModifiers) AndAlso exactMatchIgnoringCustomModifiers 516Return DirectCast(sym, PropertySymbol).OverriddenProperty 536Return RequiresExplicitOverride(DirectCast(method.AssociatedSymbol, PropertySymbol)) 550Private Shared Function RequiresExplicitOverride(prop As PropertySymbol) As Boolean 579OverrideHidingHelper(Of PropertySymbol).s_runtimeSignatureComparer = PropertySignatureComparer.RuntimePropertySignatureComparer 701Dim prop = DirectCast(DirectCast(overridingSym, Object), PropertySymbol) 920Dim overridingProperty As PropertySymbol = DirectCast(DirectCast(member, Symbol), PropertySymbol) 921Dim overriddenProperty As PropertySymbol = DirectCast(DirectCast(overriddenMember, Symbol), PropertySymbol)
Symbols\Source\SourceMemberContainerTypeSymbol.vb (4)
450GenerateVarianceDiagnosticsForProperty(DirectCast(member, PropertySymbol), diagnostics, infosBuffer) 1064[property] As PropertySymbol, 2276Dim defaultProperty As PropertySymbol = Nothing 2281Dim propertySymbol = DirectCast(member, PropertySymbol)
Symbols\Source\SourceMemberFieldSymbol.vb (1)
210Friend Shared Function ComputeWithEventsFieldType(propertySymbol As PropertySymbol,
Symbols\Source\SourceMemberMethodSymbol.vb (10)
604Dim withEventsSourceProperty As PropertySymbol = Nothing 607Dim witheventsProperty As PropertySymbol = Nothing 610Dim witheventsPropertyInCurrentClass As PropertySymbol = Nothing 859Optional ByRef resultKind As LookupResultKind = Nothing) As PropertySymbol 872Dim result As PropertySymbol = Nothing 875Dim prop = TryCast(witheventsLookup.SingleSymbol, PropertySymbol) 935Optional ByRef resultKind As LookupResultKind = Nothing) As PropertySymbol 954Dim result As PropertySymbol = Nothing 976Dim prop = DirectCast(symbol, PropertySymbol) 1006Private Shared Function ReturnsEventSource(prop As PropertySymbol, compilation As VisualBasicCompilation) As Boolean
Symbols\Source\SourceMethodSymbol.vb (1)
1059PropertySymbol)
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (10)
395Dim prop = DirectCast(member, PropertySymbol) 495If target.Kind <> SymbolKind.Property OrElse Not DirectCast(target, PropertySymbol).IsDefault Then 567Dim prop As PropertySymbol = DirectCast(member, PropertySymbol) 1033Friend Overrides Function GetSynthesizedWithEventsOverrides() As IEnumerable(Of PropertySymbol) 1034Return SpecializedCollections.EmptyEnumerable(Of PropertySymbol)() 1677Private ReadOnly _clonedFrom As PropertySymbol 1685clone As PropertySymbol, 1752Public Overrides ReadOnly Property ExplicitInterfaceImplementations As ImmutableArray(Of PropertySymbol) 1754Return ImmutableArray(Of PropertySymbol).Empty
Symbols\Source\SourceNamedTypeSymbol.vb (5)
44Private _lazyWithEventsOverrides As ConcurrentDictionary(Of PropertySymbol, SynthesizedOverridingWithEventsProperty) 2688Friend Function GetOrAddWithEventsOverride(baseProperty As PropertySymbol) As SynthesizedOverridingWithEventsProperty 2692New ConcurrentDictionary(Of PropertySymbol, SynthesizedOverridingWithEventsProperty), 2711Friend NotOverridable Overrides Function GetSynthesizedWithEventsOverrides() As IEnumerable(Of PropertySymbol) 2719Return SpecializedCollections.EmptyEnumerable(Of PropertySymbol)()
Symbols\Source\SourceParameterSymbol.vb (1)
122Dim containingProperty = TryCast(containingMethod.AssociatedSymbol, PropertySymbol)
Symbols\Source\SourcePropertyAccessorSymbol.vb (1)
229Dim prop = DirectCast(accessorSym.AssociatedSymbol, PropertySymbol)
Symbols\Source\SourcePropertySymbol.vb (14)
49Private _lazyImplementedProperties As ImmutableArray(Of PropertySymbol) 52Private _lazyOverriddenProperties As OverriddenMembersResult(Of PropertySymbol) 268prop._lazyImplementedProperties = ImmutableArray(Of PropertySymbol).Empty 791Dim overriddenMembers As OverriddenMembersResult(Of PropertySymbol) 794overriddenMembers = OverriddenMembersResult(Of PropertySymbol).Empty 811overriddenMembers = OverrideHidingHelper(Of PropertySymbol). 912Public Overrides ReadOnly Property ExplicitInterfaceImplementations As ImmutableArray(Of PropertySymbol) 927Private Function ComputeExplicitInterfaceImplementations(diagnostics As BindingDiagnosticBag) As ImmutableArray(Of PropertySymbol) 959Friend Overrides ReadOnly Property OverriddenMembers As OverriddenMembersResult(Of PropertySymbol) 1049Friend Function GetImplementingLocation(implementedProperty As PropertySymbol) As Location 1055Dim implementingSyntax = FindImplementingSyntax(Of PropertySymbol)(propertySyntax.ImplementsClause, 1153diagnostics As BindingDiagnosticBag) As ImmutableArray(Of PropertySymbol) 1163Return ProcessImplementsClause(Of PropertySymbol)(syntax.ImplementsClause, 1171Return ImmutableArray(Of PropertySymbol).Empty
Symbols\Source\SynthesizedWithEventsAccessorSymbol.vb (6)
14Inherits SynthesizedPropertyAccessorBase(Of PropertySymbol) 19Protected Sub New(container As SourceMemberContainerTypeSymbol, [property] As PropertySymbol) 24Protected ReadOnly Property ContainingProperty As PropertySymbol 119propertySymbol As PropertySymbol) 163propertySymbol As PropertySymbol, 204If DirectCast(Me.AssociatedSymbol, PropertySymbol).IsWithEvents Then
Symbols\SubstitutedNamedType.vb (5)
323Private Function SubstituteTypeParametersForMemberProperty(memberProperty As PropertySymbol) As SubstitutedPropertySymbol 375Dim memberProperty = DirectCast(member, PropertySymbol) 465Dim propertySymbol = SubstituteTypeParametersForMemberProperty(DirectCast(memberMethod.AssociatedSymbol, PropertySymbol)) 489Return SubstituteTypeParametersForMemberProperty(DirectCast(member, PropertySymbol)) 592Friend NotOverridable Overrides Iterator Function GetSynthesizedWithEventsOverrides() As IEnumerable(Of PropertySymbol)
Symbols\SubstitutedPropertySymbol.vb (4)
23Private ReadOnly _originalDefinition As PropertySymbol 30originalDefinition As PropertySymbol, 75Public Overrides ReadOnly Property OriginalDefinition As PropertySymbol 105Public Overrides ReadOnly Property ExplicitInterfaceImplementations As ImmutableArray(Of PropertySymbol)
Symbols\SymbolExtensions.vb (12)
70If DirectCast(target, PropertySymbol).IsWithEvents Then 88Friend Function GetPropertyKindText(target As PropertySymbol) As String 145Return DirectCast(symbol, PropertySymbol).IsOverloadable 152Public Function IsOverloadable(propertySymbol As PropertySymbol) As Boolean 172Dim prop = DirectCast(sym, PropertySymbol) 248Return symbol.Kind = SymbolKind.Property AndAlso DirectCast(symbol, PropertySymbol).IsWithEvents 257Return symbol.Kind = SymbolKind.Property AndAlso Not DirectCast(symbol, PropertySymbol).IsWithEvents 292Return DirectCast(sym, PropertySymbol).OverriddenProperty 327Return DirectCast(sym, PropertySymbol).MeParameter 344Return DirectCast(sym, PropertySymbol).Parameters 470Dim [property] = DirectCast(member, PropertySymbol) 487Return If(TryCast(member, PropertySymbol)?.IsRequired,
Symbols\SymbolVisitor.vb (1)
68Public Overridable Sub VisitProperty(symbol As PropertySymbol)
Symbols\SymbolVisitor`1.vb (1)
67Public Overridable Function VisitProperty(symbol As PropertySymbol) As TResult
Symbols\SymbolVisitor`2.vb (1)
70Public Overridable Function VisitProperty(symbol As PropertySymbol, arg As TArgument) As TResult
Symbols\SynthesizedSymbols\SynthesizedEventDelegateSymbol.vb (2)
456Friend Overrides Function GetSynthesizedWithEventsOverrides() As IEnumerable(Of PropertySymbol) 457Return SpecializedCollections.EmptyEnumerable(Of PropertySymbol)()
Symbols\SynthesizedSymbols\SynthesizedHotReloadExceptionSymbol.vb (2)
314Friend Overrides Function GetSynthesizedWithEventsOverrides() As IEnumerable(Of PropertySymbol) 315Return SpecializedCollections.EmptyEnumerable(Of PropertySymbol)()
Symbols\SynthesizedSymbols\SynthesizedOverridingWitheventsProperty.vb (4)
49Private ReadOnly _baseProperty As PropertySymbol 54Friend Sub New(baseProperty As PropertySymbol, container As SourceNamedTypeSymbol) 106Public Overrides ReadOnly Property ExplicitInterfaceImplementations As ImmutableArray(Of PropertySymbol) 108Return ImmutableArray(Of PropertySymbol).Empty
Symbols\SynthesizedSymbols\SynthesizedParameterSymbol.vb (1)
305Friend Shared Function CreateSetAccessorValueParameter(setter As MethodSymbol, propertySymbol As PropertySymbol, parameterName As String) As ParameterSymbol
Symbols\SynthesizedSymbols\SynthesizedPropertyAccessorBase.vb (1)
7Friend MustInherit Class SynthesizedPropertyAccessorBase(Of T As PropertySymbol)
Symbols\SynthesizedSymbols\SynthesizedPropertyBase.vb (2)
74Public Overrides ReadOnly Property ExplicitInterfaceImplementations As ImmutableArray(Of PropertySymbol) 76Return ImmutableArray(Of PropertySymbol).Empty
Symbols\Tuples\TuplePropertySymbol.vb (3)
28Public Overrides ReadOnly Property TupleUnderlyingProperty As PropertySymbol 80Public Overrides ReadOnly Property ExplicitInterfaceImplementations As ImmutableArray(Of PropertySymbol) 108Public Sub New(container As TupleTypeSymbol, underlyingProperty As PropertySymbol)
Symbols\Tuples\TupleTypeSymbol.vb (5)
793members.Add(New TuplePropertySymbol(Me, DirectCast(member, PropertySymbol).AsMember(currentUnderlying))) 919smallDictionary.Add(DirectCast(symbol, PropertySymbol).TupleUnderlyingProperty.OriginalDefinition, symbol) 1051Friend Overrides Function GetPropertiesToEmit() As IEnumerable(Of PropertySymbol) 1105Friend Overrides Function GetSynthesizedWithEventsOverrides() As IEnumerable(Of PropertySymbol) 1108Return SpecializedCollections.EmptyEnumerable(Of PropertySymbol)()
Symbols\TypeSymbol.vb (2)
717Return ImplementsHelper.ComputeImplementationForInterfaceMember(Of PropertySymbol)( 718DirectCast(interfaceMember, PropertySymbol),
Symbols\UnboundGenericType.vb (2)
344Friend NotOverridable Overrides Function GetSynthesizedWithEventsOverrides() As IEnumerable(Of PropertySymbol) 345Return SpecializedCollections.EmptyEnumerable(Of PropertySymbol)()
Symbols\WellKnownMembers.vb (6)
422ByVal comparer As SignatureComparer(Of MethodSymbol, FieldSymbol, PropertySymbol, TypeSymbol, ParameterSymbol), 488Dim [property] = DirectCast(m, PropertySymbol) 522Inherits SignatureComparer(Of MethodSymbol, FieldSymbol, PropertySymbol, TypeSymbol, ParameterSymbol) 575Protected Overrides Function GetPropertyType(prop As PropertySymbol) As TypeSymbol 621Protected Overrides Function GetParameters(ByVal [property] As PropertySymbol) As ImmutableArray(Of ParameterSymbol) 645Protected Overrides Function IsByRefProperty(ByVal [property] As PropertySymbol) As Boolean
Symbols\Wrapped\WrappedPropertySymbol.vb (3)
21Protected _underlyingProperty As PropertySymbol 23Public ReadOnly Property UnderlyingProperty As PropertySymbol 131Public Sub New(underlyingProperty As PropertySymbol)
VisualBasicExtensions.vb (2)
560Dim vbprop = TryCast(propertySymbol, PropertySymbol) 566Dim vbprop = TryCast(propertySymbol, PropertySymbol)