29 references to VariableFlags
Microsoft.CodeAnalysis.CSharp (29)
Parser\LanguageParser.cs (29)
4797type, this.ParseFieldDeclarationVariableDeclarators(type, VariableFlags.Fixed, parentKind)), 4925var variables = this.ParseFieldDeclarationVariableDeclarators(type, flags: VariableFlags.LocalOrField, parentKind); 4982TypeSyntax type, VariableFlags flags, SyntaxKind parentKind) 5015VariableFlags flags, 5062if (flags.HasFlag(VariableFlags.ForStatement) && this.PeekToken(1).Kind != SyntaxKind.SemicolonToken) 5163private static VariableFlags GetOriginalVariableFlags(CSharp.Syntax.VariableDeclaratorSyntax old) 5167VariableFlags flags = default(VariableFlags); 5170flags |= VariableFlags.Fixed; 5175flags |= VariableFlags.Const; 5180flags |= VariableFlags.LocalOrField; 5186private static bool CanReuseVariableDeclarator(CSharp.Syntax.VariableDeclaratorSyntax old, VariableFlags flags, bool isFirst) 5204VariableFlags flags, 5301bool isFixed = (flags & VariableFlags.Fixed) != 0; 5302bool isConst = (flags & VariableFlags.Const) != 0; 5303bool isLocalOrField = (flags & VariableFlags.LocalOrField) != 0; 5491this.ParseFieldDeclarationVariableDeclarators(type, VariableFlags.Const, parentKind)), 8861var decl = ParseParenthesizedVariableDeclaration(VariableFlags.None, scopedKeyword: null); 9252return (ParseParenthesizedVariableDeclaration(VariableFlags.ForStatement, ParsePossibleScopedKeyword(isFunctionPointerParameter: false, isLambdaParameter: false)), initializers: default); 9927declaration = ParseParenthesizedVariableDeclaration(VariableFlags.None, scopedKeyword); 9960declaration = ParseParenthesizedVariableDeclaration(VariableFlags.None, scopedKeyword: null); 9967declaration = ParseParenthesizedVariableDeclaration(VariableFlags.None, scopedKeyword: null); 9988declaration = ParseParenthesizedVariableDeclaration(VariableFlags.None, scopedKeyword: null); 10080initialFlags: VariableFlags.None, 10276VariableFlags initialFlags, SyntaxToken? scopedKeyword) 10304VariableFlags initialFlags, 10313VariableFlags flags = initialFlags | VariableFlags.LocalOrField; 10316flags |= VariableFlags.Const;