2 instantiations of Ref
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
SyncedSource\FileBasedPrograms\FileLevelDirectiveHelpers.cs (2)
626
return new
Ref
(context.Info, directiveText);
649
return new
Ref
(Info, name)
15 references to Ref
Microsoft.CodeAnalysis.CSharp.Workspaces (15)
SyncedSource\FileBasedPrograms\FileLevelDirectiveHelpers.cs (5)
320
case "ref": return
Ref
.Parse(context);
617
public static new
Ref
? Parse(in ParseContext context)
647
public
Ref
WithName(string name, NameKind kind)
660
public
Ref
EnsureResolvedPath(ErrorReporter errorReporter)
893
if (directive is CSharpDirective.Project or CSharpDirective.
Ref
or CSharpDirective.IncludeOrExclude)
SyncedSource\FileBasedPrograms\VirtualProjectBuilder.cs (10)
218
if (!directives.Any(static d => d is CSharpDirective.Project or CSharpDirective.IncludeOrExclude or CSharpDirective.
Ref
))
238
case CSharpDirective.
Ref
refDirective:
239
refDirective = refDirective.WithName(await project.ExpandStringAsync(refDirective.Name).ConfigureAwait(false), CSharpDirective.
Ref
.NameKind.Expanded);
521
if (!directives.Any(static d => d is CSharpDirective.
Ref
))
529
foreach (
var
refDirective in directives.OfType<CSharpDirective.
Ref
>())
561
if (directive is CSharpDirective.
Ref
)
563
await CheckFlagEnabledAsync(refEnabled, CSharpDirective.
Ref
.ExperimentalFileBasedProgramEnableRefDirective, directive).ConfigureAwait(false);
601
var refDirectives = directives.OfType<CSharpDirective.
Ref
>();
900
foreach (
var
refDirective in refDirectives)