29 references to VariableFlags
Microsoft.CodeAnalysis.CSharp (29)
Parser\LanguageParser.cs (29)
4795type, this.ParseFieldDeclarationVariableDeclarators(type, VariableFlags.Fixed, parentKind)), 4923var variables = this.ParseFieldDeclarationVariableDeclarators(type, flags: VariableFlags.LocalOrField, parentKind); 4980TypeSyntax type, VariableFlags flags, SyntaxKind parentKind) 5013VariableFlags flags, 5060if (flags.HasFlag(VariableFlags.ForStatement) && this.PeekToken(1).Kind != SyntaxKind.SemicolonToken) 5161private static VariableFlags GetOriginalVariableFlags(CSharp.Syntax.VariableDeclaratorSyntax old) 5165VariableFlags flags = default(VariableFlags); 5168flags |= VariableFlags.Fixed; 5173flags |= VariableFlags.Const; 5178flags |= VariableFlags.LocalOrField; 5184private static bool CanReuseVariableDeclarator(CSharp.Syntax.VariableDeclaratorSyntax old, VariableFlags flags, bool isFirst) 5202VariableFlags flags, 5299bool isFixed = (flags & VariableFlags.Fixed) != 0; 5300bool isConst = (flags & VariableFlags.Const) != 0; 5301bool isLocalOrField = (flags & VariableFlags.LocalOrField) != 0; 5489this.ParseFieldDeclarationVariableDeclarators(type, VariableFlags.Const, parentKind)), 8859var decl = ParseParenthesizedVariableDeclaration(VariableFlags.None, scopedKeyword: null); 9250return (ParseParenthesizedVariableDeclaration(VariableFlags.ForStatement, ParsePossibleScopedKeyword(isFunctionPointerParameter: false)), initializers: default); 9925declaration = ParseParenthesizedVariableDeclaration(VariableFlags.None, scopedKeyword); 9958declaration = ParseParenthesizedVariableDeclaration(VariableFlags.None, scopedKeyword: null); 9965declaration = ParseParenthesizedVariableDeclaration(VariableFlags.None, scopedKeyword: null); 9986declaration = ParseParenthesizedVariableDeclaration(VariableFlags.None, scopedKeyword: null); 10078initialFlags: VariableFlags.None, 10247VariableFlags initialFlags, SyntaxToken? scopedKeyword) 10275VariableFlags initialFlags, 10284VariableFlags flags = initialFlags | VariableFlags.LocalOrField; 10287flags |= VariableFlags.Const;