Skip to content

Commit c14a5dd

Browse files
committed
Fix
1 parent d008c1c commit c14a5dd

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/ExpressionEvaluator/Core/Source/ResultProvider/Portable/Microsoft.CodeAnalysis.ResultProvider.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
<TargetFrameworks>netstandard2.0</TargetFrameworks>
99
<ApplyNgenOptimization>full</ApplyNgenOptimization>
1010
<IsSymbolPublishingPackage>true</IsSymbolPublishingPackage>
11+
12+
<!-- IPooled is not available in ResultProvider -->
13+
<DefineConstants>$(DefineConstants);MICROSOFT_CODEANALYSIS_POOLEDOBJECTS_NO_POOLED_DISPOSER</DefineConstants>
1114
</PropertyGroup>
1215
<ItemGroup Label="Linked Files">
1316
<Compile Include="..\..\..\..\..\Compilers\Core\Portable\CaseInsensitiveComparison.cs">

src/ExpressionEvaluator/Core/Test/ResultProvider/Microsoft.CodeAnalysis.ResultProvider.Utilities.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
<IsShipping>false</IsShipping>
1111
<IsTestUtilityProject>true</IsTestUtilityProject>
1212

13+
<!-- IPooled is not available in ResultProvider -->
14+
<DefineConstants>$(DefineConstants);MICROSOFT_CODEANALYSIS_POOLEDOBJECTS_NO_POOLED_DISPOSER</DefineConstants>
15+
1316
<!-- Disable CA1825 (Avoid unnecessary zero-length array allocations. Use Array.Empty<X>() instead) as Array.Empty not available in one of the targets for this shared project -->
1417
<NoWarn>$(NoWarn);CA1825</NoWarn>
1518
</PropertyGroup>

0 commit comments

Comments
 (0)