28 references to ERR_PartialMemberReadOnlyDifference
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (1)
2003
or ErrorCode.
ERR_PartialMemberReadOnlyDifference
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
512
diagnostics.Add(ErrorCode.
ERR_PartialMemberReadOnlyDifference
, implementation.GetFirstLocation());
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
843
diagnostics.Add(ErrorCode.
ERR_PartialMemberReadOnlyDifference
, implementationAccessor.GetFirstLocation());
Symbols\Source\SourcePropertySymbol.cs (1)
772
diagnostics.Add(ErrorCode.
ERR_PartialMemberReadOnlyDifference
, implementation.GetFirstLocation());
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (18)
FieldKeywordTests.cs (18)
9643
Diagnostic(ErrorCode.
ERR_PartialMemberReadOnlyDifference
, "P1").WithLocation(3, 29),
9646
Diagnostic(ErrorCode.
ERR_PartialMemberReadOnlyDifference
, "P2").WithLocation(4, 29),
9649
Diagnostic(ErrorCode.
ERR_PartialMemberReadOnlyDifference
, "get").WithLocation(5, 34),
9652
Diagnostic(ErrorCode.
ERR_PartialMemberReadOnlyDifference
, "set").WithLocation(6, 34),
9655
Diagnostic(ErrorCode.
ERR_PartialMemberReadOnlyDifference
, "P5").WithLocation(7, 29),
9661
Diagnostic(ErrorCode.
ERR_PartialMemberReadOnlyDifference
, "get").WithLocation(8, 34),
9670
Diagnostic(ErrorCode.
ERR_PartialMemberReadOnlyDifference
, "set").WithLocation(9, 39),
9673
Diagnostic(ErrorCode.
ERR_PartialMemberReadOnlyDifference
, "get").WithLocation(10, 34),
9682
Diagnostic(ErrorCode.
ERR_PartialMemberReadOnlyDifference
, "set").WithLocation(11, 48));
9688
Diagnostic(ErrorCode.
ERR_PartialMemberReadOnlyDifference
, "P1").WithLocation(3, 29),
9691
Diagnostic(ErrorCode.
ERR_PartialMemberReadOnlyDifference
, "P2").WithLocation(4, 29),
9697
Diagnostic(ErrorCode.
ERR_PartialMemberReadOnlyDifference
, "get").WithLocation(5, 34),
9703
Diagnostic(ErrorCode.
ERR_PartialMemberReadOnlyDifference
, "set").WithLocation(6, 34),
9706
Diagnostic(ErrorCode.
ERR_PartialMemberReadOnlyDifference
, "P5").WithLocation(7, 29),
9712
Diagnostic(ErrorCode.
ERR_PartialMemberReadOnlyDifference
, "get").WithLocation(8, 34),
9721
Diagnostic(ErrorCode.
ERR_PartialMemberReadOnlyDifference
, "set").WithLocation(9, 39),
9724
Diagnostic(ErrorCode.
ERR_PartialMemberReadOnlyDifference
, "get").WithLocation(10, 34),
9733
Diagnostic(ErrorCode.
ERR_PartialMemberReadOnlyDifference
, "set").WithLocation(11, 48));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\ReadOnlyStructsTests.cs (2)
415
Diagnostic(ErrorCode.
ERR_PartialMemberReadOnlyDifference
, "M").WithLocation(10, 27),
448
Diagnostic(ErrorCode.
ERR_PartialMemberReadOnlyDifference
, "M").WithLocation(10, 18));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Symbols\PartialPropertiesTests.cs (4)
1363
Diagnostic(ErrorCode.
ERR_PartialMemberReadOnlyDifference
, "P1").WithLocation(10, 17),
1366
Diagnostic(ErrorCode.
ERR_PartialMemberReadOnlyDifference
, "P2").WithLocation(11, 26));
1390
Diagnostic(ErrorCode.
ERR_PartialMemberReadOnlyDifference
, "get").WithLocation(8, 28),
1393
Diagnostic(ErrorCode.
ERR_PartialMemberReadOnlyDifference
, "set").WithLocation(8, 57));