3 instantiations of IncludeOrExclude
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
SyncedSource\FileBasedPrograms\FileLevelDirectiveHelpers.cs (3)
736return new IncludeOrExclude(context.Info) 770return new IncludeOrExclude(Info) 786return new IncludeOrExclude(Info)
13 references to IncludeOrExclude
Microsoft.CodeAnalysis.CSharp.Workspaces (13)
SyncedSource\FileBasedPrograms\FileLevelDirectiveHelpers.cs (5)
321case "include" or "exclude": return IncludeOrExclude.Parse(context); 726public static new IncludeOrExclude? Parse(in ParseContext context) 747public IncludeOrExclude WithDeterminedItemType(ErrorReporter reportError, ImmutableArray<(string Extension, string ItemType)> mapping) 779public IncludeOrExclude WithName(string name) 893if (directive is CSharpDirective.Project or CSharpDirective.Ref or CSharpDirective.IncludeOrExclude)
SyncedSource\FileBasedPrograms\VirtualProjectBuilder.cs (8)
210/// <c>#:include</c>/<c>#:exclude</c> have their <see cref="CSharpDirective.IncludeOrExclude.ItemType"/> determined 218if (!directives.Any(static d => d is CSharpDirective.Project or CSharpDirective.IncludeOrExclude or CSharpDirective.Ref)) 245case CSharpDirective.IncludeOrExclude includeOrExcludeDirective: 271return CSharpDirective.IncludeOrExclude.ParseMapping( 272await project.GetPropertyValueAsync(CSharpDirective.IncludeOrExclude.MappingPropertyName).ConfigureAwait(false), 602var includeOrExcludeDirectives = directives.OfType<CSharpDirective.IncludeOrExclude>().ToArray(); 640<FileBasedProgramsItemMapping>{CSharpDirective.IncludeOrExclude.DefaultMappingString}</FileBasedProgramsItemMapping> 802foreach (var includeOrExclude in includeOrExcludeDirectives)