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