12 references to Invalid
Microsoft.NET.Sdk.StaticWebAssets.Tasks (12)
Utils\BrowserToolsKeyPair.cs (12)
60
return ReadResult.
Invalid
("the file does not exist");
67
return ReadResult.
Invalid
("the document is not a JSON object");
72
return ReadResult.
Invalid
(headerError);
77
return ReadResult.
Invalid
("the 'publicKey' property is missing or is not base64");
84
return ReadResult.
Invalid
($"the file could not be read ({ex.GetType().Name})");
94
return ReadResult.
Invalid
("the file does not exist");
101
return ReadResult.
Invalid
("the document is not a JSON object");
106
return ReadResult.
Invalid
(headerError);
111
return ReadResult.
Invalid
("the 'publicKey' property is missing or is not base64");
116
return ReadResult.
Invalid
("the 'parameters' property is missing or is not an object");
124
return ReadResult.
Invalid
($"the private key component '{name}' is missing or is not base64");
134
return ReadResult.
Invalid
($"the file could not be read ({ex.GetType().Name})");