10 references to IDS_FeatureRefUnsafeInIteratorAsync
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder.ValueChecks.cs (1)
1012
else if (this.IsDirectlyInIterator && Compilation.IsFeatureEnabled(MessageID.
IDS_FeatureRefUnsafeInIteratorAsync
))
Binder\Binder_Expressions.cs (1)
3251
CheckFeatureAvailability(syntax, MessageID.
IDS_FeatureRefUnsafeInIteratorAsync
, diagnostics);
Binder\Binder_Flags.cs (1)
100
var withoutUnsafe = isIteratorBody && this.Compilation.IsFeatureEnabled(MessageID.
IDS_FeatureRefUnsafeInIteratorAsync
);
Binder\Binder_Statements.cs (3)
180
CheckFeatureAvailability(node.UnsafeKeyword, MessageID.
IDS_FeatureRefUnsafeInIteratorAsync
, diagnostics);
270
else if (InUnsafeRegion && Compilation.IsFeatureEnabled(MessageID.
IDS_FeatureRefUnsafeInIteratorAsync
))
1166
return !CheckFeatureAvailability(identifierToken, MessageID.
IDS_FeatureRefUnsafeInIteratorAsync
, diagnostics);
Binder\Binder_Unsafe.cs (1)
65
else if (this.IsIndirectlyInIterator && MessageID.
IDS_FeatureRefUnsafeInIteratorAsync
.GetFeatureAvailabilityDiagnosticInfo(Compilation) is { } unsafeInIteratorDiagnosticInfo)
Binder\ExecutableCodeBinder.cs (1)
132
MessageID.
IDS_FeatureRefUnsafeInIteratorAsync
.CheckFeatureAvailability(diagnostics, compilation, errorLocation);
Binder\ForEachLoopBinder.cs (1)
530
CheckFeatureAvailability(foreachKeyword, MessageID.
IDS_FeatureRefUnsafeInIteratorAsync
, diagnostics);
Errors\MessageID.cs (1)
488
case MessageID.
IDS_FeatureRefUnsafeInIteratorAsync
: