27 references to Version
Microsoft.CodeAnalysis.Workspaces (27)
Workspace\Solution\Project.cs (1)
550public VersionStamp Version => State.Version;
Workspace\Solution\ProjectState.cs (24)
622return docVersion.GetNewerVersion(this.Version); 733=> (name == Name) ? this : WithNewerAttributes(Attributes.With(name: name, version: Version.GetNewerVersion())); 736=> (filePath == FilePath) ? this : WithNewerAttributes(Attributes.With(filePath: filePath, version: Version.GetNewerVersion())); 739=> (assemblyName == AssemblyName) ? this : WithNewerAttributes(Attributes.With(assemblyName: assemblyName, version: Version.GetNewerVersion())); 742=> (outputFilePath == OutputFilePath) ? this : WithNewerAttributes(Attributes.With(outputPath: outputFilePath, version: Version.GetNewerVersion())); 745=> (outputRefFilePath == OutputRefFilePath) ? this : WithNewerAttributes(Attributes.With(outputRefPath: outputRefFilePath, version: Version.GetNewerVersion())); 748=> (info == CompilationOutputInfo) ? this : WithNewerAttributes(Attributes.With(compilationOutputInfo: info, version: Version.GetNewerVersion())); 751=> (defaultNamespace == DefaultNamespace) ? this : WithNewerAttributes(Attributes.With(defaultNamespace: defaultNamespace, version: Version.GetNewerVersion())); 754=> (hasAllInformation == HasAllInformation) ? this : WithNewerAttributes(Attributes.With(hasAllInformation: hasAllInformation, version: Version.GetNewerVersion())); 757=> (runAnalyzers == RunAnalyzers) ? this : WithNewerAttributes(Attributes.With(runAnalyzers: runAnalyzers, version: Version.GetNewerVersion())); 760=> (hasSdkCodeStyleAnalyzers == HasSdkCodeStyleAnalyzers) ? this : WithNewerAttributes(Attributes.With(hasSdkCodeStyleAnalyzers: hasSdkCodeStyleAnalyzers, version: Version.GetNewerVersion())); 770projectInfo: ProjectInfo.With(attributes: Attributes.With(checksumAlgorithm: checksumAlgorithm, version: Version.GetNewerVersion())), 792.WithVersion(Version.GetNewerVersion())); 811projectInfo: ProjectInfo.WithParseOptions(options).WithVersion(Version.GetNewerVersion()), 853return With(projectInfo: ProjectInfo.With(projectReferences: projectReferences).WithVersion(Version.GetNewerVersion())); 863return With(projectInfo: ProjectInfo.With(metadataReferences: metadataReferences).WithVersion(Version.GetNewerVersion())); 873return With(projectInfo: ProjectInfo.WithAnalyzerReferences(analyzerReferences).WithVersion(Version.GetNewerVersion())); 884projectInfo: ProjectInfo.WithVersion(Version.GetNewerVersion()), 896projectInfo: ProjectInfo.WithVersion(Version.GetNewerVersion()), 915var projectInfo = ProjectInfo.WithVersion(Version.GetNewerVersion()); 939projectInfo: ProjectInfo.WithVersion(Version.GetNewerVersion()), 950projectInfo: ProjectInfo.WithVersion(Version.GetNewerVersion()), 972projectInfo: ProjectInfo.WithVersion(Version.GetNewerVersion()), 1046projectInfo: ProjectInfo.WithVersion(Version.GetNewerVersion()),
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (1)
1042var projVersion = projectState.Version;
Workspace\Solution\SolutionState.cs (1)
280latestVersion = project.Version.GetNewerVersion(latestVersion);