2 instantiations of Ref
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
SyncedSource\FileBasedPrograms\FileLevelDirectiveHelpers.cs (2)
1157return new Ref(context.Info, firstToken.Text) { Metadata = metadata }; 1180return new Ref(Info, name)
13 references to Ref
Microsoft.CodeAnalysis.CSharp.Workspaces (13)
SyncedSource\FileBasedPrograms\FileLevelDirectiveHelpers.cs (5)
382case "ref": return Ref.Parse(context); 1139public static new Ref? Parse(in ParseContext context) 1178public Ref WithName(string name, NameKind kind) 1192public Ref EnsureResolvedPath(ErrorReporter errorReporter) 1428if (directive is CSharpDirective.Project or CSharpDirective.Ref or CSharpDirective.IncludeOrExclude)
SyncedSource\FileBasedPrograms\VirtualProjectBuilder.cs (8)
225if (!directives.Any(static d => d is CSharpDirective.Project or CSharpDirective.IncludeOrExclude or CSharpDirective.Ref)) 245case CSharpDirective.Ref refDirective: 246refDirective = refDirective.WithName(await project.ExpandStringAsync(refDirective.Name).ConfigureAwait(false), CSharpDirective.Ref.NameKind.Expanded); 542if (!directives.Any(static d => d is CSharpDirective.Ref)) 550foreach (var refDirective in directives.OfType<CSharpDirective.Ref>()) 593var refDirectives = directives.OfType<CSharpDirective.Ref>(); 898foreach (var refDirective in refDirectives)