20 references to Shared
Microsoft.Build (4)
Evaluation\Context\EvaluationContext.cs (3)
89/// This parameter is compatible only with <see cref="SharingPolicy.Shared"/>. 98policy == SharingPolicy.Shared || fileSystem == null, 115case SharingPolicy.Shared:
Graph\ProjectGraph.cs (1)
430_evaluationContext = EvaluationContext.Create(EvaluationContext.SharingPolicy.Shared);
Microsoft.Build.Engine.UnitTests (16)
Definition\ProjectEvaluationContext_Tests.cs (16)
58[InlineData(EvaluationContext.SharingPolicy.Shared)] 77case EvaluationContext.SharingPolicy.Shared: 106var evaluationContext = EvaluationContext.Create(EvaluationContext.SharingPolicy.Shared, fileSystem); 192[InlineData(EvaluationContext.SharingPolicy.Shared)] 230[InlineData(EvaluationContext.SharingPolicy.Shared)] 258int expectedNumContexts = policy == EvaluationContext.SharingPolicy.Shared ? 1 : numIterations; 278[InlineData(EvaluationContext.SharingPolicy.Shared, 1, 1)] 326EvaluationContext.SharingPolicy.Shared, 400EvaluationContext.SharingPolicy.Shared, 538if (policy == EvaluationContext.SharingPolicy.Shared) 797[InlineData(EvaluationContext.SharingPolicy.Shared)] 829case EvaluationContext.SharingPolicy.Shared: 846[InlineData(EvaluationContext.SharingPolicy.Shared)] 875case EvaluationContext.SharingPolicy.Shared: 902[InlineData(EvaluationContext.SharingPolicy.Shared)] 931case EvaluationContext.SharingPolicy.Shared: