3 references to ERR_FieldLikeEventCantBeReadOnly
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2002or ErrorCode.ERR_FieldLikeEventCantBeReadOnly
Symbols\Source\SourceEventSymbol.cs (1)
604diagnostics.Add(ErrorCode.ERR_FieldLikeEventCantBeReadOnly, location, this);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\ReadOnlyStructsTests.cs (1)
2250Diagnostic(ErrorCode.ERR_FieldLikeEventCantBeReadOnly, "E").WithArguments("S1.E").WithLocation(6, 45));