3 instantiations of GlobalAliases
Microsoft.CodeAnalysis (3)
SourceGeneration\GlobalAliases.cs (3)
18public static readonly GlobalAliases Empty = new(ImmutableArray<(string aliasName, string symbolName)>.Empty); 31return aliasAndSymbolNames.IsEmpty ? Empty : new GlobalAliases(aliasAndSymbolNames); 58return new(ga1.AliasAndSymbolNames.Concat(ga2.AliasAndSymbolNames));
17 references to GlobalAliases
Microsoft.CodeAnalysis (17)
SourceGeneration\GlobalAliases.cs (11)
16internal sealed class GlobalAliases : IEquatable<GlobalAliases> 18public static readonly GlobalAliases Empty = new(ImmutableArray<(string aliasName, string symbolName)>.Empty); 29public static GlobalAliases Create(ImmutableArray<(string aliasName, string symbolName)> aliasAndSymbolNames) 34public static GlobalAliases Create(ImmutableArray<GlobalAliases> aliasesArray) 44foreach (var array in aliasesArray) 50public static GlobalAliases Concat(GlobalAliases ga1, GlobalAliases ga2) 76=> this.Equals(obj as GlobalAliases); 78public bool Equals(GlobalAliases? aliases)
SourceGeneration\Nodes\SyntaxValueProvider_ForAttributeWithSimpleName.cs (6)
82.Select(static (arrays, _) => GlobalAliases.Create(arrays)) 92return GlobalAliases.Create(aliases.ToImmutableAndFree()); 97.Select(static (tuple, _) => GlobalAliases.Concat(tuple.Left, tuple.Right)) 112static GlobalAliases getGlobalAliasesInCompilationUnit( 121return GlobalAliases.Create(globalAliases.ToImmutableAndFree()); 153GlobalAliases globalAliases,