7 references to GetFeatureAvailabilityDiagnosticInfo
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Expressions.cs (1)
1512
case ManagedKind.UnmanagedWithGenerics when MessageID.IDS_FeatureUnmanagedConstructedTypes.
GetFeatureAvailabilityDiagnosticInfo
(compilation) is CSDiagnosticInfo diagnosticInfo:
Binder\Binder_Unsafe.cs (1)
65
else if (this.IsIndirectlyInIterator && MessageID.IDS_FeatureRefUnsafeInIteratorAsync.
GetFeatureAvailabilityDiagnosticInfo
(Compilation) is { } unsafeInIteratorDiagnosticInfo)
Errors\MessageID.cs (1)
438
if (
GetFeatureAvailabilityDiagnosticInfo
(feature, (CSharpCompilation)compilation) is { } diagInfo)
Symbols\ConstraintsHelper.cs (2)
948
if (MessageID.IDS_FeatureAllowsRefStructConstraint.
GetFeatureAvailabilityDiagnosticInfo
(args.CurrentCompilation) is { } diagnosticInfo)
1005
var csDiagnosticInfo = MessageID.IDS_FeatureUnmanagedConstructedTypes.
GetFeatureAvailabilityDiagnosticInfo
(args.CurrentCompilation);
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (2)
1004
else if (MessageID.IDS_FeatureCovariantReturnsForOverrides.
GetFeatureAvailabilityDiagnosticInfo
(this.DeclaringCompilation) is { } diagnosticInfo)
1076
var diagnosticInfo = MessageID.IDS_FeatureCovariantReturnsForOverrides.
GetFeatureAvailabilityDiagnosticInfo
(this.DeclaringCompilation);