9 references to Const
Microsoft.CodeAnalysis.CSharp (9)
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (1)
55=> (Modifiers & DeclarationModifiers.Const) != 0;
Symbols\Source\ModifierUtils.cs (2)
301case DeclarationModifiers.Const: 367return DeclarationModifiers.Const;
Symbols\Source\SourceEnumConstantSymbol.cs (1)
77return DeclarationModifiers.Const | DeclarationModifiers.Static | DeclarationModifiers.Public;
Symbols\Source\SourceMemberFieldSymbol.cs (5)
173DeclarationModifiers.Const | 204reportBadMemberFlagIfAny(result, DeclarationModifiers.Const, diagnostics, errorLocation); 208result &= ~(DeclarationModifiers.Static | DeclarationModifiers.ReadOnly | DeclarationModifiers.Const | DeclarationModifiers.Volatile | DeclarationModifiers.Required); 212if ((result & DeclarationModifiers.Const) != 0) 251reportBadMemberFlagIfAny(result, DeclarationModifiers.Const, diagnostics, errorLocation);