示例#1
0
 public static IEnumerable <uint> GetPositions(this TParamCommandComment comment)
 {
     for (var x = 0; x < comment.PositionCount; x++)
     {
         var content = comment.getPosition((uint)x);
         yield return(content);
     }
 }
示例#2
0
文件: AST.cs 项目: RainsSoft/CppSharp
 protected TParamCommandComment(TParamCommandComment.Internal* native, bool isInternalImpl = false)
     : base((CppSharp.Parser.AST.BlockCommandComment.Internal*) native)
 {
 }
示例#3
0
文件: AST.cs 项目: RainsSoft/CppSharp
 private TParamCommandComment(TParamCommandComment.Internal native)
     : this(__CopyValue(native))
 {
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
 }
示例#4
0
文件: AST.cs 项目: RainsSoft/CppSharp
 private static TParamCommandComment.Internal* __CopyValue(TParamCommandComment.Internal native)
 {
     var ret = Marshal.AllocHGlobal(56);
     CppSharp.Parser.AST.TParamCommandComment.Internal.cctor_2(ret, new global::System.IntPtr(&native));
     return (TParamCommandComment.Internal*) ret;
 }
示例#5
0
文件: AST.cs 项目: RainsSoft/CppSharp
 public static TParamCommandComment __CreateInstance(TParamCommandComment.Internal native)
 {
     return new TParamCommandComment(native);
 }
示例#6
0
文件: AST.cs 项目: CSRedRat/CppSharp
 public static TParamCommandComment __CreateInstance(TParamCommandComment.Internal native, bool skipVTables = false)
 {
     return new TParamCommandComment(native, skipVTables);
 }
示例#7
0
文件: AST.cs 项目: CSRedRat/CppSharp
 protected TParamCommandComment(TParamCommandComment.Internal* native, bool skipVTables = false)
     : base((CppSharp.Parser.AST.BlockCommandComment.Internal*) null)
 {
     __PointerAdjustment = 0;
     if (native == null)
         return;
     __Instance = new global::System.IntPtr(native);
 }
示例#8
0
文件: AST.cs 项目: CSRedRat/CppSharp
 private TParamCommandComment(TParamCommandComment.Internal native, bool skipVTables = false)
     : this(__CopyValue(native), skipVTables)
 {
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
 }
示例#9
0
 private static void* __CopyValue(TParamCommandComment.__Internal native)
 {
     var ret = Marshal.AllocHGlobal(36);
     global::CppSharp.Parser.AST.TParamCommandComment.__Internal.cctor_2(ret, new global::System.IntPtr(&native));
     return ret.ToPointer();
 }
示例#10
0
 public bool VisitTParamCommand(TParamCommandComment comment)
 {
     return(true);
 }
示例#11
0
 public bool VisitTParamCommand(TParamCommandComment comment) => true;