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