提交 065511dd 编写于 作者: M Manish Vasani

Fix tests

上级 af66e4ed
......@@ -735,7 +735,7 @@ static void VerifyDiagnosticInErrorList(string expectedSeverity, VisualStudioIns
new ErrorListItem(
severity: expectedSeverity,
description: "The variable 'x' is declared but never used",
project: "TestProj.csproj",
project: "TestProj",
fileName: "Class1.cs",
line: 7,
column: 13)
......
......@@ -39,14 +39,14 @@ static void Main(string[] args)
new ErrorListItem(
severity: "Error",
description: "The type or namespace name 'P' could not be found (are you missing a using directive or an assembly reference?)",
project: "TestProj.csproj",
project: "TestProj",
fileName: "Class1.cs",
line: 4,
column: 12),
new ErrorListItem(
severity: "Error",
description: "'Console' does not contain a definition for 'WriteLin'",
project: "TestProj.csproj",
project: "TestProj",
fileName: "Class1.cs",
line: 6,
column: 24)
......@@ -78,7 +78,7 @@ static void Main(string[] args)
new ErrorListItem(
severity: "Warning",
description: "The variable 'unused' is assigned but its value is never used",
project: "TestProj.csproj",
project: "TestProj",
fileName: "Class1.cs",
line: 6,
column: 13)
......@@ -112,7 +112,7 @@ static void Main(string[] args)
new ErrorListItem(
severity: "Error",
description: "A local variable or function named 'aa' is already defined in this scope",
project: "TestProj.csproj",
project: "TestProj",
fileName: "Class1.cs",
line: 7,
column: 13)
......@@ -154,7 +154,7 @@ static void Main(string[] args)
new ErrorListItem(
severity: "Error",
description: "A local variable or function named 'aa' is already defined in this scope",
project: "TestProj.csproj",
project: "TestProj",
fileName: "Class1.cs",
line: 7,
column: 13)
......
......@@ -88,7 +88,7 @@ End Namespace
new ErrorListItem(
severity: "Error",
description: "'FF' is not declared. It may be inaccessible due to its protection level.",
project: "TestProj.vbproj",
project: "TestProj",
fileName: "Class1.vb",
line: 6,
column: 13)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册