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