1 write to _project
Microsoft.CodeAnalysis.Remote.Razor (1)
ProjectSystem\RemoteProjectSnapshot.cs (1)
35_project = project;
19 references to _project
Microsoft.CodeAnalysis.Remote.Razor (19)
ProjectSystem\RemoteProjectSnapshot.cs (19)
40=> _project.AdditionalDocuments 44public string FilePath => _project.FilePath.AssumeNotNull(); 46public string IntermediateOutputPath => FilePathNormalizer.GetNormalizedDirectoryName(_project.CompilationOutputInfo.AssemblyPath); 48public string DisplayName => _project.Name; 50public Project Project => _project; 54var generatorResult = await GeneratorRunResult.CreateAsync(throwIfNotFound: false, _project, cancellationToken).ConfigureAwait(false); 63if (document.Project != _project) 97var documentIds = _project.Solution.GetDocumentIdsWithFilePath(filePath); 101if (_project.Id == documentId.ProjectId && 102_project.ContainsAdditionalDocument(documentId)) 118var documentIds = _project.Solution.GetDocumentIdsWithFilePath(filePath); 122if (_project.Id == documentId.ProjectId && 123_project.GetAdditionalDocument(documentId) is { } doc) 136var generatorResult = await GeneratorRunResult.CreateAsync(throwIfNotFound: true, _project, cancellationToken).ConfigureAwait(false); 145var generatorResult = await GeneratorRunResult.CreateAsync(throwIfNotFound: true, _project, cancellationToken).ConfigureAwait(false); 154Debug.Assert(identity.DocumentId.ProjectId == _project.Id, "Generated document does not belong to this project."); 162var generatorResult = await GeneratorRunResult.CreateAsync(throwIfNotFound: false, _project, cancellationToken).ConfigureAwait(false); 175Debug.Assert(identity.DocumentId.ProjectId == _project.Id, "Generated document does not belong to this project."); 178var generatorResult = await GeneratorRunResult.CreateAsync(throwIfNotFound: false, _project, cancellationToken).ConfigureAwait(false);