a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
17 lines
262 B
C#
17 lines
262 B
C#
// CS0219: The variable `i' is assigned but its value is never used
|
|
// Line: 14
|
|
// Compiler options: -warn:3 -warnaserror
|
|
|
|
using System.Collections.Generic;
|
|
|
|
class C
|
|
{
|
|
IEnumerable<int> Test ()
|
|
{
|
|
try {
|
|
yield return 1;
|
|
} finally {
|
|
int i = 100;
|
|
}
|
|
}
|
|
} |