14 instantiations of ParserSyntaxContextResetter
Microsoft.CodeAnalysis.CSharp (14)
Parser\LanguageParser.cs (13)
2556using var _ = new ParserSyntaxContextResetter(this, isInAsyncContext: this.IsInAsync || !IsScript); 2694using var _ = new ParserSyntaxContextResetter(this, isInAsyncContext: this.IsInAsync || !IsScript); 2844using var _ = new ParserSyntaxContextResetter(this, isInAsyncContext: true); 2871using var _ = new ParserSyntaxContextResetter(this, isInAsyncContext: true); 3644using var _ = new ParserSyntaxContextResetter(this, isInAsyncContext: modifiers.Any((int)SyntaxKind.AsyncKeyword)); 4218using var _ = new ParserSyntaxContextResetter(this, isInFieldKeywordContext: true); 4588using var _1 = new ParserSyntaxContextResetter(this, isInFieldKeywordContext: declaringKind is AccessorDeclaringKind.Property); 8307using var _ = new ParserSyntaxContextResetter(this, isInAsyncContext: true); 10825using var _ = new ParserSyntaxContextResetter(this, isInAsyncContext: modifiers.Any((int)SyntaxKind.AsyncKeyword)); 11498using (var _ = new ParserSyntaxContextResetter(this, forceConditionalAccessExpression: true)) 13517using var _ = new ParserSyntaxContextResetter(this, 13634using var _ = new ParserSyntaxContextResetter(this, 13921using var _ = new ParserSyntaxContextResetter(this, isInQueryContext: true);
Parser\LanguageParser_InterpolatedString.cs (1)
508using var _ = new ParserSyntaxContextResetter(tempParser, isInAsyncContext: isInAsyncContext, isInFieldKeywordContext: isInFieldKeywordContext);
14 references to ParserSyntaxContextResetter
Microsoft.CodeAnalysis.CSharp (14)
Parser\LanguageParser.cs (13)
2556using var _ = new ParserSyntaxContextResetter(this, isInAsyncContext: this.IsInAsync || !IsScript); 2694using var _ = new ParserSyntaxContextResetter(this, isInAsyncContext: this.IsInAsync || !IsScript); 2844using var _ = new ParserSyntaxContextResetter(this, isInAsyncContext: true); 2871using var _ = new ParserSyntaxContextResetter(this, isInAsyncContext: true); 3644using var _ = new ParserSyntaxContextResetter(this, isInAsyncContext: modifiers.Any((int)SyntaxKind.AsyncKeyword)); 4218using var _ = new ParserSyntaxContextResetter(this, isInFieldKeywordContext: true); 4588using var _1 = new ParserSyntaxContextResetter(this, isInFieldKeywordContext: declaringKind is AccessorDeclaringKind.Property); 8307using var _ = new ParserSyntaxContextResetter(this, isInAsyncContext: true); 10825using var _ = new ParserSyntaxContextResetter(this, isInAsyncContext: modifiers.Any((int)SyntaxKind.AsyncKeyword)); 11498using (var _ = new ParserSyntaxContextResetter(this, forceConditionalAccessExpression: true)) 13517using var _ = new ParserSyntaxContextResetter(this, 13634using var _ = new ParserSyntaxContextResetter(this, 13921using var _ = new ParserSyntaxContextResetter(this, isInQueryContext: true);
Parser\LanguageParser_InterpolatedString.cs (1)
508using var _ = new ParserSyntaxContextResetter(tempParser, isInAsyncContext: isInAsyncContext, isInFieldKeywordContext: isInFieldKeywordContext);