コード例 #1
0
 public ILStructure(ILStructureType type, int startOffset, int endOffset, ExceptionHandler handler = null)
 {
     Debug.Assert(startOffset < endOffset);
     this.Type             = type;
     this.StartOffset      = startOffset;
     this.EndOffset        = endOffset;
     this.ExceptionHandler = handler;
 }
コード例 #2
0
 public ILStructure(ILStructureType type, int startOffset, int endOffset, Instruction loopEntryPoint)
 {
     Debug.Assert(startOffset < endOffset);
     this.Type           = type;
     this.StartOffset    = startOffset;
     this.EndOffset      = endOffset;
     this.LoopEntryPoint = loopEntryPoint;
 }
コード例 #3
0
ファイル: ILStructure.cs プロジェクト: wuzlai/RoslynPad
 public ILStructure(ILStructureType type, int startOffset, int endOffset, Instruction?loopEntryPoint)
 {
     Debug.Assert(startOffset < endOffset);
     Type           = type;
     StartOffset    = startOffset;
     EndOffset      = endOffset;
     LoopEntryPoint = loopEntryPoint;
 }
コード例 #4
0
 public ILStructure(PEFile module, MethodDefinitionHandle handle, MetadataGenericContext genericContext, ILStructureType type, int startOffset, int endOffset, int loopEntryPoint)
 {
     Debug.Assert(startOffset < endOffset);
     this.Module               = module;
     this.MethodHandle         = handle;
     this.GenericContext       = genericContext;
     this.Type                 = type;
     this.StartOffset          = startOffset;
     this.EndOffset            = endOffset;
     this.LoopEntryPointOffset = loopEntryPoint;
 }
コード例 #5
0
 public ILStructure(PEFile module, MethodDefinitionHandle handle, MetadataGenericContext genericContext, ILStructureType type, int startOffset, int endOffset, ExceptionRegion handler = default)
 {
     Debug.Assert(startOffset < endOffset);
     this.Module           = module;
     this.MethodHandle     = handle;
     this.GenericContext   = genericContext;
     this.Type             = type;
     this.StartOffset      = startOffset;
     this.EndOffset        = endOffset;
     this.ExceptionHandler = handler;
 }
コード例 #6
0
ファイル: ILStructure.cs プロジェクト: arkanoid1/dnSpy
		public ILStructure(ILStructureType type, int startOffset, int endOffset, Instruction loopEntryPoint)
		{
			Debug.Assert(startOffset < endOffset);
			this.Type = type;
			this.StartOffset = startOffset;
			this.EndOffset = endOffset;
			this.LoopEntryPoint = loopEntryPoint;
		}
コード例 #7
0
ファイル: ILStructure.cs プロジェクト: arkanoid1/dnSpy
		public ILStructure(ILStructureType type, int startOffset, int endOffset, ExceptionHandler handler = null)
		{
			Debug.Assert(startOffset < endOffset);
			this.Type = type;
			this.StartOffset = startOffset;
			this.EndOffset = endOffset;
			this.ExceptionHandler = handler;
		}