52 overrides of IsShared
Microsoft.CodeAnalysis.VisualBasic (52)
Symbols\AliasSymbol.vb (1)
191
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_PropertySymbol.vb (1)
189
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\AssemblySymbol.vb (1)
223
Public NotOverridable Overrides ReadOnly Property
IsShared
As Boolean
Symbols\ErrorMethodSymbol.vb (1)
166
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\LabelSymbol.vb (1)
56
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\Metadata\PE\PEEventSymbol.vb (1)
204
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\Metadata\PE\PEFieldSymbol.vb (1)
305
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\Metadata\PE\PEMethodSymbol.vb (1)
895
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\Metadata\PE\PEPropertySymbol.vb (1)
239
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\ModuleSymbol.vb (1)
74
Public NotOverridable Overrides ReadOnly Property
IsShared
As Boolean
Symbols\NamespaceSymbol.vb (1)
249
Public NotOverridable Overrides ReadOnly Property
IsShared
As Boolean
Symbols\ParameterSymbol.vb (1)
235
Public NotOverridable Overrides ReadOnly Property
IsShared
As Boolean
Symbols\PreprocessingSymbol.vb (1)
82
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\ReducedExtensionMethodSymbol.vb (1)
451
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\Retargeting\RetargetingEventSymbol.vb (1)
154
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\Retargeting\RetargetingFieldSymbol.vb (1)
228
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\Retargeting\RetargetingMethodSymbol.vb (1)
278
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\Retargeting\RetargetingPropertySymbol.vb (1)
161
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\SignatureOnlyMethodSymbol.vb (1)
222
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\SignatureOnlyPropertySymbol.vb (1)
212
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\Source\LambdaSymbol.vb (1)
227
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\Source\LocalSymbol.vb (1)
212
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\Source\RangeVariableSymbol.vb (1)
61
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\Source\SourceEventSymbol.vb (1)
532
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\Source\SourceFieldSymbol.vb (1)
595
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\Source\SourceMethodSymbol.vb (1)
684
Public NotOverridable Overrides ReadOnly Property
IsShared
As Boolean
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (2)
1185
Public Overrides ReadOnly Property
IsShared
As Boolean
1802
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\Source\SourcePropertySymbol.vb (1)
680
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\Source\SynthesizedEntryPointSymbol.vb (1)
86
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\Source\SynthesizedFieldSymbol.vb (1)
154
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\Source\SynthesizedInteractiveInitializerMethod.vb (1)
87
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\SubstitutedEventSymbol.vb (1)
125
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\SubstitutedFieldSymbol.vb (1)
138
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\SubstitutedMethodSymbol.vb (1)
235
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\SubstitutedPropertySymbol.vb (1)
172
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\SynthesizedSymbols\SynthesizedAccessor.vb (1)
112
Public NotOverridable Overrides ReadOnly Property
IsShared
As Boolean
Symbols\SynthesizedSymbols\SynthesizedBackingFieldBase.vb (1)
101
Public NotOverridable Overrides ReadOnly Property
IsShared
As Boolean
Symbols\SynthesizedSymbols\SynthesizedConstructorBase.vb (1)
154
Public NotOverridable Overrides ReadOnly Property
IsShared
As Boolean
Symbols\SynthesizedSymbols\SynthesizedDelegateMethodSymbol.vb (1)
243
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\SynthesizedSymbols\SynthesizedGlobalMethodBase.vb (1)
129
Public NotOverridable Overrides ReadOnly Property
IsShared
As Boolean
Symbols\SynthesizedSymbols\SynthesizedInterfaceImplementationStubSymbol.vb (1)
154
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\SynthesizedSymbols\SynthesizedIntrinsicOperatorSymbol.vb (1)
140
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\SynthesizedSymbols\SynthesizedMethod.vb (1)
162
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\SynthesizedSymbols\SynthesizedOverridingWitheventsProperty.vb (1)
172
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\SynthesizedSymbols\SynthesizedPropertyBase.vb (1)
120
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\SynthesizedSymbols\SynthesizedRegularMethodBase.vb (1)
110
Public NotOverridable Overrides ReadOnly Property
IsShared
As Boolean
Symbols\TypeSymbol.vb (1)
257
Public NotOverridable Overrides ReadOnly Property
IsShared
As Boolean
Symbols\Wrapped\WrappedEventSymbol.vb (1)
64
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\Wrapped\WrappedFieldSymbol.vb (1)
124
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\Wrapped\WrappedMethodSymbol.vb (1)
84
Public Overrides ReadOnly Property
IsShared
As Boolean
Symbols\Wrapped\WrappedPropertySymbol.vb (1)
83
Public Overrides ReadOnly Property
IsShared
As Boolean
59 references to IsShared
Microsoft.CodeAnalysis.VisualBasic (59)
Analysis\FlowAnalysis\DataFlowPass.vb (1)
1113
If sym.
IsShared
Then
Binding\Binder.vb (3)
517
If Not candidate.
IsShared
OrElse candidate.Kind <> SymbolKind.Property Then
959
If symbol.
IsShared
AndAlso
964
If Not symbol.
IsShared
AndAlso
Binding\Binder_Attributes.vb (1)
511
If sym.
IsShared
Then
Binding\Binder_Expressions.vb (6)
1141
If ContainingType Is classType AndAlso Not ContainingMember.
IsShared
Then
1913
If containingMember.
IsShared
Then
2238
Return containingMember.
IsShared
OrElse
2242
Return containingMember.
IsShared
OrElse
2605
If currentType.TypeKind = TYPEKIND.Submission AndAlso Not currentMember.
IsShared
Then
2726
isInstanceMember = Not leftSymbol.
IsShared
Binding\Binder_Invocation.vb (2)
855
hasErrors = CheckSharedSymbolAccess(target, methodOrProperty.
IsShared
, receiver, group.QualificationKind, diagnostics) ' give diagnostics if sharedness is wrong.
868
receiver = AdjustReceiverTypeOrValue(receiver, receiver.Syntax, methodOrProperty.
IsShared
, diagnostics, resolvedTypeOrValueReceiver)
Binding\SyntheticBoundTrees\SynthesizedPropertyAccessorBase.vb (1)
33
If Not accessor.
IsShared
Then
Compilation\SemanticModel.vb (1)
1214
If containingMember.
IsShared
Then
Emit\FieldSymbolAdapter.vb (1)
187
Return AdaptedFieldSymbol.
IsShared
Emit\MethodSymbolAdapter.vb (1)
376
Return AdaptedMethodSymbol.
IsShared
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (1)
199
propertyIsStatic = fromMember.
IsShared
AndAlso
Semantics\AccessCheck.vb (1)
128
If symbol.
IsShared
Then
Symbols\EventSignatureComparer.vb (2)
120
If _considerIsShared AndAlso event1.
IsShared
<> event2.
IsShared
Then
Symbols\Metadata\PE\PEEventSymbol.vb (1)
207
Return method Is Nothing OrElse method.
IsShared
Symbols\Metadata\PE\PENamedTypeSymbol.vb (1)
389
If (Not member.
IsShared
AndAlso member.Kind = SymbolKind.Field) Then
Symbols\MethodSymbol.vb (1)
537
Return
IsShared
AndAlso
Symbols\NamedTypeSymbol.vb (1)
1260
If field Is Nothing OrElse field.
IsShared
Then
Symbols\PropertySignatureComparer.vb (2)
203
If prop1.
IsShared
<> prop2.
IsShared
Then
Symbols\PropertySymbol.vb (2)
207
Dim propertyIsStatic As Boolean = Me.
IsShared
213
propertyIsStatic = fromMember.
IsShared
AndAlso
Symbols\Retargeting\RetargetingEventSymbol.vb (1)
156
Return _underlyingEvent.
IsShared
Symbols\Retargeting\RetargetingFieldSymbol.vb (1)
230
Return _underlyingField.
IsShared
Symbols\Retargeting\RetargetingMethodSymbol.vb (1)
280
Return _underlyingMethod.
IsShared
Symbols\Retargeting\RetargetingPropertySymbol.vb (1)
163
Return _underlyingProperty.
IsShared
Symbols\Source\ImplementsHelper.vb (1)
646
Not member.
IsShared
AndAlso
Symbols\Source\LambdaSymbol.vb (1)
233
Return container.
IsShared
Symbols\Source\SourceMemberContainerTypeSymbol.vb (2)
2126
If field IsNot Nothing AndAlso Not field.
IsShared
Then
2877
EnsureCtor(members, eventSym.
IsShared
, isDebuggable:=False, diagBag:=diagBag)
Symbols\Source\SourceMemberFieldSymbol.vb (1)
665
Dim symbolsAreShared = nameCount > 0 AndAlso fieldOrWithEventSymbols(0).
IsShared
Symbols\Source\SourceMemberMethodSymbol.vb (4)
660
If witheventsProperty.
IsShared
Then
776
If eventSymbol.
IsShared
AndAlso Me.IsShared Then
793
If Not hookupMethod.
IsShared
Then
805
If hookupMethod.
IsShared
Then
Symbols\Source\SourceNamedTypeSymbol.vb (1)
2436
If Not m.
IsShared
And m.Kind = SymbolKind.Field Then
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (1)
369
If member.
IsShared
OrElse member.DeclaredAccessibility <> Accessibility.Public OrElse
Symbols\Source\SynthesizedEventAccessorSymbol.vb (1)
190
If(field.
IsShared
, Nothing, New BoundMeReference(syntax, accessor.MeParameter.Type)),
Symbols\Source\SynthesizedStaticLocalBackingField.vb (1)
37
isShared:=implicitlyDefinedBy.ContainingSymbol.
IsShared
,
Symbols\SubstitutedEventSymbol.vb (1)
127
Return Me._originalDefinition.
IsShared
Symbols\SubstitutedFieldSymbol.vb (1)
140
Return _originalDefinition.
IsShared
Symbols\SubstitutedMethodSymbol.vb (1)
237
Return OriginalDefinition.
IsShared
Symbols\SubstitutedPropertySymbol.vb (1)
174
Return _originalDefinition.
IsShared
Symbols\Symbol.vb (1)
1267
Return Me.
IsShared
Symbols\SymbolExtensions.vb (1)
197
Return Not sym.
IsShared
Symbols\SynthesizedSymbols\SynthesizedAccessor.vb (1)
114
Return m_propertyOrEvent.
IsShared
Symbols\SynthesizedSymbols\SynthesizedMethodBase.vb (2)
39
Return If(
IsShared
, Microsoft.Cci.CallingConvention.Default, Microsoft.Cci.CallingConvention.HasThis) Or
179
If
IsShared
Then
Symbols\Wrapped\WrappedEventSymbol.vb (1)
66
Return Me._underlyingEvent.
IsShared
Symbols\Wrapped\WrappedFieldSymbol.vb (1)
126
Return Me._underlyingField.
IsShared
Symbols\Wrapped\WrappedMethodSymbol.vb (1)
86
Return Me.UnderlyingMethod.
IsShared
Symbols\Wrapped\WrappedPropertySymbol.vb (1)
85
Return Me._underlyingProperty.
IsShared