Skip to content

Instantly share code, notes, and snippets.

View jonpryor's full-sized avatar

Jonathan Pryor jonpryor

View GitHub Profile
diff --git a/mcs/mcs/doc.cs b/mcs/mcs/doc.cs
index 2b4ca5d..7107568 100644
--- a/mcs/mcs/doc.cs
+++ b/mcs/mcs/doc.cs
@@ -741,10 +741,25 @@ namespace Mono.CSharp {
{
var tp = type as TypeParameterSpec;
if (tp != null) {
+ int c = 0;
+ type = type.DeclaringType;
diff --git a/mcs/mcs/typespec.cs b/mcs/mcs/typespec.cs
index 8bb6f56..da19f08 100644
--- a/mcs/mcs/typespec.cs
+++ b/mcs/mcs/typespec.cs
@@ -1049,6 +1049,16 @@ namespace Mono.CSharp
}
}
+ public override string Name {
+ get {
I/MonoDroid-Timing( 2903): 634153676364465130
I/MonoDroid-Timing( 2903): 634153676372732120
I/MonoDroid-Timing( 2903): 634153676372765720
I/MonoDroid-Timing( 2903): CreateNativeInterface: CreateNativeInterface [elapsed: 53.565 ms]
I/MonoDroid-Timing( 2903): 634153676375435070
I/MonoDroid-Timing( 2903): 634153676376707730
Range:
Min/Max rather than Start/End, better naming when dealing with non-contiguous ranges.
Start and end values are inclusive.
How enumeration works for stepping, etc is left to the class to decide, provide a static class with some standard implementations that use Math<T>.
Assumption is the main IRange<T> can be either contiguous or non-contiguous
Assumptions for SubRanges():
No two sub-ranges overlap.
Each sub-range is atomic (ie contiguous).