17 references to WithoutTrivia
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForFluentDiagnosticAnalyzer.cs (1)
314memberAccess.OperatorToken.WithoutTrivia(),
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (4)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordEngine.cs (1)
128EqualsValueClause(IdentifierName(property.Identifier.WithoutTrivia())))
src\Analyzers\CSharp\CodeFixes\UsePatternMatching\CSharpAsAndNullCheckCodeFixProvider.cs (1)
102.WithoutTrivia().WithTrailingTrivia(rightSideOfComparison.GetTrailingTrivia());
src\Analyzers\CSharp\CodeFixes\UsePatternMatching\CSharpIsAndCastCheckCodeFixProvider.cs (1)
65localDeclaration.Declaration.Variables[0].Identifier.WithoutTrivia())));
src\Analyzers\CSharp\CodeFixes\UseUnboundGenericTypeInNameOf\CSharpUseUnboundGenericTypeInNameOfCodeFixProvider.cs (1)
61t => t.IsToken ? t.AsToken().WithoutTrivia() : s_omittedArgument));
Microsoft.CodeAnalysis.CSharp.Features (6)
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForFluentDiagnosticAnalyzer.cs (1)
314memberAccess.OperatorToken.WithoutTrivia(),
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordEngine.cs (1)
128EqualsValueClause(IdentifierName(property.Identifier.WithoutTrivia())))
src\Analyzers\CSharp\CodeFixes\UsePatternMatching\CSharpAsAndNullCheckCodeFixProvider.cs (1)
102.WithoutTrivia().WithTrailingTrivia(rightSideOfComparison.GetTrailingTrivia());
src\Analyzers\CSharp\CodeFixes\UsePatternMatching\CSharpIsAndCastCheckCodeFixProvider.cs (1)
65localDeclaration.Declaration.Variables[0].Identifier.WithoutTrivia())));
src\Analyzers\CSharp\CodeFixes\UseUnboundGenericTypeInNameOf\CSharpUseUnboundGenericTypeInNameOfCodeFixProvider.cs (1)
61t => t.IsToken ? t.AsToken().WithoutTrivia() : s_omittedArgument));
UseAutoProperty\CSharpUseAutoPropertyCodeFixProvider.cs (1)
68var propertyIdentifierName = IdentifierName(property.Identifier.WithoutTrivia());
Microsoft.CodeAnalysis.Features (1)
ConvertForToForEach\AbstractConvertForToForEachCodeRefactoringProvider.cs (1)
363var foreachIdentifierReference = foreachIdentifier.WithoutAnnotations(RenameAnnotation.Kind).WithoutTrivia();
Microsoft.Interop.JavaScript.JSImportGenerator (1)
JSImportGenerator.cs (1)
101strippedTokens[i] = tokenList[i].WithoutTrivia();
Microsoft.Interop.LibraryImportGenerator (2)
Analyzers\ConvertToLibraryImportFixer.cs (1)
369declaration.Declaration.Variables[0].Identifier.WithoutTrivia())))
LibraryImportGenerator.cs (1)
168strippedTokens[i] = tokenList[i].WithoutTrivia();
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
DownlevelLibraryImportGenerator.cs (1)
110strippedTokens[i] = tokenList[i].WithoutTrivia();
Microsoft.Interop.SourceGeneration (1)
SyntaxExtensions.cs (1)
79strippedTokens[i] = tokenList[i].WithoutTrivia();