Browse files

Fix build.

  • Loading branch information...
1 parent 83a7ae5 commit 6779d14fbd6c5a1ab17dbc116fc6f9fa6ccf5561 @dgrunwald dgrunwald committed Mar 17, 2012
View
2 src/Main/Base/Project/Src/Project/Solution/Solution.cs
@@ -1211,7 +1211,7 @@ public void AddMSBuildSolutionProperties(IDictionary<string, string> propertyDic
propertyDict["SolutionDir"] = EnsureBackslash(this.Directory);
propertyDict["SolutionExt"] = ".sln";
propertyDict["SolutionFileName"] = Path.GetFileName(this.FileName);
- propertyDict["SolutionName"] = this.Name;
+ propertyDict["SolutionName"] = this.Name ?? string.Empty;
propertyDict["SolutionPath"] = this.FileName;
}
View
2 src/Main/Base/Test/MemberLookupHelperTests.cs
@@ -183,6 +183,8 @@ public void GetCommonTypeOfNullAndString()
[Test]
public void GetTypeInheritanceTreeOfClassDerivingFromListOfString()
{
+ if (DotnetDetection.IsDotnet45Installed())
+ Assert.Ignore(".NET 4.5 adds IReadOnlyList");
List<string> results = new List<IReturnType>(
MemberLookupHelper.GetTypeInheritanceTree(CreateClassDerivingFromListOfString().DefaultReturnType)
).ConvertAll<string>(delegate (IReturnType rt) { return rt.DotNetName; });

0 comments on commit 6779d14

Please sign in to comment.