protected IEnumerable <ProcessedFieldInfo> PostProcessFields(IEnumerable <FieldInfo> fields)
 {
     foreach (FieldInfo field in fields)
     {
         ProcessedFieldInfo processedField = new ProcessedFieldInfo(field, this);
         yield return(processedField);
     }
 }
예제 #2
0
 void ProcessPotentialName(ProcessedFieldInfo processedField)
 {
     if (RestrictedObjSelectors.IsImportantSelector(processedField.GetterName) || RestrictedObjSelectors.IsImportantSelector(processedField.SetterName))
     {
         string newName = "managed" + processedField.Name.PascalCase();
         Delayed.Add(ErrorHelper.CreateWarning(1051, $"Element {processedField.Name} is generated instead as {newName} because its name conflicts with an important objective-c selector."));
         processedField.NameOverride = newName;
     }
 }