Base:
property
ExplicitInterfaceSpecifier
Microsoft.CodeAnalysis.CSharp.Syntax.BasePropertyDeclarationSyntax.ExplicitInterfaceSpecifier
21 references to ExplicitInterfaceSpecifier
Microsoft.CodeAnalysis.CSharp (11)
Compilation\SyntaxTreeSemanticModel.cs (1)
1668
return GetDeclarationName(declaration, indexerDecl.
ExplicitInterfaceSpecifier
, WellKnownMemberNames.Indexer);
Syntax.xml.Main.Generated.cs (1)
2086
=> node.Update(VisitList(node.AttributeLists), VisitList(node.Modifiers), (TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"), (ExplicitInterfaceSpecifierSyntax?)Visit(node.
ExplicitInterfaceSpecifier
), VisitToken(node.ThisKeyword), (BracketedParameterListSyntax?)Visit(node.ParameterList) ?? throw new ArgumentNullException("parameterList"), (AccessorListSyntax?)Visit(node.AccessorList), (ArrowExpressionClauseSyntax?)Visit(node.ExpressionBody), VisitToken(node.SemicolonToken));
Syntax.xml.Syntax.Generated.cs (9)
13396
if (attributeLists != this.AttributeLists || modifiers != this.Modifiers || type != this.Type || explicitInterfaceSpecifier != this.
ExplicitInterfaceSpecifier
|| thisKeyword != this.ThisKeyword || parameterList != this.ParameterList || accessorList != this.AccessorList || expressionBody != this.ExpressionBody || semicolonToken != this.SemicolonToken)
13407
public new IndexerDeclarationSyntax WithAttributeLists(SyntaxList<AttributeListSyntax> attributeLists) => Update(attributeLists, this.Modifiers, this.Type, this.
ExplicitInterfaceSpecifier
, this.ThisKeyword, this.ParameterList, this.AccessorList, this.ExpressionBody, this.SemicolonToken);
13409
public new IndexerDeclarationSyntax WithModifiers(SyntaxTokenList modifiers) => Update(this.AttributeLists, modifiers, this.Type, this.
ExplicitInterfaceSpecifier
, this.ThisKeyword, this.ParameterList, this.AccessorList, this.ExpressionBody, this.SemicolonToken);
13411
public new IndexerDeclarationSyntax WithType(TypeSyntax type) => Update(this.AttributeLists, this.Modifiers, type, this.
ExplicitInterfaceSpecifier
, this.ThisKeyword, this.ParameterList, this.AccessorList, this.ExpressionBody, this.SemicolonToken);
13414
public IndexerDeclarationSyntax WithThisKeyword(SyntaxToken thisKeyword) => Update(this.AttributeLists, this.Modifiers, this.Type, this.
ExplicitInterfaceSpecifier
, thisKeyword, this.ParameterList, this.AccessorList, this.ExpressionBody, this.SemicolonToken);
13415
public IndexerDeclarationSyntax WithParameterList(BracketedParameterListSyntax parameterList) => Update(this.AttributeLists, this.Modifiers, this.Type, this.
ExplicitInterfaceSpecifier
, this.ThisKeyword, parameterList, this.AccessorList, this.ExpressionBody, this.SemicolonToken);
13417
public new IndexerDeclarationSyntax WithAccessorList(AccessorListSyntax? accessorList) => Update(this.AttributeLists, this.Modifiers, this.Type, this.
ExplicitInterfaceSpecifier
, this.ThisKeyword, this.ParameterList, accessorList, this.ExpressionBody, this.SemicolonToken);
13418
public IndexerDeclarationSyntax WithExpressionBody(ArrowExpressionClauseSyntax? expressionBody) => Update(this.AttributeLists, this.Modifiers, this.Type, this.
ExplicitInterfaceSpecifier
, this.ThisKeyword, this.ParameterList, this.AccessorList, expressionBody, this.SemicolonToken);
13419
public IndexerDeclarationSyntax WithSemicolonToken(SyntaxToken semicolonToken) => Update(this.AttributeLists, this.Modifiers, this.Type, this.
ExplicitInterfaceSpecifier
, this.ThisKeyword, this.ParameterList, this.AccessorList, this.ExpressionBody, semicolonToken);
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
56
return ((IndexerDeclarationSyntax)declaration).
ExplicitInterfaceSpecifier
== null;
Microsoft.CodeAnalysis.CSharp.Features (1)
Organizing\Organizers\IndexerDeclarationOrganizer.cs (1)
33
explicitInterfaceSpecifier: syntax.
ExplicitInterfaceSpecifier
,
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Generated\Syntax.Test.xml.Generated.cs (2)
13580
Assert.Null(node.
ExplicitInterfaceSpecifier
);
13586
var newNode = node.WithAttributeLists(node.AttributeLists).WithModifiers(node.Modifiers).WithType(node.Type).WithExplicitInterfaceSpecifier(node.
ExplicitInterfaceSpecifier
).WithThisKeyword(node.ThisKeyword).WithParameterList(node.ParameterList).WithAccessorList(node.AccessorList).WithExpressionBody(node.ExpressionBody).WithSemicolonToken(node.SemicolonToken);
Parsing\DeclarationParsingTests.cs (3)
5233
Assert.NotNull(ps.
ExplicitInterfaceSpecifier
);
5234
Assert.Equal("I", ps.
ExplicitInterfaceSpecifier
.Name.ToString());
5235
Assert.Equal(".", ps.
ExplicitInterfaceSpecifier
.DotToken.ToString());
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
56
return ((IndexerDeclarationSyntax)declaration).
ExplicitInterfaceSpecifier
== null;
Microsoft.VisualStudio.LanguageServices.CSharp (1)
CodeModel\CSharpCodeModelService.cs (1)
821
return ((IndexerDeclarationSyntax)node).
ExplicitInterfaceSpecifier
?.ToString() +
Roslyn.Diagnostics.CSharp.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
56
return ((IndexerDeclarationSyntax)declaration).
ExplicitInterfaceSpecifier
== null;