Skip to content

Commit

Permalink
Add comment about supported values of platform switch (#76072)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkotas authored Nov 25, 2024
1 parent f86856d commit 7e34ee5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1816,6 +1816,8 @@ private static Platform ParsePlatform(string value, IList<Diagnostic> diagnostic
case "arm64":
return Platform.Arm64;
default:
// This switch supports architectures that .NET Framework runs on Windows only.
// Non-Windows architectures that .NET runs on are intentionally not supported here.
AddDiagnostic(diagnostics, ErrorCode.ERR_BadPlatformType, value);
return Platform.AnyCpu;
}
Expand Down

0 comments on commit 7e34ee5

Please sign in to comment.