e46a49ecf1
Former-commit-id: d0813289fa2d35e1f8ed77530acb4fb1df441bc0
10 lines
187 B
C#
10 lines
187 B
C#
// CS8342: `S.e': Field-like instance events are not allowed in readonly structs
|
|
// Line: 6
|
|
// Compiler options: -langversion:latest
|
|
|
|
using System;
|
|
|
|
readonly struct S
|
|
{
|
|
event Action e;
|
|
} |