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
151
151
if ( handleProp is null )
152
152
{
153
153
var underlyingSymbolProp = GetPropertyInfo ( Symbol , "UnderlyingSymbol" ) ;
154
- if ( underlyingSymbolProp is not null )
154
+ if ( underlyingSymbolProp ? . GetValue ( Symbol ) is object underlying )
155
155
{
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 ;
161
158
}
162
159
}
163
160
Original file line number Diff line number Diff line change 3
3
4
4
namespace Semmle . Extraction . CSharp . Entities . Expressions
5
5
{
6
- internal class ImplicitCast : Expression
6
+ internal sealed class ImplicitCast : Expression
7
7
{
8
8
public Expression Expr
9
9
{
Original file line number Diff line number Diff line change 4
4
5
5
namespace Semmle . Extraction . CSharp . Entities . Expressions
6
6
{
7
- internal class MemberAccess : Expression
7
+ internal sealed class MemberAccess : Expression
8
8
{
9
9
private MemberAccess ( ExpressionNodeInfo info , ExpressionSyntax qualifier , ISymbol ? target ) : base ( info )
10
10
{
You can’t perform that action at this time.
0 commit comments