static Platform GetPlatform(TargetPlatform platform) { // AnyCpu32BitPreferred can only be used when creating executables (we create a dll) if (platform == TargetPlatform.AnyCpu32BitPreferred) { return(Platform.AnyCpu); } return(platform.ToPlatform()); }
static Platform GetPlatform(TargetPlatform platform) { // AnyCpu32BitPreferred can only be used when creating executables (we create a dll) if (platform == TargetPlatform.AnyCpu32BitPreferred) return Platform.AnyCpu; return platform.ToPlatform(); }