Esempio n. 1
0
 internal ExplicitInterfaceEventWithCodeAnalysis()
 {
     @event            = new EventPropertyWithCodeAnalysis();
     explicitInterface = new CachedChildNode <EventPropertyWithCodeAnalysis, EventDeclarationSyntax, InterfaceReferenceWithCodeAnalysis, NameSyntax>(
         @event.Node,
         () => new InterfaceReferenceWithCodeAnalysis(new UnspecifiedTypeReferenceWithCodeAnalysis()),
         syntax => syntax.ExplicitInterfaceSpecifier.Name,
         (parentSyntax, childSyntax) => parentSyntax.WithExplicitInterfaceSpecifier(parentSyntax.ExplicitInterfaceSpecifier.WithName(childSyntax)));
 }
Esempio n. 2
0
 internal ClassEventPropertyWithCodeAnalysis()
 {
     @event = new EventPropertyWithCodeAnalysis();
 }
 internal StructEventPropertyWithCodeAnalysis()
 {
     @event = new EventPropertyWithCodeAnalysis();
 }
 internal NestedStaticClassEventPropertyWithCodeAnalysis()
 {
     @event = new EventPropertyWithCodeAnalysis();
 }