24 references to SemicolonToken
Microsoft.CodeAnalysis.CSharp.Workspaces (24)
CodeGeneration\CSharpSyntaxGenerator.cs (8)
254
semicolonToken: !hasBody ?
SemicolonToken
: default);
276
var semicolon = !hasBody ?
SemicolonToken
: default;
434
? accessor.WithSemicolonToken(
SemicolonToken
)
524
ad = ad.WithSemicolonToken(
SemicolonToken
);
688
=> accessor.Body != null ? accessor.WithSemicolonToken(
SemicolonToken
).WithBody(null)
817
.WithSemicolonToken(
SemicolonToken
)
831
.WithSemicolonToken(
SemicolonToken
)
2490
var semicolon = statements == null ?
SemicolonToken
: default;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
867
var semicolonToken = semicolonTokenOpt ??
SemicolonToken
;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ConstructorGenerator.cs (1)
63
semicolonToken: hasNoBody ?
SemicolonToken
: default);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ConversionGenerator.cs (1)
77
semicolonToken: hasNoBody ?
SemicolonToken
: default);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (1)
638
var semicolonToken =
SemicolonToken
;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\DestructorGenerator.cs (1)
59
semicolonToken: hasNoBody ?
SemicolonToken
: default);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\EventGenerator.cs (1)
191
.WithSemicolonToken(hasBody ? default :
SemicolonToken
));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\MethodGenerator.cs (1)
137
semicolonToken: hasNoBody ?
SemicolonToken
: default);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\NamedTypeGenerator.cs (2)
130
return recordDeclaration.WithSemicolonToken(
SemicolonToken
);
205
SemicolonToken
);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\OperatorGenerator.cs (1)
104
semicolonToken: hasNoBody ?
SemicolonToken
: new SyntaxToken());
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\PropertyGenerator.cs (2)
133
semicolonToken: initializer is null ? default :
SemicolonToken
);
316
.WithSemicolonToken(hasBody ? default :
SemicolonToken
);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\InitializeParameter\InitializeParameterHelpers.cs (4)
71
.WithSemicolonToken(
SemicolonToken
.WithTrailingTrivia(newPropertyDeclaration.GetTrailingTrivia()))
174
var semicolonToken = TryGetSemicolonToken(functionDeclaration) ??
SemicolonToken
;
278
.WithSemicolonToken(
SemicolonToken
))
299
.WithSemicolonToken(
SemicolonToken
);