5 references to WithVersion
Microsoft.CodeAnalysis (2)
Emit\EditAndContinue\DeltaMetadataWriter.cs (1)
419
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)
940
var retargeted2 = CreateCompilation(retargetedIdentity.
WithVersion
(new Version(2, 0, 0, 0)), new[] { retargetedSource }, references: standardReference);
1065
var afterRetargeting = CreateCompilation(originalIdentity.
WithVersion
(new Version(2, 0, 0, 0)), new[] { corlibSource }, new MetadataReference[0]);
1142
var afterRetargeting = CreateCompilation(originalIdentity.
WithVersion
(new Version(2, 0, 0, 0)), new[] { corlibSource }, new MetadataReference[0]);