20 references to GetSemanticVersionAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (4)
Workspaces\WorkspaceTests_EditorFeatures.cs (4)
1047var oldVersion = await project.GetSemanticVersionAsync(); 1061Assert.NotEqual(oldVersion, await doc.Project.GetSemanticVersionAsync()); 1080var oldVersion = await project.GetSemanticVersionAsync(); 1094Assert.NotEqual(oldVersion, await doc.Project.GetSemanticVersionAsync());
Microsoft.CodeAnalysis.Features (1)
DesignerAttribute\DesignerAttributeDiscoveryService.cs (1)
114var lazyProjectVersion = AsyncLazy.Create(project.GetSemanticVersionAsync, cacheResult: true);
Microsoft.CodeAnalysis.Workspaces (1)
FindSymbols\SymbolTree\SymbolTreeInfoCacheService.cs (1)
165var semanticVersion = await project.GetSemanticVersionAsync(cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces.UnitTests (14)
SolutionTests\ProjectSemanticVersionTests.cs (4)
263Assert.NotEqual(await project1.GetSemanticVersionAsync(), await project2.GetSemanticVersionAsync()); 268Assert.Equal(await project1.GetSemanticVersionAsync(), await project2.GetSemanticVersionAsync());
SolutionTests\SolutionTests.cs (10)
3451await documentToFreeze.Project.GetSemanticVersionAsync(), 3452await frozenDocument.Project.GetSemanticVersionAsync()); 3492await documentToFreezeOriginal.Project.GetSemanticVersionAsync(), 3493await frozenDocument.Project.GetSemanticVersionAsync()); 3496await documentToFreezeChanged.Project.GetSemanticVersionAsync(), 3497await frozenDocument.Project.GetSemanticVersionAsync()); 3538await documentToFreezeOriginal.Project.GetSemanticVersionAsync(), 3539await frozenDocument.Project.GetSemanticVersionAsync()); 3542await documentToFreezeChanged.Project.GetSemanticVersionAsync(), 3543await frozenDocument.Project.GetSemanticVersionAsync());