Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs1720.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 14dd44a94ccbf281c21f20f135005267f1338d4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS1720: Expression will always cause a `System.NullReferenceException'
// Line: 11
// Compiler options: -warnaserror -warn:1

using System;

public class Tester 
{
    public static void Main()
    {
        Console.WriteLine(((object)null).ToString());
    }
}