Exemplo n.º 1
0
 public void ReferenceDeclaration(IIndexerMember declaration)
 {
     if (declaration is IIntermediateIndexerMember)
     {
         this.ReferenceDeclaration((IIntermediateIndexerMember)declaration);
     }
     else
     {
         this.Formatter.ReferenceDeclaration(declaration);
     }
 }
Exemplo n.º 2
0
 public void ReferenceDeclaration(IIndexerMember declaration)
 {
 }
Exemplo n.º 3
0
        public static IIndexerParameterMember <TIndexer, TIndexerParent> ParamOf <TIndexer, TIndexerParent>(this string name, IIndexerMember <TIndexer, TIndexerParent> indexer)
            where TIndexer :
        IIndexerMember <TIndexer, TIndexerParent>
            where TIndexerParent :
        IIndexerParent <TIndexer, TIndexerParent>
        {
            IIndexerParameterMember <TIndexer, TIndexerParent> result;

            indexer.Parameters.TryGetValue(TypeSystemIdentifiers.GetMemberIdentifier(name), out result);
            return(result);
        }
Exemplo n.º 4
0
 public abstract void TranslateMember(IIndexerMember indexerMember);
Exemplo n.º 5
0
 public override void TranslateMember(IIndexerMember indexerMember)
 {
     this.Provider.GenerateCodeFromMember(indexerMember.GenerateCodeDom(this.Options), base.Target, this.Options.Options);
 }
Exemplo n.º 6
0
 public void ReferenceDeclaration(IIndexerMember declaration)
 {
     referenceStack.Push(declaration);
 }