Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/cecil.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Mono.Cecil/SecurityDeclaration.cs')
-rw-r--r--Mono.Cecil/SecurityDeclaration.cs14
1 files changed, 9 insertions, 5 deletions
diff --git a/Mono.Cecil/SecurityDeclaration.cs b/Mono.Cecil/SecurityDeclaration.cs
index 309f7d2..2762d08 100644
--- a/Mono.Cecil/SecurityDeclaration.cs
+++ b/Mono.Cecil/SecurityDeclaration.cs
@@ -70,6 +70,14 @@ namespace Mono.Cecil {
{
this.attribute_type = attributeType;
}
+
+ bool ICustomAttribute.HasConstructorArguments {
+ get { return false; }
+ }
+
+ Collection<CustomAttributeArgument> ICustomAttribute.ConstructorArguments {
+ get { throw new NotSupportedException (); }
+ }
}
public sealed class SecurityDeclaration {
@@ -143,11 +151,7 @@ namespace Mono.Cecil {
if (resolved || !HasImage)
return;
- module.Read (this, (declaration, reader) => {
- reader.ReadSecurityDeclarationSignature (declaration);
- return this;
- });
-
+ module.Read (this, (declaration, reader) => reader.ReadSecurityDeclarationSignature (declaration));
resolved = true;
}
}