19 references to WRN_UnconsumedEnumeratorCancellationAttributeUsage
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
473
case ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
:
1915
or ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
Generated\ErrorFacts.Generated.cs (1)
184
case ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
:
Symbols\Source\SourceComplexParameterSymbol.cs (1)
1223
diagnostics.Add(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, node.Name.Location, ParameterSyntax.Identifier.ValueText);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (11)
CodeGen\CodeGenAsyncIteratorTests.cs (11)
7894
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("value").WithLocation(6, 73)
7925
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("value").WithLocation(12, 77)
7949
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("value").WithLocation(7, 73)
7970
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token").WithLocation(6, 62)
7992
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token").WithLocation(7, 30)
8012
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token").WithLocation(6, 20)
8030
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("key").WithLocation(6, 15)
8287
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token").WithLocation(7, 74),
8290
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token").WithLocation(11, 57),
8293
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token").WithLocation(15, 80),
8299
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token").WithLocation(16, 65),
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Semantics\ExtensionTests.cs (3)
41753
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token1").WithLocation(7, 16));
41956
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token1").WithLocation(7, 16));
42027
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
: