コード例 #1
0
 public virtual IEnumerable <PopupList.ListElement> BuildQuery(string prefix)
 {
     // ISSUE: object of a compiler-generated type is created
     // ISSUE: variable of a compiler-generated type
     PopupList.InputData.\u003CBuildQuery\u003Ec__AnonStorey41 queryCAnonStorey41 = new PopupList.InputData.\u003CBuildQuery\u003Ec__AnonStorey41();
     // ISSUE: reference to a compiler-generated field
     queryCAnonStorey41.prefix = prefix;
     // ISSUE: reference to a compiler-generated field
     if (queryCAnonStorey41.prefix == string.Empty)
     {
         return((IEnumerable <PopupList.ListElement>) this.m_ListElements);
     }
     // ISSUE: reference to a compiler-generated method
     return(this.m_ListElements.Where <PopupList.ListElement>(new Func <PopupList.ListElement, bool>(queryCAnonStorey41.\u003C\u003Em__61)));
 }
コード例 #2
0
 public virtual IEnumerable<PopupList.ListElement> BuildQuery(string prefix)
 {
   // ISSUE: object of a compiler-generated type is created
   // ISSUE: variable of a compiler-generated type
   PopupList.InputData.\u003CBuildQuery\u003Ec__AnonStorey41 queryCAnonStorey41 = new PopupList.InputData.\u003CBuildQuery\u003Ec__AnonStorey41();
   // ISSUE: reference to a compiler-generated field
   queryCAnonStorey41.prefix = prefix;
   // ISSUE: reference to a compiler-generated field
   if (queryCAnonStorey41.prefix == string.Empty)
     return (IEnumerable<PopupList.ListElement>) this.m_ListElements;
   // ISSUE: reference to a compiler-generated method
   return this.m_ListElements.Where<PopupList.ListElement>(new Func<PopupList.ListElement, bool>(queryCAnonStorey41.\u003C\u003Em__61));
 }