SyntaxInfo.RegionInfo Method
Containing Type: SyntaxInfo
Assembly: Roslynator.CSharp.dll
Overloads
Method | Summary |
---|---|
RegionInfo(EndRegionDirectiveTriviaSyntax) | Creates a new RegionInfo from the specified endregion directive. |
RegionInfo(RegionDirectiveTriviaSyntax) | Creates a new RegionInfo from the specified region directive. |
RegionInfo(EndRegionDirectiveTriviaSyntax)
Creates a new RegionInfo from the specified endregion directive.
public static Roslynator.CSharp.Syntax.RegionInfo RegionInfo(Microsoft.CodeAnalysis.CSharp.Syntax.EndRegionDirectiveTriviaSyntax endRegionDirective)
Parameters
endRegionDirective EndRegionDirectiveTriviaSyntax
Returns
RegionInfo(RegionDirectiveTriviaSyntax)
Creates a new RegionInfo from the specified region directive.
public static Roslynator.CSharp.Syntax.RegionInfo RegionInfo(Microsoft.CodeAnalysis.CSharp.Syntax.RegionDirectiveTriviaSyntax regionDirective)
Parameters
regionDirective RegionDirectiveTriviaSyntax