5 references to WithVersion
Microsoft.CodeAnalysis (2)
Emit\EditAndContinue\DeltaMetadataWriter.cs (1)
418
identity = _previousGeneration.InitialBaseline.LazyMetadataSymbols.AssemblyReferenceIdentityMap[identity.
WithVersion
(versionPattern)];
ReferenceManager\CommonReferenceManager.State.cs (1)
559
var sourceIdentity = symbolIdentity.
WithVersion
(versionPattern);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Symbols\Retargeting\RetargetingTests.cs (3)
937
var retargeted2 = CreateCompilation(retargetedIdentity.
WithVersion
(new Version(2, 0, 0, 0)), new[] { retargetedSource }, references: standardReference);
1062
var afterRetargeting = CreateCompilation(originalIdentity.
WithVersion
(new Version(2, 0, 0, 0)), new[] { corlibSource }, new MetadataReference[0]);
1139
var afterRetargeting = CreateCompilation(originalIdentity.
WithVersion
(new Version(2, 0, 0, 0)), new[] { corlibSource }, new MetadataReference[0]);