mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 19:10:23 -10:00
14 lines
210 B
C#
14 lines
210 B
C#
// cs0077.cs: As operator can only be used with reference types.
|
|
// Line: 10
|
|
|
|
using System;
|
|
|
|
class ErrorCS0077 {
|
|
struct Foo { }
|
|
public static void Main () {
|
|
Foo s1, s2;
|
|
s1 = s2 as ErrorCS0077.Foo;
|
|
}
|
|
}
|
|
|