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;
1598
diagnosticAttribute.
UnsupportedSecond
= (Version)attribute.UnsupportedSecond.Clone();
1614
diagnosticAttribute.
UnsupportedSecond
= (Version)attribute.UnsupportedSecond.Clone();
1790
copyTo.
UnsupportedSecond
= (Version?)copyFrom.UnsupportedSecond?.Clone();
1899
existing.
UnsupportedSecond
= childAttribute.UnsupportedSecond;
2066
attributes.
UnsupportedSecond
= null;
2077
attributes.
UnsupportedSecond
= null;
2235
attributes.
UnsupportedSecond
= attributes.UnsupportedFirst;
2242
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;
1595
if (attribute.
UnsupportedSecond
!= null &&
1598
diagnosticAttribute.UnsupportedSecond = (Version)attribute.
UnsupportedSecond
.Clone();
1611
if (attribute.
UnsupportedSecond
!= null && !SuppressedByCallSiteUnsupported(callSiteAttribute, attribute.
UnsupportedSecond
))
1614
diagnosticAttribute.UnsupportedSecond = (Version)attribute.
UnsupportedSecond
.Clone();
1760
SuppressedByCallSiteUnsupported(callSiteAttribute, attribute.
UnsupportedSecond
!);
1764
callSiteAttribute.
UnsupportedSecond
!= null && unsupporteAttribute.IsGreaterThanOrEqualTo(callSiteAttribute.
UnsupportedSecond
) :
1790
copyTo.UnsupportedSecond = (Version?)copyFrom.
UnsupportedSecond
?.Clone();
1896
if (childAttribute.
UnsupportedSecond
!= null && (existing.
UnsupportedSecond
== null ||
1897
childAttribute.
UnsupportedSecond
< existing.
UnsupportedSecond
))
1899
existing.UnsupportedSecond = childAttribute.
UnsupportedSecond
;
1913
(existing.
UnsupportedSecond
== null || existing.
UnsupportedSecond
> childAttribute.Obsoleted)) &&
1964
if (childAttribute.
UnsupportedSecond
!= null && childAttribute.
UnsupportedSecond
> attributes.UnsupportedFirst)
1966
attributes.UnsupportedFirst = childAttribute.
UnsupportedSecond
;
2074
(attributes.
UnsupportedSecond
!= null &&
2075
attributes.SupportedFirst > attributes.
UnsupportedSecond
))
2239
else if (attributes.
UnsupportedSecond
== null ||
2240
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));