437 references to SimpleMemberAccessExpression
Microsoft.Analyzers.Extra.Tests (1)
SyntaxNodeExtensionsTests.cs (1)
188
var memberaccess = SyntaxFactory.MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
, console, writeline);
Microsoft.AspNetCore.App.CodeFixes (3)
Authorization\AddAuthorizationBuilderFixer.cs (1)
128
SyntaxKind.
SimpleMemberAccessExpression
,
Dependencies\ExtensionMethodsCompletionProvider.cs (1)
90
if (current?.IsKind(SyntaxKind.
SimpleMemberAccessExpression
) ?? false)
Http\HeaderDictionaryIndexerFixer.cs (1)
59
var newExpression = SyntaxFactory.MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
, expression, SyntaxFactory.IdentifierName(resolvedPropertyName));
Microsoft.AspNetCore.Mvc.Api.Analyzers (1)
AddResponseTypeAttributeCodeFixAction.cs (1)
236
SyntaxKind.
SimpleMemberAccessExpression
,
Microsoft.CodeAnalysis.CSharp (29)
Binder\Binder.IdentifierUsedAsValueFinder.cs (1)
223
case MemberAccessExpressionSyntax { RawKind: (int)SyntaxKind.
SimpleMemberAccessExpression
} memberAccess when memberAccess.Expression == id:
Binder\Binder_AnonymousTypes.cs (1)
169
case SyntaxKind.
SimpleMemberAccessExpression
:
Binder\Binder_Expressions.cs (5)
622
case SyntaxKind.
SimpleMemberAccessExpression
:
2523
else if (this.ContainingType is null || node.Parent is null || (node.Parent.Kind() != SyntaxKind.
SimpleMemberAccessExpression
&& node.Parent.Kind() != SyntaxKind.ElementAccessExpression))
2963
case SyntaxKind.
SimpleMemberAccessExpression
:
7377
if (node.Kind() == SyntaxKind.
SimpleMemberAccessExpression
)
7433
Debug.Assert((left.Parent is MemberAccessExpressionSyntax { RawKind: (int)SyntaxKind.
SimpleMemberAccessExpression
} memberAccess && memberAccess.Expression == left) ||
Binder\Binder_Invocation.cs (5)
31
case SyntaxKind.
SimpleMemberAccessExpression
:
225
Debug.Assert(node.Expression.Kind() is SyntaxKind.
SimpleMemberAccessExpression
);
253
if (node.Expression is MemberAccessExpressionSyntax { Expression: InvocationExpressionSyntax receiver, RawKind: (int)SyntaxKind.
SimpleMemberAccessExpression
} && !receiver.MayBeNameofOperator())
1811
case SyntaxKind.
SimpleMemberAccessExpression
:
2282
case SyntaxKind.
SimpleMemberAccessExpression
:
Binder\Binder_Patterns.cs (1)
1519
case MemberAccessExpressionSyntax { Name: IdentifierNameSyntax name } memberAccess when memberAccess.IsKind(SyntaxKind.
SimpleMemberAccessExpression
):
Binder\Binder_Statements.cs (3)
1681
case SyntaxKind.
SimpleMemberAccessExpression
:
1729
case SyntaxKind.
SimpleMemberAccessExpression
:
2452
if (nodeForError.Kind() == SyntaxKind.
SimpleMemberAccessExpression
|| nodeForError.Kind() == SyntaxKind.PointerMemberAccessExpression)
Binder\Binder_Symbols.cs (1)
433
case SyntaxKind.
SimpleMemberAccessExpression
:
Binder\EarlyWellKnownAttributeBinder.cs (1)
97
case SyntaxKind.
SimpleMemberAccessExpression
:
Compilation\MemberSemanticModel.cs (2)
1332
if (bindableParent != null && bindableParent.Kind() == SyntaxKind.
SimpleMemberAccessExpression
&& ((MemberAccessExpressionSyntax)bindableParent).Expression == bindableNode)
2322
case { RawKind: (int)SyntaxKind.
SimpleMemberAccessExpression
, Parent.RawKind: (int)SyntaxKind.InvocationExpression }:
Parser\LanguageParser.cs (5)
10867
case SyntaxKind.
SimpleMemberAccessExpression
:
11649
SyntaxKind.
SimpleMemberAccessExpression
,
11682
SyntaxKind.
SimpleMemberAccessExpression
, expr, this.EatToken(),
11686
expr = _syntaxFactory.MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
, expr, this.EatToken(), this.ParseSimpleName(NameOptions.InExpression));
11858
expr = _syntaxFactory.MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
, expr, this.EatToken(), this.ParseSimpleName(NameOptions.InExpression));
Parser\LanguageParser_Patterns.cs (1)
467
expr = _syntaxFactory.MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
, newLeft, dotToken, right);
Syntax\SyntaxFactory.cs (2)
2164
case SyntaxKind.
SimpleMemberAccessExpression
:
2281
case SyntaxKind.
SimpleMemberAccessExpression
:
Syntax\SyntaxNodeExtensions.cs (1)
203
case SyntaxKind.
SimpleMemberAccessExpression
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (22)
src\Analyzers\CSharp\Analyzers\UseAutoProperty\CSharpUseAutoPropertyAnalyzer.cs (1)
173
if (expression is MemberAccessExpressionSyntax(SyntaxKind.
SimpleMemberAccessExpression
)
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForBuilderDiagnosticAnalyzer.cs (2)
110
if (invocationExpression.Expression is not MemberAccessExpressionSyntax(SyntaxKind.
SimpleMemberAccessExpression
) memberAccessExpression ||
217
identifierName.Parent is MemberAccessExpressionSyntax(SyntaxKind.
SimpleMemberAccessExpression
) memberAccess &&
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForEmptyDiagnosticAnalyzer.cs (1)
25
=> context.RegisterSyntaxNodeAction(context => AnalyzeMemberAccess(context, expressionType), SyntaxKind.
SimpleMemberAccessExpression
);
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForFluentDiagnosticAnalyzer.cs (2)
67
=> context.RegisterSyntaxNodeAction(context => AnalyzeMemberAccess(context, expressionType), SyntaxKind.
SimpleMemberAccessExpression
);
403
if (memberAccess.Kind() != SyntaxKind.
SimpleMemberAccessExpression
)
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\UseCollectionExpressionHelpers.cs (1)
873
RawKind: (int)SyntaxKind.
SimpleMemberAccessExpression
,
src\Analyzers\CSharp\Analyzers\UseCollectionInitializer\CSharpUseCollectionInitializerAnalyzer.cs (1)
176
if (current is not MemberAccessExpressionSyntax(SyntaxKind.
SimpleMemberAccessExpression
) { Name.Identifier.ValueText: "Length" or "Count" } memberAccess)
src\Analyzers\CSharp\Analyzers\UsePrimaryConstructor\CSharpUsePrimaryConstructorDiagnosticAnalyzer.cs (1)
482
MemberAccessExpressionSyntax(kind: SyntaxKind.
SimpleMemberAccessExpression
) { Expression: (kind: SyntaxKind.ThisExpression), Name: IdentifierNameSyntax identifierName } => identifierName,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (4)
49
=> expression?.Parent is MemberAccessExpressionSyntax(SyntaxKind.
SimpleMemberAccessExpression
) memberAccess && memberAccess.Name == expression;
99
=> (expression?.Parent) is MemberAccessExpressionSyntax(SyntaxKind.
SimpleMemberAccessExpression
) memberAccess &&
131
if (expression is MemberAccessExpressionSyntax(SyntaxKind.
SimpleMemberAccessExpression
) memberAccess)
698
case SyntaxKind.
SimpleMemberAccessExpression
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (1)
684
=> expression.Kind() is SyntaxKind.IdentifierName or SyntaxKind.QualifiedName or SyntaxKind.
SimpleMemberAccessExpression
;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SemanticModelExtensions.cs (1)
63
case SyntaxKind.
SimpleMemberAccessExpression
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (2)
184
if ((current?.Parent is MemberAccessExpressionSyntax(SyntaxKind.
SimpleMemberAccessExpression
) memberAccess && memberAccess.Name == current) ||
196
SyntaxKind.
SimpleMemberAccessExpression
or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
118
public int SimpleMemberAccessExpression => (int)SyntaxKind.
SimpleMemberAccessExpression
;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (4)
584
SyntaxKind.
SimpleMemberAccessExpression
or
615
case SyntaxKind.
SimpleMemberAccessExpression
:
621
if (result.IsKind(SyntaxKind.
SimpleMemberAccessExpression
))
632
if (result.IsKind(SyntaxKind.
SimpleMemberAccessExpression
))
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (15)
src\Analyzers\CSharp\CodeFixes\DisambiguateSameVariable\CSharpDisambiguateSameVariableCodeFixProvider.cs (1)
153
SyntaxKind.
SimpleMemberAccessExpression
, ThisExpression(), newNameNode).WithAdditionalAnnotations(Simplifier.Annotation);
src\Analyzers\CSharp\CodeFixes\MakeLocalFunctionStatic\MakeLocalFunctionStaticCodeFixHelper.cs (1)
162
syntaxEditor.ReplaceNode(name, MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
, IdentifierName("@this"), name));
src\Analyzers\CSharp\CodeFixes\SimplifyPropertyPattern\CSharpSimplifyPropertyPatternCodeFixProvider.cs (1)
106
return MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
, outerExpression, innerName);
src\Analyzers\CSharp\CodeFixes\UseExplicitArrayInExpressionTree\CSharpUseExplicitArrayInExpressionTreeCodeFixProvider.cs (1)
152
SyntaxKind.
SimpleMemberAccessExpression
,
src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorCodeFixProvider.cs (1)
336
: MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
, containingTypeSyntax, currentName);
src\Analyzers\CSharp\CodeFixes\UseUtf8StringLiteral\UseUtf8StringLiteralCodeFixProvider.cs (1)
207
SyntaxKind.
SimpleMemberAccessExpression
,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ExpressionGenerator.cs (2)
293
var result = MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
, memberAccess, IdentifierName(constant.Value));
313
result = MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
, result, name);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Editing\CSharpImportAdder.cs (1)
171
case SyntaxKind.
SimpleMemberAccessExpression
:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (5)
1350
leftToken.Parent.Parent is (kind: SyntaxKind.QualifiedName or SyntaxKind.
SimpleMemberAccessExpression
))
2752
if (token.Parent.IsKind(SyntaxKind.
SimpleMemberAccessExpression
))
2755
while (parentMemberAccess.Parent.IsKind(SyntaxKind.
SimpleMemberAccessExpression
))
2919
case SyntaxKind.
SimpleMemberAccessExpression
:
3012
if (token.Parent.IsKind(SyntaxKind.
SimpleMemberAccessExpression
))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.ExpressionSyntaxGeneratorVisitor.cs (1)
111
SyntaxKind.
SimpleMemberAccessExpression
,
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Diagnostics\FixAllProvider\BatchFixerTests.cs (1)
78
SyntaxKind.
SimpleMemberAccessExpression
,
Microsoft.CodeAnalysis.CSharp.Features (48)
AddImport\CSharpAddImportFeatureService.cs (3)
115
if (nameNode?.Parent?.Kind() is not SyntaxKind.
SimpleMemberAccessExpression
and not SyntaxKind.MemberBindingExpression)
120
if (memberAccess?.Parent?.Kind() is SyntaxKind.
SimpleMemberAccessExpression
or SyntaxKind.ElementAccessExpression ||
121
memberBinding?.Parent?.Kind() is SyntaxKind.
SimpleMemberAccessExpression
or SyntaxKind.ElementAccessExpression)
CodeRefactorings\SyncNamespace\CSharpChangeNamespaceService.cs (2)
162
newNode = MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
, memberAccessNamespaceName, nameRef.WithoutTrivia());
442
SyntaxKind.
SimpleMemberAccessExpression
,
CodeRefactorings\UseRecursivePatterns\UseRecursivePatternsCodeRefactoringProvider.cs (2)
388
expression = MemberAccessExpression(
SimpleMemberAccessExpression
, expression, names[i]);
557
case MemberAccessExpressionSyntax(
SimpleMemberAccessExpression
) { Name: IdentifierNameSyntax name } memberAccess
Completion\CompletionProviders\CSharpSuggestionModeCompletionProvider.cs (1)
162
previousToken.Parent.IsKind(SyntaxKind.
SimpleMemberAccessExpression
))
Completion\CompletionProviders\PropertySubPatternCompletionProvider.cs (1)
200
while (memberAccess.Parent.IsKind(SyntaxKind.
SimpleMemberAccessExpression
))
ConvertLinq\ConvertForEachToLinqQuery\AbstractConverter.cs (2)
209
SyntaxKind.
SimpleMemberAccessExpression
,
284
SyntaxKind.
SimpleMemberAccessExpression
,
ConvertLinq\ConvertForEachToLinqQuery\AbstractToMethodConverter.cs (1)
183
SyntaxKind.
SimpleMemberAccessExpression
,
ConvertLinq\ConvertForEachToLinqQuery\ToToListConverter.cs (1)
50
SyntaxKind.
SimpleMemberAccessExpression
,
ConvertLinq\CSharpConvertLinqQueryToForEachProvider.cs (3)
201
SyntaxKind.
SimpleMemberAccessExpression
,
234
case SyntaxKind.
SimpleMemberAccessExpression
:
352
SyntaxKind.
SimpleMemberAccessExpression
,
Debugging\CSharpProximityExpressionsService_ExpressionTermCollector.cs (2)
93
case SyntaxKind.
SimpleMemberAccessExpression
:
189
memberAccessExpression.Parent?.Kind() is not SyntaxKind.
SimpleMemberAccessExpression
and not SyntaxKind.PointerMemberAccessExpression)
Diagnostics\Analyzers\CSharpSimplifyTypeNamesDiagnosticAnalyzer.cs (2)
31
SyntaxKind.
SimpleMemberAccessExpression
,
129
else if (node.Kind() == SyntaxKind.
SimpleMemberAccessExpression
)
Diagnostics\Analyzers\TypeSyntaxSimplifierWalker.cs (1)
238
if (node.IsKind(SyntaxKind.
SimpleMemberAccessExpression
) && TrySimplify(node))
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.cs (2)
571
? MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
, ThisExpression(), methodName)
601
SyntaxKind.
SimpleMemberAccessExpression
,
GenerateType\CSharpGenerateTypeService.cs (7)
155
SyntaxKind.
SimpleMemberAccessExpression
))
198
if (nameOrMemberAccessExpression == null || !nameOrMemberAccessExpression.IsKind(SyntaxKind.
SimpleMemberAccessExpression
) || !simpleName.IsRightSideOfDot())
311
if ((nameOrMemberAccessExpression.IsKind(SyntaxKind.
SimpleMemberAccessExpression
) || (nameOrMemberAccessExpression.Parent != null && nameOrMemberAccessExpression.IsParentKind(SyntaxKind.
SimpleMemberAccessExpression
)))
316
if (nameOrMemberAccessExpression.IsKind(SyntaxKind.
SimpleMemberAccessExpression
))
322
Debug.Assert(nameOrMemberAccessExpression.IsParentKind(SyntaxKind.
SimpleMemberAccessExpression
));
326
outerMostMemberAccessExpression = outerMostMemberAccessExpression.GetAncestorsOrThis<ExpressionSyntax>().SkipWhile(n => n != null && n.IsKind(SyntaxKind.
SimpleMemberAccessExpression
)).FirstOrDefault();
IntroduceVariable\CSharpIntroduceVariableService_IntroduceField.cs (1)
40
? MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
, ParseName(typeDisplayString), IdentifierName(newNameToken))
IntroduceVariable\CSharpIntroduceVariableService_IntroduceLocal.cs (1)
445
!invocationExpression.Expression.IsKind(SyntaxKind.
SimpleMemberAccessExpression
) &&
SignatureHelp\InvocationExpressionSignatureHelpProviderBase_MethodGroup.cs (1)
60
var includeInstance = throughExpression.Kind() is not (SyntaxKind.IdentifierName or SyntaxKind.
SimpleMemberAccessExpression
or SyntaxKind.PredefinedType) ||
src\Analyzers\CSharp\Analyzers\UseAutoProperty\CSharpUseAutoPropertyAnalyzer.cs (1)
173
if (expression is MemberAccessExpressionSyntax(SyntaxKind.
SimpleMemberAccessExpression
)
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForBuilderDiagnosticAnalyzer.cs (2)
110
if (invocationExpression.Expression is not MemberAccessExpressionSyntax(SyntaxKind.
SimpleMemberAccessExpression
) memberAccessExpression ||
217
identifierName.Parent is MemberAccessExpressionSyntax(SyntaxKind.
SimpleMemberAccessExpression
) memberAccess &&
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForEmptyDiagnosticAnalyzer.cs (1)
25
=> context.RegisterSyntaxNodeAction(context => AnalyzeMemberAccess(context, expressionType), SyntaxKind.
SimpleMemberAccessExpression
);
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForFluentDiagnosticAnalyzer.cs (2)
67
=> context.RegisterSyntaxNodeAction(context => AnalyzeMemberAccess(context, expressionType), SyntaxKind.
SimpleMemberAccessExpression
);
403
if (memberAccess.Kind() != SyntaxKind.
SimpleMemberAccessExpression
)
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\UseCollectionExpressionHelpers.cs (1)
873
RawKind: (int)SyntaxKind.
SimpleMemberAccessExpression
,
src\Analyzers\CSharp\Analyzers\UseCollectionInitializer\CSharpUseCollectionInitializerAnalyzer.cs (1)
176
if (current is not MemberAccessExpressionSyntax(SyntaxKind.
SimpleMemberAccessExpression
) { Name.Identifier.ValueText: "Length" or "Count" } memberAccess)
src\Analyzers\CSharp\Analyzers\UsePrimaryConstructor\CSharpUsePrimaryConstructorDiagnosticAnalyzer.cs (1)
482
MemberAccessExpressionSyntax(kind: SyntaxKind.
SimpleMemberAccessExpression
) { Expression: (kind: SyntaxKind.ThisExpression), Name: IdentifierNameSyntax identifierName } => identifierName,
src\Analyzers\CSharp\CodeFixes\DisambiguateSameVariable\CSharpDisambiguateSameVariableCodeFixProvider.cs (1)
153
SyntaxKind.
SimpleMemberAccessExpression
, ThisExpression(), newNameNode).WithAdditionalAnnotations(Simplifier.Annotation);
src\Analyzers\CSharp\CodeFixes\MakeLocalFunctionStatic\MakeLocalFunctionStaticCodeFixHelper.cs (1)
162
syntaxEditor.ReplaceNode(name, MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
, IdentifierName("@this"), name));
src\Analyzers\CSharp\CodeFixes\SimplifyPropertyPattern\CSharpSimplifyPropertyPatternCodeFixProvider.cs (1)
106
return MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
, outerExpression, innerName);
src\Analyzers\CSharp\CodeFixes\UseExplicitArrayInExpressionTree\CSharpUseExplicitArrayInExpressionTreeCodeFixProvider.cs (1)
152
SyntaxKind.
SimpleMemberAccessExpression
,
src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorCodeFixProvider.cs (1)
336
: MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
, containingTypeSyntax, currentName);
src\Analyzers\CSharp\CodeFixes\UseUtf8StringLiteral\UseUtf8StringLiteralCodeFixProvider.cs (1)
207
SyntaxKind.
SimpleMemberAccessExpression
,
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (16)
Semantics\BindingTests.cs (4)
2726
.First(x => x.Parent.IsKind(SyntaxKind.
SimpleMemberAccessExpression
) && x.Identifier.ValueText.Equals("M0"));
2738
.First(x => x.Parent.IsKind(SyntaxKind.
SimpleMemberAccessExpression
) && x.Identifier.ValueText.Equals("M1"));
2837
.First(x => x.Parent.IsKind(SyntaxKind.
SimpleMemberAccessExpression
) && x.Identifier.ValueText.Equals("M0"));
2849
.First(x => x.Parent.IsKind(SyntaxKind.
SimpleMemberAccessExpression
) && x.Identifier.ValueText.Equals("M1"));
Semantics\ColorColorTests.cs (11)
598
Assert.Equal(SyntaxKind.
SimpleMemberAccessExpression
, parentExpr.Kind());
645
Assert.Equal(SyntaxKind.
SimpleMemberAccessExpression
, parentExpr.Kind());
1074
Assert.Equal(SyntaxKind.
SimpleMemberAccessExpression
, parentExpr.Kind());
1120
Assert.Equal(SyntaxKind.
SimpleMemberAccessExpression
, parentExpr.Kind());
1166
Assert.Equal(SyntaxKind.
SimpleMemberAccessExpression
, parentExpr.Kind());
1211
Assert.Equal(SyntaxKind.
SimpleMemberAccessExpression
, parentExpr.Kind());
1255
Assert.Equal(SyntaxKind.
SimpleMemberAccessExpression
, parentExpr.Kind());
1289
Assert.Equal(SyntaxKind.
SimpleMemberAccessExpression
, parentExpr.Kind());
1778
context.RegisterSyntaxNodeAction(HandleMemberAccessExpression, SyntaxKind.
SimpleMemberAccessExpression
);
1817
var memberAccess = syntaxRoot.DescendantNodes().Single(node => node.IsKind(SyntaxKind.
SimpleMemberAccessExpression
)) as MemberAccessExpressionSyntax;
1852
Assert.Equal(SyntaxKind.
SimpleMemberAccessExpression
, parentExpr.Kind());
Semantics\SwitchTests.cs (1)
1154
var node = syntaxTree.GetRoot().DescendantNodes().First(x => x.IsKind(SyntaxKind.
SimpleMemberAccessExpression
));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (9)
Compilation\GetSemanticInfoTests.cs (4)
3787
Assert.Equal(SyntaxKind.
SimpleMemberAccessExpression
, syntax.Kind());
3820
Assert.Equal(SyntaxKind.
SimpleMemberAccessExpression
, syntax.Kind());
3914
Assert.Equal(SyntaxKind.
SimpleMemberAccessExpression
, syntax.Kind());
3954
Assert.Equal(SyntaxKind.
SimpleMemberAccessExpression
, syntax.Kind());
Symbols\ExtensionMethodTests.cs (2)
3153
Assert.Equal(SyntaxKind.
SimpleMemberAccessExpression
, firstInvocationExpression.Kind());
3159
Assert.Equal(SyntaxKind.
SimpleMemberAccessExpression
, secondInvocationExpression.Kind());
Symbols\Source\NullablePublicAPITests.cs (2)
1786
context.RegisterSyntaxNodeAction(AnalyzeMemberAccess, SyntaxKind.
SimpleMemberAccessExpression
);
4842
context.RegisterSyntaxNodeAction(AnalyzeMemberAccess, SyntaxKind.
SimpleMemberAccessExpression
);
Symbols\SymbolEqualityTests.cs (1)
828
var member2Syntax = (IdentifierNameSyntax)root.DescendantNodes().Last(sn => sn.Kind() == SyntaxKind.
SimpleMemberAccessExpression
).DescendantNodes().Last(sn => sn.Kind() == SyntaxKind.IdentifierName);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (188)
Generated\Syntax.Test.xml.Generated.cs (2)
89
=> InternalSyntaxFactory.MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
, GenerateIdentifierName(), InternalSyntaxFactory.Token(SyntaxKind.DotToken), GenerateIdentifierName());
10305
=> SyntaxFactory.MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
, GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.DotToken), GenerateIdentifierName());
IncrementalParsing\BinaryExpression.cs (3)
162
MakeMemberAccessChange(SyntaxKind.
SimpleMemberAccessExpression
, SyntaxKind.PointerMemberAccessExpression);
168
MakeMemberAccessChange(SyntaxKind.PointerMemberAccessExpression, SyntaxKind.
SimpleMemberAccessExpression
);
271
case SyntaxKind.
SimpleMemberAccessExpression
:
Parsing\AsyncParsingTests.cs (1)
325
N(SyntaxKind.
SimpleMemberAccessExpression
);
Parsing\AwaitParsingTests.cs (6)
450
N(SyntaxKind.
SimpleMemberAccessExpression
);
494
N(SyntaxKind.
SimpleMemberAccessExpression
);
1213
N(SyntaxKind.
SimpleMemberAccessExpression
);
1266
N(SyntaxKind.
SimpleMemberAccessExpression
);
1963
N(SyntaxKind.
SimpleMemberAccessExpression
);
2005
N(SyntaxKind.
SimpleMemberAccessExpression
);
Parsing\CollectionExpressionParsingTests.cs (69)
67
N(SyntaxKind.
SimpleMemberAccessExpression
);
123
N(SyntaxKind.
SimpleMemberAccessExpression
);
184
N(SyntaxKind.
SimpleMemberAccessExpression
);
391
N(SyntaxKind.
SimpleMemberAccessExpression
);
643
N(SyntaxKind.
SimpleMemberAccessExpression
);
950
N(SyntaxKind.
SimpleMemberAccessExpression
);
1013
N(SyntaxKind.
SimpleMemberAccessExpression
);
2432
N(SyntaxKind.
SimpleMemberAccessExpression
);
2564
N(SyntaxKind.
SimpleMemberAccessExpression
);
2664
N(SyntaxKind.
SimpleMemberAccessExpression
);
2770
N(SyntaxKind.
SimpleMemberAccessExpression
);
2871
N(SyntaxKind.
SimpleMemberAccessExpression
);
2977
N(SyntaxKind.
SimpleMemberAccessExpression
);
5001
N(SyntaxKind.
SimpleMemberAccessExpression
);
5458
N(SyntaxKind.
SimpleMemberAccessExpression
);
6526
N(SyntaxKind.
SimpleMemberAccessExpression
);
6828
N(SyntaxKind.
SimpleMemberAccessExpression
);
8886
N(SyntaxKind.
SimpleMemberAccessExpression
);
8964
N(SyntaxKind.
SimpleMemberAccessExpression
);
9181
N(SyntaxKind.
SimpleMemberAccessExpression
);
9230
N(SyntaxKind.
SimpleMemberAccessExpression
);
9411
N(SyntaxKind.
SimpleMemberAccessExpression
);
9480
N(SyntaxKind.
SimpleMemberAccessExpression
);
9570
N(SyntaxKind.
SimpleMemberAccessExpression
);
9639
N(SyntaxKind.
SimpleMemberAccessExpression
);
9729
N(SyntaxKind.
SimpleMemberAccessExpression
);
9798
N(SyntaxKind.
SimpleMemberAccessExpression
);
9888
N(SyntaxKind.
SimpleMemberAccessExpression
);
9957
N(SyntaxKind.
SimpleMemberAccessExpression
);
10046
N(SyntaxKind.
SimpleMemberAccessExpression
);
10092
N(SyntaxKind.
SimpleMemberAccessExpression
);
10280
N(SyntaxKind.
SimpleMemberAccessExpression
);
10341
N(SyntaxKind.
SimpleMemberAccessExpression
);
10423
N(SyntaxKind.
SimpleMemberAccessExpression
);
10473
N(SyntaxKind.
SimpleMemberAccessExpression
);
10544
N(SyntaxKind.
SimpleMemberAccessExpression
);
10601
N(SyntaxKind.
SimpleMemberAccessExpression
);
10685
N(SyntaxKind.
SimpleMemberAccessExpression
);
10756
N(SyntaxKind.
SimpleMemberAccessExpression
);
10842
N(SyntaxKind.
SimpleMemberAccessExpression
);
10907
N(SyntaxKind.
SimpleMemberAccessExpression
);
10993
N(SyntaxKind.
SimpleMemberAccessExpression
);
11073
N(SyntaxKind.
SimpleMemberAccessExpression
);
11174
N(SyntaxKind.
SimpleMemberAccessExpression
);
11239
N(SyntaxKind.
SimpleMemberAccessExpression
);
11331
N(SyntaxKind.
SimpleMemberAccessExpression
);
11421
N(SyntaxKind.
SimpleMemberAccessExpression
);
11526
N(SyntaxKind.
SimpleMemberAccessExpression
);
11599
N(SyntaxKind.
SimpleMemberAccessExpression
);
11693
N(SyntaxKind.
SimpleMemberAccessExpression
);
11754
N(SyntaxKind.
SimpleMemberAccessExpression
);
11836
N(SyntaxKind.
SimpleMemberAccessExpression
);
11912
N(SyntaxKind.
SimpleMemberAccessExpression
);
14047
N(SyntaxKind.
SimpleMemberAccessExpression
);
14133
N(SyntaxKind.
SimpleMemberAccessExpression
);
14239
N(SyntaxKind.
SimpleMemberAccessExpression
);
14332
N(SyntaxKind.
SimpleMemberAccessExpression
);
14447
N(SyntaxKind.
SimpleMemberAccessExpression
);
14555
N(SyntaxKind.
SimpleMemberAccessExpression
);
14683
N(SyntaxKind.
SimpleMemberAccessExpression
);
14791
N(SyntaxKind.
SimpleMemberAccessExpression
);
14886
N(SyntaxKind.
SimpleMemberAccessExpression
);
14921
N(SyntaxKind.
SimpleMemberAccessExpression
);
14995
N(SyntaxKind.
SimpleMemberAccessExpression
);
15030
N(SyntaxKind.
SimpleMemberAccessExpression
);
15157
N(SyntaxKind.
SimpleMemberAccessExpression
);
15254
N(SyntaxKind.
SimpleMemberAccessExpression
);
15373
N(SyntaxKind.
SimpleMemberAccessExpression
);
15489
N(SyntaxKind.
SimpleMemberAccessExpression
);
Parsing\DeclarationExpressionTests.cs (2)
906
N(SyntaxKind.
SimpleMemberAccessExpression
);
1084
N(SyntaxKind.
SimpleMemberAccessExpression
);
Parsing\DeclarationParsingTests.cs (1)
6305
N(SyntaxKind.
SimpleMemberAccessExpression
);
Parsing\DeconstructionTests.cs (3)
75
N(SyntaxKind.
SimpleMemberAccessExpression
);
391
N(SyntaxKind.
SimpleMemberAccessExpression
);
3031
N(SyntaxKind.
SimpleMemberAccessExpression
);
Parsing\ExpressionParsingTests.cs (8)
3187
N(SyntaxKind.
SimpleMemberAccessExpression
);
3208
N(SyntaxKind.
SimpleMemberAccessExpression
);
3770
N(SyntaxKind.
SimpleMemberAccessExpression
);
4803
N(SyntaxKind.
SimpleMemberAccessExpression
);
4858
N(SyntaxKind.
SimpleMemberAccessExpression
);
5852
N(SyntaxKind.
SimpleMemberAccessExpression
);
5910
N(SyntaxKind.
SimpleMemberAccessExpression
);
5945
N(SyntaxKind.
SimpleMemberAccessExpression
);
Parsing\FieldKeywordParsingTests.cs (3)
1337
N(SyntaxKind.
SimpleMemberAccessExpression
);
1388
N(SyntaxKind.
SimpleMemberAccessExpression
);
1442
N(SyntaxKind.
SimpleMemberAccessExpression
);
Parsing\FunctionPointerTests.cs (1)
1287
N(SyntaxKind.
SimpleMemberAccessExpression
);
Parsing\LambdaParameterParsingTests.cs (6)
2736
N(SyntaxKind.
SimpleMemberAccessExpression
);
3902
N(SyntaxKind.
SimpleMemberAccessExpression
);
3937
N(SyntaxKind.
SimpleMemberAccessExpression
);
3961
N(SyntaxKind.
SimpleMemberAccessExpression
);
3985
N(SyntaxKind.
SimpleMemberAccessExpression
);
5110
N(SyntaxKind.
SimpleMemberAccessExpression
);
Parsing\LambdaReturnTypeParsingTests.cs (2)
828
N(SyntaxKind.
SimpleMemberAccessExpression
);
871
N(SyntaxKind.
SimpleMemberAccessExpression
);
Parsing\MemberDeclarationParsingTests.cs (6)
12490
N(SyntaxKind.
SimpleMemberAccessExpression
);
12535
N(SyntaxKind.
SimpleMemberAccessExpression
);
12539
N(SyntaxKind.
SimpleMemberAccessExpression
);
12543
N(SyntaxKind.
SimpleMemberAccessExpression
);
12614
N(SyntaxKind.
SimpleMemberAccessExpression
);
12638
N(SyntaxKind.
SimpleMemberAccessExpression
);
Parsing\NameParsingTests.cs (2)
1457
N(SyntaxKind.
SimpleMemberAccessExpression
);
1459
N(SyntaxKind.
SimpleMemberAccessExpression
);
Parsing\ParserRegressionTests.cs (1)
608
N(SyntaxKind.
SimpleMemberAccessExpression
);
Parsing\PatternParsingTests.cs (5)
5399
N(SyntaxKind.
SimpleMemberAccessExpression
);
9437
N(SyntaxKind.
SimpleMemberAccessExpression
);
9553
N(SyntaxKind.
SimpleMemberAccessExpression
);
10070
N(SyntaxKind.
SimpleMemberAccessExpression
);
11756
N(SyntaxKind.
SimpleMemberAccessExpression
);
Parsing\PatternParsingTests_ListPatterns.cs (2)
890
N(SyntaxKind.
SimpleMemberAccessExpression
);
892
N(SyntaxKind.
SimpleMemberAccessExpression
);
Parsing\PatternParsingTests2.cs (7)
74
N(SyntaxKind.
SimpleMemberAccessExpression
);
76
N(SyntaxKind.
SimpleMemberAccessExpression
);
670
N(SyntaxKind.
SimpleMemberAccessExpression
);
724
N(SyntaxKind.
SimpleMemberAccessExpression
);
913
N(SyntaxKind.
SimpleMemberAccessExpression
);
915
N(SyntaxKind.
SimpleMemberAccessExpression
);
1340
N(SyntaxKind.
SimpleMemberAccessExpression
);
Parsing\ScriptParsingTests.cs (10)
431
N(SyntaxKind.
SimpleMemberAccessExpression
);
2686
N(SyntaxKind.
SimpleMemberAccessExpression
);
4660
N(SyntaxKind.
SimpleMemberAccessExpression
);
4970
N(SyntaxKind.
SimpleMemberAccessExpression
);
5028
N(SyntaxKind.
SimpleMemberAccessExpression
);
5091
N(SyntaxKind.
SimpleMemberAccessExpression
);
5212
N(SyntaxKind.
SimpleMemberAccessExpression
);
6904
N(SyntaxKind.
SimpleMemberAccessExpression
);
7615
N(SyntaxKind.
SimpleMemberAccessExpression
);
9212
N(SyntaxKind.
SimpleMemberAccessExpression
);
Parsing\StatementAttributeParsingTests.cs (1)
5159
N(SyntaxKind.
SimpleMemberAccessExpression
);
Parsing\StatementParsingTests.cs (6)
86
Assert.Equal(SyntaxKind.
SimpleMemberAccessExpression
, ((InvocationExpressionSyntax)es.Expression).Expression.Kind());
125
Assert.Equal(SyntaxKind.
SimpleMemberAccessExpression
, ((InvocationExpressionSyntax)es.Expression).Expression.Kind());
145
Assert.Equal(SyntaxKind.
SimpleMemberAccessExpression
, ((InvocationExpressionSyntax)es.Expression).Expression.Kind());
4368
N(SyntaxKind.
SimpleMemberAccessExpression
);
4532
N(SyntaxKind.
SimpleMemberAccessExpression
);
4723
N(SyntaxKind.
SimpleMemberAccessExpression
);
Parsing\SuppressNullableWarningExpressionParsingTests.cs (14)
273
N(SyntaxKind.
SimpleMemberAccessExpression
);
275
N(SyntaxKind.
SimpleMemberAccessExpression
);
340
N(SyntaxKind.
SimpleMemberAccessExpression
);
405
N(SyntaxKind.
SimpleMemberAccessExpression
);
407
N(SyntaxKind.
SimpleMemberAccessExpression
);
476
N(SyntaxKind.
SimpleMemberAccessExpression
);
550
N(SyntaxKind.
SimpleMemberAccessExpression
);
625
N(SyntaxKind.
SimpleMemberAccessExpression
);
666
N(SyntaxKind.
SimpleMemberAccessExpression
);
668
N(SyntaxKind.
SimpleMemberAccessExpression
);
832
N(SyntaxKind.
SimpleMemberAccessExpression
);
868
N(SyntaxKind.
SimpleMemberAccessExpression
);
907
N(SyntaxKind.
SimpleMemberAccessExpression
);
958
N(SyntaxKind.
SimpleMemberAccessExpression
);
Parsing\TopLevelStatementsParsingTests.cs (6)
44
N(SyntaxKind.
SimpleMemberAccessExpression
);
432
N(SyntaxKind.
SimpleMemberAccessExpression
);
916
N(SyntaxKind.
SimpleMemberAccessExpression
);
918
N(SyntaxKind.
SimpleMemberAccessExpression
);
2775
N(SyntaxKind.
SimpleMemberAccessExpression
);
2862
N(SyntaxKind.
SimpleMemberAccessExpression
);
Parsing\TypeArgumentListParsingTests.cs (9)
1204
N(SyntaxKind.
SimpleMemberAccessExpression
);
2883
N(SyntaxKind.
SimpleMemberAccessExpression
);
2984
N(SyntaxKind.
SimpleMemberAccessExpression
);
3085
N(SyntaxKind.
SimpleMemberAccessExpression
);
3186
N(SyntaxKind.
SimpleMemberAccessExpression
);
3287
N(SyntaxKind.
SimpleMemberAccessExpression
);
3400
N(SyntaxKind.
SimpleMemberAccessExpression
);
3519
N(SyntaxKind.
SimpleMemberAccessExpression
);
3635
N(SyntaxKind.
SimpleMemberAccessExpression
);
Parsing\UsingDirectiveParsingTests.cs (6)
2639
N(SyntaxKind.
SimpleMemberAccessExpression
);
2769
N(SyntaxKind.
SimpleMemberAccessExpression
);
2893
N(SyntaxKind.
SimpleMemberAccessExpression
);
3011
N(SyntaxKind.
SimpleMemberAccessExpression
);
3109
N(SyntaxKind.
SimpleMemberAccessExpression
);
3597
N(SyntaxKind.
SimpleMemberAccessExpression
);
Parsing\ValueTupleTests.cs (5)
755
N(SyntaxKind.
SimpleMemberAccessExpression
);
768
N(SyntaxKind.
SimpleMemberAccessExpression
);
808
N(SyntaxKind.
SimpleMemberAccessExpression
);
821
N(SyntaxKind.
SimpleMemberAccessExpression
);
946
N(SyntaxKind.
SimpleMemberAccessExpression
);
Syntax\SyntaxDiffingTests.cs (1)
314
SyntaxKind.
SimpleMemberAccessExpression
,
Microsoft.CodeAnalysis.CSharp.Workspaces (47)
CodeGeneration\CSharpSyntaxGenerator.cs (3)
3143
SyntaxKind.
SimpleMemberAccessExpression
,
3168
or SyntaxKind.
SimpleMemberAccessExpression
3393
case SyntaxKind.
SimpleMemberAccessExpression
:
Recommendations\CSharpRecommendationServiceRunner.cs (4)
142
MemberAccessExpressionSyntax(SyntaxKind.
SimpleMemberAccessExpression
) memberAccess
152
MemberAccessExpressionSyntax(SyntaxKind.
SimpleMemberAccessExpression
) memberAccess
167
if (node is MemberAccessExpressionSyntax(SyntaxKind.
SimpleMemberAccessExpression
))
177
if (current.Kind() == SyntaxKind.
SimpleMemberAccessExpression
)
Rename\CSharpRenameRewriterLanguageService.cs (1)
447
case SyntaxKind.
SimpleMemberAccessExpression
:
Simplification\CSharpSimplificationService.Expander.cs (7)
629
(parent is MemberAccessExpressionSyntax && parent.Kind() != SyntaxKind.
SimpleMemberAccessExpression
) ||
630
((parent.Kind() == SyntaxKind.
SimpleMemberAccessExpression
|| parent.Kind() == SyntaxKind.NameMemberCref) && originalSimpleName.IsRightSideOfDot()) ||
705
SyntaxKind.
SimpleMemberAccessExpression
,
964
case SyntaxKind.
SimpleMemberAccessExpression
:
967
SyntaxKind.
SimpleMemberAccessExpression
,
990
SyntaxKind.
SimpleMemberAccessExpression
,
1051
if (originalNode.Expression is MemberAccessExpressionSyntax(SyntaxKind.
SimpleMemberAccessExpression
) memberAccess)
Simplification\Reducers\CSharpExtensionMethodReducer.cs (5)
40
if (node.Expression.Kind() == SyntaxKind.
SimpleMemberAccessExpression
)
75
if (node.Expression.Kind() == SyntaxKind.
SimpleMemberAccessExpression
)
78
SyntaxKind.
SimpleMemberAccessExpression
, expression,
85
SyntaxKind.
SimpleMemberAccessExpression
, expression,
91
SyntaxKind.
SimpleMemberAccessExpression
, expression,
Simplification\Simplifiers\AbstractCSharpSimplifier.cs (1)
186
while (current is MemberAccessExpressionSyntax(SyntaxKind.
SimpleMemberAccessExpression
) currentMember)
Simplification\Simplifiers\ExpressionSimplifier.cs (2)
77
if (expression is MemberAccessExpressionSyntax(SyntaxKind.
SimpleMemberAccessExpression
) memberAccess)
283
case MemberAccessExpressionSyntax(SyntaxKind.
SimpleMemberAccessExpression
) memberAccess:
Simplification\Simplifiers\MemberAccessExpressionSimplifier.cs (2)
45
if (parent.IsParentKind(SyntaxKind.
SimpleMemberAccessExpression
))
89
return node is MemberAccessExpressionSyntax(SyntaxKind.
SimpleMemberAccessExpression
) memberAccess
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (4)
49
=> expression?.Parent is MemberAccessExpressionSyntax(SyntaxKind.
SimpleMemberAccessExpression
) memberAccess && memberAccess.Name == expression;
99
=> (expression?.Parent) is MemberAccessExpressionSyntax(SyntaxKind.
SimpleMemberAccessExpression
) memberAccess &&
131
if (expression is MemberAccessExpressionSyntax(SyntaxKind.
SimpleMemberAccessExpression
) memberAccess)
698
case SyntaxKind.
SimpleMemberAccessExpression
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (1)
684
=> expression.Kind() is SyntaxKind.IdentifierName or SyntaxKind.QualifiedName or SyntaxKind.
SimpleMemberAccessExpression
;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SemanticModelExtensions.cs (1)
63
case SyntaxKind.
SimpleMemberAccessExpression
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (2)
184
if ((current?.Parent is MemberAccessExpressionSyntax(SyntaxKind.
SimpleMemberAccessExpression
) memberAccess && memberAccess.Name == current) ||
196
SyntaxKind.
SimpleMemberAccessExpression
or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
118
public int SimpleMemberAccessExpression => (int)SyntaxKind.
SimpleMemberAccessExpression
;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (4)
584
SyntaxKind.
SimpleMemberAccessExpression
or
615
case SyntaxKind.
SimpleMemberAccessExpression
:
621
if (result.IsKind(SyntaxKind.
SimpleMemberAccessExpression
))
632
if (result.IsKind(SyntaxKind.
SimpleMemberAccessExpression
))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ExpressionGenerator.cs (2)
293
var result = MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
, memberAccess, IdentifierName(constant.Value));
313
result = MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
, result, name);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Editing\CSharpImportAdder.cs (1)
171
case SyntaxKind.
SimpleMemberAccessExpression
:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (5)
1350
leftToken.Parent.Parent is (kind: SyntaxKind.QualifiedName or SyntaxKind.
SimpleMemberAccessExpression
))
2752
if (token.Parent.IsKind(SyntaxKind.
SimpleMemberAccessExpression
))
2755
while (parentMemberAccess.Parent.IsKind(SyntaxKind.
SimpleMemberAccessExpression
))
2919
case SyntaxKind.
SimpleMemberAccessExpression
:
3012
if (token.Parent.IsKind(SyntaxKind.
SimpleMemberAccessExpression
))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.ExpressionSyntaxGeneratorVisitor.cs (1)
111
SyntaxKind.
SimpleMemberAccessExpression
,
Microsoft.Interop.ComInterfaceGenerator (5)
Analyzers\RuntimeComApiUsageWithSourceGeneratedComAnalyzer.cs (1)
215
if (expression.IsKind(SyntaxKind.
SimpleMemberAccessExpression
))
ComClassGenerator.cs (1)
132
MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
ComMethodContext.cs (1)
139
SyntaxKind.
SimpleMemberAccessExpression
,
Marshallers\ComInterfaceDispatchMarshallingResolver.cs (1)
54
MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
VirtualMethodPointerStubGenerator.cs (1)
145
MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
Microsoft.Interop.JavaScript.JSImportGenerator (20)
JSExportCodeGenerator.cs (2)
110
MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
159
return ExpressionStatement(InvocationExpression(MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
JSExportGenerator.cs (2)
269
SyntaxKind.
SimpleMemberAccessExpression
,
273
SyntaxKind.
SimpleMemberAccessExpression
,
JSImportCodeGenerator.cs (4)
151
InvocationExpression(MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
184
InvocationExpression(MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
194
InvocationExpression(MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
201
MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
, IdentifierName(Constants.JSFunctionSignatureGlobal), IdentifierName("InvokeJS")))
Marshaling\FuncJSGenerator.cs (4)
90
return ExpressionStatement(InvocationExpression(MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
111
return ExpressionStatement(InvocationExpression(MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
125
InvocationExpression(MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
141
InvocationExpression(MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
Marshaling\PrimitiveJSGenerator.cs (2)
74
return ExpressionStatement(InvocationExpression(MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
81
return ExpressionStatement(InvocationExpression(MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
Marshaling\TaskJSGenerator.cs (6)
85
return ExpressionStatement(InvocationExpression(MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
92
return ExpressionStatement(InvocationExpression(MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
99
return ExpressionStatement(InvocationExpression(MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
113
InvocationExpression(MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
122
return ExpressionStatement(InvocationExpression(MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
135
InvocationExpression(MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
Microsoft.Interop.LibraryImportGenerator (1)
LibraryImportGenerator.cs (1)
535
SyntaxKind.
SimpleMemberAccessExpression
,
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
DownlevelLibraryImportGenerator.cs (1)
377
SyntaxKind.
SimpleMemberAccessExpression
,
Microsoft.Interop.SourceGeneration (27)
Marshalling\ElementsMarshalling.cs (7)
122
SyntaxKind.
SimpleMemberAccessExpression
,
136
SyntaxKind.
SimpleMemberAccessExpression
,
163
MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
199
MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
207
SyntaxKind.
SimpleMemberAccessExpression
,
286
MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
370
indexConstraintName = MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
Marshalling\StatefulMarshallingStrategy.cs (1)
220
MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
Marshalling\StatelessMarshallingStrategy.cs (15)
44
MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
60
MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
116
MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
183
MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
200
MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
225
MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
269
MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
288
MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
375
MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
403
MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
463
MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
490
SyntaxKind.
SimpleMemberAccessExpression
,
506
SyntaxKind.
SimpleMemberAccessExpression
,
521
SyntaxKind.
SimpleMemberAccessExpression
,
538
SyntaxKind.
SimpleMemberAccessExpression
,
Marshalling\StaticPinnableManagedValueMarshaller.cs (1)
87
MemberAccessExpression(SyntaxKind.
SimpleMemberAccessExpression
,
Utils\SyntaxFactoryExtensions.cs (3)
50
SyntaxKind.
SimpleMemberAccessExpression
,
58
SyntaxKind.
SimpleMemberAccessExpression
,
88
SyntaxKind.
SimpleMemberAccessExpression
,
Microsoft.ML.InternalCodeAnalyzer (2)
ContractsCheckAnalyzer.cs (1)
149
if (exp.IsKind(SyntaxKind.
SimpleMemberAccessExpression
))
ContractsCheckNameofFixProvider.cs (1)
79
if (pk == SyntaxKind.
SimpleMemberAccessExpression
)
Microsoft.VisualStudio.LanguageServices.CSharp (1)
CodeModel\MethodXml\MethodXmlBuilder.cs (1)
204
case SyntaxKind.
SimpleMemberAccessExpression
: