59 overrides of DeclaredAccessibility
Microsoft.CodeAnalysis.VisualBasic (59)
Symbols\AliasSymbol.vb (1)
202Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_EqualsMethodSymbol.vb (1)
68Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_GetHashCodeMethodSymbol.vb (1)
37Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_IEquatable_EqualsMethodSymbol.vb (1)
74Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_PropertySymbol.vb (1)
119Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_ToStringMethodSymbol.vb (1)
41Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\ArrayTypeSymbol.vb (1)
305Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\AssemblySymbol.vb (1)
193Public NotOverridable Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\ErrorMethodSymbol.vb (1)
48Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\LabelSymbol.vb (1)
62Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\Metadata\PE\PEEventSymbol.vb (1)
165Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\Metadata\PE\PEFieldSymbol.vb (1)
108Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\Metadata\PE\PEMethodSymbol.vb (1)
607Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\Metadata\PE\PEPropertySymbol.vb (1)
179Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\ModuleSymbol.vb (1)
44Public NotOverridable Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\NamedTypeSymbol.vb (1)
645Public MustOverride Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\NamespaceSymbol.vb (1)
157Public NotOverridable Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\ParameterSymbol.vb (1)
205Public NotOverridable Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\PreprocessingSymbol.vb (1)
52Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\ReducedExtensionMethodSymbol.vb (1)
613Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\Retargeting\RetargetingEventSymbol.vb (1)
73Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\Retargeting\RetargetingFieldSymbol.vb (1)
100Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\Retargeting\RetargetingMethodSymbol.vb (1)
272Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\Retargeting\RetargetingPropertySymbol.vb (1)
89Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\SignatureOnlyMethodSymbol.vb (1)
210Public Overrides ReadOnly Property DeclaredAccessibility() As Accessibility
Symbols\SignatureOnlyPropertySymbol.vb (1)
136Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\Source\LambdaSymbol.vb (1)
143Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\Source\LocalSymbol.vb (1)
206Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\Source\RangeVariableSymbol.vb (1)
55Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\Source\SourceEventSymbol.vb (1)
566Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\Source\SourceFieldSymbol.vb (1)
169Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\Source\SourceMethodSymbol.vb (1)
642Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (2)
1127Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility 1738Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\Source\SourcePropertySymbol.vb (1)
977Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\Source\SynthesizedEntryPointSymbol.vb (1)
123Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\Source\SynthesizedFieldSymbol.vb (1)
163Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\Source\SynthesizedInteractiveInitializerMethod.vb (1)
45Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\Source\SynthesizedMainTypeEntryPoint.vb (1)
28Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\SubstitutedEventSymbol.vb (1)
205Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\SubstitutedFieldSymbol.vb (1)
121Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\SubstitutedMethodSymbol.vb (1)
154Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\SubstitutedPropertySymbol.vb (1)
99Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\SynthesizedSymbols\SynthesizedAccessor.vb (1)
70Public NotOverridable Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\SynthesizedSymbols\SynthesizedBackingFieldBase.vb (1)
95Public NotOverridable Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\SynthesizedSymbols\SynthesizedConstructorBase.vb (1)
75Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\SynthesizedSymbols\SynthesizedDelegateMethodSymbol.vb (1)
111Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\SynthesizedSymbols\SynthesizedGlobalMethodBase.vb (1)
180Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\SynthesizedSymbols\SynthesizedInterfaceImplementationStubSymbol.vb (1)
118Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\SynthesizedSymbols\SynthesizedIntrinsicOperatorSymbol.vb (1)
98Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\SynthesizedSymbols\SynthesizedMethod.vb (1)
120Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\SynthesizedSymbols\SynthesizedOverridingWitheventsProperty.vb (1)
100Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\SynthesizedSymbols\SynthesizedPropertyBase.vb (1)
62Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\SynthesizedSymbols\SynthesizedSimpleMethodSymbol.vb (1)
58Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\TypeParameterSymbol.vb (1)
134Public NotOverridable Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\Wrapped\WrappedEventSymbol.vb (1)
58Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\Wrapped\WrappedFieldSymbol.vb (1)
34Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\Wrapped\WrappedMethodSymbol.vb (1)
78Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
Symbols\Wrapped\WrappedPropertySymbol.vb (1)
77Public Overrides ReadOnly Property DeclaredAccessibility As Accessibility
70 references to DeclaredAccessibility
Microsoft.CodeAnalysis.VisualBasic (70)
Binding\Binder.vb (1)
969Select Case symbol.DeclaredAccessibility
Binding\Binder_Attributes.vb (1)
506If sym.DeclaredAccessibility <> Accessibility.Public Then
Binding\LookupResult.vb (12)
730Debug.Assert(_symList(i).DeclaredAccessibility = other.Symbol.DeclaredAccessibility) 799If _symList(i) IsNot Nothing AndAlso _symList(i).DeclaredAccessibility = other.DeclaredAccessibility Then 811Debug.Assert(_symList(i) Is Nothing OrElse _symList(i).DeclaredAccessibility <> other.DeclaredAccessibility) 824If first.DeclaredAccessibility = second.DeclaredAccessibility Then 836If first.DeclaredAccessibility < second.DeclaredAccessibility Then 837If first.DeclaredAccessibility = Accessibility.Protected AndAlso 838second.DeclaredAccessibility = Accessibility.Friend Then 844If second.DeclaredAccessibility = Accessibility.Protected AndAlso 845first.DeclaredAccessibility = Accessibility.Friend Then 995If type.DeclaredAccessibility < Accessibility.Public AndAlso
Compilation\ClsComplianceChecker.vb (2)
816Select Case symbol.DeclaredAccessibility 829Throw ExceptionUtilities.UnexpectedValue(symbol.DeclaredAccessibility)
Emit\AttributeDataAdapter.vb (1)
137If member.DeclaredAccessibility = Accessibility.Public Then
Semantics\AccessCheck.vb (4)
135Return CheckMemberAccessibility(symbol.ContainingType, symbol.DeclaredAccessibility, within, throughTypeOpt, basesBeingResolved, useSiteInfo) 550Dim access = sym.DeclaredAccessibility 782Dim effectiveAccess As Accessibility = s_mapAccessToAccessOutsideAssembly(symbol.DeclaredAccessibility) 813Dim accessOfMember As Accessibility = symbol.DeclaredAccessibility
Symbols\Attributes\AttributeData.vb (2)
424[property].DeclaredAccessibility = Accessibility.Public AndAlso [property].GetArity() = 0 AndAlso 425[property].HasSet AndAlso [property].SetMethod.DeclaredAccessibility = Accessibility.Public Then
Symbols\ConstraintsHelper.vb (1)
1185If constructor.DeclaredAccessibility <> Accessibility.Public Then
Symbols\Metadata\PE\PEPropertyOrEventHelpers.vb (4)
53Return If((accessor2 Is Nothing), Accessibility.NotApplicable, accessor2.DeclaredAccessibility) 55Return accessor1.DeclaredAccessibility 58Dim accessibility1 = accessor1.DeclaredAccessibility 59Dim accessibility2 = accessor2.DeclaredAccessibility
Symbols\Metadata\PE\PEPropertySymbol.vb (4)
441Return If((setMethod Is Nothing), Accessibility.NotApplicable, setMethod.DeclaredAccessibility) 443Return getMethod.DeclaredAccessibility 446Dim getAccessibility = getMethod.DeclaredAccessibility 447Dim setAccessibility = setMethod.DeclaredAccessibility
Symbols\MethodSymbol.vb (1)
547If Me.DeclaredAccessibility = Accessibility.Private Then
Symbols\ReducedExtensionMethodSymbol.vb (1)
615Return _curriedFromMethod.DeclaredAccessibility
Symbols\Retargeting\RetargetingEventSymbol.vb (1)
75Return _underlyingEvent.DeclaredAccessibility
Symbols\Retargeting\RetargetingFieldSymbol.vb (1)
102Return _underlyingField.DeclaredAccessibility
Symbols\Retargeting\RetargetingMethodSymbol.vb (1)
274Return _underlyingMethod.DeclaredAccessibility
Symbols\Retargeting\RetargetingPropertySymbol.vb (1)
91Return _underlyingProperty.DeclaredAccessibility
Symbols\Source\ImplementsHelper.vb (5)
369accessorToCheck.DeclaredAccessibility = [property].DeclaredAccessibility OrElse 374accessorToCheck.DeclaredAccessibility <> [property].DeclaredAccessibility AndAlso 645If member.DeclaredAccessibility = Accessibility.Public AndAlso
Symbols\Source\OverrideHidingHelper.vb (5)
903If inaccessibleMember.DeclaredAccessibility = Accessibility.Friend AndAlso 1009If overridden.DeclaredAccessibility = Accessibility.ProtectedOrFriend And Not overriding.ContainingAssembly = overridden.ContainingAssembly Then 1011Return overriding.DeclaredAccessibility = Accessibility.Protected 1014Return overridden.DeclaredAccessibility = overriding.DeclaredAccessibility
Symbols\Source\SourceNamedTypeSymbol.vb (2)
2413(member.DeclaredAccessibility = Accessibility.Public OrElse 2414member.DeclaredAccessibility = Accessibility.Friend) Then
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (6)
341If member.DeclaredAccessibility <> Accessibility.Private Then 369If member.IsShared OrElse member.DeclaredAccessibility <> Accessibility.Public OrElse 406If getter.DeclaredAccessibility <> Accessibility.Public OrElse Not GetComVisibleState(getter) Then 416If setter.DeclaredAccessibility <> Accessibility.Public OrElse Not GetComVisibleState(setter) Then 1058Debug.Assert(clone.DeclaredAccessibility = Accessibility.Public) 1689Debug.Assert(clone.DeclaredAccessibility = Accessibility.Public)
Symbols\SubstitutedEventSymbol.vb (1)
207Return Me.OriginalDefinition.DeclaredAccessibility
Symbols\SubstitutedFieldSymbol.vb (1)
123Return _originalDefinition.DeclaredAccessibility
Symbols\SubstitutedMethodSymbol.vb (1)
156Return OriginalDefinition.DeclaredAccessibility
Symbols\SubstitutedPropertySymbol.vb (1)
101Return _originalDefinition.DeclaredAccessibility
Symbols\Symbol.vb (3)
93Select Case DeclaredAccessibility 129Throw ExceptionUtilities.UnexpectedValue(DeclaredAccessibility) 1237Return Me.DeclaredAccessibility
Symbols\SynthesizedSymbols\SynthesizedAccessor.vb (1)
72Return m_propertyOrEvent.DeclaredAccessibility
Symbols\SynthesizedSymbols\SynthesizedEventDelegateSymbol.vb (1)
174Return AssociatedSymbol.DeclaredAccessibility
Symbols\SynthesizedSymbols\SynthesizedOverridingWitheventsProperty.vb (1)
102Return _baseProperty.DeclaredAccessibility
Symbols\Wrapped\WrappedEventSymbol.vb (1)
60Return Me._underlyingEvent.DeclaredAccessibility
Symbols\Wrapped\WrappedFieldSymbol.vb (1)
36Return Me._underlyingField.DeclaredAccessibility
Symbols\Wrapped\WrappedMethodSymbol.vb (1)
80Return Me.UnderlyingMethod.DeclaredAccessibility
Symbols\Wrapped\WrappedPropertySymbol.vb (1)
79Return Me._underlyingProperty.DeclaredAccessibility