10 references to PlatformMethodValue
Microsoft.CodeAnalysis.NetAnalyzers (10)
Microsoft.NetCore.Analyzers\InteropServices\PlatformCompatibilityAnalyzer.cs (1)
529
else if (value.AnalysisValues.Contains(new
PlatformMethodValue
(info.PlatformName, EmptyVersion, false)))
Microsoft.NetCore.Analyzers\InteropServices\PlatformCompatibilityAnalyzer.OperationVisitor.cs (3)
164
infosBuilder.Add(new
PlatformMethodValue
(name, versions.SupportedFirst, negated: false));
169
infosBuilder.Add(new
PlatformMethodValue
(name, versions.UnsupportedFirst, negated: true));
172
infosBuilder.Add(new
PlatformMethodValue
(name, versions.UnsupportedSecond, negated: true));
Microsoft.NetCore.Analyzers\InteropServices\PlatformCompatibilityAnalyzer.Value.cs (6)
38
=> new
PlatformMethodValue
(PlatformName, Version, !Negated);
52
var info = new
PlatformMethodValue
(platformName, EmptyVersion, negated: false);
65
var info = new
PlatformMethodValue
(osPlatformNamesBuilder[i], EmptyVersion, negated: false);
82
var info = new
PlatformMethodValue
(platformName, version, negated: false);
90
var info = new
PlatformMethodValue
(literal.ConstantValue.Value.ToString(), version, negated: false);
101
var info = new
PlatformMethodValue
(platformName, version, negated: false);