3 instantiations of IncludeOrExclude
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
SyncedSource\FileBasedPrograms\FileLevelDirectiveHelpers.cs (3)
1293return new IncludeOrExclude(context.Info) 1328return new IncludeOrExclude(Info) 1345return new IncludeOrExclude(Info)
13 references to IncludeOrExclude
Microsoft.CodeAnalysis.CSharp.Workspaces (13)
SyncedSource\FileBasedPrograms\FileLevelDirectiveHelpers.cs (5)
383case "include" or "exclude": return IncludeOrExclude.Parse(context); 1275public static new IncludeOrExclude? Parse(in ParseContext context) 1305public IncludeOrExclude WithDeterminedItemType(ErrorReporter reportError, ImmutableArray<(string Extension, string ItemType)> mapping) 1338public IncludeOrExclude WithName(string name) 1466if (directive is CSharpDirective.Project or CSharpDirective.Ref or CSharpDirective.IncludeOrExclude)
SyncedSource\FileBasedPrograms\VirtualProjectBuilder.cs (8)
223/// <c>#:include</c>/<c>#:exclude</c> have their <see cref="CSharpDirective.IncludeOrExclude.ItemType"/> determined 231if (!directives.Any(static d => d is CSharpDirective.Project or CSharpDirective.IncludeOrExclude or CSharpDirective.Ref)) 258case CSharpDirective.IncludeOrExclude includeOrExcludeDirective: 284return CSharpDirective.IncludeOrExclude.ParseMapping( 285await project.GetPropertyValueAsync(CSharpDirective.IncludeOrExclude.MappingPropertyName).ConfigureAwait(false), 600var includeOrExcludeDirectives = directives.OfType<CSharpDirective.IncludeOrExclude>().ToArray(); 653<FileBasedProgramsItemMapping>{CSharpDirective.IncludeOrExclude.DefaultMappingString}</FileBasedProgramsItemMapping> 815foreach (var includeOrExclude in includeOrExcludeDirectives)