private void FillNodeInfos() { this.m_NodeInfos = new AvatarMaskInspector.NodeInfo[this.m_TransformMask.arraySize]; for (int index1 = 1; index1 < this.m_NodeInfos.Length; ++index1) { // ISSUE: object of a compiler-generated type is created // ISSUE: variable of a compiler-generated type AvatarMaskInspector.\u003CFillNodeInfos\u003Ec__AnonStorey86 infosCAnonStorey86 = new AvatarMaskInspector.\u003CFillNodeInfos\u003Ec__AnonStorey86(); this.m_NodeInfos[index1].m_Path = this.m_TransformMask.GetArrayElementAtIndex(index1).FindPropertyRelative("m_Path"); this.m_NodeInfos[index1].m_Weight = this.m_TransformMask.GetArrayElementAtIndex(index1).FindPropertyRelative("m_Weight"); // ISSUE: reference to a compiler-generated field infosCAnonStorey86.fullPath = this.m_NodeInfos[index1].m_Path.stringValue; // ISSUE: reference to a compiler-generated method this.m_NodeInfos[index1].m_Enabled = this.humanTransforms == null || ArrayUtility.FindIndex <string>(this.humanTransforms, new Predicate <string>(infosCAnonStorey86.\u003C\u003Em__146)) == -1; this.m_NodeInfos[index1].m_Expanded = true; this.m_NodeInfos[index1].m_ParentIndex = -1; this.m_NodeInfos[index1].m_ChildIndices = new List <int>(); // ISSUE: reference to a compiler-generated field this.m_NodeInfos[index1].m_Depth = index1 != 0 ? infosCAnonStorey86.fullPath.Count <char>((Func <char, bool>)(f => (int)f == 47)) : 0; string str = string.Empty; // ISSUE: reference to a compiler-generated field int length = infosCAnonStorey86.fullPath.LastIndexOf('/'); if (length > 0) { // ISSUE: reference to a compiler-generated field str = infosCAnonStorey86.fullPath.Substring(0, length); } int startIndex = length != -1 ? length + 1 : 0; // ISSUE: reference to a compiler-generated field this.m_NodeInfos[index1].m_Name = infosCAnonStorey86.fullPath.Substring(startIndex); int arraySize = this.m_TransformMask.arraySize; for (int index2 = 0; index2 < arraySize; ++index2) { string stringValue = this.m_TransformMask.GetArrayElementAtIndex(index2).FindPropertyRelative("m_Path").stringValue; if (str != string.Empty && stringValue == str) { this.m_NodeInfos[index1].m_ParentIndex = index2; } // ISSUE: reference to a compiler-generated field if (stringValue.StartsWith(infosCAnonStorey86.fullPath) && stringValue.Count <char>((Func <char, bool>)(f => (int)f == 47)) == this.m_NodeInfos[index1].m_Depth + 1) { this.m_NodeInfos[index1].m_ChildIndices.Add(index2); } } } }
private void FillNodeInfos() { this.m_NodeInfos = new AvatarMaskInspector.NodeInfo[this.m_TransformMask.arraySize]; for (int index1 = 1; index1 < this.m_NodeInfos.Length; ++index1) { // ISSUE: object of a compiler-generated type is created // ISSUE: variable of a compiler-generated type AvatarMaskInspector.\u003CFillNodeInfos\u003Ec__AnonStorey86 infosCAnonStorey86 = new AvatarMaskInspector.\u003CFillNodeInfos\u003Ec__AnonStorey86(); this.m_NodeInfos[index1].m_Path = this.m_TransformMask.GetArrayElementAtIndex(index1).FindPropertyRelative("m_Path"); this.m_NodeInfos[index1].m_Weight = this.m_TransformMask.GetArrayElementAtIndex(index1).FindPropertyRelative("m_Weight"); // ISSUE: reference to a compiler-generated field infosCAnonStorey86.fullPath = this.m_NodeInfos[index1].m_Path.stringValue; // ISSUE: reference to a compiler-generated method this.m_NodeInfos[index1].m_Enabled = this.humanTransforms == null || ArrayUtility.FindIndex<string>(this.humanTransforms, new Predicate<string>(infosCAnonStorey86.\u003C\u003Em__146)) == -1; this.m_NodeInfos[index1].m_Expanded = true; this.m_NodeInfos[index1].m_ParentIndex = -1; this.m_NodeInfos[index1].m_ChildIndices = new List<int>(); // ISSUE: reference to a compiler-generated field this.m_NodeInfos[index1].m_Depth = index1 != 0 ? infosCAnonStorey86.fullPath.Count<char>((Func<char, bool>) (f => (int) f == 47)) : 0; string str = string.Empty; // ISSUE: reference to a compiler-generated field int length = infosCAnonStorey86.fullPath.LastIndexOf('/'); if (length > 0) { // ISSUE: reference to a compiler-generated field str = infosCAnonStorey86.fullPath.Substring(0, length); } int startIndex = length != -1 ? length + 1 : 0; // ISSUE: reference to a compiler-generated field this.m_NodeInfos[index1].m_Name = infosCAnonStorey86.fullPath.Substring(startIndex); int arraySize = this.m_TransformMask.arraySize; for (int index2 = 0; index2 < arraySize; ++index2) { string stringValue = this.m_TransformMask.GetArrayElementAtIndex(index2).FindPropertyRelative("m_Path").stringValue; if (str != string.Empty && stringValue == str) this.m_NodeInfos[index1].m_ParentIndex = index2; // ISSUE: reference to a compiler-generated field if (stringValue.StartsWith(infosCAnonStorey86.fullPath) && stringValue.Count<char>((Func<char, bool>) (f => (int) f == 47)) == this.m_NodeInfos[index1].m_Depth + 1) this.m_NodeInfos[index1].m_ChildIndices.Add(index2); } } }