projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[mcs] Implements C# 7.2 readonly structs
[mono.git]
/
mcs
/
errors
/
cs8342.cs
1
// CS8342: `S.e': Field-like instance events are not allowed in readonly structs
2
// Line: 6
3
// Compiler options: -langversion:latest
4
5
using System;
6
7
readonly struct S
8
{
9
event Action e;
10
}