49 references to WRN_RecordEqualsWithoutGetHashCode
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
287
case ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
:
2107
or ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
Generated\ErrorFacts.Generated.cs (1)
258
case ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
:
Symbols\Source\SourceMemberContainerSymbol.cs (1)
4876
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));
18151
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(5, 26),
18154
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("B").WithLocation(9, 25)
18190
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("B").WithLocation(9, 26)
18224
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("B").WithLocation(9, 33)
18260
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("B").WithLocation(9, 33)
18502
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(4, 19 + accessibility.Length)
18531
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(4, 19 + accessibility.Length)
18595
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(4, 24)
18668
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(4, 25)
18692
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(4, 28)
18832
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(4, 24),
18859
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(4, 24)
20552
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(6, 25)
20720
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(4, 24)
20745
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(4, 27)
23041
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("B").WithLocation(8, 25)
23340
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("B").WithLocation(15, 25),
23783
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("B1").WithLocation(8, 25),
23786
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("B2").WithLocation(15, 25)
23826
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("B1").WithLocation(8, 25),
23829
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("B2").WithLocation(15, 25)
24174
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(5, 25),
24177
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("B").WithLocation(9, 25)
24239
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(5, 25),
24242
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("B").WithLocation(9, 25)
24635
Diagnostic(ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
, "Equals").WithArguments("A").WithLocation(3, 27)
24657
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)
338
case ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
:
541
ErrorCode.
WRN_RecordEqualsWithoutGetHashCode
,