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