13 references to ERR_AutoPropertyCannotBeRefReturning
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1707
case ErrorCode.
ERR_AutoPropertyCannotBeRefReturning
:
Symbols\Source\SourcePropertySymbolBase.cs (1)
698
diagnostics.Add(ErrorCode.
ERR_AutoPropertyCannotBeRefReturning
, Location);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (7)
Semantics\InitOnlyMemberTests.cs (1)
1411
Diagnostic(ErrorCode.
ERR_AutoPropertyCannotBeRefReturning
, "Property1").WithLocation(4, 13),
Semantics\RefFieldTests.cs (6)
9421
Diagnostic(ErrorCode.
ERR_AutoPropertyCannotBeRefReturning
, "P0").WithLocation(4, 18),
9424
Diagnostic(ErrorCode.
ERR_AutoPropertyCannotBeRefReturning
, "P1").WithLocation(5, 18),
9430
Diagnostic(ErrorCode.
ERR_AutoPropertyCannotBeRefReturning
, "P2").WithLocation(6, 18),
9492
Diagnostic(ErrorCode.
ERR_AutoPropertyCannotBeRefReturning
, "P0").WithLocation(4, 27),
9495
Diagnostic(ErrorCode.
ERR_AutoPropertyCannotBeRefReturning
, "P1").WithLocation(5, 27),
9501
Diagnostic(ErrorCode.
ERR_AutoPropertyCannotBeRefReturning
, "P2").WithLocation(6, 27),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Symbols\DefaultInterfaceImplementationTests.cs (2)
67571
Diagnostic(ErrorCode.
ERR_AutoPropertyCannotBeRefReturning
, "PA").WithLocation(4, 20),
67574
Diagnostic(ErrorCode.
ERR_AutoPropertyCannotBeRefReturning
, "PB").WithLocation(9, 20),
Symbols\Source\PropertyTests.cs (2)
317
Diagnostic(ErrorCode.
ERR_AutoPropertyCannotBeRefReturning
, "P").WithLocation(3, 20));
331
Diagnostic(ErrorCode.
ERR_AutoPropertyCannotBeRefReturning
, "P1").WithLocation(4, 29),