linux-packaging-mono/mcs/tests/gtest-optional-33.cs
Jo Shields fe777c5c82 Imported Upstream version 3.8.0
Former-commit-id: 6a76a29bd07d86e57c6c8da45c65ed5447d38a61
2014-09-04 09:07:35 +01:00

72 lines
1.2 KiB
C#

using System.Runtime.CompilerServices;
using System;
class TestCallerLineNumber
{
static void Test ([CallerLineNumber] object line = null)
{
}
static void Test ([CallerLineNumber] decimal line = 1)
{
}
static void Test ([CallerLineNumber] double line = 1)
{
}
static void Test ([CallerLineNumber] float line = 1)
{
}
static void Test ([CallerLineNumber] int line = 1)
{
}
static void Test ([CallerLineNumber] uint line = uint.MaxValue)
{
}
static void Test ([CallerLineNumber] long line = 1)
{
}
static void Test ([CallerLineNumber] ulong line = 1)
{
}
static void Test ([CallerLineNumber] decimal? line = 1)
{
}
static void Test ([CallerLineNumber] double? line = 1)
{
}
static void Test ([CallerLineNumber] float? line = 1)
{
}
static void Test ([CallerLineNumber] int? line = 1)
{
}
static void Test ([CallerLineNumber] uint? line = uint.MaxValue)
{
}
static void Test ([CallerLineNumber] long? line = 1)
{
}
static void Test ([CallerLineNumber] ulong? line = 1)
{
}
}
class D
{
public static void Main ()
{
}
}