Example #1
0
 public ProjectionInfo(
     string winRtNamespace,
     StringHandle.VirtualIndex clrNamespace,
     StringHandle.VirtualIndex clrName,
     AssemblyReferenceHandle.VirtualIndex clrAssembly,
     TypeDefTreatment treatment = TypeDefTreatment.RedirectedToClrType,
     bool isIDisposable = false)
 {
     this.WinRTNamespace = winRtNamespace;
     this.ClrNamespace = clrNamespace;
     this.ClrName = clrName;
     this.AssemblyRef = clrAssembly;
     this.Treatment = treatment;
     this.IsIDisposable = isIDisposable;
 }
Example #2
0
 public ProjectionInfo(
     string winRtNamespace,
     StringHandle.VirtualIndex clrNamespace,
     StringHandle.VirtualIndex clrName,
     AssemblyReferenceHandle.VirtualIndex clrAssembly,
     TypeDefTreatment treatment = TypeDefTreatment.RedirectedToClrType,
     bool isIDisposable         = false)
 {
     this.WinRTNamespace = winRtNamespace;
     this.ClrNamespace   = clrNamespace;
     this.ClrName        = clrName;
     this.AssemblyRef    = clrAssembly;
     this.Treatment      = treatment;
     this.IsIDisposable  = isIDisposable;
 }
Example #3
0
 internal string GetVirtualValue(StringHandle.VirtualIndex index)
 {
     return(s_virtualValues[(int)index]);
 }
Example #4
0
 internal static string GetVirtualString(StringHandle.VirtualIndex index)
 {
     return(s_virtualValues ![(int)index]);