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