8 references to ERR_AutoPropertyWithSetterCantBeReadOnly
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1997
or ErrorCode.
ERR_AutoPropertyWithSetterCantBeReadOnly
Symbols\Source\SourcePropertySymbolBase.cs (1)
897
diagnostics.Add(ErrorCode.
ERR_AutoPropertyWithSetterCantBeReadOnly
, Location, this);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
FieldKeywordTests.cs (3)
4738
Diagnostic(ErrorCode.
ERR_AutoPropertyWithSetterCantBeReadOnly
, "P3").WithArguments("S.P3").WithLocation(5, 21),
4744
Diagnostic(ErrorCode.
ERR_AutoPropertyWithSetterCantBeReadOnly
, "P6").WithArguments("S.P6").WithLocation(8, 21),
4753
Diagnostic(ErrorCode.
ERR_AutoPropertyWithSetterCantBeReadOnly
, "P9").WithArguments("S.P9").WithLocation(11, 21),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\ReadOnlyStructsTests.cs (2)
1584
Diagnostic(ErrorCode.
ERR_AutoPropertyWithSetterCantBeReadOnly
, "P5").WithArguments("S.P5").WithLocation(8, 25),
1596
Diagnostic(ErrorCode.
ERR_AutoPropertyWithSetterCantBeReadOnly
, "P8").WithArguments("S.P8").WithLocation(11, 25),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\PartialPropertiesTests.cs (1)
5556
Diagnostic(ErrorCode.
ERR_AutoPropertyWithSetterCantBeReadOnly
, "V").WithArguments("X.V").WithLocation(9, 33)