30 references to CacheFormat
Microsoft.NET.ProjectData (30)
CacheFileReader.cs (30)
57 internal static readonly int CurrentMajorVersion = ParseMajorVersionOrThrow(CacheFormat.VersionHeader); 387 if (firstLine is not null && firstLine.StartsWith(CacheFormat.HashHeaderPrefix, StringComparison.Ordinal)) 412 if (firstLine != CacheFormat.VersionHeader) 423 CacheFormat.VersionHeader); 437 if (line.Length == 0 || line[0] == CacheFormat.CommentChar) 442 if (line == CacheFormat.SliceSeparator) 453 if (currentSection is null && line.StartsWith(CacheFormat.ProjectHeaderPrefix, StringComparison.Ordinal)) 455 RecordDeclaredProjectFilePath(line[CacheFormat.ProjectHeaderPrefix.Length..], resolver, projectDirectory, ref declaredProjectFilePath); 463 if (currentSection == CacheFormat.Sections.Project) 475 case CacheFormat.Sections.Project: 478 case CacheFormat.Sections.SliceDimensions: 481 case CacheFormat.Sections.Properties: 484 case CacheFormat.Sections.CommandLineArguments: 487 case CacheFormat.Sections.SourceFiles: 490 case CacheFormat.Sections.MetadataReferences: 493 case CacheFormat.Sections.AnalyzerReferences: 496 case CacheFormat.Sections.FrameworkPacks: 499 case CacheFormat.Sections.SdkAnalyzerPacks: 502 case CacheFormat.Sections.SdkAnalyzerConfigPolicy: 505 case CacheFormat.Sections.AnalyzerConfigFiles: 508 case CacheFormat.Sections.AdditionalFiles: 511 case CacheFormat.Sections.EmbeddedResources: 514 case CacheFormat.Sections.ProjectReferences: 517 case CacheFormat.Sections.Capabilities: 580 if (line.StartsWith(CacheFormat.ProjectHeaderPrefix, StringComparison.Ordinal)) 582 RecordDeclaredProjectFilePath(line[CacheFormat.ProjectHeaderPrefix.Length..], resolver, projectDirectory, ref declaredProjectFilePath); 584 else if (line.StartsWith(CacheFormat.LanguagePrefix, StringComparison.Ordinal)) 586 builder.LanguageName = line[CacheFormat.LanguagePrefix.Length..]; 588 else if (line == CacheFormat.PrimaryMarker) 592 else if (line == CacheFormat.LastDtbSucceededMarker)