public bool IsPropertyThatIsNotNull(ISymbol property) { if (DictionaryValues != null && DictionaryValues.Equals(property.OriginalDefinition)) { return(true); } if (DictionaryValues != null && DictionaryKeys.Equals(property.OriginalDefinition)) { return(true); } if (ExternalNotNullMethods.Contains(property)) { return(true); } return(false); }
public int GetPSFontValue(DictionaryKeys key, uint idx, ref IntPtr value, int valueLength) { return FT.FT_Get_PS_Font_Value(Reference, key, idx, ref value, valueLength); }
internal static extern int FT_Get_PS_Font_Value(IntPtr face, DictionaryKeys key, uint idx, ref IntPtr value, int value_len);
/// <summary> /// Initializes a new instance of the <see cref="T:System.Collections.Generic.Dictionary`2"/> class that is empty, has the default initial capacity, and uses the specified <see cref="T:System.Collections.Generic.IEqualityComparer`1"/>. /// </summary> /// <param name="comparer">The <see cref="T:System.Collections.Generic.IEqualityComparer`1"/> implementation to use when comparing keys, or null to use the default <see cref="T:System.Collections.Generic.EqualityComparer`1"/> for the type of the key.</param> public Dictionary(IEqualityComparer <TKey> comparer) { keys = new DictionaryKeys(this); this.comparer = comparer; }