private static int CombineHashCodes(IPreprocessingSymbol x, int currentHash) => Hash.Combine(x.GetHashCode(), currentHash);
private bool PreprocessingSymbolsAreEquivalent(IPreprocessingSymbol x, IPreprocessingSymbol y) { return(x.Name == y.Name); }
private int CombineHashCodes(IPreprocessingSymbol x, int currentHash) { return(Hash.Combine(x.GetHashCode(), currentHash)); }
private static int CombineHashCodes(IPreprocessingSymbol x, int currentHash) { return(Hash.Combine(SymbolEqualityComparer.IncludeNullability.GetHashCode(x), currentHash)); }
private bool PreprocessingSymbolsAreEquivalent(IPreprocessingSymbol x, IPreprocessingSymbol y) { return x.Name == y.Name; }
internal PreprocessingSymbolInfo(IPreprocessingSymbol symbol, bool isDefined) : this() { this.Symbol = symbol; this.IsDefined = isDefined; }