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