17 references to Intersection
GenerateDocumentationAndConfigFiles (2)
src\roslyn\src\Compilers\Core\Portable\Syntax\SyntaxTreeExtensions.cs (1)
50var textSpanOpt = span.Intersection(fullSpan);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (1)
226spans.Add(span1.Intersection(span2)!.Value);
Microsoft.CodeAnalysis (1)
Syntax\SyntaxTreeExtensions.cs (1)
50var textSpanOpt = span.Intersection(fullSpan);
Microsoft.CodeAnalysis.Analyzers (2)
src\roslyn\src\Compilers\Core\Portable\Syntax\SyntaxTreeExtensions.cs (1)
50var textSpanOpt = span.Intersection(fullSpan);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (1)
226spans.Add(span1.Intersection(span2)!.Value);
Microsoft.CodeAnalysis.AnalyzerUtilities (2)
src\roslyn\src\Compilers\Core\Portable\Syntax\SyntaxTreeExtensions.cs (1)
50var textSpanOpt = span.Intersection(fullSpan);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (1)
226spans.Add(span1.Intersection(span2)!.Value);
Microsoft.CodeAnalysis.CodeStyle (2)
src\roslyn\src\Compilers\Core\Portable\Syntax\SyntaxTreeExtensions.cs (1)
50var textSpanOpt = span.Intersection(fullSpan);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (1)
226spans.Add(span1.Intersection(span2)!.Value);
Microsoft.CodeAnalysis.ResxSourceGenerator (2)
src\roslyn\src\Compilers\Core\Portable\Syntax\SyntaxTreeExtensions.cs (1)
50var textSpanOpt = span.Intersection(fullSpan);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (1)
226spans.Add(span1.Intersection(span2)!.Value);
Microsoft.CodeAnalysis.Workspaces (3)
Classification\ClassifierHelper.cs (1)
167var intersection = span.TextSpan.Intersection(widenedSpan);
src\roslyn\src\Compilers\Core\Portable\Syntax\SyntaxTreeExtensions.cs (1)
50var textSpanOpt = span.Intersection(fullSpan);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (1)
226spans.Add(span1.Intersection(span2)!.Value);
Microsoft.DotNet.ProjectTools (1)
src\sdk\src\Cli\Microsoft.DotNet.FileBasedPrograms\FileLevelDirectiveHelpers.cs (1)
200var length = trivia.FullSpan.Length - (trivia.FullSpan.Intersection(excludeSpan)?.Length ?? 0);
Roslyn.Diagnostics.Analyzers (2)
src\roslyn\src\Compilers\Core\Portable\Syntax\SyntaxTreeExtensions.cs (1)
50var textSpanOpt = span.Intersection(fullSpan);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (1)
226spans.Add(span1.Intersection(span2)!.Value);