예제 #1
0
 internal ExplicitInterfaceIndexerWithCodeAnalysis()
 {
     indexer           = new IndexerWithBodyWithCodeAnalysis();
     explicitInterface = new CachedChildNode <IndexerWithCodeAnalysis, IndexerDeclarationSyntax, InterfaceReferenceWithCodeAnalysis, NameSyntax>(
         indexer.Indexer.Node,
         () => new InterfaceReferenceWithCodeAnalysis(new UnspecifiedTypeReferenceWithCodeAnalysis()),
         syntax => syntax.ExplicitInterfaceSpecifier.Name,
         (parentSyntax, childSyntax) => parentSyntax.WithExplicitInterfaceSpecifier(parentSyntax.ExplicitInterfaceSpecifier.WithName(childSyntax)));
 }
 internal StructIndexerWithCodeAnalysis()
 {
     indexer = new IndexerWithBodyWithCodeAnalysis();
 }
 internal ClassIndexerWithCodeAnalysis()
 {
     indexer = new IndexerWithBodyWithCodeAnalysis();
 }