TestRange.cs error CS0104: `Range' is an ambiguous reference between `System.Range' and Gtk.Range

简介: TestRange.cs error CS0104: `Range' is an ambiguous reference between `System.Range' and Gtk.Range

编译错误:


./TestCombo.cs(17,14): warning CS0612: `Gtk.Combo' is obsolete
./TestRange.cs(35,6): error CS0104: `Range' is an ambiguous reference between `System.Range' and `Gtk.Range'

意思就是,编译时不知道用哪个。那么应该用哪个?这个貌似是测试用的,所以吾用了Gtk,编译通过即可。

目录
相关文章
|
Python
Python报错ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().
Python报错ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().
1478 1
|
数据库
解决numpy.core._exceptions.UFuncTypeError: ufunc ‘add‘ did not contain a loop with signature matching
解决numpy.core._exceptions.UFuncTypeError: ufunc ‘add‘ did not contain a loop with signature matching
1070 0
解决numpy.core._exceptions.UFuncTypeError: ufunc ‘add‘ did not contain a loop with signature matching
|
TensorFlow 算法框架/工具 Python
成功解决File "frozen importlib._bootstrap", line 219, in _call_with_frames_removed ImportError: DLL lo
成功解决File "frozen importlib._bootstrap", line 219, in _call_with_frames_removed ImportError: DLL lo
成功解决File "frozen importlib._bootstrap", line 219, in _call_with_frames_removed ImportError: DLL lo
|
Ubuntu C语言
【ubuntu】2.c:(.text+0xd2): undefined reference to `pthread_create‘ collect2: error: ld returned
【ubuntu】2.c:(.text+0xd2): undefined reference to `pthread_create‘ collect2: error: ld returned
140 0
|
存储
Keil 5报错error C216: subscript on non-array or too many dimensions
Keil 5报错error C216: subscript on non-array or too many dimensions
445 0
成功解决absl.flags._exceptions.UnrecognizedFlagError: Unknown command line flag 'data_format'
成功解决absl.flags._exceptions.UnrecognizedFlagError: Unknown command line flag 'data_format'
custom field further usage - add into UI and report
custom field further usage - add into UI and report
143 0
custom field further usage - add into UI and report
错误信息Make an entry in Field Text Area
新建sales order时,如果未维护notes,则无法save sales order,遇到如下error message:
错误信息Make an entry in Field Text Area
test case id - hash generation logic
Created by Wang, Jerry, last modified on Jul 06, 2016
127 0
test case id - hash generation logic
TestRange.cs error CS0104: `Range' is an ambiguous reference between `System.Range' and Gtk.Range
TestRange.cs error CS0104: `Range' is an ambiguous reference between `System.Range' and Gtk.Range
135 0