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