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