예제 #1
0
 public IPsiSourceFile GetOrCreateSourceFile([NotNull] FileSystemPath path)
 {
     Assertion.Assert(path.IsAbsolute, "path.IsAbsolute");
     return(SourceFiles.GetOrAdd(path, _ => new T4OutsideSolutionSourceFile(
                                     ProjectFileExtensions,
                                     PsiProjectFileTypeCoordinator,
                                     PsiModule,
                                     path,
                                     sf => sf.Location.ExistsFile,
                                     sf => new T4OutsideSolutionSourceFileProperties(),
                                     DocumentManager,
                                     EmptyResolveContext.Instance)
                                 ));
 }