File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed
Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -151,13 +151,10 @@ public Handle? MetadataHandle
151151 if ( handleProp is null )
152152 {
153153 var underlyingSymbolProp = GetPropertyInfo ( Symbol , "UnderlyingSymbol" ) ;
154- if ( underlyingSymbolProp is not null )
154+ if ( underlyingSymbolProp ? . GetValue ( Symbol ) is object underlying )
155155 {
156- if ( underlyingSymbolProp . GetValue ( Symbol ) is object underlying )
157- {
158- handleProp = GetPropertyInfo ( underlying , "Handle" ) ;
159- handleObj = underlying ;
160- }
156+ handleProp = GetPropertyInfo ( underlying , "Handle" ) ;
157+ handleObj = underlying ;
161158 }
162159 }
163160
Original file line number Diff line number Diff line change 33
44namespace Semmle . Extraction . CSharp . Entities . Expressions
55{
6- internal class ImplicitCast : Expression
6+ internal sealed class ImplicitCast : Expression
77 {
88 public Expression Expr
99 {
Original file line number Diff line number Diff line change 44
55namespace Semmle . Extraction . CSharp . Entities . Expressions
66{
7- internal class MemberAccess : Expression
7+ internal sealed class MemberAccess : Expression
88 {
99 private MemberAccess ( ExpressionNodeInfo info , ExpressionSyntax qualifier , ISymbol ? target ) : base ( info )
1010 {
You can’t perform that action at this time.
0 commit comments