C# Класс Pchp.CodeAnalysis.Symbols.BaseAttributeData

Наследование: Microsoft.Cci.ICustomAttribute
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
Cci Microsoft.Cci.IMethodReference
Cci Microsoft.Cci.ITypeReference
Cci ImmutableArray
Cci ImmutableArray
CreateMetadataArray Microsoft.CodeAnalysis.CodeGen.MetadataCreateArray
CreateMetadataConstant Microsoft.CodeAnalysis.CodeGen.MetadataConstant
CreateMetadataExpression Microsoft.Cci.IMetadataExpression
CreateMetadataNamedArgument Microsoft.Cci.IMetadataNamedArgument
CreateType Microsoft.CodeAnalysis.CodeGen.MetadataTypeOf
DecodeClassInterfaceAttribute void
DecodeGuidAttribute string
DecodeInterfaceTypeAttribute void
GetTargetAttributeSignatureIndex int
IsTargetAttribute bool
IsTargetAttribute bool
LookupName Symbol
PermissionSetAttributeTypeHasRequiredProperty bool
ShouldEmitAttribute bool

Открытые методы

Метод Описание
ToString ( ) : string

Returns the System.String that represents the current AttributeData.

Приватные методы

Метод Описание
Cci ( Microsoft.CodeAnalysis.Emit.EmitContext context ) : Microsoft.Cci.IMethodReference
Cci ( Microsoft.CodeAnalysis.Emit.EmitContext context ) : Microsoft.Cci.ITypeReference
Cci ( Microsoft.CodeAnalysis.Emit.EmitContext context ) : ImmutableArray
Cci ( Microsoft.CodeAnalysis.Emit.EmitContext context ) : ImmutableArray
CreateMetadataArray ( TypedConstant argument, Microsoft.CodeAnalysis.Emit.EmitContext context ) : Microsoft.CodeAnalysis.CodeGen.MetadataCreateArray
CreateMetadataConstant ( ITypeSymbol type, object value, Microsoft.CodeAnalysis.Emit.EmitContext context ) : Microsoft.CodeAnalysis.CodeGen.MetadataConstant
CreateMetadataExpression ( TypedConstant argument, Microsoft.CodeAnalysis.Emit.EmitContext context ) : Microsoft.Cci.IMetadataExpression
CreateMetadataNamedArgument ( string name, TypedConstant argument, Microsoft.CodeAnalysis.Emit.EmitContext context ) : Microsoft.Cci.IMetadataNamedArgument
CreateType ( TypedConstant argument, Microsoft.CodeAnalysis.Emit.EmitContext context ) : Microsoft.CodeAnalysis.CodeGen.MetadataTypeOf
DecodeClassInterfaceAttribute ( Microsoft.CodeAnalysis.SyntaxNode nodeOpt, DiagnosticBag diagnostics ) : void
DecodeGuidAttribute ( Microsoft.CodeAnalysis.SyntaxNode nodeOpt, DiagnosticBag diagnostics ) : string
DecodeInterfaceTypeAttribute ( Microsoft.CodeAnalysis.SyntaxNode node, DiagnosticBag diagnostics ) : void
GetTargetAttributeSignatureIndex ( Symbol targetSymbol, Microsoft.CodeAnalysis.AttributeDescription description ) : int
IsTargetAttribute ( Symbol targetSymbol, Microsoft.CodeAnalysis.AttributeDescription description ) : bool
IsTargetAttribute ( string namespaceName, string typeName ) : bool

Compares the namespace and type name with the attribute's namespace and type name. Returns true if they are the same.

LookupName ( string name ) : Symbol
PermissionSetAttributeTypeHasRequiredProperty ( NamedTypeSymbol permissionSetType, string propName ) : bool
ShouldEmitAttribute ( Symbol target, bool isReturnType, bool emittingAssemblyAttributesInNetModule ) : bool

This method determines if an applied attribute must be emitted. Some attributes appear in symbol model to reflect the source code, but should not be emitted.

Описание методов

ToString() публичный Метод

Returns the System.String that represents the current AttributeData.
public ToString ( ) : string
Результат string