diff options
Diffstat (limited to 'mcs/class/System.Web/System.Web.UI/HtmlTextWriter.cs')
-rw-r--r-- | mcs/class/System.Web/System.Web.UI/HtmlTextWriter.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/class/System.Web/System.Web.UI/HtmlTextWriter.cs b/mcs/class/System.Web/System.Web.UI/HtmlTextWriter.cs index 6bf3c75cae0..076b3ac5684 100644 --- a/mcs/class/System.Web/System.Web.UI/HtmlTextWriter.cs +++ b/mcs/class/System.Web/System.Web.UI/HtmlTextWriter.cs @@ -365,7 +365,7 @@ protected bool IsAttributeDefined(HtmlTextWriterAttribute key){ return false;
}
-protected bool IsAttributeDefined(HtmlTextWriterAttribute key, ref string value){
+protected bool IsAttributeDefined(HtmlTextWriterAttribute key, out string value){
value = null;
for (int i=0; i < _attrCount; i++) {
if (_attrList[i].key == key) {
@@ -384,7 +384,7 @@ protected bool IsStyleAttributeDefined(HtmlTextWriterStyle key){ return false;
}
-protected bool IsStyleAttributeDefined(HtmlTextWriterStyle key, ref string value){
+protected bool IsStyleAttributeDefined(HtmlTextWriterStyle key, out string value){
value = null;
for( int i=0; i < _styleCount; i++) {
if (_styleList[i].key == key) {
|