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: 7a24ada4e12b51c5ef624a58c3800f3697350991 (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());
    }
}