20 references to SemicolonToken
Microsoft.CodeAnalysis.CSharp.Workspaces (20)
CodeGeneration\CSharpSyntaxGenerator.cs (8)
256
semicolonToken: !hasBody ?
SemicolonToken
: default);
278
var semicolon = !hasBody ?
SemicolonToken
: default;
436
? accessor.WithSemicolonToken(
SemicolonToken
)
526
ad = ad.WithSemicolonToken(
SemicolonToken
);
690
=> accessor.Body != null ? accessor.WithSemicolonToken(
SemicolonToken
).WithBody(null)
819
.WithSemicolonToken(
SemicolonToken
)
833
.WithSemicolonToken(
SemicolonToken
)
2504
var semicolon = statements == null ?
SemicolonToken
: default;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
866
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)
78
semicolonToken: hasNoBody ?
SemicolonToken
: new SyntaxToken());
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (1)
614
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)
172
.WithSemicolonToken(hasBody ? default :
SemicolonToken
));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\MethodGenerator.cs (1)
133
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)
103
semicolonToken: hasNoBody ?
SemicolonToken
: new SyntaxToken());
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\PropertyGenerator.cs (2)
131
semicolonToken: initializer is null ? default :
SemicolonToken
);
301
.WithSemicolonToken(hasBody ? default :
SemicolonToken
);