23 references to LeftBrace
Microsoft.CodeAnalysis.Razor.Compiler (23)
Language\Legacy\CSharpCodeParser.cs (13)
319if (At(SyntaxKind.LeftBrace)) 706Assert(SyntaxKind.LeftBrace); 708var leftBrace = OutputAsMetaCode(EatExpectedToken(SyntaxKind.LeftBrace)); 871case SyntaxKind.LeftBrace: 943if (At(SyntaxKind.LeftBrace)) 992not SyntaxKind.LeftBrace and 999if ((!Context.Options.AllowRazorInAllCodeBlocks && At(SyntaxKind.LeftBrace)) || 1009else if (Context.Options.AllowRazorInAllCodeBlocks && At(SyntaxKind.LeftBrace)) 1104AcceptUntil(SyntaxKind.LeftBrace); // TODO: how do we do error recovery at this point? 1120AcceptUntil(SyntaxKind.LessThan, SyntaxKind.LeftBrace, SyntaxKind.RightBrace); 1891Balance(childBuilder, BalancingModes.NoErrorOnFailure, SyntaxKind.LeftBrace, SyntaxKind.RightBrace, startingBraceLocation); 2020else if (!At(SyntaxKind.LeftBrace)) 2266case SyntaxKind.LeftBrace:
Language\Legacy\NativeCSharpLanguageCharacteristics.cs (3)
45{ SyntaxKind.LeftBrace, "{" }, 152case SyntaxKind.LeftBrace: 161return SyntaxKind.LeftBrace;
Language\Legacy\NativeCSharpTokenizer.cs (2)
130{ '{', () => SyntaxKind.LeftBrace }, 263case SyntaxKind.LeftBrace:
Language\Legacy\RoslynCSharpLanguageCharacteristics.cs (3)
45{ SyntaxKind.LeftBrace, "{" }, 144case SyntaxKind.LeftBrace: 153return SyntaxKind.LeftBrace;
Language\Legacy\RoslynCSharpTokenizer.cs (2)
184case SyntaxKind.LeftBrace: 336(int)CSharpSyntaxKind.OpenBraceToken => SyntaxKind.LeftBrace,