62 references to Empty
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (10)
src\Analyzers\CSharp\CodeFixes\UseUtf8StringLiteral\UseUtf8StringLiteralCodeFixProvider.cs (2)
172var stringLiteral = CreateUtf8String(SyntaxTriviaList.Empty, stringValue, argumentList.Arguments.Last().GetTrailingTrivia(), isConvertedToReadOnlySpan); 196trailing: SyntaxTriviaList.Empty));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ExpressionSyntaxExtensions.cs (8)
62Token(SyntaxTriviaList.Empty, SyntaxKind.OpenParenToken, SyntaxTriviaList.Empty), 64Token(SyntaxTriviaList.Empty, SyntaxKind.CloseParenToken, SyntaxTriviaList.Empty)); 76Token(SyntaxTriviaList.Empty, SyntaxKind.OpenParenToken, SyntaxTriviaList.Empty), 78Token(SyntaxTriviaList.Empty, SyntaxKind.CloseParenToken, SyntaxTriviaList.Empty));
Microsoft.CodeAnalysis.CSharp.EditorFeatures (4)
AutomaticCompletion\AutomaticLineEnderCommandHandler_Helpers.cs (4)
850leading: SyntaxTriviaList.Empty, 857leading: SyntaxTriviaList.Empty, 1032Token(SyntaxTriviaList.Empty, SyntaxKind.SemicolonToken, SyntaxTriviaList.Empty));
Microsoft.CodeAnalysis.CSharp.Features (3)
FullyQualify\CSharpFullyQualifyService.cs (1)
46var newName = simpleName.WithLeadingTrivia(SyntaxTriviaList.Empty);
src\Analyzers\CSharp\CodeFixes\UseUtf8StringLiteral\UseUtf8StringLiteralCodeFixProvider.cs (2)
172var stringLiteral = CreateUtf8String(SyntaxTriviaList.Empty, stringValue, argumentList.Arguments.Last().GetTrailingTrivia(), isConvertedToReadOnlySpan); 196trailing: SyntaxTriviaList.Empty));
Microsoft.CodeAnalysis.CSharp.Workspaces (12)
Simplification\CSharpSimplificationService.Expander.cs (4)
330var identifier = Identifier(SyntaxTriviaList.Empty, inferredName, SyntaxTriviaList.Empty); 403.WithLeadingTrivia(SyntaxTriviaList.Empty)) 1114var thisArgument = Argument(thisExpression).WithLeadingTrivia(SyntaxTriviaList.Empty);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ExpressionSyntaxExtensions.cs (8)
62Token(SyntaxTriviaList.Empty, SyntaxKind.OpenParenToken, SyntaxTriviaList.Empty), 64Token(SyntaxTriviaList.Empty, SyntaxKind.CloseParenToken, SyntaxTriviaList.Empty)); 76Token(SyntaxTriviaList.Empty, SyntaxKind.OpenParenToken, SyntaxTriviaList.Empty), 78Token(SyntaxTriviaList.Empty, SyntaxKind.CloseParenToken, SyntaxTriviaList.Empty));
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
src\Workspaces\VisualBasic\Portable\Formatting\Engine\Trivia\TriviaDataFactory.TriviaRewriter.vb (1)
60Return (SyntaxTriviaList.Empty,
Microsoft.CodeAnalysis.VisualBasic.Features (1)
CodeRefactorings\InlineTemporary\VisualBasicInlineTemporaryCodeRefactoringProvider.vb (1)
385explicitInitializer = explicitInitializer.ReplaceToken(lastToken, lastToken.WithTrailingTrivia(SyntaxTriviaList.Empty))
Microsoft.CodeAnalysis.VisualBasic.Workspaces (4)
Formatting\Engine\Trivia\TriviaDataFactory.TriviaRewriter.vb (1)
60Return (SyntaxTriviaList.Empty,
Simplification\VisualBasicSimplificationService.Expander.vb (3)
202.WithTrailingTrivia(SyntaxTriviaList.Empty) _ 266.WithLeadingTrivia(SyntaxTriviaList.Empty) _ 287.WithType(newObjectCreationExpression.Type.WithTrailingTrivia(SyntaxTriviaList.Empty)) _
Microsoft.VisualStudio.LanguageServices.CSharp (4)
CodeModel\CSharpCodeModelService.cs (3)
3241enumDeclaration = enumDeclaration.ReplaceNode(lastMember, lastMember.WithTrailingTrivia(SyntaxTriviaList.Empty)); 3298.ReplaceToken(nextToken, nextToken.WithLeadingTrivia(SyntaxTriviaList.Empty)); 3354container = container.ReplaceToken(firstToken, firstToken.WithLeadingTrivia(SyntaxTriviaList.Empty));
CodeModel\ModifierFlagsExtensions.cs (1)
109member = member.WithLeadingTrivia(SyntaxTriviaList.Empty);
Microsoft.VisualStudio.LanguageServices.VisualBasic (23)
CodeModel\VisualBasicCodeModelService.vb (23)
2978.WithLeadingTrivia(SyntaxTriviaList.Empty) _ 2979.WithTrailingTrivia(SyntaxTriviaList.Empty) 3031.WithLeadingTrivia(SyntaxTriviaList.Empty) _ 3032.WithTrailingTrivia(SyntaxTriviaList.Empty) 3069.WithLeadingTrivia(SyntaxTriviaList.Empty) _ 3070.WithTrailingTrivia(SyntaxTriviaList.Empty) 3142.WithLeadingTrivia(SyntaxTriviaList.Empty) _ 3143.WithTrailingTrivia(SyntaxTriviaList.Empty) 3198.WithLeadingTrivia(SyntaxTriviaList.Empty) _ 3199.WithTrailingTrivia(SyntaxTriviaList.Empty) 3252.WithLeadingTrivia(SyntaxTriviaList.Empty) _ 3253.WithTrailingTrivia(SyntaxTriviaList.Empty) 3285.WithLeadingTrivia(SyntaxTriviaList.Empty) _ 3286.WithTrailingTrivia(SyntaxTriviaList.Empty) 3314.WithLeadingTrivia(SyntaxTriviaList.Empty) _ 3315.WithTrailingTrivia(SyntaxTriviaList.Empty) 3343.WithLeadingTrivia(SyntaxTriviaList.Empty) _ 3344.WithTrailingTrivia(SyntaxTriviaList.Empty) 3397.WithLeadingTrivia(SyntaxTriviaList.Empty) _ 3398.WithTrailingTrivia(SyntaxTriviaList.Empty) 3567variableDeclarator = variableDeclarator.WithTrailingTrivia(SyntaxTriviaList.Empty) 3589enumMemberDeclaration = enumMemberDeclaration.WithTrailingTrivia(SyntaxTriviaList.Empty) 3819container = container.ReplaceToken(firstToken, firstToken.WithLeadingTrivia(SyntaxTriviaList.Empty))