SyntaxTrivia.IsEquivalentTo(SyntaxTrivia) Method

Definition

Determines if this trivia is equivalent to the specified trivia.

public:
 bool IsEquivalentTo(Microsoft::CodeAnalysis::SyntaxTrivia trivia);
public bool IsEquivalentTo (Microsoft.CodeAnalysis.SyntaxTrivia trivia);
member this.IsEquivalentTo : Microsoft.CodeAnalysis.SyntaxTrivia -> bool
Public Function IsEquivalentTo (trivia As SyntaxTrivia) As Boolean

Parameters

trivia
SyntaxTrivia

Returns

Applies to