16 writes to UnsupportedSecond
Microsoft.CodeAnalysis.NetAnalyzers (16)
Microsoft.NetCore.Analyzers\InteropServices\PlatformCompatibilityAnalyzer.cs (14)
511
attribute.
UnsupportedSecond
= null;
525
attribute.
UnsupportedSecond
= null;
538
attribute.
UnsupportedSecond
= null;
570
attribute.
UnsupportedSecond
= null;
756
attributes.
UnsupportedSecond
= info.Version;
776
attribute.
UnsupportedSecond
= null;
1571
diagnosticAttribute.
UnsupportedSecond
= (Version)attribute.UnsupportedSecond.Clone();
1587
diagnosticAttribute.
UnsupportedSecond
= (Version)attribute.UnsupportedSecond.Clone();
1763
copyTo.
UnsupportedSecond
= (Version?)copyFrom.UnsupportedSecond?.Clone();
1870
existing.
UnsupportedSecond
= childAttribute.UnsupportedSecond;
2037
attributes.
UnsupportedSecond
= null;
2048
attributes.
UnsupportedSecond
= null;
2206
attributes.
UnsupportedSecond
= attributes.UnsupportedFirst;
2213
attributes.
UnsupportedSecond
= version;
Microsoft.NetCore.Analyzers\InteropServices\PlatformCompatibilityAnalyzer.OperationVisitor.cs (2)
112
versions.
UnsupportedSecond
= version;
254
versions.
UnsupportedSecond
= expectedVersion;
35 references to UnsupportedSecond
Microsoft.CodeAnalysis.NetAnalyzers (35)
Microsoft.NetCore.Analyzers\InteropServices\PlatformCompatibilityAnalyzer.cs (32)
535
if (attribute.
UnsupportedSecond
!= null &&
536
attribute.
UnsupportedSecond
.IsGreaterThanOrEqualTo(info.Version))
566
if (attribute.
UnsupportedSecond
!= null &&
568
version.IsGreaterThanOrEqualTo(attribute.
UnsupportedSecond
))
1026
var unsupportedVersion = pAttribute.
UnsupportedSecond
?? pAttribute.UnsupportedFirst;
1166
var unsupportedVersion = csAttribute.
UnsupportedSecond
?? csAttribute.UnsupportedFirst;
1180
var unsupportedVersion = csAttribute.
UnsupportedSecond
?? csAttribute.UnsupportedFirst;
1183
var calledUnsupported = attribute.
UnsupportedSecond
?? attribute.UnsupportedFirst;
1239
var version = attribute.
UnsupportedSecond
?? attribute.UnsupportedFirst;
1568
if (attribute.
UnsupportedSecond
!= null &&
1571
diagnosticAttribute.UnsupportedSecond = (Version)attribute.
UnsupportedSecond
.Clone();
1584
if (attribute.
UnsupportedSecond
!= null && !SuppressedByCallSiteUnsupported(callSiteAttribute, attribute.
UnsupportedSecond
))
1587
diagnosticAttribute.UnsupportedSecond = (Version)attribute.
UnsupportedSecond
.Clone();
1733
SuppressedByCallSiteUnsupported(callSiteAttribute, attribute.
UnsupportedSecond
!);
1737
callSiteAttribute.
UnsupportedSecond
!= null && unsupporteAttribute.IsGreaterThanOrEqualTo(callSiteAttribute.
UnsupportedSecond
) :
1763
copyTo.UnsupportedSecond = (Version?)copyFrom.
UnsupportedSecond
?.Clone();
1867
if (childAttribute.
UnsupportedSecond
!= null && (existing.
UnsupportedSecond
== null ||
1868
childAttribute.
UnsupportedSecond
< existing.
UnsupportedSecond
))
1870
existing.UnsupportedSecond = childAttribute.
UnsupportedSecond
;
1884
(existing.
UnsupportedSecond
== null || existing.
UnsupportedSecond
> childAttribute.Obsoleted)) &&
1935
if (childAttribute.
UnsupportedSecond
!= null && childAttribute.
UnsupportedSecond
> attributes.UnsupportedFirst)
1937
attributes.UnsupportedFirst = childAttribute.
UnsupportedSecond
;
2045
(attributes.
UnsupportedSecond
!= null &&
2046
attributes.SupportedFirst > attributes.
UnsupportedSecond
))
2210
else if (attributes.
UnsupportedSecond
== null ||
2211
attributes.
UnsupportedSecond
> version)
Microsoft.NetCore.Analyzers\InteropServices\PlatformCompatibilityAnalyzer.Data.cs (1)
41
SupportedSecond != null ||
UnsupportedSecond
!= null || Obsoleted != null;
Microsoft.NetCore.Analyzers\InteropServices\PlatformCompatibilityAnalyzer.OperationVisitor.cs (2)
170
if (versions.
UnsupportedSecond
!= null)
172
infosBuilder.Add(new PlatformMethodValue(name, versions.
UnsupportedSecond
, negated: true));