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:
authorJb Evain <jb@evain.net>2017-01-31 20:39:12 +0300
committerJb Evain <jb@evain.net>2017-01-31 20:39:12 +0300
commit0d657ab73f60a39d9e20cf1215034136807ceff9 (patch)
treeb66757fecb8984f9cff6b69ee6293e77d999118d
parent15292f5ae9540bac10539d1a08f9a73213050b1c (diff)
Add setter for ExportedType.Scope
-rw-r--r--Mono.Cecil/ExportedType.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/Mono.Cecil/ExportedType.cs b/Mono.Cecil/ExportedType.cs
index fcf456f..8238a0c 100644
--- a/Mono.Cecil/ExportedType.cs
+++ b/Mono.Cecil/ExportedType.cs
@@ -45,6 +45,14 @@ namespace Mono.Cecil {
return scope;
}
+ set {
+ if (declaring_type != null) {
+ declaring_type.Scope = value;
+ return;
+ }
+
+ scope = value;
+ }
}
public ExportedType DeclaringType {