1 write to Version
Microsoft.CodeAnalysis.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\InteropServices\PlatformCompatibilityAnalyzer.Value.cs (1)
29
Version
= version ?? throw new ArgumentNullException(nameof(version));
22 references to Version
Microsoft.CodeAnalysis.NetAnalyzers (22)
Microsoft.NetCore.Analyzers\InteropServices\PlatformCompatibilityAnalyzer.cs (16)
505
attribute.UnsupportedFirst.IsGreaterThanOrEqualTo(info.
Version
))
536
attribute.UnsupportedSecond.IsGreaterThanOrEqualTo(info.
Version
))
542
attribute.Obsoleted.IsGreaterThanOrEqualTo(info.
Version
))
549
if (!IsEmptyVersion(info.
Version
))
551
capturedVersions[info.PlatformName] = info.
Version
;
578
info.
Version
.IsGreaterThanOrEqualTo(checkVersion))
582
RemoveUnsupportedWithLessVersion(info.
Version
, attribute);
662
parentValue.
Version
.IsGreaterThanOrEqualTo(version.SupportedFirst);
682
if (version.SupportedFirst != info.
Version
)
687
if (version.UnsupportedFirst != info.
Version
)
727
attributes.SupportedFirst = info.
Version
;
731
attributes.SupportedSecond = info.
Version
;
738
csAttributes.Add(info.PlatformName, new Versions() { SupportedFirst = info.
Version
, UnsupportedFirst = unsupportedVersion });
752
attributes.UnsupportedFirst = info.
Version
;
756
attributes.UnsupportedSecond = info.
Version
;
761
csAttributes.Add(info.PlatformName, new Versions() { UnsupportedFirst = info.
Version
});
Microsoft.NetCore.Analyzers\InteropServices\PlatformCompatibilityAnalyzer.OperationVisitor.cs (1)
198
version = infosBuilder[i].
Version
;
Microsoft.NetCore.Analyzers\InteropServices\PlatformCompatibilityAnalyzer.Value.cs (5)
38
=> new PlatformMethodValue(PlatformName,
Version
, !Negated);
153
var result = $"{PlatformName};{
Version
}";
164
Version
.Equals(other.
Version
) &&
174
Version
.GetHashCode(),