mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
22 lines
285 B
C#
22 lines
285 B
C#
// cs0050.cs: Inconsistent accessibility: return type `X' is less accessible than method `Foo.Bar()'
|
|
// Line: 13
|
|
|
|
using System;
|
|
|
|
class X {
|
|
public X ()
|
|
{
|
|
}
|
|
}
|
|
|
|
public class Foo {
|
|
public static X Bar () {
|
|
return new Foo ();
|
|
}
|
|
|
|
public static void Main () {
|
|
Foo x = Bar ();
|
|
}
|
|
}
|
|
|