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