C# Class Pchp.CodeAnalysis.Symbols.BaseAttributeData

Inheritance: Microsoft.Cci.ICustomAttribute
ファイルを表示 Open project: iolevel/peachpie Class Usage Examples

Private Properties

Property Type Description
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

Public Methods

Method Description
ToString ( ) : string

Returns the System.String that represents the current AttributeData.

Private Methods

Method Description
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.

Method Details

ToString() public method

Returns the System.String that represents the current AttributeData.
public ToString ( ) : string
return string