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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJb Evain <jbevain@gmail.com>2017-03-26 16:33:34 +0300
committerZoltan Varga <vargaz@gmail.com>2017-03-26 16:33:34 +0300
commit91c849e442fa99002853302dc99adcac06d64cc1 (patch)
tree90c94eafabd594041e429f3a314979ebd2507a3f /mcs/class/Mono.Debugger.Soft
parent5a36c9f1fd3f0bb91899d8bed3506d63d1108dc8 (diff)
Add FieldInfoMirror.FullName (#4588)
Diffstat (limited to 'mcs/class/Mono.Debugger.Soft')
-rw-r--r--mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/FieldInfoMirror.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/FieldInfoMirror.cs b/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/FieldInfoMirror.cs
index 6c53a6f464e..6d4f3701746 100644
--- a/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/FieldInfoMirror.cs
+++ b/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/FieldInfoMirror.cs
@@ -200,6 +200,20 @@ namespace Mono.Debugger.Soft
res.Add (attr);
return res.ToArray ();
}
+
+ public string FullName {
+ get {
+ string type_namespace = DeclaringType.Namespace;
+ string type_name = DeclaringType.Name;
+ StringBuilder sb = new StringBuilder ();
+ if (type_namespace != String.Empty)
+ sb.Append (type_namespace).Append (".");
+ sb.Append (type_name);
+ sb.Append (":");
+ sb.Append (Name);
+ return sb.ToString ();
+ }
+ }
}
}