58 references to ContainingNodes
Microsoft.CodeAnalysis.Workspaces (58)
FindSymbols\SyntaxTree\SyntaxTreeIndex.ContextInfo.cs (58)
17private readonly ContainingNodes _containingNodes; 61private ContextInfo(int predefinedTypes, int predefinedOperators, ContainingNodes containingNodes) 68private static ContainingNodes ConvertToContainingNodeFlag( 87var containingNodes = ContainingNodes.None; 89containingNodes |= containsForEachStatement ? ContainingNodes.ContainsForEachStatement : 0; 90containingNodes |= containsLockStatement ? ContainingNodes.ContainsLockStatement : 0; 91containingNodes |= containsUsingStatement ? ContainingNodes.ContainsUsingStatement : 0; 92containingNodes |= containsQueryExpression ? ContainingNodes.ContainsQueryExpression : 0; 93containingNodes |= containsThisConstructorInitializer ? ContainingNodes.ContainsThisConstructorInitializer : 0; 94containingNodes |= containsBaseConstructorInitializer ? ContainingNodes.ContainsBaseConstructorInitializer : 0; 95containingNodes |= containsExplicitOrImplicitElementAccessExpression ? ContainingNodes.ContainsExplicitOrImplicitElementAccessExpression : 0; 96containingNodes |= containsIndexerMemberCref ? ContainingNodes.ContainsIndexerMemberCref : 0; 97containingNodes |= containsDeconstruction ? ContainingNodes.ContainsDeconstruction : 0; 98containingNodes |= containsAwait ? ContainingNodes.ContainsAwait : 0; 99containingNodes |= containsTupleExpressionOrTupleType ? ContainingNodes.ContainsTupleExpressionOrTupleType : 0; 100containingNodes |= containsImplicitObjectCreation ? ContainingNodes.ContainsImplicitObjectCreation : 0; 101containingNodes |= containsGlobalSuppressMessageAttribute ? ContainingNodes.ContainsGlobalSuppressMessageAttribute : 0; 102containingNodes |= containsConversion ? ContainingNodes.ContainsConversion : 0; 103containingNodes |= containsGlobalKeyword ? ContainingNodes.ContainsGlobalKeyword : 0; 104containingNodes |= containsCollectionInitializer ? ContainingNodes.ContainsCollectionInitializer : 0; 105containingNodes |= containsAttribute ? ContainingNodes.ContainsAttribute : 0; 117=> (_containingNodes & ContainingNodes.ContainsForEachStatement) == ContainingNodes.ContainsForEachStatement; 120=> (_containingNodes & ContainingNodes.ContainsDeconstruction) == ContainingNodes.ContainsDeconstruction; 123=> (_containingNodes & ContainingNodes.ContainsAwait) == ContainingNodes.ContainsAwait; 126=> (_containingNodes & ContainingNodes.ContainsImplicitObjectCreation) == ContainingNodes.ContainsImplicitObjectCreation; 129=> (_containingNodes & ContainingNodes.ContainsLockStatement) == ContainingNodes.ContainsLockStatement; 132=> (_containingNodes & ContainingNodes.ContainsUsingStatement) == ContainingNodes.ContainsUsingStatement; 135=> (_containingNodes & ContainingNodes.ContainsQueryExpression) == ContainingNodes.ContainsQueryExpression; 138=> (_containingNodes & ContainingNodes.ContainsThisConstructorInitializer) == ContainingNodes.ContainsThisConstructorInitializer; 141=> (_containingNodes & ContainingNodes.ContainsBaseConstructorInitializer) == ContainingNodes.ContainsBaseConstructorInitializer; 144=> (_containingNodes & ContainingNodes.ContainsExplicitOrImplicitElementAccessExpression) == ContainingNodes.ContainsExplicitOrImplicitElementAccessExpression; 147=> (_containingNodes & ContainingNodes.ContainsIndexerMemberCref) == ContainingNodes.ContainsIndexerMemberCref; 150=> (_containingNodes & ContainingNodes.ContainsTupleExpressionOrTupleType) == ContainingNodes.ContainsTupleExpressionOrTupleType; 153=> (_containingNodes & ContainingNodes.ContainsGlobalKeyword) == ContainingNodes.ContainsGlobalKeyword; 156=> (_containingNodes & ContainingNodes.ContainsGlobalSuppressMessageAttribute) == ContainingNodes.ContainsGlobalSuppressMessageAttribute; 159=> (_containingNodes & ContainingNodes.ContainsConversion) == ContainingNodes.ContainsConversion; 162=> (_containingNodes & ContainingNodes.ContainsCollectionInitializer) == ContainingNodes.ContainsCollectionInitializer; 165=> (_containingNodes & ContainingNodes.ContainsAttribute) == ContainingNodes.ContainsAttribute; 180var containingNodes = (ContainingNodes)reader.ReadInt32();