[bgen] Make various type maps instance members.
This commit is contained in:
Родитель
ba721ed007
Коммит
81d6b1aa24
|
@ -1264,8 +1264,8 @@ public partial class Generator : IMemberGatherer {
|
||||||
return type.Assembly.GetType (type.FullName + "Extensions") != null;
|
return type.Assembly.GetType (type.FullName + "Extensions") != null;
|
||||||
}
|
}
|
||||||
|
|
||||||
static Dictionary<Type,string> nsvalue_create_map;
|
Dictionary<Type,string> nsvalue_create_map;
|
||||||
static Dictionary<Type,string> NSValueCreateMap {
|
Dictionary<Type,string> NSValueCreateMap {
|
||||||
get {
|
get {
|
||||||
if (nsvalue_create_map == null) {
|
if (nsvalue_create_map == null) {
|
||||||
nsvalue_create_map = new Dictionary<Type, string> ();
|
nsvalue_create_map = new Dictionary<Type, string> ();
|
||||||
|
@ -1385,8 +1385,8 @@ public partial class Generator : IMemberGatherer {
|
||||||
return temp;
|
return temp;
|
||||||
}
|
}
|
||||||
|
|
||||||
static Dictionary<Type,string> nsnumber_return_map;
|
Dictionary<Type,string> nsnumber_return_map;
|
||||||
static Dictionary<Type,string> NSNumberReturnMap {
|
Dictionary<Type,string> NSNumberReturnMap {
|
||||||
get {
|
get {
|
||||||
if (nsnumber_return_map == null) {
|
if (nsnumber_return_map == null) {
|
||||||
nsnumber_return_map = new Dictionary<Type, string> {
|
nsnumber_return_map = new Dictionary<Type, string> {
|
||||||
|
@ -1412,8 +1412,8 @@ public partial class Generator : IMemberGatherer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static Dictionary<Type,string> nsvalue_return_map;
|
Dictionary<Type,string> nsvalue_return_map;
|
||||||
static Dictionary<Type,string> NSValueReturnMap {
|
Dictionary<Type,string> NSValueReturnMap {
|
||||||
get {
|
get {
|
||||||
if (nsvalue_return_map == null) {
|
if (nsvalue_return_map == null) {
|
||||||
nsvalue_return_map = new Dictionary<Type, string> {
|
nsvalue_return_map = new Dictionary<Type, string> {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче