1 interface inheriting from ISyntaxFacts
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SyntaxFactsService\ISyntaxFactsService.cs (1)
15
internal interface ISyntaxFactsService :
ISyntaxFacts
, ILanguageService
202 references to ISyntaxFacts
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
249
/// <inheritdoc cref="
ISyntaxFacts
.GetRootConditionalAccessExpression(SyntaxNode)"/>
Microsoft.CodeAnalysis.Features (3)
ConvertTupleToStruct\AbstractConvertTupleToStructCodeRefactoringProvider.cs (1)
707
var
syntaxFacts = g.SyntaxFacts;
ReplaceConditionalWithStatements\AbstractReplaceConditionalWithStatementsCodeRefactoringProvider.cs (2)
287
var
syntaxFacts = generator.SyntaxFacts;
307
var
syntaxFacts = generator.SyntaxFacts;
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (1)
1043
''' <see cref="
ISyntaxFacts
.GetRootConditionalAccessExpression"/>
Microsoft.CodeAnalysis.Workspaces (197)
Editing\SyntaxGenerator.cs (1)
45
internal
ISyntaxFacts
SyntaxFacts
FindSymbols\FindReferences\Finders\AbstractReferenceFinder_GlobalSuppressions.cs (2)
156
ISyntaxFacts
syntaxFacts,
206
ISyntaxFacts
syntaxFacts)
SemanticModelReuse\AbstractSemanticModelReuseLanguageService.cs (1)
25
protected abstract
ISyntaxFacts
SyntaxFacts { get; }
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\AbstractVirtualCharService.cs (1)
19
protected abstract
ISyntaxFacts
SyntaxFacts { get; }
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SemanticModelExtensions.cs (2)
150
public static string GenerateNameFromType(this SemanticModel semanticModel, ITypeSymbol type,
ISyntaxFacts
syntaxFacts, bool capitalize)
195
ISyntaxFacts
syntaxFacts,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxTreeExtensions.cs (2)
46
ISyntaxFacts
syntaxFacts,
227
public static bool IsGeneratedCode(this SyntaxTree syntaxTree, AnalyzerOptions? analyzerOptions,
ISyntaxFacts
syntaxFacts, CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Helpers\RemoveUnnecessaryImports\RemoveUnnecessaryImportsHelpers.cs (1)
15
public static SyntaxToken StripNewLines(
ISyntaxFacts
syntaxFacts, SyntaxToken token)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\AbstractIndentation.cs (1)
15
protected abstract
ISyntaxFacts
SyntaxFacts { get; }
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\AbstractIndentation.Indenter.cs (1)
32
private readonly
ISyntaxFacts
_syntaxFacts;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\FileBannerFacts\AbstractFileBannerFacts.cs (1)
58
protected abstract
ISyntaxFacts
SyntaxFacts { get; }
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\HeaderFacts\AbstractHeaderFacts.cs (1)
21
protected abstract
ISyntaxFacts
SyntaxFacts { get; }
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SemanticFacts\ISemanticFacts.cs (1)
17
ISyntaxFacts
SyntaxFacts { get; }
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\AbstractDocumentationCommentService.cs (2)
39
private readonly
ISyntaxFacts
_syntaxFacts;
41
protected AbstractDocumentationCommentService(
ISyntaxFacts
syntaxFacts)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (157)
23
public static bool IsMemberInitializerNamedAssignmentIdentifier(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
26
public static bool IsOnSingleLine(this
ISyntaxFacts
syntaxFacts, SyntaxNode node, bool fullSpan)
48
ISyntaxFacts
syntaxFacts, Stack<(SyntaxNodeOrToken nodeOrToken, bool leading, bool trailing)> stack)
94
private static bool IsOnSingleLine(
ISyntaxFacts
syntaxFacts, SyntaxToken token, bool leading, bool trailing)
119
private static bool IsOnSingleLine(
ISyntaxFacts
syntaxFacts, SyntaxTriviaList triviaList, bool checkTrivia)
160
this
ISyntaxFacts
syntaxFacts, ImmutableArray<SyntaxNode> nodes, CancellationToken cancellationToken)
178
public static bool ContainsInterleavedDirective(this
ISyntaxFacts
syntaxFacts, SyntaxNode node, CancellationToken cancellationToken)
182
this
ISyntaxFacts
syntaxFacts, TextSpan span, SyntaxNode node, CancellationToken cancellationToken)
193
public static bool SpansPreprocessorDirective(this
ISyntaxFacts
syntaxFacts, IEnumerable<SyntaxNode> nodes)
210
public static bool SpansPreprocessorDirective(this
ISyntaxFacts
syntaxFacts, IEnumerable<SyntaxToken> tokens)
246
private static bool SpansPreprocessorDirective(this
ISyntaxFacts
syntaxFacts, SyntaxTriviaList list)
249
public static bool IsLegalIdentifier(this
ISyntaxFacts
syntaxFacts, string name)
272
public static bool IsReservedOrContextualKeyword(this
ISyntaxFacts
syntaxFacts, SyntaxToken token)
275
public static bool IsWord(this
ISyntaxFacts
syntaxFacts, SyntaxToken token)
282
public static bool IsRegularOrDocumentationComment(this
ISyntaxFacts
syntaxFacts, SyntaxTrivia trivia)
286
public static SyntaxNode? WalkDownParentheses(this
ISyntaxFacts
syntaxFacts, SyntaxNode? node)
298
public static SyntaxNode? WalkUpParentheses(this
ISyntaxFacts
syntaxFacts, SyntaxNode? node)
307
this
ISyntaxFacts
syntaxFacts, SyntaxNode statement,
314
this
ISyntaxFacts
syntaxFacts, SyntaxNode node)
321
this
ISyntaxFacts
syntaxFacts, SyntaxNode node)
380
private static bool IsWordOrNumber(this
ISyntaxFacts
syntaxFacts, SyntaxToken token)
383
public static bool SpansPreprocessorDirective(this
ISyntaxFacts
service, SyntaxNode node)
386
public static bool SpansPreprocessorDirective(this
ISyntaxFacts
service, params SyntaxNode[] nodes)
389
public static bool IsWhitespaceOrEndOfLineTrivia(this
ISyntaxFacts
syntaxFacts, SyntaxTrivia trivia)
392
public static void GetPartsOfBinaryExpression(this
ISyntaxFacts
syntaxFacts, SyntaxNode node, out SyntaxNode left, out SyntaxNode right)
395
public static SyntaxNode GetPatternOfParenthesizedPattern(this
ISyntaxFacts
syntaxFacts, SyntaxNode node)
401
public static SyntaxToken GetOperatorTokenOfBinaryExpression(this
ISyntaxFacts
syntaxFacts, SyntaxNode node)
407
public static bool IsAnonymousOrLocalFunction(this
ISyntaxFacts
syntaxFacts, SyntaxNode node)
411
public static SyntaxNode? GetExpressionOfElementAccessExpression(this
ISyntaxFacts
syntaxFacts, SyntaxNode node)
417
public static SyntaxNode? GetArgumentListOfElementAccessExpression(this
ISyntaxFacts
syntaxFacts, SyntaxNode node)
423
public static SyntaxNode GetExpressionOfConditionalAccessExpression(this
ISyntaxFacts
syntaxFacts, SyntaxNode node)
429
public static SyntaxToken GetOperatorTokenOfMemberAccessExpression(this
ISyntaxFacts
syntaxFacts, SyntaxNode node)
435
public static void GetPartsOfMemberAccessExpression(this
ISyntaxFacts
syntaxFacts, SyntaxNode node, out SyntaxNode expression, out SyntaxNode name)
438
public static void GetPartsOfConditionalAccessExpression(this
ISyntaxFacts
syntaxFacts, SyntaxNode node, out SyntaxNode expression, out SyntaxNode whenNotNull)
441
public static TextSpan GetSpanWithoutAttributes(this
ISyntaxFacts
syntaxFacts, SyntaxNode root, SyntaxNode node)
468
/// Similar to <see cref="
ISyntaxFacts
.GetStandaloneExpression(SyntaxNode)"/>, this gets the containing
478
public static SyntaxNode GetRootStandaloneExpression(this
ISyntaxFacts
syntaxFacts, SyntaxNode node)
489
public static SyntaxNode? GetArgumentListOfInvocationExpression(this
ISyntaxFacts
syntaxFacts, SyntaxNode node)
495
public static SeparatedSyntaxList<SyntaxNode> GetArgumentsOfInvocationExpression(this
ISyntaxFacts
syntaxFacts, SyntaxNode node)
501
public static SyntaxNode? GetArgumentListOfBaseObjectCreationExpression(this
ISyntaxFacts
syntaxFacts, SyntaxNode node)
507
public static SyntaxNode? GetDefaultOfParameter(this
ISyntaxFacts
syntaxFacts, SyntaxNode node)
513
public static SyntaxNode GetExpressionOfParenthesizedExpression(this
ISyntaxFacts
syntaxFacts, SyntaxNode node)
519
public static SyntaxToken GetIdentifierOfGenericName(this
ISyntaxFacts
syntaxFacts, SyntaxNode node)
525
public static SyntaxToken GetIdentifierOfIdentifierName(this
ISyntaxFacts
syntaxFacts, SyntaxNode node)
528
public static SyntaxToken GetIdentifierOfParameter(this
ISyntaxFacts
syntaxFacts, SyntaxNode node)
534
public static SyntaxList<SyntaxNode> GetImportsOfBaseNamespaceDeclaration(this
ISyntaxFacts
syntaxFacts, SyntaxNode node)
540
public static SyntaxList<SyntaxNode> GetImportsOfCompilationUnit(this
ISyntaxFacts
syntaxFacts, SyntaxNode node)
546
public static SyntaxNode? GetInitializerOfBaseObjectCreationExpression(this
ISyntaxFacts
syntaxFacts, SyntaxNode node)
552
public static SyntaxList<SyntaxNode> GetMembersOfBaseNamespaceDeclaration(this
ISyntaxFacts
syntaxFacts, SyntaxNode node)
558
public static SyntaxList<SyntaxNode> GetMembersOfCompilationUnit(this
ISyntaxFacts
syntaxFacts, SyntaxNode node)
564
public static SyntaxNode GetNameOfAttribute(this
ISyntaxFacts
syntaxFacts, SyntaxNode node)
570
public static SyntaxNode GetNameOfBaseNamespaceDeclaration(this
ISyntaxFacts
syntaxFacts, SyntaxNode node)
576
public static SyntaxNode GetNameOfMemberAccessExpression(this
ISyntaxFacts
syntaxFacts, SyntaxNode node)
582
public static SyntaxNode GetOperandOfPrefixUnaryExpression(this
ISyntaxFacts
syntaxFacts, SyntaxNode node)
588
public static SyntaxToken GetOperatorTokenOfPrefixUnaryExpression(this
ISyntaxFacts
syntaxFacts, SyntaxNode node)
594
public static SeparatedSyntaxList<SyntaxNode> GetTypeArgumentsOfGenericName(this
ISyntaxFacts
syntaxFacts, SyntaxNode node)
600
public static SyntaxNode GetTypeOfObjectCreationExpression(this
ISyntaxFacts
syntaxFacts, SyntaxNode node)
610
public static bool IsExpressionOfAwaitExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
619
public static bool IsExpressionOfInvocationExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
629
public static bool IsExpressionOfMemberAccessExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
639
public static bool IsNameOfAttribute(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
648
public static bool IsRightOfQualifiedName(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
658
public static bool IsTypeOfObjectCreationExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
674
public static bool IsEndOfLineTrivia(this
ISyntaxFacts
syntaxFacts, SyntaxTrivia trivia)
677
public static bool IsMultiLineCommentTrivia(this
ISyntaxFacts
syntaxFacts, SyntaxTrivia trivia)
680
public static bool IsMultiLineDocCommentTrivia(this
ISyntaxFacts
syntaxFacts, SyntaxTrivia trivia)
683
public static bool IsShebangDirectiveTrivia(this
ISyntaxFacts
syntaxFacts, SyntaxTrivia trivia)
686
public static bool IsSingleLineCommentTrivia(this
ISyntaxFacts
syntaxFacts, SyntaxTrivia trivia)
689
public static bool IsSingleLineDocCommentTrivia(this
ISyntaxFacts
syntaxFacts, SyntaxTrivia trivia)
692
public static bool IsWhitespaceTrivia(this
ISyntaxFacts
syntaxFacts, SyntaxTrivia trivia)
695
public static bool IsSkippedTokensTrivia(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
702
public static bool IsAwaitKeyword(this
ISyntaxFacts
syntaxFacts, SyntaxToken token)
705
public static bool IsGlobalNamespaceKeyword(this
ISyntaxFacts
syntaxFacts, SyntaxToken token)
712
public static bool IsCharacterLiteral(this
ISyntaxFacts
syntaxFacts, SyntaxToken token)
715
public static bool IsStringLiteral(this
ISyntaxFacts
syntaxFacts, SyntaxToken token)
722
public static bool IsIdentifier(this
ISyntaxFacts
syntaxFacts, SyntaxToken token)
725
public static bool IsHashToken(this
ISyntaxFacts
syntaxFacts, SyntaxToken token)
728
public static bool IsInterpolatedStringTextToken(this
ISyntaxFacts
syntaxFacts, SyntaxToken token)
735
public static bool IsGenericName(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
738
public static bool IsIdentifierName(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
741
public static bool IsQualifiedName(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
748
public static bool IsTupleType(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
755
public static bool IsCharacterLiteralExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
758
public static bool IsDefaultLiteralExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
761
public static bool IsFalseLiteralExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
764
public static bool IsNumericLiteralExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
767
public static bool IsNullLiteralExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
770
public static bool IsStringLiteralExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
773
public static bool IsTrueLiteralExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
780
public static bool IsArrayCreationExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
783
public static bool IsAwaitExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
786
public static bool IsBaseExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
789
public static bool IsConditionalExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
792
public static bool IsConditionalAccessExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
795
public static bool IsImplicitArrayCreationExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
798
public static bool IsImplicitObjectCreationExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
801
public static bool IsIndexExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
804
public static bool IsInterpolatedStringExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
807
public static bool IsInterpolation(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
810
public static bool IsInterpolatedStringText(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
813
public static bool IsInvocationExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
816
public static bool IsIsTypeExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
819
public static bool IsIsNotTypeExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
822
public static bool IsIsPatternExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
825
public static bool IsLogicalAndExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
828
public static bool IsLogicalOrExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
831
public static bool IsLogicalNotExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
834
public static bool IsObjectCreationExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
837
public static bool IsParenthesizedExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
840
public static bool IsQueryExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
843
public static bool IsRangeExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
846
public static bool IsRefExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
849
public static bool IsSimpleMemberAccessExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
852
public static bool IsThisExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
855
public static bool IsThrowExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
858
public static bool IsTupleExpression(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
861
public static bool ContainsGlobalStatement(this
ISyntaxFacts
syntaxFacts, SyntaxNode node)
868
public static bool IsAndPattern(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
871
public static bool IsConstantPattern(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
874
public static bool IsDeclarationPattern(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
877
public static bool IsListPattern(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
880
public static bool IsNotPattern(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
883
public static bool IsOrPattern(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
886
public static bool IsParenthesizedPattern(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
889
public static bool IsRecursivePattern(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
892
public static bool IsRelationalPattern(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
895
public static bool IsTypePattern(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
898
public static bool IsVarPattern(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
905
public static bool IsExpressionStatement(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
908
public static bool IsForEachStatement(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
911
public static bool IsForStatement(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
914
public static bool IsIfStatement(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
917
public static bool IsLocalDeclarationStatement(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
920
public static bool IsLocalFunctionStatement(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
923
public static bool IsLockStatement(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
926
public static bool IsReturnStatement(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
929
public static bool IsThrowStatement(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
932
public static bool IsUsingStatement(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
935
public static bool IsWhileStatement(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
938
public static bool IsYieldReturnStatement(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
945
public static bool IsAttribute(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
948
public static bool IsClassDeclaration(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
951
public static bool IsConstructorDeclaration(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
954
public static bool IsEnumDeclaration(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
957
public static bool IsGlobalAttribute(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
960
public static bool IsInterfaceDeclaration(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
963
public static bool IsParameter(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
966
public static bool IsTypeConstraint(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
969
public static bool IsVariableDeclarator(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
972
public static bool IsFieldDeclaration(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
975
public static bool IsPropertyDeclaration(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
978
public static bool IsStructDeclaration(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
981
public static bool IsTypeArgumentList(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
988
public static bool IsElseClause(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
990
public static bool IsEqualsValueClause(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
997
public static bool IsImplicitElementAccess(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
1000
public static bool IsIndexerMemberCref(this
ISyntaxFacts
syntaxFacts, [NotNullWhen(true)] SyntaxNode? node)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (3)
95
protected abstract
ISyntaxFacts
SyntaxFactsService { get; }
652
var
syntaxFacts = this.SyntaxFactsService;
712
var
syntaxFacts = this.SyntaxFactsService;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\PathMetadataUtilities.cs (1)
26
public static string? TryBuildNamespaceFromFolders(IEnumerable<string> folders,
ISyntaxFacts
syntaxFacts, string? rootNamespace = null)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\AddParameterEditor.cs (2)
18
ISyntaxFacts
syntaxFacts,
122
ISyntaxFacts
syntaxFacts, SyntaxNode node, bool includeLeadingNewLine)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_Negate.cs (10)
66
var
syntaxFacts = generatorInternal.SyntaxFacts;
147
var
syntaxFacts = generatorInternal.SyntaxFacts;
244
var
syntaxFacts = generatorInternal.SyntaxFacts;
266
var
syntaxFacts = generatorInternal.SyntaxFacts;
315
var
syntaxFacts = generatorInternal.SyntaxFacts;
331
private static bool IsLegalPattern(
ISyntaxFacts
syntaxFacts, SyntaxNode pattern, bool designatorsLegal)
501
var
syntaxFacts = generatorInternal.SyntaxFacts;
522
ISyntaxFacts
syntaxFacts)
535
ISyntaxFacts
syntaxFacts)
552
ISyntaxFacts
syntaxFacts)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\AddImports\AddImportHelpers.cs (2)
16
ISyntaxFacts
syntaxFacts,
99
private static bool IsDocCommentOrElastic(
ISyntaxFacts
syntaxFacts, SyntaxTrivia t)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SemanticsFactsService\AbstractSemanticFactsService.cs (1)
20
public abstract
ISyntaxFacts
SyntaxFacts { get; }
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SyntaxGeneratorInternalExtensions\SyntaxGeneratorInternal.cs (1)
21
public abstract
ISyntaxFacts
SyntaxFacts { get; }
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\Simplifiers\AbstractMemberAccessExpressionSimplifier.cs (2)
22
protected abstract
ISyntaxFacts
SyntaxFacts { get; }
46
var
syntaxFacts = this.SyntaxFacts;
Utilities\WorkspacePathUtilities.cs (1)
26
public static bool TypeNameMatchesDocumentName(Document document, SyntaxNode typeDeclaration,
ISyntaxFacts
syntaxFacts)