File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 77
88public class SuppressRelevanceSample
99{
10- private readonly ReentrantSemaphore semaphore = ReentrantSemaphore . Create ( mode : ReentrantSemaphore . ReentrancyMode . NotAllowed ) ;
10+ private readonly ReentrantSemaphore semaphore = ReentrantSemaphore . Create ( 1 , null , ReentrantSemaphore . ReentrancyMode . NotAllowed ) ;
1111
1212 #region SuppressRelevance
1313 public async Task DoSomethingAsync ( )
Original file line number Diff line number Diff line change 77
88 <ItemGroup >
99 <ProjectReference Include =" ..\src\Microsoft.VisualStudio.Threading\Microsoft.VisualStudio.Threading.csproj" />
10- <!-- <ProjectReference Include="$(RepoRootPath)src\Microsoft.VisualStudio.Threading.Analyzers.CodeFixes\Microsoft.VisualStudio.Threading.Analyzers.CodeFixes.csproj">
10+ <ProjectReference Include =" $(RepoRootPath)src\Microsoft.VisualStudio.Threading.Analyzers.CodeFixes\Microsoft.VisualStudio.Threading.Analyzers.CodeFixes.csproj" >
11+ <ReferenceOutputAssembly >false</ReferenceOutputAssembly >
12+ <OutputItemType >Analyzer</OutputItemType >
13+ </ProjectReference >
14+ <ProjectReference Include =" $(RepoRootPath)src\Microsoft.VisualStudio.Threading.Analyzers\Microsoft.VisualStudio.Threading.Analyzers.csproj" >
1115 <ReferenceOutputAssembly >false</ReferenceOutputAssembly >
1216 <OutputItemType >Analyzer</OutputItemType >
1317 </ProjectReference >
1418 <ProjectReference Include =" $(RepoRootPath)src\Microsoft.VisualStudio.Threading.Analyzers.CSharp\Microsoft.VisualStudio.Threading.Analyzers.CSharp.csproj" >
1519 <ReferenceOutputAssembly >false</ReferenceOutputAssembly >
1620 <OutputItemType >Analyzer</OutputItemType >
17- </ProjectReference> -->
21+ </ProjectReference >
1822 </ItemGroup >
1923
2024</Project >
You can’t perform that action at this time.
0 commit comments