Welcome to mirror list, hosted at ThFree Co, Russian Federation.

FieldOffsetAttribute.cs « System.Runtime.InteropServices « corlib « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a5deebb0675b1904a63b77f317c99a2790f0fd81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using System;

namespace System.Runtime.InteropServices {

	[AttributeUsage (AttributeTargets.Field)]
	public sealed class FieldOffsetAttribute : Attribute {
		private int val;
		
		public FieldOffsetAttribute( int offset) {
			val = offset;
		}
		public int Value {
			get {return val;}
		}
		
	}
}