private static AdditionalPropertiesWithMultipleValuesMap CreateReferenceUsageInfo(SymbolUsageInfo symbolUsageInfo) { var additionalPropertiesWithMultipleValuesMap = AdditionalPropertiesWithMultipleValuesMap.Empty; if (!symbolUsageInfo.Equals(SymbolUsageInfo.None)) { additionalPropertiesWithMultipleValuesMap = additionalPropertiesWithMultipleValuesMap.Add(nameof(SymbolUsageInfo), symbolUsageInfo.ToLocalizableValues()); } return(additionalPropertiesWithMultipleValuesMap); }
private static ReferenceInfoMap CreateReferenceInfo(SymbolUsageInfo symbolUsageInfo) { var referenceInfoMap = ReferenceInfoMap.Empty; if (!symbolUsageInfo.Equals(SymbolUsageInfo.None)) { referenceInfoMap = referenceInfoMap.Add(nameof(SymbolUsageInfo), symbolUsageInfo.ToLocalizableValues()); } return(referenceInfoMap); }