3 references to CheckFeatureAvailability
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Symbols.cs (3)
2748=> CheckFeatureAvailability(syntax.SyntaxTree, feature, diagnostics, (location, syntax), static tuple => tuple.location ?? tuple.syntax.GetLocation());
2751=> CheckFeatureAvailability(syntax.SyntaxTree!, feature, diagnostics, syntax, static syntax => syntax.GetLocation(), forceWarning: forceWarning);
2754=> CheckFeatureAvailability(tree, feature, diagnostics, location, static location => location);