Пример #1
0
        internal Alias(DkmClrAliasKind kind, string name, string fullName, string type, CustomTypeInfo customTypeInfo)
        {
            Debug.Assert(!string.IsNullOrEmpty(fullName));
            Debug.Assert(!string.IsNullOrEmpty(type));

            this.Kind           = kind;
            this.Name           = name;
            this.FullName       = fullName;
            this.Type           = type;
            this.CustomTypeInfo = customTypeInfo;
        }
        internal Alias(DkmClrAliasKind kind, string name, string fullName, string type, CustomTypeInfo customTypeInfo)
        {
            Debug.Assert(!string.IsNullOrEmpty(fullName));
            Debug.Assert(!string.IsNullOrEmpty(type));

            this.Kind = kind;
            this.Name = name;
            this.FullName = fullName;
            this.Type = type;
            this.CustomTypeInfo = customTypeInfo;
        }
Пример #3
0
        internal Alias(DkmClrAliasKind kind, string name, string fullName, string type, Guid customTypeInfoId, ReadOnlyCollection <byte> customTypeInfo)
        {
            RoslynDebug.Assert(!string.IsNullOrEmpty(fullName));
            RoslynDebug.Assert(!string.IsNullOrEmpty(type));

            Kind             = kind;
            Name             = name;
            FullName         = fullName;
            Type             = type;
            CustomTypeInfoId = customTypeInfoId;
            CustomTypeInfo   = customTypeInfo;
        }
Пример #4
0
        internal Alias(DkmClrAliasKind kind, string name, string fullName, string type, Guid customTypeInfoId, ReadOnlyCollection<byte> customTypeInfo)
        {
            Debug.Assert(!string.IsNullOrEmpty(fullName));
            Debug.Assert(!string.IsNullOrEmpty(type));

            this.Kind = kind;
            this.Name = name;
            this.FullName = fullName;
            this.Type = type;
            this.CustomTypeInfoId = customTypeInfoId;
            this.CustomTypeInfo = customTypeInfo;
        }
        internal Alias(DkmClrAliasKind kind, string name, string fullName, string type, Guid customTypeInfoId, ReadOnlyCollection <byte> customTypeInfo)
        {
            Debug.Assert(!string.IsNullOrEmpty(fullName));
            Debug.Assert(!string.IsNullOrEmpty(type));

            this.Kind             = kind;
            this.Name             = name;
            this.FullName         = fullName;
            this.Type             = type;
            this.CustomTypeInfoId = customTypeInfoId;
            this.CustomTypeInfo   = customTypeInfo;
        }
 internal static Alias Alias(DkmClrAliasKind kind, string name, string fullName, string type, CustomTypeInfo customTypeInfo)
 {
     return new Alias(kind, name, fullName, type, customTypeInfo);
 }
 internal static Alias Alias(DkmClrAliasKind kind, string name, string fullName, string type, ReadOnlyCollection<byte> payload)
 {
     return new Alias(kind, name, fullName, type, (payload == null) ? default(Guid) : CustomTypeInfo.PayloadTypeId, payload);
 }
Пример #8
0
 internal static Alias Alias(DkmClrAliasKind kind, string name, string fullName, string type, ReadOnlyCollection <byte> payload)
 {
     return(new Alias(kind, name, fullName, type, (payload == null) ? default(Guid) : CustomTypeInfo.PayloadTypeId, payload));
 }
 internal static Alias Alias(DkmClrAliasKind kind, string name, string fullName, string type, CustomTypeInfo customTypeInfo)
 {
     return(new Alias(kind, name, fullName, type, customTypeInfo));
 }