29 references to VariableFlags
Microsoft.CodeAnalysis.CSharp (29)
Parser\LanguageParser.cs (29)
5007type, this.ParseFieldDeclarationVariableDeclarators(type, VariableFlags.Fixed, parentKind)), 5135var variables = this.ParseFieldDeclarationVariableDeclarators(type, flags: VariableFlags.LocalOrField, parentKind); 5192TypeSyntax type, VariableFlags flags, SyntaxKind parentKind) 5225VariableFlags flags, 5276if (flags.HasFlag(VariableFlags.ForStatement) && this.PeekToken(1).Kind != SyntaxKind.SemicolonToken) 5374private static VariableFlags GetOriginalVariableFlags(CSharp.Syntax.VariableDeclaratorSyntax old) 5378VariableFlags flags = default(VariableFlags); 5381flags |= VariableFlags.Fixed; 5386flags |= VariableFlags.Const; 5391flags |= VariableFlags.LocalOrField; 5397private static bool CanReuseVariableDeclarator(CSharp.Syntax.VariableDeclaratorSyntax old, VariableFlags flags, bool isFirst) 5415VariableFlags flags, 5512bool isFixed = (flags & VariableFlags.Fixed) != 0; 5513bool isConst = (flags & VariableFlags.Const) != 0; 5514bool isLocalOrField = (flags & VariableFlags.LocalOrField) != 0; 5702this.ParseFieldDeclarationVariableDeclarators(type, VariableFlags.Const, parentKind)), 9150var decl = ParseParenthesizedVariableDeclaration(VariableFlags.None, scopedKeyword: null); 9541return (ParseParenthesizedVariableDeclaration(VariableFlags.ForStatement, ParsePossibleScopedKeyword(isFunctionPointerParameter: false, isLambdaParameter: false)), initializers: default); 10216declaration = ParseParenthesizedVariableDeclaration(VariableFlags.None, scopedKeyword); 10249declaration = ParseParenthesizedVariableDeclaration(VariableFlags.None, scopedKeyword: null); 10256declaration = ParseParenthesizedVariableDeclaration(VariableFlags.None, scopedKeyword: null); 10277declaration = ParseParenthesizedVariableDeclaration(VariableFlags.None, scopedKeyword: null); 10369initialFlags: VariableFlags.None, 10565VariableFlags initialFlags, SyntaxToken? scopedKeyword) 10593VariableFlags initialFlags, 10602VariableFlags flags = initialFlags | VariableFlags.LocalOrField; 10605flags |= VariableFlags.Const;