public virtual bool checkPlatform(Platform platform) { if (platform == null) return true; string property = this.properties.getProperty("platform.name"); string[][] strArray1 = new string[2][]; int index1 = 0; string[] strArray2 = platform.value(); strArray1[index1] = strArray2; int index2 = 1; string[] strArray3 = platform.not(); strArray1[index2] = strArray3; string[][] strArray4 = strArray1; bool[] flagArray1 = new bool[2]; int index3 = 0; int num1 = 0; flagArray1[index3] = num1 != 0; int index4 = 1; int num2 = 0; flagArray1[index4] = num2 != 0; bool[] flagArray2 = flagArray1; for (int index5 = 0; index5 < strArray4.Length; ++index5) { string[] strArray5 = strArray4[index5]; int length = strArray5.Length; for (int index6 = 0; index6 < length; ++index6) { string str = strArray5[index6]; if (String.instancehelper_startsWith(property, str)) { flagArray2[index5] = true; break; } } } return (strArray4[0].Length == 0 || flagArray2[0]) && (strArray4[1].Length == 0 || !flagArray2[1]); }