19 references to WRN_UnconsumedEnumeratorCancellationAttributeUsage
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
473
case ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
:
1914
or ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
Generated\ErrorFacts.Generated.cs (1)
184
case ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
:
Symbols\Source\SourceComplexParameterSymbol.cs (1)
1216
diagnostics.Add(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, node.Name.Location, ParameterSyntax.Identifier.ValueText);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (11)
CodeGen\CodeGenAsyncIteratorTests.cs (11)
7685
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("value").WithLocation(6, 73)
7716
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("value").WithLocation(12, 77)
7740
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("value").WithLocation(7, 73)
7761
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token").WithLocation(6, 62)
7783
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token").WithLocation(7, 30)
7803
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token").WithLocation(6, 20)
7821
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("key").WithLocation(6, 15)
8078
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token").WithLocation(7, 74),
8081
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token").WithLocation(11, 57),
8084
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token").WithLocation(15, 80),
8090
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token").WithLocation(16, 65),
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Semantics\ExtensionTests.cs (3)
36668
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token1").WithLocation(7, 16));
36871
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token1").WithLocation(7, 16));
36942
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token1").WithLocation(7, 16));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
286
case ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
: