コード例 #1
0
 bool ICollection <TKey> .Remove(TKey item)
 {
     ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_KeyCollectionSet);
     return(false);
 }
コード例 #2
0
 void ICollection <TKey> .Clear()
 {
     ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_KeyCollectionSet);
 }
コード例 #3
0
 bool ICollection <TValue> .Remove(TValue item)
 {
     ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ValueCollectionSet);
     return(false);
 }
コード例 #4
0
 void ICollection <TKey> .Add(TKey item)
 {
     ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_KeyCollectionSet);
 }
コード例 #5
0
 void ICollection <TValue> .Clear()
 {
     ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ValueCollectionSet);
 }