public void Setup() { this.firstObject = new ReferenceTypeClass(); this.withReferenceBox = this.firstObject; this.withoutReferenceBox = this.firstObject; this.firstObject.recursiveReference = this.firstObject; }
public HideDuplicateReferenceBoxExamples() { var obj = new ReferenceTypeClass(); this.firstObject = obj; this.withReferenceBox = obj; this.withoutReferenceBox = obj; obj.recursiveReference = obj; }
public Readonly() { ReadonlyInt1 = 1; ReadonlyReferenceTypeClass = new ReferenceTypeClass(); }
static Readonly() { StaticReadonlyInt1 = 1; StaticReadonlyReferenceTypeClass = new ReferenceTypeClass(); }