示例#1
0
 static bool IsPropertyWriteable(Property property)
 {
     return(property.IsPublic &&
            ((property.GetMethod != null && property.SetMethod != null && property.SetMethod.IsPublic) ||
             IsList(property.ReturnType) ||
             property.GetMethod == null));
 }
示例#2
0
 public PropertyReflector(Uno.Compiler.API.Domain.IL.Members.Property prop, CompilerDataTypeProvider c) : base(c)
 {
     _property = prop;
 }