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:
Diffstat (limited to 'mcs/class/System.Data/System.Data.ProviderBase.jvm/regex.cs')
-rw-r--r--mcs/class/System.Data/System.Data.ProviderBase.jvm/regex.cs18
1 files changed, 9 insertions, 9 deletions
diff --git a/mcs/class/System.Data/System.Data.ProviderBase.jvm/regex.cs b/mcs/class/System.Data/System.Data.ProviderBase.jvm/regex.cs
index 7727f2dccf2..faae67d14f4 100644
--- a/mcs/class/System.Data/System.Data.ProviderBase.jvm/regex.cs
+++ b/mcs/class/System.Data/System.Data.ProviderBase.jvm/regex.cs
@@ -51,9 +51,9 @@ namespace System.Data.ProviderBase {
}
}
public class SimpleCapture {
- readonly int _index;
- readonly int _length;
- readonly string _input;
+ int _index;
+ int _length;
+ string _input;
protected SimpleCapture(int index, int length, string input) {
_index = index;
@@ -87,15 +87,15 @@ namespace System.Data.ProviderBase {
}
public class SimpleMatch : SimpleCapture {
- readonly bool _success;
- readonly SimpleRegex _regex;
- readonly int _total;
- readonly int _skip;
+ bool _success;
+ SimpleRegex _regex;
+ int _total;
+ int _skip;
- public SimpleMatch(SimpleRegex regex, int total, bool success, int index, int length, string input)
+ protected internal SimpleMatch(SimpleRegex regex, int total, bool success, int index, int length, string input)
: this(regex, total, success, index, length, 0, input) {}
- public SimpleMatch(SimpleRegex regex, int total, bool success, int index, int length, int skip, string input)
+ protected internal SimpleMatch(SimpleRegex regex, int total, bool success, int index, int length, int skip, string input)
: base(index, length, input) {
_success = success;
_regex = regex;