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