From f59f285614f3eebb954492dca0228dee9ed24b64 Mon Sep 17 00:00:00 2001 From: Buyaa Namnan Date: Mon, 1 Feb 2021 10:40:48 -0800 Subject: [PATCH] apply feedback --- .../InteropServices/PlatformCompatibilityAnalyzer.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/NetAnalyzers/Core/Microsoft.NetCore.Analyzers/InteropServices/PlatformCompatibilityAnalyzer.cs b/src/NetAnalyzers/Core/Microsoft.NetCore.Analyzers/InteropServices/PlatformCompatibilityAnalyzer.cs index 901daea97b..2b8522793b 100644 --- a/src/NetAnalyzers/Core/Microsoft.NetCore.Analyzers/InteropServices/PlatformCompatibilityAnalyzer.cs +++ b/src/NetAnalyzers/Core/Microsoft.NetCore.Analyzers/InteropServices/PlatformCompatibilityAnalyzer.cs @@ -1499,8 +1499,9 @@ static void MergePlatformAttributes(ImmutableArray immediateAttri } } } - else // not existing parent platforms might need to be removed + else { + // not existing parent platforms might need to be removed notFoundPlatforms.Add(platform); } }