24 references to SemicolonToken
Microsoft.CodeAnalysis.CSharp.Workspaces (24)
CodeGeneration\CSharpSyntaxGenerator.cs (8)
254semicolonToken: !hasBody ? SemicolonToken : default); 276var semicolon = !hasBody ? SemicolonToken : default; 434? accessor.WithSemicolonToken(SemicolonToken) 524ad = ad.WithSemicolonToken(SemicolonToken); 688=> accessor.Body != null ? accessor.WithSemicolonToken(SemicolonToken).WithBody(null) 817.WithSemicolonToken(SemicolonToken) 831.WithSemicolonToken(SemicolonToken) 2490var semicolon = statements == null ? SemicolonToken : default;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
867var 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)
77semicolonToken: hasNoBody ? SemicolonToken : default);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (1)
638var semicolonToken = SemicolonToken;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\DestructorGenerator.cs (1)
59semicolonToken: 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)
137semicolonToken: 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)
104semicolonToken: hasNoBody ? SemicolonToken : new SyntaxToken());
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\PropertyGenerator.cs (2)
133semicolonToken: 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())) 174var semicolonToken = TryGetSemicolonToken(functionDeclaration) ?? SemicolonToken; 278.WithSemicolonToken(SemicolonToken)) 299.WithSemicolonToken(SemicolonToken);