private static CodeTypeReference CreateCodeTypeReference(MemberType type) { return(new CodeTypeReference(type.FullName)); }
private static CodeParameterDeclarationExpression CreateParameterDeclaration(MemberType type, string name) { return(new CodeParameterDeclarationExpression(type.FullName, name)); }
public static MemberType CreateForArray(MemberType elementType, RankSpecifiers rankSpecifiers) { var fullName = TypeNameMapper.TypeNameForArray(elementType.FullName, rankSpecifiers); return(new MemberType(fullName, false)); }
public BackingField(string name, MemberType type, IEnumerable <CodeAttributeDeclaration> attributeDeclarations) : base(name, type, attributeDeclarations) { }
public ReadOnlyProperty(string name, MemberType type, BackingField backingField, IEnumerable <CodeAttributeDeclaration> attributeDeclarations) : base(name, type, attributeDeclarations) { BackingField = backingField; }
protected Member(string name, MemberType type, IEnumerable <CodeAttributeDeclaration> attributeDeclarations) { Name = name; Type = type; Attributes = attributeDeclarations; }