2 instantiations of Ref
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
SyncedSource\FileBasedPrograms\FileLevelDirectiveHelpers.cs (2)
1166return new Ref(context.Info, firstToken.Text) { Metadata = metadata }; 1189return new Ref(Info, name)
13 references to Ref
Microsoft.CodeAnalysis.CSharp.Workspaces (13)
SyncedSource\FileBasedPrograms\FileLevelDirectiveHelpers.cs (5)
382case "ref": return Ref.Parse(context); 1148public static new Ref? Parse(in ParseContext context) 1187public Ref WithName(string name, NameKind kind) 1201public Ref EnsureResolvedPath(ErrorReporter errorReporter) 1466if (directive is CSharpDirective.Project or CSharpDirective.Ref or CSharpDirective.IncludeOrExclude)
SyncedSource\FileBasedPrograms\VirtualProjectBuilder.cs (8)
231if (!directives.Any(static d => d is CSharpDirective.Project or CSharpDirective.IncludeOrExclude or CSharpDirective.Ref)) 251case CSharpDirective.Ref refDirective: 252refDirective = refDirective.WithName(await project.ExpandStringAsync(refDirective.Name).ConfigureAwait(false), CSharpDirective.Ref.NameKind.Expanded); 548if (!directives.Any(static d => d is CSharpDirective.Ref)) 556foreach (var refDirective in directives.OfType<CSharpDirective.Ref>()) 599var refDirectives = directives.OfType<CSharpDirective.Ref>(); 907foreach (var refDirective in refDirectives)