6 references to FindMethodName
Microsoft.CodeAnalysis.Features (6)
SemanticSearch\AbstractSemanticSearchService.cs (6)
383
error ??= string.Format(FeaturesResources.The_query_does_not_specify_0_method_or_top_level_function, SemanticSearchUtilities.
FindMethodName
);
395
if (candidate.Name == SemanticSearchUtilities.
FindMethodName
||
396
allowLocalFunction && candidate.Name.StartsWith($"<{WellKnownMemberNames.TopLevelStatementsEntryPointMethodName}>g__{SemanticSearchUtilities.
FindMethodName
}|"))
404
error = string.Format(FeaturesResources.The_query_does_not_specify_0_method_or_top_level_function, SemanticSearchUtilities.
FindMethodName
);
411
error = string.Format(FeaturesResources.Method_0_must_be_static_and_non_generic, SemanticSearchUtilities.
FindMethodName
);
422
error = string.Format(FeaturesResources.Method_0_must_have_a_single_parameter_of_type_1_and_return_2, SemanticSearchUtilities.
FindMethodName
, nameof(Compilation));