14 references to Fail
Microsoft.DotNet.HotReload.Watch (14)
Browser\BrowserToolsBuildOutputs.cs (14)
126throw Fail("the public and private key documents describe different keys"); 136throw Fail("the private key could not be imported"); 144throw Fail("the private key does not match the public key the application pinned"); 167throw Fail($"'{Path.GetFileName(PrivateKeyPath)}' does not contain the private key components"); 192throw Fail($"'{Path.GetFileName(path)}' was not produced by the build"); 196throw Fail($"'{Path.GetFileName(path)}' was not produced by the build"); 200throw Fail($"'{Path.GetFileName(path)}' could not be read ({e.GetType().Name})"); 209throw Fail($"'{Path.GetFileName(path)}' is not a valid JSON document"); 219throw Fail($"'{name}' is not a JSON object"); 227throw Fail($"'{name}' does not have the supported document version {SupportedKeyDocumentVersion}"); 234throw Fail($"'{name}' does not use the supported key algorithm"); 241throw Fail($"'{name}' does not use the expected key format '{expectedFormat}'"); 251throw Fail($"'{Path.GetFileName(path)}' does not contain '{propertyName}'"); 260throw Fail($"'{propertyName}' in '{Path.GetFileName(path)}' is not base64");