Permalink
Browse files

Fixes CS0138

  • Loading branch information...
1 parent 2f7ddc7 commit 49ec925d47088693d6e4ee152386d5ddc3e5644e @AmadeusW AmadeusW committed Feb 11, 2015
Showing with 21 additions and 21 deletions.
  1. +21 −21 src/SourceBrowser.Tests/CSharpTests.cs
@@ -1,7 +1,7 @@
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.CodeAnalysis.UnitTests;
-using Microsoft.CodeAnalysis.UnitTests.SolutionGeneration;
+using Generate = Microsoft.CodeAnalysis.UnitTests.SolutionGeneration;
using Microsoft.CodeAnalysis;
using System.Linq;
using SourceBrowser.Generator.Model;
@@ -18,10 +18,10 @@ public void SanityCheck()
{
//Set up the absolute minimum
var solution = base.Solution(
- Project(
- ProjectName("Project1"),
- Sign,
- Document(
+ Generate.Project(
+ Generate.ProjectName("Project1"),
+ Generate.Sign,
+ Generate.Document(
@"
class C1
{
@@ -53,10 +53,10 @@ class C1
public void BasicLinking()
{
var solution = base.Solution(
- Project(
- ProjectName("Project1"),
- Sign,
- Document(
+ Generate.Project(
+ Generate.ProjectName("Project1"),
+ Generate.Sign,
+ Generate.Document(
@"
class C1
{
@@ -97,10 +97,10 @@ public void Method2()
public void TestParameters()
{
var solution = base.Solution(
- Project(
- ProjectName("Project1"),
- Sign,
- Document(
+ Generate.Project(
+ Generate.ProjectName("Project1"),
+ Generate.Sign,
+ Generate.Document(
@"
class C1
{
@@ -138,10 +138,10 @@ public void M1(string p1, int p2, C1 p3)
public void TestLocals()
{
var solution = base.Solution(
- Project(
- ProjectName("Project1"),
- Sign,
- Document(
+ Generate.Project(
+ Generate.ProjectName("Project1"),
+ Generate.Sign,
+ Generate.Document(
@"
class C1
{
@@ -180,10 +180,10 @@ public void M1()
public void TestExtensionMethods()
{
var solution = base.Solution(
- Project(
- ProjectName("Project1"),
- Sign,
- Document(
+ Generate.Project(
+ Generate.ProjectName("Project1"),
+ Generate.Sign,
+ Generate.Document(
@"
public static class MyExtensions
{

0 comments on commit 49ec925

Please sign in to comment.