37 references to AssetPathKind
Microsoft.CodeAnalysis.Workspaces (37)
Workspace\Solution\AssetPath.cs (36)
22
public static readonly AssetPath FullLookupForTesting =
AssetPathKind
.SolutionCompilationState |
AssetPathKind
.SolutionState |
AssetPathKind
.Projects |
AssetPathKind
.Documents;
25
private readonly
AssetPathKind
_kind;
39
public AssetPath(
AssetPathKind
kind, ProjectId? projectId = null, DocumentId? documentId = null)
46
public AssetPath(
AssetPathKind
kind, ProjectId? projectId)
51
public AssetPath(
AssetPathKind
kind, DocumentId? documentId)
56
public bool IncludeSolutionCompilationState => (_kind &
AssetPathKind
.SolutionCompilationState) != 0;
57
public bool IncludeSolutionState => (_kind &
AssetPathKind
.SolutionState) != 0;
58
public bool IncludeProjects => (_kind &
AssetPathKind
.Projects) != 0;
59
public bool IncludeDocuments => (_kind &
AssetPathKind
.Documents) != 0;
61
public bool IncludeSolutionCompilationStateChecksums => (_kind &
AssetPathKind
.SolutionCompilationStateChecksums) != 0;
62
public bool IncludeSolutionSourceGeneratorExecutionVersionMap => (_kind &
AssetPathKind
.SolutionSourceGeneratorExecutionVersionMap) != 0;
63
public bool IncludeSolutionFrozenSourceGeneratedDocumentIdentities => (_kind &
AssetPathKind
.SolutionFrozenSourceGeneratedDocumentIdentities) != 0;
64
public bool IncludeSolutionFrozenSourceGeneratedDocumentText => (_kind &
AssetPathKind
.SolutionFrozenSourceGeneratedDocumentText) != 0;
66
public bool IncludeSolutionStateChecksums => (_kind &
AssetPathKind
.SolutionStateChecksums) != 0;
67
public bool IncludeSolutionAttributes => (_kind &
AssetPathKind
.SolutionAttributes) != 0;
68
public bool IncludeSolutionAnalyzerReferences => (_kind &
AssetPathKind
.SolutionAnalyzerReferences) != 0;
69
public bool IncludeSolutionFallbackAnalyzerOptions => (_kind &
AssetPathKind
.SolutionFallbackAnalyzerOptions) != 0;
71
public bool IncludeProjectStateChecksums => (_kind &
AssetPathKind
.ProjectStateChecksums) != 0;
72
public bool IncludeProjectAttributes => (_kind &
AssetPathKind
.ProjectAttributes) != 0;
73
public bool IncludeProjectCompilationOptions => (_kind &
AssetPathKind
.ProjectCompilationOptions) != 0;
74
public bool IncludeProjectParseOptions => (_kind &
AssetPathKind
.ProjectParseOptions) != 0;
75
public bool IncludeProjectProjectReferences => (_kind &
AssetPathKind
.ProjectProjectReferences) != 0;
76
public bool IncludeProjectMetadataReferences => (_kind &
AssetPathKind
.ProjectMetadataReferences) != 0;
77
public bool IncludeProjectAnalyzerReferences => (_kind &
AssetPathKind
.ProjectAnalyzerReferences) != 0;
79
public bool IncludeDocumentAttributes => (_kind &
AssetPathKind
.DocumentAttributes) != 0;
80
public bool IncludeDocumentText => (_kind &
AssetPathKind
.DocumentText) != 0;
82
public static implicit operator AssetPath(
AssetPathKind
kind) => new(kind);
87
public static implicit operator AssetPath(ProjectId projectId) => new(
AssetPathKind
.Projects, projectId);
92
public static implicit operator AssetPath(DocumentId documentId) => new(
AssetPathKind
.Documents, documentId);
100
=> new(
AssetPathKind
.SolutionCompilationState |
AssetPathKind
.SolutionState |
AssetPathKind
.Projects, projectId);
108
=> new(
AssetPathKind
.Documents, projectId);
Workspace\Solution\StateChecksums.cs (1)
150
new AssetPath(
AssetPathKind
.DocumentText, assetPath.ProjectId, assetPath.DocumentId),