Microsoft.Cci.MetadataReaderHost.WinGuessingGame C# (CSharp) Méthode

WinGuessingGame() public méthode

Called by the metadata reader when it has successfully parsed a custom attribute blob.
public WinGuessingGame ( ) : void
Résultat void
    public void WinGuessingGame() {
      if (this.currentWildGuesses == null) return;
      if (this.successfulGuesses == null) this.successfulGuesses = new Dictionary<uint, byte>();
      foreach (var pair in this.currentWildGuesses)
        this.successfulGuesses[pair.Key] = pair.Value;
      this.currentWildGuesses = null;
      if (this.currentGoodGuesses == null) return;
      foreach (var pair in this.currentGoodGuesses)
        this.successfulGuesses[pair.Key] = pair.Value;
      this.currentGoodGuesses = null;
    }