29 references to SdkReferencePropertyExpansionMode
Microsoft.Build (11)
Evaluation\Evaluator.cs (11)
36
using SdkReferencePropertyExpansionMode = Microsoft.Build.Framework.EscapeHatches.
SdkReferencePropertyExpansionMode
;
1742
SdkReferencePropertyExpansionMode
mode =
1744
SdkReferencePropertyExpansionMode
.DefaultExpand;
1746
if (mode !=
SdkReferencePropertyExpansionMode
.NoExpansion)
1748
if (mode ==
SdkReferencePropertyExpansionMode
.DefaultExpand)
1750
mode =
SdkReferencePropertyExpansionMode
.ExpandUnescape;
1754
Expander<P, I> expander,
SdkReferencePropertyExpansionMode
mode)
1765
case
SdkReferencePropertyExpansionMode
.ExpandUnescape:
1767
case
SdkReferencePropertyExpansionMode
.ExpandLeaveEscaped:
1769
case
SdkReferencePropertyExpansionMode
.NoExpansion:
1770
case
SdkReferencePropertyExpansionMode
.DefaultExpand:
Microsoft.Build.Engine.UnitTests (9)
Evaluation\ProjectSdkImplicitImport_Tests.cs (9)
19
using SdkReferencePropertyExpansionMode = Microsoft.Build.Framework.EscapeHatches.
SdkReferencePropertyExpansionMode
;
578
public SdkPropertiesAreExpandedCase(
SdkReferencePropertyExpansionMode
? mode,
588
public
SdkReferencePropertyExpansionMode
? Mode { get; }
712
static IEnumerable<
SdkReferencePropertyExpansionMode
?> Modes()
715
yield return
SdkReferencePropertyExpansionMode
.NoExpansion;
716
yield return
SdkReferencePropertyExpansionMode
.DefaultExpand;
717
yield return
SdkReferencePropertyExpansionMode
.ExpandUnescape;
718
yield return
SdkReferencePropertyExpansionMode
.ExpandLeaveEscaped;
744
var shouldExpand = mode !=
SdkReferencePropertyExpansionMode
.NoExpansion;
Microsoft.Build.Framework (9)
Traits.cs (9)
373
private
SdkReferencePropertyExpansionMode
? _sdkReferencePropertyExpansionValue;
381
public
SdkReferencePropertyExpansionMode
? SdkReferencePropertyExpansion
470
private static
SdkReferencePropertyExpansionMode
? ComputeSdkReferencePropertyExpansion()
487
return
SdkReferencePropertyExpansionMode
.NoExpansion;
492
return
SdkReferencePropertyExpansionMode
.DefaultExpand;
495
if (mode.StartsWith(nameof(
SdkReferencePropertyExpansionMode
.ExpandUnescape), comparison))
497
return
SdkReferencePropertyExpansionMode
.ExpandUnescape;
500
if (mode.StartsWith(nameof(
SdkReferencePropertyExpansionMode
.ExpandLeaveEscaped), comparison))
502
return
SdkReferencePropertyExpansionMode
.ExpandLeaveEscaped;