// Token: 0x06006EBF RID: 28351 RVA: 0x001FD578 File Offset: 0x001FB778 internal static PropertyComment[] ParsePropertyLocalizabilityAttributes(string input) { PropertyComment[] array = LocComments.ParsePropertyComments(input); if (array != null) { for (int i = 0; i < array.Length; i++) { array[i].Value = LocComments.LookupAndSetLocalizabilityAttribute((string)array[i].Value); } } return(array); }
// Token: 0x06006E31 RID: 28209 RVA: 0x001FBBD4 File Offset: 0x001F9DD4 private void SetLocalizationComments(BamlStartElementNode node, InternalBamlLocalizabilityResolver.ElementComments comments, string stringComment) { if (!string.IsNullOrEmpty(stringComment)) { try { comments.LocalizationComments = LocComments.ParsePropertyComments(stringComment); } catch (FormatException) { this.RaiseErrorNotifyEvent(new BamlLocalizerErrorNotifyEventArgs(BamlTreeMap.GetKey(node), BamlLocalizerError.InvalidLocalizationComments)); } } }