|
|
@ -51,7 +51,7 @@ namespace Mono.Cecil { |
|
|
|
|
|
|
|
|
|
|
|
public bool HasConstant { |
|
|
|
public bool HasConstant { |
|
|
|
get { |
|
|
|
get { |
|
|
|
ResolveConstant (); |
|
|
|
this.ResolveConstant (ref constant, parameter_type.Module); |
|
|
|
|
|
|
|
|
|
|
|
return constant != Mixin.NoValue; |
|
|
|
return constant != Mixin.NoValue; |
|
|
|
} |
|
|
|
} |
|
|
@ -63,14 +63,6 @@ namespace Mono.Cecil { |
|
|
|
set { constant = value; } |
|
|
|
set { constant = value; } |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void ResolveConstant () |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
if (constant != Mixin.NotResolved) |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.ResolveConstant (ref constant, parameter_type.Module); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public bool HasCustomAttributes { |
|
|
|
public bool HasCustomAttributes { |
|
|
|
get { |
|
|
|
get { |
|
|
|
if (custom_attributes != null) |
|
|
|
if (custom_attributes != null) |
|
|
|