82 references to ERR_UnscopedRefAttributeUnsupportedMemberTarget
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (1)
2289
case ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
:
Symbols\Source\SourceEventSymbol.cs (1)
312
diagnostics.Add(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, arguments.AttributeSyntaxOpt!.Location);
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
591
diagnostics.Add(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, arguments.AttributeSyntaxOpt.Location);
Symbols\Source\SourcePropertySymbolBase.cs (1)
1314
diagnostics.Add(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, arguments.AttributeSyntaxOpt.Location);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (78)
Semantics\RefFieldTests.cs (78)
22013
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(6, 6),
22016
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(15, 10));
22116
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(19, 10),
22148
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(6, 6),
22151
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(7, 6),
22154
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(11, 6),
22157
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(12, 6),
22160
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(16, 6),
22163
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(17, 6));
22193
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(6, 19),
22196
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(7, 27),
22199
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(11, 19),
22202
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(12, 27),
22205
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(16, 19),
22208
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(17, 27));
22233
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(6, 18),
22236
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(7, 10));
22422
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(15, 6),
22441
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(4, 6));
22459
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(4, 6),
22462
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(5, 6),
22465
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(6, 6));
22489
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(4, 6),
22492
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(8, 6));
25070
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(8, 6),
25073
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(9, 6),
25076
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(10, 6),
25079
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(11, 6),
25215
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(5, 6),
25218
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(10, 6),
25221
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(11, 6),
25224
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(16, 6),
25227
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(17, 6));
25253
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(9, 6),
25256
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(10, 6));
25279
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(9, 6),
25282
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(10, 6));
25325
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(10, 6),
25328
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(14, 6),
25331
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(18, 6),
25334
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(22, 6),
25337
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(26, 6),
25340
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(30, 6));
25380
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(11, 31),
25383
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(12, 39),
25386
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(16, 37),
25389
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(17, 45),
25392
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(21, 31),
25395
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(22, 39),
25398
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(26, 37),
25401
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(27, 45));
25431
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(9, 6),
25434
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(13, 36),
25437
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(17, 44));
25464
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(6, 6),
25467
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(10, 6),
25470
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(14, 6));
25508
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(13, 6),
25511
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(14, 6),
25514
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(15, 32),
25517
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(15, 70),
25520
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(16, 37),
25523
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(16, 59),
25526
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(20, 6),
25529
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(21, 6),
25532
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(22, 38),
25535
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(22, 76),
25538
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(23, 43),
25541
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(23, 65));
25570
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(13, 6),
25573
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(14, 6),
25576
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(15, 39),
25579
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(15, 77),
25582
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(16, 44),
25585
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(16, 66));
25615
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(5, 6),
25618
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(16, 6),
25621
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeUnsupportedMemberTarget
, "UnscopedRef").WithLocation(17, 6));