Compilation.CreateAnonymousTypeSymbol Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
CreateAnonymousTypeSymbol(ImmutableArray<ITypeSymbol>, ImmutableArray<String>, ImmutableArray<Boolean>, ImmutableArray<Location>) |
Retorna um novo símbolo de tipo anônimo com os tipos de membro, nomes e locais de origem fornecidos.
Os membros de tipo anônimo serão lidos somente por padrão. As propriedades graváveis têm suporte na VB e podem ser criadas passando |
CreateAnonymousTypeSymbol(ImmutableArray<ITypeSymbol>, ImmutableArray<String>, ImmutableArray<Boolean>, ImmutableArray<Location>, ImmutableArray<NullableAnnotation>) |
Retorna um novo símbolo de tipo anônimo com os tipos de membro, nomes, locais de origem e anotações anuláveis.
Os membros de tipo anônimo serão lidos somente por padrão. As propriedades graváveis têm suporte na VB e podem ser criadas passando |
CreateAnonymousTypeSymbol(ImmutableArray<ITypeSymbol>, ImmutableArray<String>, ImmutableArray<Boolean>, ImmutableArray<Location>)
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
Retorna um novo símbolo de tipo anônimo com os tipos de membro, nomes e locais de origem fornecidos.
Os membros de tipo anônimo serão lidos somente por padrão. As propriedades graváveis têm suporte na VB e podem ser criadas passando false
os locais apropriados em memberIsReadOnly
.
public Microsoft.CodeAnalysis.INamedTypeSymbol CreateAnonymousTypeSymbol (System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ITypeSymbol> memberTypes, System.Collections.Immutable.ImmutableArray<string> memberNames, System.Collections.Immutable.ImmutableArray<bool> memberIsReadOnly = default, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> memberLocations = default);
public Microsoft.CodeAnalysis.INamedTypeSymbol CreateAnonymousTypeSymbol (System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ITypeSymbol> memberTypes, System.Collections.Immutable.ImmutableArray<string> memberNames, System.Collections.Immutable.ImmutableArray<bool> memberIsReadOnly, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> memberLocations);
member this.CreateAnonymousTypeSymbol : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ITypeSymbol> * System.Collections.Immutable.ImmutableArray<string> * System.Collections.Immutable.ImmutableArray<bool> * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> -> Microsoft.CodeAnalysis.INamedTypeSymbol
Public Function CreateAnonymousTypeSymbol (memberTypes As ImmutableArray(Of ITypeSymbol), memberNames As ImmutableArray(Of String), Optional memberIsReadOnly As ImmutableArray(Of Boolean) = Nothing, Optional memberLocations As ImmutableArray(Of Location) = Nothing) As INamedTypeSymbol
Public Function CreateAnonymousTypeSymbol (memberTypes As ImmutableArray(Of ITypeSymbol), memberNames As ImmutableArray(Of String), memberIsReadOnly As ImmutableArray(Of Boolean), memberLocations As ImmutableArray(Of Location)) As INamedTypeSymbol
Parâmetros
- memberTypes
- ImmutableArray<ITypeSymbol>
- memberNames
- ImmutableArray<String>
- memberIsReadOnly
- ImmutableArray<Boolean>
- memberLocations
- ImmutableArray<Location>
Retornos
Comentários
Essa sobrecarga é para compatibilidade com versões anteriores. Não remova.
Aplica-se a
CreateAnonymousTypeSymbol(ImmutableArray<ITypeSymbol>, ImmutableArray<String>, ImmutableArray<Boolean>, ImmutableArray<Location>, ImmutableArray<NullableAnnotation>)
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
Retorna um novo símbolo de tipo anônimo com os tipos de membro, nomes, locais de origem e anotações anuláveis.
Os membros de tipo anônimo serão lidos somente por padrão. As propriedades graváveis têm suporte na VB e podem ser criadas passando false
os locais apropriados em memberIsReadOnly
.
public Microsoft.CodeAnalysis.INamedTypeSymbol CreateAnonymousTypeSymbol (System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ITypeSymbol> memberTypes, System.Collections.Immutable.ImmutableArray<string> memberNames, System.Collections.Immutable.ImmutableArray<bool> memberIsReadOnly = default, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> memberLocations = default, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.NullableAnnotation> memberNullableAnnotations = default);
member this.CreateAnonymousTypeSymbol : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ITypeSymbol> * System.Collections.Immutable.ImmutableArray<string> * System.Collections.Immutable.ImmutableArray<bool> * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.NullableAnnotation> -> Microsoft.CodeAnalysis.INamedTypeSymbol
Public Function CreateAnonymousTypeSymbol (memberTypes As ImmutableArray(Of ITypeSymbol), memberNames As ImmutableArray(Of String), Optional memberIsReadOnly As ImmutableArray(Of Boolean) = Nothing, Optional memberLocations As ImmutableArray(Of Location) = Nothing, Optional memberNullableAnnotations As ImmutableArray(Of NullableAnnotation) = Nothing) As INamedTypeSymbol
Parâmetros
- memberTypes
- ImmutableArray<ITypeSymbol>
- memberNames
- ImmutableArray<String>
- memberIsReadOnly
- ImmutableArray<Boolean>
- memberLocations
- ImmutableArray<Location>
- memberNullableAnnotations
- ImmutableArray<NullableAnnotation>