File tree Expand file tree Collapse file tree
IDisposableAnalyzers/Helpers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ when target.Declaration is MethodDeclarationSyntax methodDeclaration &&
118118 case ThisExpressionSyntax :
119119 return true ;
120120 case InvocationExpressionSyntax invocation
121- when recursion . Target ( invocation ) is { Symbol : { IsStatic : false } } next &&
121+ when recursion . Target ( invocation ) is { Symbol . IsStatic : false } next &&
122122 next . Symbol . ContainingType . IsAssignableTo ( target . Symbol . ContainingType , recursion . SemanticModel . Compilation ) :
123123 return IsIdentity ( next , recursion ) ;
124124 }
Original file line number Diff line number Diff line change @@ -13,14 +13,17 @@ internal sealed class Client : IDisposable
1313
1414 private bool disposed ;
1515
16- public async Task < int > M ( )
16+ public async Task < int > M ( bool rth )
1717 {
1818 this . ThrowIfDisposed ( ) ;
1919 var id = Request . GetNextValidId ( ) ;
2020 using var request = new Request ( )
21- . Append ( 6 , "message" )
22- . Append ( 2 , "version" )
23- . Append ( true , "subscribe" ) ;
21+ . Append ( 6 , "message" )
22+ . Append ( 2 , "version" )
23+ . Append ( true , "subscribe" )
24+ . Append ( rth , "useRTH" )
25+ . Append ( "abc" , "text" )
26+ . Append ( ( string ? ) null , "empty" ) ;
2427 await this . socket . SendAsync ( request . LengthPrefixed ( ) , SocketFlags . None , CancellationToken . None ) . ConfigureAwait ( false ) ;
2528 return id ;
2629 }
You can’t perform that action at this time.
0 commit comments