45 references to WRN_RecordNamedDisallowed
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
485
case ErrorCode.
WRN_RecordNamedDisallowed
:
2059
case ErrorCode.
WRN_RecordNamedDisallowed
:
Generated\ErrorFacts.Generated.cs (1)
259
case ErrorCode.
WRN_RecordNamedDisallowed
:
Symbols\Source\SourceMemberContainerSymbol.cs (1)
483
if (reportIfContextual(SyntaxKind.RecordKeyword, MessageID.IDS_FeatureRecords, ErrorCode.
WRN_RecordNamedDisallowed
)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (39)
Semantics\RecordStructTests.cs (14)
11250
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(1, 8)
11257
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(1, 8)
11276
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(1, 7)
11283
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(1, 7)
11302
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(1, 8)
11309
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(1, 8)
11328
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(1, 7)
11335
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(1, 7)
11357
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(3, 8)
11364
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(3, 8)
11386
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(3, 8)
11393
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(3, 8)
11415
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(3, 7)
11422
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(3, 7)
Semantics\RecordTests.cs (25)
2798
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(2, 7),
2837
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(2, 8)
2851
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(2, 11)
2865
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(2, 6)
2879
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(2, 15)
2906
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(2, 7)
2950
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(2, 9),
2953
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(5, 18),
2956
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(9, 17),
2959
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(13, 20)
3029
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(3, 17),
3032
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(5, 17),
3035
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(8, 17),
3038
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(9, 17),
3041
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(16, 26),
3044
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(22, 25),
3047
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(25, 26),
3050
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(27, 26),
3053
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(30, 26)
3067
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(2, 8)
3082
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(2, 15),
3085
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(3, 15)
3110
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(3, 15)
3125
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(2, 15)
3164
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(2, 7)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Diagnostics\DiagnosticTest.cs (2)
290
case ErrorCode.
WRN_RecordNamedDisallowed
:
502
ErrorCode.
WRN_RecordNamedDisallowed
,