3 instantiations of IncludeOrExclude
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
SyncedSource\FileBasedPrograms\FileLevelDirectiveHelpers.cs (3)
1271return new IncludeOrExclude(context.Info) 1305return new IncludeOrExclude(Info) 1321return 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); 1264public static new IncludeOrExclude? Parse(in ParseContext context) 1282public IncludeOrExclude WithDeterminedItemType(ErrorReporter reportError, ImmutableArray<(string Extension, string ItemType)> mapping) 1314public IncludeOrExclude WithName(string name) 1428if (directive is CSharpDirective.Project or CSharpDirective.Ref or CSharpDirective.IncludeOrExclude)
SyncedSource\FileBasedPrograms\VirtualProjectBuilder.cs (8)
217/// <c>#:include</c>/<c>#:exclude</c> have their <see cref="CSharpDirective.IncludeOrExclude.ItemType"/> determined 225if (!directives.Any(static d => d is CSharpDirective.Project or CSharpDirective.IncludeOrExclude or CSharpDirective.Ref)) 252case CSharpDirective.IncludeOrExclude includeOrExcludeDirective: 278return CSharpDirective.IncludeOrExclude.ParseMapping( 279await project.GetPropertyValueAsync(CSharpDirective.IncludeOrExclude.MappingPropertyName).ConfigureAwait(false), 594var includeOrExcludeDirectives = directives.OfType<CSharpDirective.IncludeOrExclude>().ToArray(); 647<FileBasedProgramsItemMapping>{CSharpDirective.IncludeOrExclude.DefaultMappingString}</FileBasedProgramsItemMapping> 809foreach (var includeOrExclude in includeOrExcludeDirectives)