30 references to WRN_UnscopedRefAttributeOldRules
Microsoft.CodeAnalysis.CSharp (6)
Errors\ErrorFacts.cs (2)
573
case ErrorCode.
WRN_UnscopedRefAttributeOldRules
:
2482
or ErrorCode.
WRN_UnscopedRefAttributeOldRules
Generated\ErrorFacts.Generated.cs (1)
347
case ErrorCode.
WRN_UnscopedRefAttributeOldRules
:
Symbols\Source\SourceComplexParameterSymbol.cs (1)
862
diagnostics.Add(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, arguments.AttributeSyntaxOpt.Location);
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
618
diagnostics.Add(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, arguments.AttributeSyntaxOpt.Location);
Symbols\Source\SourcePropertySymbolBase.cs (1)
1598
diagnostics.Add(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, arguments.AttributeSyntaxOpt.Location);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (23)
Semantics\RefEscapingTests.cs (2)
4969
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(37, 10)
6097
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(23, 6));
Semantics\RefFieldTests.cs (21)
9814
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(8, 28),
11141
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "System.Diagnostics.CodeAnalysis.UnscopedRefAttribute").WithLocation(9, 51),
22396
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(6, 6),
22425
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(6, 6),
22456
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(4, 13));
22493
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(6, 32));
22518
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(6, 32),
22565
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(4, 6)).EmitToImageReference();
22618
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(4, 6)).EmitToImageReference();
22712
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(4, 27))
22798
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(4, 18),
22804
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(5, 18),
22842
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(4, 6),
22877
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(4, 6),
25447
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(5, 6),
25450
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(6, 6),
25453
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(10, 21),
25456
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(11, 21),
25462
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(12, 21),
25465
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(13, 21),
25468
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(14, 21));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
328
case ErrorCode.
WRN_UnscopedRefAttributeOldRules
: