61 references to ContainingNodes
Microsoft.CodeAnalysis.Workspaces (61)
FindSymbols\SyntaxTree\SyntaxTreeIndex.ContextInfo.cs (61)
17private readonly ContainingNodes _containingNodes; 63private ContextInfo(int predefinedTypes, int predefinedOperators, ContainingNodes containingNodes) 70private static ContainingNodes ConvertToContainingNodeFlag( 90var containingNodes = ContainingNodes.None; 92containingNodes |= containsForEachStatement ? ContainingNodes.ContainsForEachStatement : 0; 93containingNodes |= containsLockStatement ? ContainingNodes.ContainsLockStatement : 0; 94containingNodes |= containsUsingStatement ? ContainingNodes.ContainsUsingStatement : 0; 95containingNodes |= containsQueryExpression ? ContainingNodes.ContainsQueryExpression : 0; 96containingNodes |= containsThisConstructorInitializer ? ContainingNodes.ContainsThisConstructorInitializer : 0; 97containingNodes |= containsBaseConstructorInitializer ? ContainingNodes.ContainsBaseConstructorInitializer : 0; 98containingNodes |= containsExplicitOrImplicitElementAccessExpression ? ContainingNodes.ContainsExplicitOrImplicitElementAccessExpression : 0; 99containingNodes |= containsIndexerMemberCref ? ContainingNodes.ContainsIndexerMemberCref : 0; 100containingNodes |= containsDeconstruction ? ContainingNodes.ContainsDeconstruction : 0; 101containingNodes |= containsAwait ? ContainingNodes.ContainsAwait : 0; 102containingNodes |= containsTupleExpressionOrTupleType ? ContainingNodes.ContainsTupleExpressionOrTupleType : 0; 103containingNodes |= containsImplicitObjectCreation ? ContainingNodes.ContainsImplicitObjectCreation : 0; 104containingNodes |= containsGlobalSuppressMessageAttribute ? ContainingNodes.ContainsGlobalSuppressMessageAttribute : 0; 105containingNodes |= containsConversion ? ContainingNodes.ContainsConversion : 0; 106containingNodes |= containsGlobalKeyword ? ContainingNodes.ContainsGlobalKeyword : 0; 107containingNodes |= containsCollectionInitializer ? ContainingNodes.ContainsCollectionInitializer : 0; 108containingNodes |= containsAttribute ? ContainingNodes.ContainsAttribute : 0; 109containingNodes |= containsDirective ? ContainingNodes.ContainsDirective : 0; 121=> (_containingNodes & ContainingNodes.ContainsForEachStatement) == ContainingNodes.ContainsForEachStatement; 124=> (_containingNodes & ContainingNodes.ContainsDeconstruction) == ContainingNodes.ContainsDeconstruction; 127=> (_containingNodes & ContainingNodes.ContainsAwait) == ContainingNodes.ContainsAwait; 130=> (_containingNodes & ContainingNodes.ContainsImplicitObjectCreation) == ContainingNodes.ContainsImplicitObjectCreation; 133=> (_containingNodes & ContainingNodes.ContainsLockStatement) == ContainingNodes.ContainsLockStatement; 136=> (_containingNodes & ContainingNodes.ContainsUsingStatement) == ContainingNodes.ContainsUsingStatement; 139=> (_containingNodes & ContainingNodes.ContainsQueryExpression) == ContainingNodes.ContainsQueryExpression; 142=> (_containingNodes & ContainingNodes.ContainsThisConstructorInitializer) == ContainingNodes.ContainsThisConstructorInitializer; 145=> (_containingNodes & ContainingNodes.ContainsBaseConstructorInitializer) == ContainingNodes.ContainsBaseConstructorInitializer; 148=> (_containingNodes & ContainingNodes.ContainsExplicitOrImplicitElementAccessExpression) == ContainingNodes.ContainsExplicitOrImplicitElementAccessExpression; 151=> (_containingNodes & ContainingNodes.ContainsIndexerMemberCref) == ContainingNodes.ContainsIndexerMemberCref; 154=> (_containingNodes & ContainingNodes.ContainsTupleExpressionOrTupleType) == ContainingNodes.ContainsTupleExpressionOrTupleType; 157=> (_containingNodes & ContainingNodes.ContainsGlobalKeyword) == ContainingNodes.ContainsGlobalKeyword; 160=> (_containingNodes & ContainingNodes.ContainsGlobalSuppressMessageAttribute) == ContainingNodes.ContainsGlobalSuppressMessageAttribute; 163=> (_containingNodes & ContainingNodes.ContainsConversion) == ContainingNodes.ContainsConversion; 166=> (_containingNodes & ContainingNodes.ContainsCollectionInitializer) == ContainingNodes.ContainsCollectionInitializer; 169=> (_containingNodes & ContainingNodes.ContainsAttribute) == ContainingNodes.ContainsAttribute; 172=> (_containingNodes & ContainingNodes.ContainsDirective) == ContainingNodes.ContainsDirective; 187var containingNodes = (ContainingNodes)reader.ReadInt32();