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