46 references to WRN_RecordNamedDisallowed
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
498
case ErrorCode.
WRN_RecordNamedDisallowed
:
2116
or ErrorCode.
WRN_RecordNamedDisallowed
Generated\ErrorFacts.Generated.cs (1)
259
case ErrorCode.
WRN_RecordNamedDisallowed
:
Symbols\Source\SourceMemberContainerSymbol.cs (1)
505
if (reportIfContextual(SyntaxKind.RecordKeyword, MessageID.IDS_FeatureRecords, ErrorCode.
WRN_RecordNamedDisallowed
)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (26)
Semantics\ExtensionTests.cs (1)
496
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(3, 15));
Semantics\RecordTests.cs (25)
2853
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(2, 7),
2892
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(2, 8)
2906
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(2, 11)
2920
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(2, 6)
2934
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(2, 15)
2961
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(2, 7)
3005
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(2, 9),
3008
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(5, 18),
3011
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(9, 17),
3014
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(13, 20)
3084
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(3, 17),
3087
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(5, 17),
3090
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(8, 17),
3093
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(9, 17),
3096
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(16, 26),
3099
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(22, 25),
3102
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(25, 26),
3105
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(27, 26),
3108
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(30, 26)
3122
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(2, 8)
3137
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(2, 15),
3140
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(3, 15)
3165
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(3, 15)
3180
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(2, 15)
3219
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(2, 7)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (14)
Semantics\RecordStructTests.cs (14)
11320
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(1, 8)
11327
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(1, 8)
11346
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(1, 7)
11353
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(1, 7)
11372
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(1, 8)
11379
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(1, 8)
11398
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(1, 7)
11405
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(1, 7)
11427
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(3, 8)
11434
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(3, 8)
11456
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(3, 8)
11463
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(3, 8)
11485
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(3, 7)
11492
Diagnostic(ErrorCode.
WRN_RecordNamedDisallowed
, "record").WithLocation(3, 7)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Diagnostics\DiagnosticTest.cs (2)
290
case ErrorCode.
WRN_RecordNamedDisallowed
:
540
ErrorCode.
WRN_RecordNamedDisallowed
,