IsCreated() public method

public IsCreated ( ) : bool
return bool
Exemplo n.º 1
0
 public override object GetRawConstantValue()
 {
     if (!typeBuilder.IsCreated())
     {
         // the .NET FieldBuilder doesn't support this method
         // (since we dont' have a different FieldInfo object after baking, we will support it once we're baked)
         throw new NotSupportedException();
     }
     return(typeBuilder.Module.Constant.GetRawConstantValue(typeBuilder.Module, GetCurrentToken()));
 }