34 references to Shared
Microsoft.CodeAnalysis.VisualBasic (34)
Binding\Binder_Utils.vb (6)
91
Case SyntaxKind.SharedKeyword : Return SourceMemberFlags.
Shared
1154
If (flags And SourceMemberFlags.
Shared
) <> 0 AndAlso (flags And SourceMemberFlags.InvalidIfShared) <> 0 Then
1178
memberModifiers = New MemberModifiers(flags, memberModifiers.ComputedFlags Or SourceMemberFlags.
Shared
)
1251
memberModifiers = New MemberModifiers(flags, memberModifiers.ComputedFlags Or SourceMemberFlags.
Shared
)
1603
InvalidInModule = [Protected] Or
[Shared]
Or [Default] Or [MustOverride] Or [Overridable] Or [Shadows] Or [Overrides] Or [NotOverridable]
1604
InvalidInInterface = AllAccessibilityModifiers Or
[Shared]
Or [Overrides] Or AllOverrideModifiers Or [Dim] Or [Const] Or
Symbols\Source\SourceEnumConstantSymbol.vb (1)
38
memberFlags:=SourceMemberFlags.Const Or SourceMemberFlags.
Shared
Or SourceMemberFlags.AccessibilityPublic)
Symbols\Source\SourceEventSymbol.vb (2)
534
Return (_memberFlags And SourceMemberFlags.
Shared
) <> 0
712
SourceMemberFlags.
Shared
,
Symbols\Source\SourceFieldSymbol.vb (1)
597
Return (m_memberFlags And SourceMemberFlags.
Shared
) <> 0
Symbols\Source\SourceMemberFieldSymbol.vb (7)
419
SourceMemberFlags.
Shared
467
modifiers.ComputedFlags Or SourceMemberFlags.
Shared
)
472
Const FlagsNotCombinableWithConst As SourceMemberFlags = SourceMemberFlags.WithEvents Or SourceMemberFlags.
Shared
Or SourceMemberFlags.ReadOnly Or SourceMemberFlags.Dim
478
If (modifiers.FoundFlags And SourceMemberFlags.
Shared
) <> 0 Then
500
(modifiers.FoundFlags And SourceMemberFlags.
Shared
) = 0 Then
503
modifiers.ComputedFlags Or SourceMemberFlags.
Shared
)
529
(flags And SourceMemberFlags.
Shared
) = 0 Then
Symbols\Source\SourceMethodSymbol.vb (10)
252
SourceMemberFlags.
Shared
313
Debug.Assert((flags And SourceMemberFlags.
Shared
) <> 0)
390
If (flags And SourceMemberFlags.
Shared
) <> 0 Then
405
If (flags And SourceMemberFlags.
Shared
) = 0 Then
423
SourceMemberFlags.Shadows Or SourceMemberFlags.
Shared
Or
449
SourceMemberFlags.
Shared
Or
469
If (foundFlags And SourceMemberFlags.
Shared
) = 0 Then
471
computedFlags = computedFlags Or SourceMemberFlags.
Shared
526
If ((constructorModifiers.AllFlags And SourceMemberFlags.
Shared
) <> 0) Then
686
Return (m_flags And SourceMemberFlags.
Shared
) <> 0
Symbols\Source\SourceNamedTypeSymbol_GroupClass.vb (1)
341
If (modifiers And SourceMemberFlags.
Shared
) = 0 Then
Symbols\Source\SourcePropertySymbol.vb (3)
251
If (memberFlags And SourceMemberFlags.
Shared
) = 0 Then
682
Return (_flags And SourceMemberFlags.
Shared
) <> 0
1122
SourceMemberFlags.
Shared
Or
Symbols\Source\SourceWithEventsBackingFieldSymbol.vb (1)
32
SourceMemberFlags.AccessibilityPrivate Or If([property].IsShared, SourceMemberFlags.
Shared
, SourceMemberFlags.None))
Symbols\Source\SynthesizedFieldSymbol.vb (2)
47
If(isShared, SourceMemberFlags.
Shared
, SourceMemberFlags.None)
156
Return (_flags And SourceMemberFlags.
Shared
) <> 0