public static bool IsCompileableFile(MonoDevelop.Projects.Project p, ProjectFile file, out Microsoft.CodeAnalysis.SourceCodeKind sck) { sck = file.SourceCodeKind; return(p.IsCompileable(file.FilePath)); }
public static bool IsCompileableFile(ProjectFile file, out Microsoft.CodeAnalysis.SourceCodeKind sck) => IsCompileableFile(null, file, out sck);