示例#1
0
 public static bool IsAndroid(this GeneratorExecutionContext context)
 => (context.GetMSBuildProperty("TargetFrameworkIdentifier")?.Contains("MonoAndroid") ?? false) ||
 (context.GetCompilationContextTFM()?.Contains("MonoAndroid") ?? false);