16 references to HasAncestor
Microsoft.CodeAnalysis.CSharp.Features (15)
Completion\KeywordRecommenders\BoolKeywordRecommender.cs (1)
25
(context.IsGenericTypeArgumentContext && !context.TargetToken.GetRequiredParent().
HasAncestor
<XmlCrefAttributeSyntax>()) ||
Completion\KeywordRecommenders\ByteKeywordRecommender.cs (1)
25
(context.IsGenericTypeArgumentContext && !context.TargetToken.GetRequiredParent().
HasAncestor
<XmlCrefAttributeSyntax>()) ||
Completion\KeywordRecommenders\CharKeywordRecommender.cs (1)
25
(context.IsGenericTypeArgumentContext && !context.TargetToken.GetRequiredParent().
HasAncestor
<XmlCrefAttributeSyntax>()) ||
Completion\KeywordRecommenders\DecimalKeywordRecommender.cs (1)
25
(context.IsGenericTypeArgumentContext && !context.TargetToken.GetRequiredParent().
HasAncestor
<XmlCrefAttributeSyntax>()) ||
Completion\KeywordRecommenders\DoubleKeywordRecommender.cs (1)
25
(context.IsGenericTypeArgumentContext && !context.TargetToken.GetRequiredParent().
HasAncestor
<XmlCrefAttributeSyntax>()) ||
Completion\KeywordRecommenders\FloatKeywordRecommender.cs (1)
25
(context.IsGenericTypeArgumentContext && !context.TargetToken.GetRequiredParent().
HasAncestor
<XmlCrefAttributeSyntax>()) ||
Completion\KeywordRecommenders\IntKeywordRecommender.cs (1)
25
(context.IsGenericTypeArgumentContext && !context.TargetToken.GetRequiredParent().
HasAncestor
<XmlCrefAttributeSyntax>()) ||
Completion\KeywordRecommenders\LongKeywordRecommender.cs (1)
25
(context.IsGenericTypeArgumentContext && !context.TargetToken.GetRequiredParent().
HasAncestor
<XmlCrefAttributeSyntax>()) ||
Completion\KeywordRecommenders\ObjectKeywordRecommender.cs (1)
25
(context.IsGenericTypeArgumentContext && !context.TargetToken.GetRequiredParent().
HasAncestor
<XmlCrefAttributeSyntax>()) ||
Completion\KeywordRecommenders\SByteKeywordRecommender.cs (1)
25
(context.IsGenericTypeArgumentContext && !context.TargetToken.GetRequiredParent().
HasAncestor
<XmlCrefAttributeSyntax>()) ||
Completion\KeywordRecommenders\ShortKeywordRecommender.cs (1)
25
(context.IsGenericTypeArgumentContext && !context.TargetToken.GetRequiredParent().
HasAncestor
<XmlCrefAttributeSyntax>()) ||
Completion\KeywordRecommenders\StringKeywordRecommender.cs (1)
27
(context.IsGenericTypeArgumentContext && !context.TargetToken.GetRequiredParent().
HasAncestor
<XmlCrefAttributeSyntax>()) ||
Completion\KeywordRecommenders\UIntKeywordRecommender.cs (1)
25
(context.IsGenericTypeArgumentContext && !context.TargetToken.GetRequiredParent().
HasAncestor
<XmlCrefAttributeSyntax>()) ||
Completion\KeywordRecommenders\ULongKeywordRecommender.cs (1)
25
(context.IsGenericTypeArgumentContext && !context.TargetToken.GetRequiredParent().
HasAncestor
<XmlCrefAttributeSyntax>()) ||
Completion\KeywordRecommenders\UShortKeywordRecommender.cs (1)
32
(context.IsGenericTypeArgumentContext && !context.TargetToken.GetRequiredParent().
HasAncestor
<XmlCrefAttributeSyntax>()) ||
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Editing\CSharpImportAdder.cs (1)
249
isConflicting = node.
HasAncestor
<AnonymousFunctionExpressionSyntax>();