System.Xml.Xsl.IlGen.StorageDescriptor.None C# (CSharp) Method

None() public static method

Create default, empty StorageDescriptor.
public static None ( ) : StorageDescriptor
return StorageDescriptor
        public static StorageDescriptor None() {
            return new StorageDescriptor();
        }

Usage Example

コード例 #1
0
 /// <summary>
 /// Discard the current item if it is pushed onto the stack.
 /// </summary>
 public void DiscardStack()
 {
     if (_storage.Location == ItemLocation.Stack)
     {
         _helper.Emit(OpCodes.Pop);
         _storage = StorageDescriptor.None();
     }
 }
All Usage Examples Of System.Xml.Xsl.IlGen.StorageDescriptor::None