mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
15 lines
264 B
C#
15 lines
264 B
C#
// cs0665.cs : Assignment in conditional expression is always constant; did you mean to use == instead of = ?
|
|
// Line: 10
|
|
// Compiler options: /warnaserror
|
|
|
|
class Test
|
|
{
|
|
public void Foo (bool x)
|
|
{
|
|
bool b;
|
|
if (b = true)
|
|
System.Console.WriteLine (b);
|
|
}
|
|
}
|
|
|