180 references to Contains
Microsoft.CodeAnalysis (5)
Microsoft.CodeAnalysis.CodeStyle (14)
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
Microsoft.CodeAnalysis.CSharp (15)
Microsoft.CodeAnalysis.CSharp.CodeStyle (9)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.EditorFeatures (3)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (6)
Microsoft.CodeAnalysis.CSharp.Features (14)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Workspaces (13)
Microsoft.CodeAnalysis.Features (11)
Microsoft.CodeAnalysis.UnitTests (17)
Text\TextSpanTest.cs (17)
147Assert.False(span_05_15.Contains(span_00_03));
148Assert.False(span_00_03.Contains(span_05_15));
151Assert.True(span_05_15.Contains(span_10_11));
154Assert.True(span_05_15.Contains(span_05_15));
157Assert.False(span_05_15.Contains(span_03_10));
158Assert.False(span_03_10.Contains(span_05_15));
165Assert.False(new TextSpan(2, 5).Contains(new TextSpan(0, 0)));
166Assert.False(new TextSpan(2, 5).Contains(new TextSpan(10, 0)));
169Assert.True(new TextSpan(2, 5).Contains(new TextSpan(3, 0)));
172Assert.True(new TextSpan(2, 5).Contains(new TextSpan(2, 0)));
175Assert.True(new TextSpan(2, 5).Contains(new TextSpan(7, 0)));
178Assert.True(new TextSpan(2, 0).Contains(new TextSpan(2, 0)));
185Assert.False(new TextSpan(0, 0).Contains(new TextSpan(2, 5)));
186Assert.False(new TextSpan(10, 0).Contains(new TextSpan(2, 5)));
189Assert.False(new TextSpan(3, 0).Contains(new TextSpan(2, 5)));
192Assert.False(new TextSpan(2, 0).Contains(new TextSpan(2, 5)));
195Assert.False(new TextSpan(7, 0).Contains(new TextSpan(2, 5)));
Microsoft.CodeAnalysis.VisualBasic (11)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (5)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.VisualBasic.Features (9)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (10)
Microsoft.CodeAnalysis.Workspaces (19)
Microsoft.Interop.ComInterfaceGenerator (2)
Microsoft.Interop.LibraryImportGenerator (1)
Microsoft.VisualStudio.LanguageServices (4)