SyntaxExtensions.GetPreprocessingMessageTrivia Method
Containing Type: SyntaxExtensions
Assembly: Roslynator.CSharp.dll
Overloads
Method | Summary |
---|---|
GetPreprocessingMessageTrivia(EndRegionDirectiveTriviaSyntax) | Gets preprocessing message for the specified endregion directive if such message exists. |
GetPreprocessingMessageTrivia(RegionDirectiveTriviaSyntax) | Gets preprocessing message for the specified region directive if such message exists. |
GetPreprocessingMessageTrivia(EndRegionDirectiveTriviaSyntax)
Gets preprocessing message for the specified endregion directive if such message exists.
public static Microsoft.CodeAnalysis.SyntaxTrivia GetPreprocessingMessageTrivia(this Microsoft.CodeAnalysis.CSharp.Syntax.EndRegionDirectiveTriviaSyntax endRegionDirective)
Parameters
endRegionDirective EndRegionDirectiveTriviaSyntax
Returns
GetPreprocessingMessageTrivia(RegionDirectiveTriviaSyntax)
Gets preprocessing message for the specified region directive if such message exists.
public static Microsoft.CodeAnalysis.SyntaxTrivia GetPreprocessingMessageTrivia(this Microsoft.CodeAnalysis.CSharp.Syntax.RegionDirectiveTriviaSyntax regionDirective)
Parameters
regionDirective RegionDirectiveTriviaSyntax