30 references to WRN_UnscopedRefAttributeOldRules
Microsoft.CodeAnalysis.CSharp (6)
Errors\ErrorFacts.cs (2)
572
case ErrorCode.
WRN_UnscopedRefAttributeOldRules
:
2481
or ErrorCode.
WRN_UnscopedRefAttributeOldRules
Generated\ErrorFacts.Generated.cs (1)
346
case ErrorCode.
WRN_UnscopedRefAttributeOldRules
:
Symbols\Source\SourceComplexParameterSymbol.cs (1)
894
diagnostics.Add(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, arguments.AttributeSyntaxOpt.Location);
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
619
diagnostics.Add(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, arguments.AttributeSyntaxOpt.Location);
Symbols\Source\SourcePropertySymbolBase.cs (1)
1606
diagnostics.Add(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, arguments.AttributeSyntaxOpt.Location);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (23)
Semantics\RefEscapingTests.cs (2)
5550
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(37, 10)
6678
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),
22385
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(6, 6),
22414
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(6, 6),
22445
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(4, 13));
22482
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(6, 32));
22507
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(6, 32),
22554
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(4, 6)).EmitToImageReference();
22607
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(4, 6)).EmitToImageReference();
22701
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(4, 27))
22787
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(4, 18),
22793
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(5, 18),
22831
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(4, 6),
22866
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(4, 6),
25436
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(5, 6),
25439
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(6, 6),
25442
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(10, 21),
25445
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(11, 21),
25451
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(12, 21),
25454
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(13, 21),
25457
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(14, 21));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
328
case ErrorCode.
WRN_UnscopedRefAttributeOldRules
: