コード例 #1
0
 internal InternalSealedClassIndexerCollectionWithCodeAnalysis(InternalClassTypeWithCodeAnalysis <TClass> classType)
 {
     this.classType = classType;
     indexers       = new ClassIndexerListWrapper <TClass, SealedClassIndexerWithCodeAnalysis>(
         classType.InternalNode,
         () => new SealedClassIndexerWithCodeAnalysis(),
         syntax => syntax.ExplicitInterfaceSpecifier == null);
 }
 internal InternalAbstractClassIndexerCollectionWithCodeAnalysis(InternalClassTypeWithCodeAnalysis <TClass> classType)
 {
     this.classType = classType;
     indexers       = new ClassIndexerListWrapper <TClass, AbstractClassIndexerWithCodeAnalysis>(
         classType.InternalNode,
         () => new AbstractClassIndexerWithCodeAnalysis(),
         syntax => syntax.ExplicitInterfaceSpecifier == null && !syntax.Modifiers.IsAbstract());
     abstractIndexers = new ClassIndexerListWrapper <TClass, AbstractIndexerWithCodeAnalysis>(
         classType.InternalNode,
         () => new AbstractIndexerWithCodeAnalysis(),
         syntax => syntax.Modifiers.IsAbstract());
 }