19 references to WRN_UnconsumedEnumeratorCancellationAttributeUsage
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
472
case ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
:
1914
or ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
Generated\ErrorFacts.Generated.cs (1)
183
case ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
:
Symbols\Source\SourceComplexParameterSymbol.cs (1)
1264
diagnostics.Add(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, node.Name.Location, ParameterSyntax.Identifier.ValueText);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (11)
CodeGen\CodeGenAsyncIteratorTests.cs (11)
8161
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("value").WithLocation(6, 73)
8192
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("value").WithLocation(12, 77)
8216
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("value").WithLocation(7, 73)
8237
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token").WithLocation(6, 62)
8259
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token").WithLocation(7, 30)
8279
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token").WithLocation(6, 20)
8297
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("key").WithLocation(6, 15)
8554
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token").WithLocation(7, 74),
8557
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token").WithLocation(11, 57),
8560
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token").WithLocation(15, 80),
8566
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token").WithLocation(16, 65),
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Semantics\ExtensionTests.cs (3)
42405
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token1").WithLocation(7, 16));
42608
Diagnostic(ErrorCode.
WRN_UnconsumedEnumeratorCancellationAttributeUsage
, "EnumeratorCancellation").WithArguments("token1").WithLocation(7, 16));
42679
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
: