File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -1424,7 +1424,11 @@ protected override Expression VisitMethodCall(MethodCallExpression node)
1424
1424
{
1425
1425
isExtension = true ;
1426
1426
arg0 = VisitGroup ( node . Arguments [ 0 ] , node . NodeType ) ;
1427
- Translate ( node . Method . DeclaringType ! ) ; //execute type without print
1427
+ if ( ! string . IsNullOrEmpty ( node . Method . DeclaringType ? . Namespace ) )
1428
+ {
1429
+ _usings ??= new HashSet < string > ( ) ;
1430
+ _usings . Add ( node . Method . DeclaringType ! . Namespace ) ;
1431
+ }
1428
1432
}
1429
1433
else if ( node . Method . DeclaringType ! = null )
1430
1434
{
Original file line number Diff line number Diff line change 12
12
<SignAssembly >True</SignAssembly >
13
13
<PublicSign Condition =" '$(OS)' != 'Windows_NT' " >true</PublicSign >
14
14
<AssemblyOriginatorKeyFile >ExpressionTranslator.snk</AssemblyOriginatorKeyFile >
15
- <Version >2.3.3 </Version >
15
+ <Version >2.3.4 </Version >
16
16
<RootNamespace >ExpressionDebugger</RootNamespace >
17
17
<PackageLicenseExpression >MIT</PackageLicenseExpression >
18
18
<PackageIcon >icon.png</PackageIcon >
You can’t perform that action at this time.
0 commit comments