Skip to content

Commit f5af64d

Browse files
committed
Merge pull request #710 from sponge-b0b/assemblyinfo-namespace-conflict
Added global:: prefix in AssemblyInfoBuilder to avoid namespace conflicts.
2 parents e8681ce + d9ca134 commit f5af64d

14 files changed

+95
-12
lines changed

src/GitVersionTask.Tests/AssemblyInfoBuilderTests.VerifyAssemblyVersion_Major.approved.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ using System.Reflection;
1818
namespace Fake
1919
{
2020

21-
[System.Runtime.CompilerServices.CompilerGenerated]
21+
[global::System.Runtime.CompilerServices.CompilerGenerated]
2222
static class GitVersionInformation
2323
{
2424
public static string Major = "2";

src/GitVersionTask.Tests/AssemblyInfoBuilderTests.VerifyAssemblyVersion_MajorMinor.approved.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ using System.Reflection;
1818
namespace Fake
1919
{
2020

21-
[System.Runtime.CompilerServices.CompilerGenerated]
21+
[global::System.Runtime.CompilerServices.CompilerGenerated]
2222
static class GitVersionInformation
2323
{
2424
public static string Major = "2";

src/GitVersionTask.Tests/AssemblyInfoBuilderTests.VerifyAssemblyVersion_MajorMinorPatch.approved.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ using System.Reflection;
1818
namespace Fake
1919
{
2020

21-
[System.Runtime.CompilerServices.CompilerGenerated]
21+
[global::System.Runtime.CompilerServices.CompilerGenerated]
2222
static class GitVersionInformation
2323
{
2424
public static string Major = "2";

src/GitVersionTask.Tests/AssemblyInfoBuilderTests.VerifyAssemblyVersion_MajorMinorPatchTag.approved.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ using System.Reflection;
1818
namespace Fake
1919
{
2020

21-
[System.Runtime.CompilerServices.CompilerGenerated]
21+
[global::System.Runtime.CompilerServices.CompilerGenerated]
2222
static class GitVersionInformation
2323
{
2424
public static string Major = "2";

src/GitVersionTask.Tests/AssemblyInfoBuilderTests.VerifyAssemblyVersion_MajorMinorPatchTag_NugetAssemblyInfo.approved.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ using System.Reflection;
1818
namespace Fake
1919
{
2020

21-
[System.Runtime.CompilerServices.CompilerGenerated]
21+
[global::System.Runtime.CompilerServices.CompilerGenerated]
2222
static class GitVersionInformation
2323
{
2424
public static string Major = "2";

src/GitVersionTask.Tests/AssemblyInfoBuilderTests.VerifyAssemblyVersion_MajorMinorPatch_NugetAssemblyInfo.approved.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ using System.Reflection;
1818
namespace Fake
1919
{
2020

21-
[System.Runtime.CompilerServices.CompilerGenerated]
21+
[global::System.Runtime.CompilerServices.CompilerGenerated]
2222
static class GitVersionInformation
2323
{
2424
public static string Major = "2";

src/GitVersionTask.Tests/AssemblyInfoBuilderTests.VerifyAssemblyVersion_MajorMinor_NugetAssemblyInfo.approved.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ using System.Reflection;
1818
namespace Fake
1919
{
2020

21-
[System.Runtime.CompilerServices.CompilerGenerated]
21+
[global::System.Runtime.CompilerServices.CompilerGenerated]
2222
static class GitVersionInformation
2323
{
2424
public static string Major = "2";

src/GitVersionTask.Tests/AssemblyInfoBuilderTests.VerifyAssemblyVersion_MajorMinor_NugetAssemblyInfoWithMultipleVariables.approved.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ using System.Reflection;
1818
namespace Fake
1919
{
2020

21-
[System.Runtime.CompilerServices.CompilerGenerated]
21+
[global::System.Runtime.CompilerServices.CompilerGenerated]
2222
static class GitVersionInformation
2323
{
2424
public static string Major = "2";

src/GitVersionTask.Tests/AssemblyInfoBuilderTests.VerifyAssemblyVersion_Major_NugetAssemblyInfo.approved.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ using System.Reflection;
1818
namespace Fake
1919
{
2020

21-
[System.Runtime.CompilerServices.CompilerGenerated]
21+
[global::System.Runtime.CompilerServices.CompilerGenerated]
2222
static class GitVersionInformation
2323
{
2424
public static string Major = "2";

src/GitVersionTask.Tests/AssemblyInfoBuilderTests.VerifyCreatedCode.approved.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ using System.Reflection;
1818
namespace Fake
1919
{
2020

21-
[System.Runtime.CompilerServices.CompilerGenerated]
21+
[global::System.Runtime.CompilerServices.CompilerGenerated]
2222
static class GitVersionInformation
2323
{
2424
public static string Major = "1";

0 commit comments

Comments
 (0)