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