Compartilhar via


SyntaxGenerator.IndexerDeclaration Método

Definição

Sobrecargas

IndexerDeclaration(IPropertySymbol, IEnumerable<SyntaxNode>, IEnumerable<SyntaxNode>)

Cria uma declaração de indexador que corresponde a um símbolo de indexador existente.

IndexerDeclaration(IEnumerable<SyntaxNode>, SyntaxNode, Accessibility, DeclarationModifiers, IEnumerable<SyntaxNode>, IEnumerable<SyntaxNode>)

Cria uma declaração do indexador.

IndexerDeclaration(IPropertySymbol, IEnumerable<SyntaxNode>, IEnumerable<SyntaxNode>)

Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs

Cria uma declaração de indexador que corresponde a um símbolo de indexador existente.

public Microsoft.CodeAnalysis.SyntaxNode IndexerDeclaration (Microsoft.CodeAnalysis.IPropertySymbol indexer, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> getAccessorStatements = default, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> setAccessorStatements = default);
public Microsoft.CodeAnalysis.SyntaxNode IndexerDeclaration (Microsoft.CodeAnalysis.IPropertySymbol indexer, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode>? getAccessorStatements = default, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode>? setAccessorStatements = default);
member this.IndexerDeclaration : Microsoft.CodeAnalysis.IPropertySymbol * seq<Microsoft.CodeAnalysis.SyntaxNode> * seq<Microsoft.CodeAnalysis.SyntaxNode> -> Microsoft.CodeAnalysis.SyntaxNode
Public Function IndexerDeclaration (indexer As IPropertySymbol, Optional getAccessorStatements As IEnumerable(Of SyntaxNode) = Nothing, Optional setAccessorStatements As IEnumerable(Of SyntaxNode) = Nothing) As SyntaxNode

Parâmetros

indexer
IPropertySymbol
getAccessorStatements
IEnumerable<SyntaxNode>
setAccessorStatements
IEnumerable<SyntaxNode>

Retornos

Aplica-se a

IndexerDeclaration(IEnumerable<SyntaxNode>, SyntaxNode, Accessibility, DeclarationModifiers, IEnumerable<SyntaxNode>, IEnumerable<SyntaxNode>)

Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs

Cria uma declaração do indexador.

public abstract Microsoft.CodeAnalysis.SyntaxNode IndexerDeclaration (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> parameters, Microsoft.CodeAnalysis.SyntaxNode type, Microsoft.CodeAnalysis.Accessibility accessibility = Microsoft.CodeAnalysis.Accessibility.NotApplicable, Microsoft.CodeAnalysis.Editing.DeclarationModifiers modifiers = default, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> getAccessorStatements = default, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> setAccessorStatements = default);
public abstract Microsoft.CodeAnalysis.SyntaxNode IndexerDeclaration (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> parameters, Microsoft.CodeAnalysis.SyntaxNode type, Microsoft.CodeAnalysis.Accessibility accessibility = Microsoft.CodeAnalysis.Accessibility.NotApplicable, Microsoft.CodeAnalysis.Editing.DeclarationModifiers modifiers = default, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode>? getAccessorStatements = default, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode>? setAccessorStatements = default);
abstract member IndexerDeclaration : seq<Microsoft.CodeAnalysis.SyntaxNode> * Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.Accessibility * Microsoft.CodeAnalysis.Editing.DeclarationModifiers * seq<Microsoft.CodeAnalysis.SyntaxNode> * seq<Microsoft.CodeAnalysis.SyntaxNode> -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function IndexerDeclaration (parameters As IEnumerable(Of SyntaxNode), type As SyntaxNode, Optional accessibility As Accessibility = Microsoft.CodeAnalysis.Accessibility.NotApplicable, Optional modifiers As DeclarationModifiers = Nothing, Optional getAccessorStatements As IEnumerable(Of SyntaxNode) = Nothing, Optional setAccessorStatements As IEnumerable(Of SyntaxNode) = Nothing) As SyntaxNode

Parâmetros

parameters
IEnumerable<SyntaxNode>
type
SyntaxNode
accessibility
Accessibility
getAccessorStatements
IEnumerable<SyntaxNode>
setAccessorStatements
IEnumerable<SyntaxNode>

Retornos

Aplica-se a