18 references to IsAccessible
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (12)
Compilation\SemanticModelAPITests.cs (12)
4382Assert.True(semanticModel.IsAccessible(positionInN, fieldX));
4383Assert.False(semanticModel.IsAccessible(positionInN, fieldY));
4384Assert.False(semanticModel.IsAccessible(positionInN, fieldZ));
4385Assert.True(semanticModel.IsAccessible(positionInB, fieldX));
4386Assert.True(semanticModel.IsAccessible(positionInB, fieldY));
4387Assert.True(semanticModel.IsAccessible(positionInB, fieldZ));
4388Assert.True(semanticModel.IsAccessible(positionInBGoo, fieldX));
4389Assert.True(semanticModel.IsAccessible(positionInBGoo, fieldY));
4390Assert.True(semanticModel.IsAccessible(positionInBGoo, fieldZ));
4391Assert.True(semanticModel.IsAccessible(positionInCGoo, fieldX));
4392Assert.False(semanticModel.IsAccessible(positionInCGoo, fieldY));
4393Assert.False(semanticModel.IsAccessible(positionInCGoo, fieldZ));