summaryrefslogtreecommitdiff
path: root/csharp/src/Ice/Optional.cs
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/src/Ice/Optional.cs')
-rw-r--r--csharp/src/Ice/Optional.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/csharp/src/Ice/Optional.cs b/csharp/src/Ice/Optional.cs
index 0aaa95ee32f..574f1137076 100644
--- a/csharp/src/Ice/Optional.cs
+++ b/csharp/src/Ice/Optional.cs
@@ -106,7 +106,7 @@ namespace Ice
{
if(!_isSet)
{
- throw new System.InvalidOperationException();
+ throw new InvalidOperationException();
}
return _value;
}
@@ -126,7 +126,7 @@ namespace Ice
public override bool Equals(object other)
{
- if(object.ReferenceEquals(this, other))
+ if(ReferenceEquals(this, other))
{
return true;
}
@@ -218,7 +218,7 @@ namespace Ice
// However, when v is null, the optional might be cleared, which
// is not the result we want.
//
- this.value = new Optional<T>((T)v);
+ value = new Optional<T>((T)v);
}
else
{