40 references to IsEmpty
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (4)
CodeGen\CodeGenDeconstructTests.cs (3)
6977Assert.True(model.GetSymbolInfo(discard1).IsEmpty); 6986Assert.True(model.GetSymbolInfo(discard2).IsEmpty); 7004Assert.True(model.GetSymbolInfo(discard4).IsEmpty);
CodeGen\CodeGenTupleTest.cs (1)
27606Assert.True(model.GetSymbolInfo(literal).IsEmpty);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\ImplicitObjectCreationTests.cs (1)
4164Assert.True(symbolInfo.IsEmpty);
Semantics\OperatorTests.cs (2)
53Assert.False(insideEnumDefinition.IsEmpty); 54Assert.False(insideMethodBody.IsEmpty);
Semantics\OutVarTests.cs (1)
36265Assert.True(model.GetSymbolInfo(node).IsEmpty);
Semantics\TargetTypedDefaultTests.cs (1)
2488Assert.True(symbol.IsEmpty);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Compilation\SemanticModelAPITests.cs (2)
4510Assert.False(symbolInfo.IsEmpty); 4588Assert.False(symbolInfo.IsEmpty);
Microsoft.CodeAnalysis.VisualBasic (5)
Compilation\SyntaxTreeSemanticModel.vb (5)
217If result.IsEmpty AndAlso SyntaxFacts.IsInNamespaceOrTypeContext(node) Then 219If Not tryAsExpression.IsEmpty Then 655If Not parentInfo.IsEmpty Then 683If result.IsEmpty Then 685If Not tryAsExpression.IsEmpty Then
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (10)
Semantics\InterpolatedStringTests.vb (8)
380Assert.True(sm.GetSymbolInfo(e).IsEmpty, "Interpolated String expressions shouldn't bind to symbols.") 431Assert.True(sm.GetSymbolInfo(e).IsEmpty, "Interpolated String expressions shouldn't bind to symbols.") 772Assert.True(sm.GetSymbolInfo(e).IsEmpty, "Interpolated String expressions shouldn't bind to symbols.") 823Assert.True(sm.GetSymbolInfo(e).IsEmpty, "Interpolated String expressions shouldn't bind to symbols.") 880Assert.True(sm.GetSymbolInfo(e).IsEmpty, "Interpolated String expressions shouldn't bind to symbols.") 937Assert.True(sm.GetSymbolInfo(e).IsEmpty, "Interpolated String expressions shouldn't bind to symbols.") 997Assert.True(sm.GetSymbolInfo(interpolatedStrings(0)).IsEmpty, "Interpolated String expressions shouldn't bind to symbols.") 1004Assert.True(sm.GetSymbolInfo(e).IsEmpty, "Interpolated String expressions shouldn't bind to symbols.")
Semantics\QueryExpressions_SemanticModel.vb (2)
3613Assert.Equal(True, symbolInfo1.IsEmpty) 3619Assert.Equal(True, symbolInfo1.IsEmpty)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (14)
DocumentationComments\DocCommentTests.vb (14)
4739Assert.True(expSymInfo1.IsEmpty) 9635Assert.True(info.IsEmpty) 9823Assert.True(info.IsEmpty) 9914Assert.True(info.IsEmpty) 9984Assert.True(info.IsEmpty) 10087Assert.True(actual.IsEmpty) 10361Assert.True(info.IsEmpty) 10494Assert.True(info.IsEmpty) 10652Assert.True(info.IsEmpty) 11654Assert.True(model.GetSymbolInfo(crefSyntaxes(1)).IsEmpty) 11655Assert.True(model.GetSymbolInfo(crefSyntaxes(2)).IsEmpty) 11958Assert.True(actual.IsEmpty) 12014Assert.True(actual.IsEmpty) 12037Assert.True(actual.IsEmpty)