6 writes to Constraint
Microsoft.CodeAnalysis.Workspaces (6)
FindSymbols\FindReferences\Finders\AbstractReferenceFinder_GlobalSuppressions.cs (1)
250[PerformanceSensitive("https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1224834", Constraint = "Avoid Regex splitting due to high allocation costs.")]
Shared\TestHooks\AsynchronousOperationListener.cs (1)
43Constraint = "Cannot use async/await because it produces large numbers of first-chance cancellation exceptions.")]
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (3)
545Constraint = "Avoid calling " + nameof(CodeAnalysis.Solution.GetProject) + " to avoid realizing all projects.")] 588Constraint = "Avoid calling " + nameof(CodeAnalysis.Solution.GetProject) + " to avoid realizing all projects.")] 637Constraint = "Update ConvertedProjectReferences in place to avoid duplicate list allocations.")]
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (1)
306Constraint = "Avoid calling " + nameof(Compilation.AddSyntaxTrees) + " in a loop due to allocation overhead.")]