Merge pull request #5159 from MaurGi/patch-1
[mono.git] / mcs / errors / cs1026-2.cs
1 // CS1026: Unexpected symbol `;', expecting `)'
2 // Line: 10
3
4 using System;
5
6 class Test {
7         static void Main ()
8         {
9                 string uri = "http://localhost/";
10                 int default_port = (uri.StartsWith ("http://") ? 80 : -1;
11         }
12 }