14 references to Fail
Microsoft.DotNet.HotReload.Watch (14)
src\sdk\src\Dotnet.Watch\HotReloadClient\Web\BrowserToolsBuildOutputs.cs (14)
103throw Fail("the public and private key documents describe different keys"); 113throw Fail("the private key could not be imported"); 121throw Fail("the private key does not match the public key the application pinned"); 150throw Fail($"'{Path.GetFileName(_privateKeyPath)}' does not contain the private key components"); 175throw Fail($"'{Path.GetFileName(path)}' was not produced by the build"); 179throw Fail($"'{Path.GetFileName(path)}' was not produced by the build"); 183throw Fail($"'{Path.GetFileName(path)}' could not be read ({e.GetType().Name})"); 192throw Fail($"'{Path.GetFileName(path)}' is not a valid JSON document"); 202throw Fail($"'{name}' is not a JSON object"); 210throw Fail($"'{name}' does not have the supported document version {SupportedKeyDocumentVersion}"); 217throw Fail($"'{name}' does not use the supported key algorithm"); 224throw Fail($"'{name}' does not use the expected key format '{expectedFormat}'"); 234throw Fail($"'{Path.GetFileName(path)}' does not contain '{propertyName}'"); 243throw Fail($"'{propertyName}' in '{Path.GetFileName(path)}' is not base64");