@@ -125,7 +125,6 @@ internal static string GetTitle(SyntaxNode node)
125125 /// Returns true if a syntax of the specified kind is comment trivia.
126126 /// </summary>
127127 /// <param name="kind"></param>
128- /// <returns></returns>
129128 public static bool IsCommentTrivia ( SyntaxKind kind )
130129 {
131130 return kind . Is (
@@ -139,7 +138,6 @@ public static bool IsCommentTrivia(SyntaxKind kind)
139138 /// Returns true if a syntax of the specified kind can have statements. It can be either <see cref="BlockSyntax"/> or <see cref="SwitchSectionSyntax"/>.
140139 /// </summary>
141140 /// <param name="kind"></param>
142- /// <returns></returns>
143141 public static bool CanHaveStatements ( SyntaxKind kind )
144142 {
145143 return kind . Is ( SyntaxKind . Block , SyntaxKind . SwitchSection ) ;
@@ -149,7 +147,6 @@ public static bool CanHaveStatements(SyntaxKind kind)
149147 /// Returns true if a syntax of the specified kind can have members.
150148 /// </summary>
151149 /// <param name="kind"></param>
152- /// <returns></returns>
153150 public static bool CanHaveMembers ( SyntaxKind kind )
154151 {
155152 return kind . Is (
@@ -164,7 +161,6 @@ public static bool CanHaveMembers(SyntaxKind kind)
164161 /// Returns true if a syntax of the specified kind if local function or anonymous function.
165162 /// </summary>
166163 /// <param name="kind"></param>
167- /// <returns></returns>
168164 public static bool IsFunction ( SyntaxKind kind )
169165 {
170166 return kind . Is (
@@ -178,7 +174,6 @@ public static bool IsFunction(SyntaxKind kind)
178174 /// Returns true if a syntax of the specified kind is a for, foreach, while or do statement.
179175 /// </summary>
180176 /// <param name="kind"></param>
181- /// <returns></returns>
182177 public static bool IsIterationStatement ( SyntaxKind kind )
183178 {
184179 return kind . Is (
@@ -193,7 +188,6 @@ public static bool IsIterationStatement(SyntaxKind kind)
193188 /// Returns true if a syntax of the specified kind is true or false literal expression.
194189 /// </summary>
195190 /// <param name="kind"></param>
196- /// <returns></returns>
197191 public static bool IsBooleanLiteralExpression ( SyntaxKind kind )
198192 {
199193 return kind . Is (
@@ -205,7 +199,6 @@ public static bool IsBooleanLiteralExpression(SyntaxKind kind)
205199 /// Returns true if a syntax of the specified kind is a lambda expression.
206200 /// </summary>
207201 /// <param name="kind"></param>
208- /// <returns></returns>
209202 public static bool IsLambdaExpression ( SyntaxKind kind )
210203 {
211204 return kind . Is (
@@ -217,7 +210,6 @@ public static bool IsLambdaExpression(SyntaxKind kind)
217210 /// Returns true if a syntax of the specified kind is an anonymous method or lambda expression.
218211 /// </summary>
219212 /// <param name="kind"></param>
220- /// <returns></returns>
221213 public static bool IsAnonymousFunctionExpression ( SyntaxKind kind )
222214 {
223215 return kind . Is (
@@ -230,7 +222,6 @@ public static bool IsAnonymousFunctionExpression(SyntaxKind kind)
230222 /// Returns true if a syntax of the specified kind is a jump statement.
231223 /// </summary>
232224 /// <param name="kind"></param>
233- /// <returns></returns>
234225 public static bool IsJumpStatement ( SyntaxKind kind )
235226 {
236227 switch ( kind )
@@ -258,7 +249,6 @@ internal static bool IsJumpStatementOrYieldBreakStatement(SyntaxKind kind)
258249 /// Returns true if a syntax of the specified kind is pre/post increment/decrement expression.
259250 /// </summary>
260251 /// <param name="kind"></param>
261- /// <returns></returns>
262252 public static bool IsIncrementOrDecrementExpression ( SyntaxKind kind )
263253 {
264254 return kind . Is (
@@ -272,7 +262,6 @@ public static bool IsIncrementOrDecrementExpression(SyntaxKind kind)
272262 /// Returns true if a syntax of the specified kind is a compound assignment expression.
273263 /// </summary>
274264 /// <param name="kind"></param>
275- /// <returns></returns>
276265 public static bool IsCompoundAssignmentExpression ( SyntaxKind kind )
277266 {
278267 switch ( kind )
@@ -297,7 +286,6 @@ public static bool IsCompoundAssignmentExpression(SyntaxKind kind)
297286 /// Returns true if a syntax of the specified kind can have modifiers.
298287 /// </summary>
299288 /// <param name="kind"></param>
300- /// <returns></returns>
301289 public static bool CanHaveModifiers ( SyntaxKind kind )
302290 {
303291 switch ( kind )
@@ -349,7 +337,6 @@ internal static bool CanHaveUnsafeModifier(SyntaxKind kind)
349337 /// Returns true if a syntax of the specified kind can have expression body.
350338 /// </summary>
351339 /// <param name="kind"></param>
352- /// <returns></returns>
353340 public static bool CanHaveExpressionBody ( SyntaxKind kind )
354341 {
355342 switch ( kind )
@@ -376,7 +363,6 @@ public static bool CanHaveExpressionBody(SyntaxKind kind)
376363 /// Returns true if a syntax of the specified kind can have an embedded statement.
377364 /// </summary>
378365 /// <param name="kind"></param>
379- /// <returns></returns>
380366 public static bool CanHaveEmbeddedStatement ( SyntaxKind kind )
381367 {
382368 switch ( kind )
@@ -401,7 +387,6 @@ public static bool CanHaveEmbeddedStatement(SyntaxKind kind)
401387 /// Returns true if a syntax of the specified kind can be an embedded statement.
402388 /// </summary>
403389 /// <param name="kind"></param>
404- /// <returns></returns>
405390 public static bool CanBeEmbeddedStatement ( SyntaxKind kind )
406391 {
407392 switch ( kind )
@@ -471,7 +456,6 @@ internal static bool IsSingleTokenExpression(SyntaxKind kind)
471456 /// Returns true if a syntax of the specified kind is a predefined type.
472457 /// </summary>
473458 /// <param name="specialType"></param>
474- /// <returns></returns>
475459 public static bool IsPredefinedType ( SpecialType specialType )
476460 {
477461 switch ( specialType )
@@ -503,7 +487,6 @@ public static bool IsPredefinedType(SpecialType specialType)
503487 /// Returns true if a syntax of the specified kind is a simple type.
504488 /// </summary>
505489 /// <param name="specialType"></param>
506- /// <returns></returns>
507490 public static bool IsSimpleType ( SpecialType specialType )
508491 {
509492 switch ( specialType )
@@ -531,7 +514,6 @@ public static bool IsSimpleType(SpecialType specialType)
531514 /// Returns true if an expression of the specified type can be used in a prefix or postfix unary operator.
532515 /// </summary>
533516 /// <param name="specialType"></param>
534- /// <returns></returns>
535517 public static bool SupportsPrefixOrPostfixUnaryOperator ( SpecialType specialType )
536518 {
537519 switch ( specialType )
@@ -706,7 +688,6 @@ internal static bool ExistsImplicitNumericConversion(SpecialType from, SpecialTy
706688 /// Returns true if a syntax of the specified kind is a switch label.
707689 /// </summary>
708690 /// <param name="kind"></param>
709- /// <returns></returns>
710691 public static bool IsSwitchLabel ( SyntaxKind kind )
711692 {
712693 return kind . Is (
@@ -719,7 +700,6 @@ public static bool IsSwitchLabel(SyntaxKind kind)
719700 /// Returns true if a syntax of the specified kind is a boolean expression.
720701 /// </summary>
721702 /// <param name="kind"></param>
722- /// <returns></returns>
723703 public static bool IsBooleanExpression ( SyntaxKind kind )
724704 {
725705 switch ( kind )
@@ -746,7 +726,6 @@ public static bool IsBooleanExpression(SyntaxKind kind)
746726 /// Returns true if a syntax of the specified kind is a constraint.
747727 /// </summary>
748728 /// <param name="kind"></param>
749- /// <returns></returns>
750729 public static bool IsConstraint ( SyntaxKind kind )
751730 {
752731 return kind . Is (
@@ -760,7 +739,6 @@ public static bool IsConstraint(SyntaxKind kind)
760739 /// Returns true if a syntax of the specified kind is a literal expression.
761740 /// </summary>
762741 /// <param name="kind"></param>
763- /// <returns></returns>
764742 public static bool IsLiteralExpression ( SyntaxKind kind )
765743 {
766744 switch ( kind )
@@ -783,7 +761,6 @@ public static bool IsLiteralExpression(SyntaxKind kind)
783761 /// Returns true if a syntax of the specified kind is #if, #else, #elif or #endif directive.
784762 /// </summary>
785763 /// <param name="kind"></param>
786- /// <returns></returns>
787764 public static bool IsIfElseDirective ( SyntaxKind kind )
788765 {
789766 switch ( kind )
@@ -802,7 +779,6 @@ public static bool IsIfElseDirective(SyntaxKind kind)
802779 /// Returns true if a syntax of the specified kind is a statement (which includes <see cref="SyntaxKind.Block"/>).
803780 /// </summary>
804781 /// <param name="kind"></param>
805- /// <returns></returns>
806782 internal static bool IsStatement ( SyntaxKind kind )
807783 {
808784 switch ( kind )
0 commit comments