49 references to WRN_RecordEqualsWithoutGetHashCode
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
287
case ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
:
2108
or ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
Generated\ErrorFacts.Generated.cs (1)
257
case ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
:
Symbols\Source\SourceMemberContainerSymbol.cs (1)
4855
diagnostics.Add(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, thisEquals.GetFirstLocation(), declaration.Name);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (28)
Semantics\RecordTests.cs (28)
2836
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("C").WithLocation(5, 17));
18133
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(5, 26),
18136
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("B").WithLocation(9, 25)
18172
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("B").WithLocation(9, 26)
18206
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("B").WithLocation(9, 33)
18242
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("B").WithLocation(9, 33)
18484
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(4, 19 + accessibility.Length)
18513
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(4, 19 + accessibility.Length)
18577
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(4, 24)
18650
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(4, 25)
18674
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(4, 28)
18814
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(4, 24),
18841
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(4, 24)
20534
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(6, 25)
20702
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(4, 24)
20727
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(4, 27)
23023
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("B").WithLocation(8, 25)
23322
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("B").WithLocation(15, 25),
23765
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("B1").WithLocation(8, 25),
23768
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("B2").WithLocation(15, 25)
23808
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("B1").WithLocation(8, 25),
23811
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("B2").WithLocation(15, 25)
24156
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(5, 25),
24159
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("B").WithLocation(9, 25)
24221
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(5, 25),
24224
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("B").WithLocation(9, 25)
24617
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(3, 27)
24639
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(3, 17),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (12)
Semantics\RecordStructTests.cs (12)
128
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("S").WithLocation(5, 17));
170
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("S").WithLocation(5, 17));
4168
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(4, 17),
4171
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("B").WithLocation(12, 17)
4271
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("B").WithLocation(8, 17)
4325
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(4, 11 + accessibility.Length)
4352
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(4, 11 + accessibility.Length)
4457
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(4, 16)
4511
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(4, 17)
4534
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(4, 24)
4939
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("C").WithLocation(5, 17));
5126
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(4, 24)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Symbols\Source\RecordTests.cs (3)
235
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("C").WithLocation(4, 17),
273
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("C").WithLocation(10, 25)
315
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("C").WithLocation(13, 17)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Diagnostics\DiagnosticTest.cs (2)
438
case ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
:
540
ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
,