File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
src/tools/illink/src/ILLink.RoslynAnalyzer Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 1- <Project Sdk =" Microsoft.NET.Sdk" >
1+ <Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
44 <TargetFramework >netstandard2.0</TargetFramework >
99 <AnalysisLevel >Latest</AnalysisLevel >
1010 <NoWarn Condition =" '$(DotNetBuildSourceOnly)' == 'true'" >$(NoWarn);CS8524</NoWarn >
1111 <AnalyzerLanguage >cs</AnalyzerLanguage >
12+ <!-- The analyzer needs to process deeply nested expressions in corelib.
13+ This can blow up the stack if using unoptimized code (due to large
14+ stack frames with many temporary locals for debugging support), so we
15+ optimize the analyzer even in Debug builds. Note: we still use the
16+ Debug configuration to get Debug asserts. -->
17+ <Optimize >true</Optimize >
1218 </PropertyGroup >
1319
1420 <ItemGroup >
You can’t perform that action at this time.
0 commit comments