3 instantiations of PlatformAttributes
Microsoft.CodeAnalysis.NetAnalyzers (3)
Microsoft.NetCore.Analyzers\InteropServices\PlatformCompatibilityAnalyzer.cs (3)
1495
var copy = new
PlatformAttributes
(copyAttributes.Callsite, new SmallDictionary<string, Versions>(StringComparer.OrdinalIgnoreCase));
1832
attributes ??= new
PlatformAttributes
() { IsAssemblyAttribute = symbol is IAssemblySymbol };
1852
parentAttributes = new
PlatformAttributes
();
13 references to PlatformAttributes
Microsoft.CodeAnalysis.NetAnalyzers (13)
Microsoft.NetCore.Analyzers\InteropServices\PlatformCompatibilityAnalyzer.cs (13)
191
var platformSpecificMembers = new ConcurrentDictionary<ISymbol,
PlatformAttributes
>();
314
ConcurrentDictionary<ISymbol,
PlatformAttributes
> platformSpecificMembers,
1337
ConcurrentDictionary<ISymbol,
PlatformAttributes
> platformSpecificMembers, ImmutableArray<string> msBuildPlatforms,
1416
if (TryGetOrCreatePlatformAttributes(symbol, checkParents, crossPlatform, platformSpecificMembers, relatedPlatforms, out
var
operationAttributes))
1432
if (TryGetOrCreatePlatformAttributes(containingSymbol, true, crossPlatform, platformSpecificMembers, relatedPlatforms, out
var
callSiteAttributes))
1450
private static bool OperationHasOnlyAssemblyAttributesAndCalledFromSameAssembly(
PlatformAttributes
operationAttributes, ISymbol symbol, ISymbol containingSymbol) =>
1493
private static
PlatformAttributes
CopyAttributes(
PlatformAttributes
copyAttributes)
1495
var
copy = new PlatformAttributes(copyAttributes.Callsite, new SmallDictionary<string, Versions>(StringComparer.OrdinalIgnoreCase));
1810
bool crossPlatform, ConcurrentDictionary<ISymbol,
PlatformAttributes
> platformSpecificMembers,
1811
SmallDictionary<string, (string relatedPlatform, bool isSubset)> relatedPlatforms, out
PlatformAttributes
attributes)
1826
TryGetOrCreatePlatformAttributes(container, checkParents, crossPlatform, platformSpecificMembers, relatedPlatforms, out
var
containerAttributes))
1839
static void MergePlatformAttributes(ImmutableArray<AttributeData> immediateAttributes, ref
PlatformAttributes
parentAttributes,