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