Exemplo n.º 1
0
 void CheckKind(CallingConvention.LowerBits actual)
 {
     if (allowedKind != actual)
     {
         Errors.Add($"Expected {methodSigName} or {allowedKind} but found {actual}");
     }
 }
Exemplo n.º 2
0
 public EitherSignature(string methodSigName, CallingConvention.LowerBits kind)
 {
     link = new Lazy <CodeNode>(ReadLink);
     this.methodSigName = methodSigName;
     this.allowedKind   = kind;
 }