2 writes to Branch
Microsoft.DotNet.Build.Manifest (1)
BuildModelFactory.cs (1)
165
Branch
= manifestBranch,
Microsoft.DotNet.Build.Manifest.Tests (1)
BuildModelFactoryTests.cs (1)
803
Branch
= "refs/heads/main", // Typically not seen but should merge properly
11 references to Branch
Microsoft.DotNet.Build.Manifest (9)
BuildIdentity.cs (5)
28
nameof(
Branch
),
59
get { return Attributes.GetOrDefault(nameof(
Branch
)); }
60
set { Attributes[nameof(
Branch
)] = value; }
240
if (!string.IsNullOrEmpty(
Branch
))
242
s += $" on '{
Branch
}'";
BuildModelFactory.cs (4)
301
if (!string.Equals(refIdentity.
Branch
, identity.
Branch
, StringComparison.OrdinalIgnoreCase))
303
differences.Add($"Branch: expected '{refIdentity.
Branch
}', found '{identity.
Branch
}'");
Microsoft.DotNet.Build.Manifest.Tests (2)
BuildModelFactoryTests.cs (2)
855
result.Identity.
Branch
.Should().Be(buildIdentityA.
Branch
);