4 references to ERR_AutoSetterCantBeReadOnly
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1940case ErrorCode.ERR_AutoSetterCantBeReadOnly:
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
564diagnostics.Add(ErrorCode.ERR_AutoSetterCantBeReadOnly, location, this);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\ReadOnlyStructsTests.cs (2)
1581Diagnostic(ErrorCode.ERR_AutoSetterCantBeReadOnly, "set").WithArguments("S.P4.set").WithLocation(7, 44), 1593Diagnostic(ErrorCode.ERR_AutoSetterCantBeReadOnly, "set").WithArguments("S.P7.set").WithLocation(10, 35),