Example #1
0
 public static EndRegionDirective Create(Context cx, EndRegionDirectiveTriviaSyntax end, RegionDirective start) =>
 EndRegionDirectiveFactory.Instance.CreateEntity(cx, end, (end, start));
Example #2
0
 private EndRegionDirective(Context cx, EndRegionDirectiveTriviaSyntax trivia, RegionDirective region)
     : base(cx, trivia)
 {
     this.region = region;
 }
 public EndRegionDirective(Context cx, EndRegionDirectiveTriviaSyntax trivia, RegionDirective region)
     : base(cx, trivia, populateFromBase: false)
 {
     this.region = region;
     TryPopulate();
 }