override public object Clone() { TypeMemberStatement clone = new TypeMemberStatement(); clone._lexicalInfo = _lexicalInfo; clone._endSourceLocation = _endSourceLocation; clone._documentation = _documentation; clone._isSynthetic = _isSynthetic; clone._entity = _entity; if (_annotations != null) { clone._annotations = (Hashtable)_annotations.Clone(); } if (null != _modifier) { clone._modifier = _modifier.Clone() as StatementModifier; clone._modifier.InitializeParent(clone); } if (null != _typeMember) { clone._typeMember = _typeMember.Clone() as TypeMember; clone._typeMember.InitializeParent(clone); } return(clone); }
override public object Clone() { TypeMemberStatement clone = (TypeMemberStatement)FormatterServices.GetUninitializedObject(typeof(TypeMemberStatement)); clone._lexicalInfo = _lexicalInfo; clone._endSourceLocation = _endSourceLocation; clone._documentation = _documentation; clone._entity = _entity; if (_annotations != null) { clone._annotations = (Hashtable)_annotations.Clone(); } if (null != _modifier) { clone._modifier = _modifier.Clone() as StatementModifier; clone._modifier.InitializeParent(clone); } if (null != _typeMember) { clone._typeMember = _typeMember.Clone() as TypeMember; clone._typeMember.InitializeParent(clone); } return(clone); }
public static TypeMember Lift(TypeMemberStatement stmt) { return stmt.TypeMember; }
public static TypeMember Lift(TypeMemberStatement stmt) { return(stmt.TypeMember); }
override public object Clone() { TypeMemberStatement clone = new TypeMemberStatement(); clone._lexicalInfo = _lexicalInfo; clone._endSourceLocation = _endSourceLocation; clone._documentation = _documentation; clone._isSynthetic = _isSynthetic; clone._entity = _entity; if (_annotations != null) clone._annotations = (Hashtable)_annotations.Clone(); if (null != _modifier) { clone._modifier = _modifier.Clone() as StatementModifier; clone._modifier.InitializeParent(clone); } if (null != _typeMember) { clone._typeMember = _typeMember.Clone() as TypeMember; clone._typeMember.InitializeParent(clone); } return clone; }