public static CodeEntityDetails Convert(StructDeclaration node, ExternalReferences externalReferences) { return(CreateCodeEntityDetails(node.Identifier, node.Reference.Namespace, node.Identifier, node.Identifier, CodeEntityType.Struct, node, node.Reference, externalReferences)); }
public async Task <List <SourceFileAnalysisResult> > AnalyzeFileAsync(string filePath, string fileContent, string projectFile, string solutionFilePath, List <string> preportReferences, List <string> currentReferences, RootNodes rules, ExternalReferences externalReferences, AnalyzerSettings settings) { var targetFramework = settings.TargetFramework ?? DEFAULT_TARGET; return(await _analysisHandler.AnalyzeFileIncremental(filePath, fileContent, projectFile, solutionFilePath, preportReferences, currentReferences, rules, externalReferences, settings.ActionsOnly, settings.CompatibleOnly, targetFramework)); }