16 references to WRN_UnconsumedEnumeratorCancellationAttributeUsage
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
460
case ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
:
1857
case ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
:
Generated\ErrorFacts.Generated.cs (1)
184
case ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
:
Symbols\Source\SourceComplexParameterSymbol.cs (1)
1208
diagnostics.Add(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, node.Name.Location, CSharpSyntaxNode.Identifier.ValueText);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (11)
CodeGen\CodeGenAsyncIteratorTests.cs (11)
7389
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("value").WithLocation(6, 73)
7420
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("value").WithLocation(12, 77)
7444
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("value").WithLocation(7, 73)
7465
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token").WithLocation(6, 62)
7487
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token").WithLocation(7, 30)
7507
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token").WithLocation(6, 20)
7525
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("key").WithLocation(6, 15)
7782
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token").WithLocation(7, 74),
7785
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token").WithLocation(11, 57),
7788
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token").WithLocation(15, 80),
7794
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token").WithLocation(16, 65),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
286
case ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
: