30 references to WRN_UnscopedRefAttributeOldRules
Microsoft.CodeAnalysis.CSharp (6)
Errors\ErrorFacts.cs (2)
577
case ErrorCode.
WRN_UnscopedRefAttributeOldRules
:
2488
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)
1634
diagnostics.Add(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, arguments.AttributeSyntaxOpt.Location);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (23)
Semantics\RefEscapingTests.cs (2)
8131
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(37, 10)
9259
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(23, 6));
Semantics\RefFieldTests.cs (21)
9886
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(8, 28),
11213
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "System.Diagnostics.CodeAnalysis.UnscopedRefAttribute").WithLocation(9, 51),
22374
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(6, 6),
22403
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(6, 6),
22434
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(4, 13));
22471
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(6, 32));
22496
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(6, 32),
22543
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(4, 6)).EmitToImageReference();
22596
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(4, 6)).EmitToImageReference();
22690
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(4, 27))
22776
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(4, 18),
22782
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(5, 18),
22820
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(4, 6),
22855
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(4, 6),
25425
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(5, 6),
25428
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(6, 6),
25431
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(10, 21),
25434
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(11, 21),
25440
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(12, 21),
25443
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(13, 21),
25446
Diagnostic(ErrorCode.
WRN_UnscopedRefAttributeOldRules
, "UnscopedRef").WithLocation(14, 21));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
328
case ErrorCode.
WRN_UnscopedRefAttributeOldRules
: